@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
@@ -1,16 +1,16 @@
1
1
  import { h, c as Host, d as getAssetPath, g as getElement } from './index-91e7729f.js';
2
2
  import { k as useState, b as browser, u as useMemo } from './stencil-hooks.module-4bc38af4.js';
3
- import { i as intl } from './global-1d207c9e.js';
3
+ import { i as intl } from './global-66746c30.js';
4
4
  import { d as dist, H, J, F as Fn, w as wn, $ as $e, B, g as getEnvironmentSDK, L } from './index.module-89a79f66.js';
5
5
  import { c as cjs } from './cjs-bdfb4486.js';
6
6
  import { l as luxonLocale } from './utils-334c1e34.js';
7
7
  import { c as createStyleSheet, j as jss, a as create } from './JSS-67b5cff8.js';
8
8
  import { a as REFERRAL_CODES_NAMESPACE, S as SET_CODE_COPIED } from './useReferralCodes-8f75921a.js';
9
- import { H as HostBlock, A as AuthWrapper, a as AuthColumn, b as AuthButtonsContainer, E as ErrorStyles } from './mixins-83f90fa1.js';
10
- import { C as CopyTextView } from './copy-text-view-782137ba.js';
9
+ import { H as HostBlock, A as AuthWrapper, a as AuthColumn, b as AuthButtonsContainer, E as ErrorStyles } from './mixins-f750863a.js';
10
+ import { C as CopyTextView } from './copy-text-view-4a207b17.js';
11
11
  import { u as useChildElements } from './useChildElements-7945ae56.js';
12
12
  import { l as luxon } from './luxon-8d51c92b.js';
13
- import { T as TextSpanView } from './sqm-text-span-view-ca32495e.js';
13
+ import { T as TextSpanView } from './sqm-text-span-view-cd3902e5.js';
14
14
  import { p as pathToRegexp } from './index-ffa26b43.js';
15
15
  import { a as isValidColor, b as isMobile } from './utilities-5b0ca040.js';
16
16
  import { a as PortalSectionView, P as PortalContainerView } from './sqm-portal-container-view-1683ae32.js';
@@ -38,15 +38,30 @@ const style = {
38
38
  };
39
39
  const sheet = createStyleSheet(style);
40
40
  const styleString = sheet.toString();
41
+ // TODO: Figure out hover and active states
42
+ // *::part(base):hover {
43
+ // border-color: ${
44
+ // props.backgroundcolor
45
+ // ? props.backgroundcolor
46
+ // : props.medium
47
+ // ? medium[props.medium].color
48
+ // : ""
49
+ // }!important;
50
+ // }
51
+ // *::part(base):focus {
52
+ // border-color: ${
53
+ // props.backgroundcolor
54
+ // ? props.backgroundcolor
55
+ // : props.medium
56
+ // ? medium[props.medium].color
57
+ // : ""
58
+ // }!important;
59
+ // }
41
60
  function ShareButtonView(props, children) {
42
61
  const vanillaStyle = `
43
- *::part(base) {
44
- border: none;
45
- --sl-focus-ring-color-primary: ${props.backgroundcolor
46
- ? props.backgroundcolor
47
- : props.medium
48
- ? medium[props.medium].color
49
- : ""}80!important;
62
+ sl-button::part(base) {
63
+ border: ${props.border || "none"};
64
+
50
65
 
51
66
  background: ${props.backgroundcolor
52
67
  ? props.backgroundcolor
@@ -61,21 +76,7 @@ function ShareButtonView(props, children) {
61
76
  border-radius: ${props.borderradius ? props.borderradius + "px" : ""};
62
77
  }
63
78
 
64
- *::part(base):hover {
65
- border-color: ${props.backgroundcolor
66
- ? props.backgroundcolor
67
- : props.medium
68
- ? medium[props.medium].color
69
- : ""}D1!important;
70
- }
71
79
 
72
- *::part(base):focus {
73
- border-color: ${props.backgroundcolor
74
- ? props.backgroundcolor
75
- : props.medium
76
- ? medium[props.medium].color
77
- : ""}D1!important;
78
- }
79
80
 
80
81
  *::part(label) {
81
82
  position: relative;
@@ -85,77 +86,83 @@ function ShareButtonView(props, children) {
85
86
  return props.hide ? (h(Host, { style: { display: "none" } })) : (h("div", null,
86
87
  h("style", { type: "text/css" }, styleString),
87
88
  h("style", { type: "text/css" }, vanillaStyle),
88
- 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` },
89
+ 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` },
89
90
  !props.hideicon && (h("sl-icon", { slot: props.iconslot || "prefix", name: props.icon ? props.icon : medium[props.medium].icon, exportparts: "base: icon" })),
90
91
  !props.hidetext && children)));
91
92
  }
92
93
 
93
- const style$1 = {
94
- Leaderboard: {
95
- "& table": {
96
- width: "100%",
97
- borderCollapse: "collapse",
98
- },
99
- "& th": {
100
- textAlign: "left",
101
- padding: "var(--sl-spacing-medium)",
102
- paddingTop: "0",
103
- fontSize: "var(--sl-font-size-medium)",
104
- fontWeight: "var(--sl-font-weight-semibold)",
105
- },
106
- "& tr:not(:first-child)": {
107
- borderTop: "1px solid var(--sl-color-neutral-200)",
108
- },
109
- "& td": {
110
- fontSize: "var(--sl-font-size-medium)",
111
- fontWeight: "var(--sl-font-weight-normal)",
112
- },
113
- "& .ellipses": {
114
- textAlign: "left",
115
- padding: "0",
116
- color: "var(--sqm-text)",
117
- paddingLeft: "25%",
118
- },
119
- "& .highlight": {
120
- background: "var(--sl-color-primary-50)",
121
- },
122
- "& td, th": {
123
- color: "var(--sqm-text)",
124
- padding: "var(--sl-spacing-medium)",
125
- },
126
- "& .User": {
127
- width: "100%",
128
- },
129
- "& .Score": {
130
- width: "auto",
131
- whiteSpace: "nowrap",
132
- },
133
- "& .Rank": {
134
- whiteSpace: "nowrap",
135
- },
136
- "& .fullWidth": {
137
- width: "100%",
94
+ function LeaderboardView(props) {
95
+ var _a, _b, _c;
96
+ const { states, data, elements } = props;
97
+ const { styles } = states;
98
+ const style = {
99
+ Leaderboard: {
100
+ "& table": {
101
+ width: "100%",
102
+ borderCollapse: "collapse",
103
+ background: styles.background || "transparent",
104
+ borderRadius: styles.borderRadius ? `${styles.borderRadius}px` : "0",
105
+ },
106
+ "& th": {
107
+ textAlign: "left",
108
+ padding: "var(--sl-spacing-medium)",
109
+ paddingTop: "0",
110
+ fontSize: "var(--sl-font-size-medium)",
111
+ fontWeight: "var(--sl-font-weight-semibold)",
112
+ },
113
+ "& tr:not(:first-child)": {
114
+ borderTop: `1px solid ${styles.borderColor || "var(--sl-color-neutral-200)"}`,
115
+ },
116
+ "& td": {
117
+ fontSize: "var(--sl-font-size-medium)",
118
+ fontWeight: "var(--sl-font-weight-normal)",
119
+ },
120
+ "& .ellipses": {
121
+ textAlign: "left",
122
+ padding: "0",
123
+ color: styles.textColor || "var(--sqm-text)",
124
+ paddingLeft: "25%",
125
+ },
126
+ "& .highlight": {
127
+ background: styles.viewingUserHighlightColor ||
128
+ "var(--sqm-accent-color-background)",
129
+ "& td, th": {
130
+ color: styles.viewingUserHighlightTextColor || "var(--sqm-text)",
131
+ },
132
+ },
133
+ "& td, th": {
134
+ color: styles.textColor || "var(--sqm-text)",
135
+ padding: "var(--sl-spacing-medium)",
136
+ },
137
+ "& .User": {
138
+ width: "100%",
139
+ },
140
+ "& .Score": {
141
+ width: "auto",
142
+ whiteSpace: "nowrap",
143
+ },
144
+ "& .Rank": {
145
+ whiteSpace: "nowrap",
146
+ },
147
+ "& .fullWidth": {
148
+ width: "100%",
149
+ },
138
150
  },
139
- },
140
- };
141
- const sheet$1 = createStyleSheet(style$1);
142
- const styleString$1 = sheet$1.toString();
143
- const vanillaStyle = `
151
+ };
152
+ const sheet = createStyleSheet(style);
153
+ const styleString = sheet.toString();
154
+ const vanillaStyle = `
144
155
  :host{
145
156
  display: block;
146
157
  }
147
158
  `;
148
- function LeaderboardView(props) {
149
- var _a, _b, _c;
150
- const { states, data, elements } = props;
151
- const { styles } = states;
152
159
  if (states.isEssentials) {
153
160
  return (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" }));
154
161
  }
155
162
  if (states.loading) {
156
- return (h("div", { class: sheet$1.classes.Leaderboard, style: { width: styles.width || "100%" } },
163
+ return (h("div", { class: sheet.classes.Leaderboard, style: { width: styles.width || "100%" } },
157
164
  h("style", { type: "text/css" },
158
- styleString$1,
165
+ styleString,
159
166
  vanillaStyle),
160
167
  h("table", null, [...Array(10)].map(() => {
161
168
  return (h("tr", null,
@@ -190,9 +197,9 @@ function LeaderboardView(props) {
190
197
  }) + `${isViewingUsersRow && styles.hideNames ? viewingUserText : ""}`
191
198
  : `${userRank} ${isViewingUsersRow && styles.hideNames ? viewingUserText : ""}`;
192
199
  };
193
- return (h("div", { class: sheet$1.classes.Leaderboard, part: "sqm-base", style: { width: styles.width || "100%" } },
200
+ return (h("div", { class: sheet.classes.Leaderboard, part: "sqm-base", style: { width: styles.width || "100%" } },
194
201
  h("style", { type: "text/css" },
195
- styleString$1,
202
+ styleString,
196
203
  vanillaStyle),
197
204
  h("table", { part: "sqm-table" },
198
205
  h("tr", null,
@@ -219,13 +226,13 @@ function LeaderboardView(props) {
219
226
  }
220
227
 
221
228
  function BigStatView(props) {
222
- const { statvalue, flexReverse, alignment } = props;
223
- // Dependent on props, not feasiable to move out
229
+ const { statvalue, flexReverse, alignment, statTextColor, statFontSize, descriptionTextColor, descriptionFontSize, statFontWeight, } = props;
230
+ // Dependent on props, not feasible to move out
224
231
  const style = {
225
232
  Container: {
226
233
  display: "flex",
227
- height: "inherit",
228
- "justify-content": "space-between",
234
+ // height: "inherit",
235
+ // "justify-content": "space-between",
229
236
  "flex-direction": `${flexReverse ? "column-reverse" : "column"}`,
230
237
  "align-items": `${alignment === "left"
231
238
  ? "flex-start"
@@ -234,14 +241,22 @@ function BigStatView(props) {
234
241
  : "center"}`,
235
242
  },
236
243
  Stat: {
237
- "font-size": "var(--sl-font-size-x-large)",
244
+ "font-size": statFontSize
245
+ ? `${statFontSize}px`
246
+ : "var(--sl-font-size-xx-large)",
238
247
  "text-align": alignment,
248
+ color: statTextColor || "var(--sqm-text)",
249
+ lineHeight: "35px",
250
+ fontWeight: statFontWeight || "var(--sl-font-weight-normal)",
239
251
  },
240
252
  Description: {
241
- "font-size": "var(--sl-font-size-small)",
253
+ "font-size": descriptionFontSize
254
+ ? `${descriptionFontSize}px`
255
+ : "var(--sl-font-size-small)",
242
256
  "font-weight": "var(--sl-font-weight-normal)",
243
- color: "var(--sqm-text-subdued)",
257
+ color: descriptionTextColor || "var(--sqm-text)",
244
258
  "text-align": alignment,
259
+ lineHeight: "20px",
245
260
  },
246
261
  };
247
262
  const sheet = createStyleSheet(style);
@@ -252,51 +267,56 @@ function BigStatView(props) {
252
267
  h("div", { part: "stat-description", class: sheet.classes.Description }, props.labelSlot)));
253
268
  }
254
269
 
255
- const style$2 = {
256
- HostBlock: HostBlock,
257
- Frame: {
258
- display: "flex",
259
- "flex-direction": "column",
260
- "box-sizing": "border-box",
261
- },
262
- FooterWrapper: {
263
- width: "100%",
264
- "max-width": "100%",
265
- padding: "var(--sl-spacing-medium) var(--sl-spacing-x-large)",
266
- background: "var(--sqm-footer-background)",
267
- display: "flex",
268
- "justify-content": "flex-end",
269
- "align-items": "center",
270
- "box-sizing": "border-box",
271
- "margin-top": "auto",
272
- },
273
- HeaderWrapper: {
274
- width: "100%",
275
- "max-width": "100%",
276
- "box-sizing": "border-box",
277
- display: "flex",
278
- "justify-content": "space-between",
279
- padding: "var(--sl-spacing-small) var(--sl-spacing-large)",
280
- "align-items": "center",
281
- "background-color": "var(--sqm-header-background)",
282
- "@media screen and (max-width: 499px)": {
283
- "flex-direction": "row-reverse",
270
+ function PortalFrameView(props, children) {
271
+ const { data, notFullScreen, border } = props;
272
+ const style = {
273
+ HostBlock: HostBlock,
274
+ Frame: {
275
+ display: "flex",
276
+ "flex-direction": "column",
277
+ "box-sizing": "border-box",
278
+ "&:nth-child(2)": {
279
+ background: props.backgroundColor,
280
+ },
281
+ },
282
+ FooterWrapper: {
283
+ width: "100%",
284
+ "max-width": "100%",
285
+ padding: "var(--sl-spacing-medium) var(--sl-spacing-x-large)",
286
+ background: props.headerAndFooterBackgroundColor,
287
+ display: "flex",
284
288
  "justify-content": "flex-end",
285
- padding: "0",
289
+ "align-items": "center",
290
+ "box-sizing": "border-box",
291
+ borderTop: border,
292
+ "margin-top": "auto",
286
293
  },
287
- },
288
- };
289
- const sheet$2 = createStyleSheet(style$2);
290
- const styleString$2 = sheet$2.toString();
291
- function PortalFrameView(props, children) {
292
- const { data, notFullScreen } = props;
293
- return (h("div", { style: { minHeight: notFullScreen ? "100%" : "100vh" }, class: sheet$2.classes.Frame, part: "sqm-base" },
294
- h("style", { type: "text/css" }, styleString$2),
295
- h("div", { class: sheet$2.classes.HeaderWrapper, part: "sqm-header" },
294
+ HeaderWrapper: {
295
+ width: "100%",
296
+ "max-width": "100%",
297
+ "box-sizing": "border-box",
298
+ display: "flex",
299
+ "justify-content": "space-between",
300
+ padding: "var(--sl-spacing-small) var(--sl-spacing-large)",
301
+ "align-items": "center",
302
+ borderBottom: border,
303
+ background: props.headerAndFooterBackgroundColor,
304
+ "@media screen and (max-width: 499px)": {
305
+ "flex-direction": "row-reverse",
306
+ "justify-content": "flex-end",
307
+ padding: "0",
308
+ },
309
+ },
310
+ };
311
+ const sheet = createStyleSheet(style);
312
+ const styleString = sheet.toString();
313
+ return (h("div", { style: { minHeight: notFullScreen ? "100%" : "100vh" }, class: sheet.classes.Frame, part: "sqm-base" },
314
+ h("style", { type: "text/css" }, styleString),
315
+ h("div", { class: sheet.classes.HeaderWrapper, part: "sqm-header" },
296
316
  data.header,
297
317
  h("slot", { name: "sqm-navigation-menu" })),
298
318
  children,
299
- h("div", { class: sheet$2.classes.FooterWrapper, part: "sqm-footer" }, data.footer)));
319
+ h("div", { class: sheet.classes.FooterWrapper, part: "sqm-footer" }, data.footer)));
300
320
  }
301
321
 
302
322
  const EditProfileView = (props) => {
@@ -332,7 +352,7 @@ const EditProfileView = (props) => {
332
352
  }, submit: true, exportparts: "base: primarybutton-base" }, text.updatetext),
333
353
  h("sl-button", { onClick: () => {
334
354
  callbacks.setShowEdit(false);
335
- }, exportparts: "base: defaultbutton-base" }, text.canceltext)))));
355
+ }, exportparts: "base: secondarybutton-base" }, text.canceltext)))));
336
356
  }
337
357
  return (h("div", { class: `CardWrapper FormWrapper ${!states.showEdit && "ShowEdit"}`, part: "sqm-base" },
338
358
  h("div", { class: "FormSection" },
@@ -1399,6 +1419,11 @@ function useBigStat(props) {
1399
1419
  flexReverse,
1400
1420
  alignment,
1401
1421
  loading: false,
1422
+ statTextColor: props.statTextColor,
1423
+ statFontSize: props.statFontSize,
1424
+ descriptionTextColor: props.descriptionTextColor,
1425
+ descriptionFontSize: props.descriptionFontSize,
1426
+ statFontWeight: props.statFontWeight,
1402
1427
  },
1403
1428
  label: "BAD PROP TYPE",
1404
1429
  };
@@ -1428,6 +1453,11 @@ function useBigStat(props) {
1428
1453
  loading: stat === null || stat === void 0 ? void 0 : stat.loading,
1429
1454
  flexReverse,
1430
1455
  alignment,
1456
+ statTextColor: props.statTextColor,
1457
+ statFontSize: props.statFontSize,
1458
+ descriptionTextColor: props.descriptionTextColor,
1459
+ descriptionFontSize: props.descriptionFontSize,
1460
+ statFontWeight: props.statFontWeight,
1431
1461
  },
1432
1462
  label,
1433
1463
  };
@@ -1444,8 +1474,12 @@ function useDemoBigStat(props) {
1444
1474
  value: 0,
1445
1475
  statvalue: "!!!",
1446
1476
  loading: false,
1447
- flexReverse: false,
1448
- alignment: "center",
1477
+ flexReverse: props.flexReverse,
1478
+ alignment: props.alignment,
1479
+ statTextColor: props.statTextColor,
1480
+ statFontSize: props.statFontSize,
1481
+ descriptionTextColor: props.descriptionTextColor,
1482
+ descriptionFontSize: props.descriptionFontSize,
1449
1483
  },
1450
1484
  label: "BAD PROP TYPE",
1451
1485
  };
@@ -1457,8 +1491,13 @@ function useDemoBigStat(props) {
1457
1491
  props: cjs({
1458
1492
  statvalue: "12345",
1459
1493
  value: 0,
1460
- flexReverse: false,
1461
- alignment: "center",
1494
+ flexReverse: props.flexReverse,
1495
+ alignment: props.alignment,
1496
+ statTextColor: props.statTextColor,
1497
+ statFontSize: props.statFontSize,
1498
+ descriptionTextColor: props.descriptionTextColor,
1499
+ descriptionFontSize: props.descriptionFontSize,
1500
+ statFontWeight: props.statFontWeight,
1462
1501
  }, props.demoData || {}, { arrayMerge: (_, a) => a }),
1463
1502
  label: label !== null && label !== void 0 ? label : "Demo Label",
1464
1503
  };
@@ -1469,25 +1508,37 @@ function StatContainerView(props, children) {
1469
1508
  const spaceValue = getComputedStyle(document.documentElement).getPropertyValue(`--sl-spacing-${props.space}`);
1470
1509
  return `${Math.floor(parseInt(spaceValue) / 2)}rem`;
1471
1510
  };
1472
- // Dependent on props, not feasiable to move out
1511
+ // take alignment variable and convert it to CSS flexbox alignment
1512
+ const alignment = props.alignment === "center"
1513
+ ? "center"
1514
+ : props.alignment === "right"
1515
+ ? "flex-end"
1516
+ : "flex-start";
1517
+ // Dependent on props, not feasible to move out
1473
1518
  const style = {
1474
1519
  StatContainer: {
1475
1520
  width: "100%",
1476
- display: props.display || "grid",
1477
- "grid-template-columns": "repeat(auto-fill, minmax(130px, auto))",
1478
- gap: divideSpace(),
1479
- // First set of styles applies when shadow DOM is disabled, second set applies when shadow DOM is enabled
1521
+ display: "flex",
1522
+ flexWrap: "wrap",
1523
+ alignItems: "center",
1524
+ justifyContent: alignment,
1525
+ flexDirection: "row",
1526
+ gap: `var(--sl-spacing-${props.gap})`,
1527
+ // Apply border styles conditionally based on the hideBorder prop
1480
1528
  "& > *": {
1481
- "border-right": "1px solid #EAEAEA",
1529
+ "border-right": props.hideBorder
1530
+ ? "none"
1531
+ : "1px solid var(--sqm-text-subdued)",
1482
1532
  "padding-right": divideSpace(),
1483
1533
  },
1484
1534
  "& > :last-child": {
1485
1535
  "border-right": "none",
1486
1536
  },
1487
1537
  "& > ::slotted(*)": {
1488
- "border-right": "1px solid #EAEAEA",
1538
+ "border-right": props.hideBorder
1539
+ ? "none"
1540
+ : "1px solid var(--sqm-text-subdued)",
1489
1541
  "padding-right": divideSpace(),
1490
- height: "100%",
1491
1542
  },
1492
1543
  "& > ::slotted(*:last-child)": {
1493
1544
  "border-right": "none",
@@ -1521,6 +1572,10 @@ function PortalChangePasswordView(props) {
1521
1572
  const style = {
1522
1573
  Dialog: {
1523
1574
  padding: "0",
1575
+ "&::part(panel)": {
1576
+ background: "var(--sqm-portal-background)",
1577
+ borderRadius: "var(--sqm-border-radius-normal, var(--sl-border-radius-medium))",
1578
+ },
1524
1579
  "&::part(close-button)": {
1525
1580
  "margin-top": "var(--sl-spacing-medium)",
1526
1581
  },
@@ -1544,8 +1599,8 @@ function PortalChangePasswordView(props) {
1544
1599
  },
1545
1600
  },
1546
1601
  CancelButton: {
1547
- width: "25%",
1548
1602
  margin: "var(--sl-spacing-large) auto",
1603
+ width: "100%",
1549
1604
  },
1550
1605
  PasswordField: {
1551
1606
  marginBottom: "var(--sl-spacing-large) !important",
@@ -1574,19 +1629,19 @@ function PortalChangePasswordView(props) {
1574
1629
  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 }),
1575
1630
  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" })),
1576
1631
  h(PortalContainerView, Object.assign({}, { direction: "row", padding: "none", gap: "20px" }),
1577
- h("sl-button", { class: sheet.classes.ChangePasswordButton, type: "primary", submit: true, loading: states.loading }, states.content.changePasswordButtonText),
1578
- h("sl-button", { class: sheet.classes.CancelButton, type: "text", onClick: () => callbacks.setOpen(false) }, states.content.cancelText))))),
1632
+ h("sl-button", { class: sheet.classes.ChangePasswordButton, type: "primary", exportparts: "base: primarybutton-base", submit: true, loading: states.loading }, states.content.changePasswordButtonText),
1633
+ h("sl-button", { class: sheet.classes.CancelButton, type: "text", exportparts: "base: secondarybutton-base", onClick: () => callbacks.setOpen(false) }, states.content.cancelText))))),
1579
1634
  }))),
1580
1635
  h(PortalSectionView, Object.assign({}, {
1581
1636
  labelMargin: "x-large",
1582
1637
  padding: "xxx-large",
1583
1638
  label: (h(TextSpanView, Object.assign({}, { type: "h2" }), states.content.portalChangePasswordHeader)),
1584
- content: (h("sl-button", { onClick: () => callbacks.setOpen(true) }, states.content.portalChangePasswordButtonText)),
1639
+ content: (h("sl-button", { exportparts: "base: primarybutton-base", onClick: () => callbacks.setOpen(true) }, states.content.portalChangePasswordButtonText)),
1585
1640
  }),
1586
1641
  h("style", { type: "text/css" }, styleString))));
1587
1642
  }
1588
1643
 
1589
- const style$3 = {
1644
+ const style$1 = {
1590
1645
  Wrapper: { ...AuthWrapper, "max-width": "600px" },
1591
1646
  Column: AuthColumn,
1592
1647
  HostBlock: HostBlock,
@@ -1597,7 +1652,7 @@ const style$3 = {
1597
1652
  ButtonsContainer: AuthButtonsContainer,
1598
1653
  ErrorStyle: ErrorStyles,
1599
1654
  };
1600
- const vanillaStyle$1 = `
1655
+ const vanillaStyle = `
1601
1656
  sqm-portal-register {
1602
1657
  margin: 0 auto;
1603
1658
  width: 100%;
@@ -1612,20 +1667,20 @@ sqm-portal-register {
1612
1667
  display: none;
1613
1668
  }
1614
1669
  `;
1615
- const sheet$3 = createStyleSheet(style$3);
1616
- const styleString$3 = sheet$3.toString();
1670
+ const sheet$1 = createStyleSheet(style$1);
1671
+ const styleString$1 = sheet$1.toString();
1617
1672
  function PortalRegisterView(props) {
1618
1673
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
1619
1674
  const { states, refs, callbacks, content } = props;
1620
1675
  if (states.error) {
1621
1676
  window.scrollTo({ top: 0, left: 0, behavior: "smooth" });
1622
1677
  }
1623
- return (h("div", { class: sheet$3.classes.Wrapper, part: "sqm-base" },
1678
+ return (h("div", { class: sheet$1.classes.Wrapper, part: "sqm-base" },
1624
1679
  h("style", { type: "text/css" },
1625
- vanillaStyle$1,
1626
- styleString$3),
1680
+ vanillaStyle,
1681
+ styleString$1),
1627
1682
  h(TextSpanView, { type: "h3" }, content.pageLabel),
1628
- h("sl-form", { class: sheet$3.classes.Column, "onSl-submit": callbacks.submit, ref: (el) => (refs.formRef.current = el), novalidate: true },
1683
+ h("sl-form", { class: sheet$1.classes.Column, "onSl-submit": callbacks.submit, ref: (el) => (refs.formRef.current = el), novalidate: true },
1629
1684
  states.error && (h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
1630
1685
  h("div", { part: "erroralert-text" }, props.states.error))),
1631
1686
  content.formData,
@@ -1638,7 +1693,7 @@ function PortalRegisterView(props) {
1638
1693
  return content.invalidEmailErrorMessage;
1639
1694
  }
1640
1695
  } }, (((_b = (_a = states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors) === null || _b === void 0 ? void 0 : _b.email) ? {
1641
- class: sheet$3.classes.ErrorStyle,
1696
+ class: sheet$1.classes.ErrorStyle,
1642
1697
  helpText: ((_d = (_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.validationErrors) === null || _d === void 0 ? void 0 : _d.email) ||
1643
1698
  content.requiredFieldErrorMessage,
1644
1699
  }
@@ -1649,17 +1704,17 @@ function PortalRegisterView(props) {
1649
1704
  value: (_j = (_h = states.registrationFormState) === null || _h === void 0 ? void 0 : _h.initialData) === null || _j === void 0 ? void 0 : _j.confirmPassword,
1650
1705
  }
1651
1706
  : {}), (((_l = (_k = states.registrationFormState) === null || _k === void 0 ? void 0 : _k.validationErrors) === null || _l === void 0 ? void 0 : _l.confirmPassword) ? {
1652
- class: sheet$3.classes.ErrorStyle,
1707
+ class: sheet$1.classes.ErrorStyle,
1653
1708
  helpText: ((_o = (_m = states.registrationFormState) === null || _m === void 0 ? void 0 : _m.validationErrors) === null || _o === void 0 ? void 0 : _o.confirmPassword) || content.requiredFieldErrorMessage,
1654
1709
  }
1655
1710
  : [])))),
1656
1711
  content.terms,
1657
- h("div", { class: sheet$3.classes.ButtonsContainer },
1712
+ h("div", { class: sheet$1.classes.ButtonsContainer },
1658
1713
  h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Register"),
1659
1714
  content.secondaryButton))));
1660
1715
  }
1661
1716
 
1662
- const style$4 = {
1717
+ const style$2 = {
1663
1718
  ErrorStyle: {
1664
1719
  "&::part(control)": {
1665
1720
  background: "var(--sl-color-danger-10)",
@@ -1682,7 +1737,7 @@ const style$4 = {
1682
1737
  "margin-bottom": "var(--sl-spacing-large)",
1683
1738
  },
1684
1739
  };
1685
- const vanillaStyle$2 = `
1740
+ const vanillaStyle$1 = `
1686
1741
  :host {
1687
1742
  margin: 0 auto;
1688
1743
  width: 100%;
@@ -1698,15 +1753,15 @@ sl-checkbox::part(base){
1698
1753
  }
1699
1754
  `;
1700
1755
  jss.setup(create());
1701
- const sheet$4 = jss.createStyleSheet(style$4);
1702
- const styleString$4 = sheet$4.toString();
1756
+ const sheet$2 = jss.createStyleSheet(style$2);
1757
+ const styleString$2 = sheet$2.toString();
1703
1758
  function CheckboxFieldView(props) {
1704
1759
  var _b, _c;
1705
1760
  const { states, content, callbacks } = props;
1706
- return (h("div", { class: sheet$4.classes.FieldContainer, part: "sqm-base" },
1761
+ return (h("div", { class: sheet$2.classes.FieldContainer, part: "sqm-base" },
1707
1762
  h("style", { type: "text/css" },
1708
- vanillaStyle$2,
1709
- styleString$4),
1763
+ vanillaStyle$1,
1764
+ styleString$2),
1710
1765
  h("sl-checkbox", Object.assign({ exportparts: "label: input-label, base: input-base", name: `/${content.checkboxName}`, checked: states.checked, "onSl-change": (e) => {
1711
1766
  e.target.value = e.target.checked;
1712
1767
  callbacks.setChecked(e.target.value);
@@ -1762,8 +1817,14 @@ function ChangeMarktingView(props) {
1762
1817
  h("div", { part: "successalert-text" }, states.text.successMessage))))));
1763
1818
  }
1764
1819
 
1765
- const style$5 = {
1820
+ const style$3 = {
1766
1821
  Description: {
1822
+ "& .icon": {
1823
+ color: "var(--sqm-text)",
1824
+ "&:hover": {
1825
+ color: "var(--sqm-accent-color-icon)",
1826
+ },
1827
+ },
1767
1828
  "& input[type=checkbox]": {
1768
1829
  display: "none",
1769
1830
  },
@@ -1774,7 +1835,7 @@ const style$5 = {
1774
1835
  position: "absolute",
1775
1836
  top: "var(--sl-spacing-medium)",
1776
1837
  right: "var(--sl-spacing-medium)",
1777
- color: "var(--sl-color-neutral-700)",
1838
+ color: "var(--sqm-text)",
1778
1839
  fontSize: "var(--sl-font-size-large)",
1779
1840
  "& :hover": {
1780
1841
  color: "var(--sl-color-primary-700)",
@@ -1801,16 +1862,16 @@ const style$5 = {
1801
1862
  },
1802
1863
  },
1803
1864
  };
1804
- const sheet$5 = createStyleSheet(style$5);
1805
- const styleString$5 = sheet$5.toString();
1865
+ const sheet$3 = createStyleSheet(style$3);
1866
+ const styleString$3 = sheet$3.toString();
1806
1867
  function Details(props) {
1807
1868
  const rid = Math.random().toString(36).slice(2);
1808
1869
  return (h("div", { style: { opacity: props.opacity } },
1809
- h("style", { type: "text/css" }, styleString$5),
1810
- h("span", { class: sheet$5.classes.Description },
1870
+ h("style", { type: "text/css" }, styleString$3),
1871
+ h("span", { class: sheet$3.classes.Description },
1811
1872
  h("input", { type: "checkbox", id: "details-" + rid }),
1812
1873
  h("label", { class: "details", htmlFor: "details-" + rid },
1813
- h("sl-icon", { exportparts: "base: chevron-icon", name: "chevron-down" })),
1874
+ h("sl-icon", { class: "icon", exportparts: "base: chevron-icon", name: "chevron-down" })),
1814
1875
  h("span", { class: "summary", "progress-bar": props.progressBar }, props.content.description))));
1815
1876
  }
1816
1877
 
@@ -1829,7 +1890,7 @@ const GreyGift = () => {
1829
1890
  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" })));
1830
1891
  };
1831
1892
 
1832
- const style$6 = {
1893
+ const style$4 = {
1833
1894
  ProgressBar: {
1834
1895
  "& .progress-bar": {
1835
1896
  height: "0",
@@ -1876,7 +1937,8 @@ const style$6 = {
1876
1937
  width: "100%",
1877
1938
  height: "4px",
1878
1939
  borderRadius: "4px",
1879
- backgroundColor: "var(--sl-color-primary-300)",
1940
+ backgroundColor: "var(--sqm-accent-color-icon)",
1941
+ background: "red",
1880
1942
  },
1881
1943
  "& .progress": {
1882
1944
  display: "block",
@@ -1889,7 +1951,7 @@ const style$6 = {
1889
1951
  width: "12px",
1890
1952
  height: "12px",
1891
1953
  display: "flex",
1892
- backgroundColor: "var(--sl-color-primary-300)",
1954
+ backgroundColor: "var(--sqm-accent-color-icon)",
1893
1955
  borderRadius: "50%",
1894
1956
  position: "relative",
1895
1957
  left: "47%",
@@ -1941,14 +2003,14 @@ const style$6 = {
1941
2003
  },
1942
2004
  },
1943
2005
  };
1944
- const sheet$6 = createStyleSheet(style$6, { classNamePrefix: "sqm-prog-bar" });
1945
- const styleString$6 = sheet$6.toString();
2006
+ const sheet$4 = createStyleSheet(style$4, { classNamePrefix: "sqm-prog-bar" });
2007
+ const styleString$4 = sheet$4.toString();
1946
2008
  function ProgressBarView(props) {
1947
2009
  const { progress = 0, goal = 1, steps = false, progressBarUnit = "", repeatable = false, complete = false, expired = false, finite = 0, opacity = "1", } = props;
1948
2010
  let aggregate = buildProgressBar(repeatable, steps, props);
1949
2011
  const { columns, items } = aggregate;
1950
- return (h("div", { class: sheet$6.classes.ProgressBar, "data-expired": expired, "data-complete": complete, "data-steps": steps, "data-done": goal <= progress, style: { opacity: opacity } },
1951
- h("style", { type: "text/css" }, styleString$6),
2012
+ return (h("div", { class: sheet$4.classes.ProgressBar, "data-expired": expired, "data-complete": complete, "data-steps": steps, "data-done": goal <= progress, style: { opacity: opacity } },
2013
+ h("style", { type: "text/css" }, styleString$4),
1952
2014
  h("div", { class: (!Boolean(finite) && progress >= 2 * goal) ||
1953
2015
  (Boolean(finite) && progress > 2 * goal)
1954
2016
  ? "progress-bar repeatable-steps"
@@ -2239,165 +2301,151 @@ const arrow_left_right = () => {
2239
2301
  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" })));
2240
2302
  };
2241
2303
 
2242
- const style$7 = {
2243
- TaskCard: {
2244
- display: "inline-block",
2245
- width: "100%",
2246
- "& .main": {
2247
- position: "relative",
2248
- boxSizing: "border-box",
2249
- background: "var(--sl-color-neutral-0)",
2250
- border: "1px solid var(--sl-color-neutral-200)",
2251
- borderRadius: "var(--sl-border-radius-large)",
2252
- boxShadow: "1px 2px 4px rgba(211, 211, 211, 0.2)",
2253
- fontSize: "var(--sl-font-size-small)",
2254
- lineHeight: "var(--sl-line-height-dense)",
2255
- color: "var(--sqm-text)",
2256
- },
2257
- "& .main.complete": {
2258
- background: "var(--sl-color-primary-50)",
2259
- borderColor: "var(--sl-color-primary-500)",
2260
- },
2261
- "& .main.expired": {
2262
- color: "var(--sqm-text)",
2263
- background: "var(--sl-color-neutral-50)",
2264
- },
2265
- "& .title": {
2266
- fontSize: "var(--sl-font-size-medium)",
2267
- color: "var(--sqm-text)",
2268
- },
2269
- "& .container": {
2270
- margin: "var(--sl-spacing-medium)",
2271
- },
2272
- "& .container.subdued": {
2273
- opacity: "0.45",
2274
- },
2275
- "& .container > div": {
2276
- margin: "var(--sl-spacing-medium) 0",
2277
- },
2278
- },
2279
- NotStarted: {
2280
- fontSize: "var(--sl-font-size-small)",
2281
- padding: "var(--sl-spacing-medium)",
2282
- color: "var(--sl-color-primary-600)",
2283
- border: "1px solid var(--sl-color-neutral-200)",
2284
- borderRadius: "var(--sl-border-radius-large) var(--sl-border-radius-large) 0 0",
2285
- borderBottom: "none",
2286
- background: "var(--sl-color-primary-50)",
2287
- fontWeight: "var(--sl-font-weight-semibold)",
2288
- lineHeight: "var(--sl-line-height-dense)",
2289
- "& .icon": {
2290
- position: "relative",
2291
- top: "0.1em",
2292
- marginRight: "var(--sl-spacing-small)",
2293
- color: "var(--sl-color-primary-500)",
2294
- },
2295
- },
2296
- Ended: {
2297
- fontSize: "var(--sl-font-size-small)",
2298
- padding: "var(--sl-spacing-medium)",
2299
- color: "var(--sl-color-warning-600)",
2300
- border: "1px solid var(--sl-color-neutral-200)",
2301
- borderRadius: "var(--sl-border-radius-large) var(--sl-border-radius-large) 0 0",
2302
- borderBottom: "none",
2303
- background: "var(--sl-color-warning-50)",
2304
- fontWeight: "var(--sl-font-weight-semibold)",
2305
- lineHeight: "var(--sl-line-height-dense)",
2306
- "& .icon": {
2307
- position: "relative",
2308
- top: "0.1em",
2309
- marginRight: "var(--sl-spacing-small)",
2310
- color: "var(--sl-color-warning-500)",
2311
- },
2312
- },
2313
- Header: {
2314
- display: "flex",
2315
- "& .icon": {
2316
- position: "relative",
2317
- top: "5%",
2318
- alignSelf: "center",
2319
- lineHeight: "0",
2320
- color: "var(--sl-color-primary-400)",
2321
- fontSize: "var(--sl-font-size-large)",
2322
- marginRight: "var(--sl-spacing-x-small)",
2323
- },
2324
- "& .value": {
2325
- alignSelf: "center",
2326
- fontSize: "var(--sl-font-size-x-large)",
2327
- fontWeight: "var(--sl-font-weight-semibold)",
2328
- color: "var(--sqm-text)",
2329
- lineHeight: "100%",
2330
- marginRight: "var(--sl-spacing-xx-small)",
2331
- },
2332
- "& .text": {
2333
- alignSelf: "end",
2334
- textTransform: "uppercase",
2335
- fontSize: "var(--sl-font-size-x-small)",
2336
- color: "var(--sqm-text)",
2337
- lineHeight: "var(--sl-font-size-medium)",
2338
- marginRight: "var(--sl-spacing-xx-small)",
2304
+ function TaskCardView(props) {
2305
+ var _a, _b;
2306
+ const { callbacks, states, content } = props;
2307
+ console.log("buttonType ", content.buttonType);
2308
+ const style = {
2309
+ TaskCard: {
2310
+ display: "inline-block",
2311
+ width: "100%",
2312
+ "& .main": {
2313
+ position: "relative",
2314
+ boxSizing: "border-sizing",
2315
+ background: content.backgroundColor || "var(--sl-color-neutral-0)",
2316
+ border: `1px solid ${content.borderColor || "var(--sl-color-neutral-200)"}`,
2317
+ borderRadius: "var(--sl-border-radius-large)",
2318
+ boxShadow: "1px 2px 4px rgba(211, 211, 211, 0.2)",
2319
+ fontSize: "var(--sl-font-size-small)",
2320
+ lineHeight: "var(--sl-line-height-dense)",
2321
+ color: content.textColor || "var(--sqm-text)",
2322
+ },
2323
+ "& .main.complete": {
2324
+ background: "var(--sl-color-primary-50)",
2325
+ borderColor: "var(--sqm-accent-color-border)",
2326
+ },
2327
+ "& .main.expired": {
2328
+ color: content.textColor || "var(--sqm-text)",
2329
+ background: content.backgroundColor || "var(--sl-color-neutral-50)",
2330
+ },
2331
+ "& .title": {
2332
+ fontSize: "var(--sl-font-size-medium)",
2333
+ color: content.textColor || "var(--sqm-text)",
2334
+ },
2335
+ "& .container": {
2336
+ margin: "var(--sl-spacing-medium)",
2337
+ },
2338
+ "& .container.subdued": {
2339
+ opacity: "0.45",
2340
+ },
2341
+ "& .container > div": {
2342
+ margin: "var(--sl-spacing-medium) 0",
2343
+ },
2339
2344
  },
2340
- "& .end": {
2341
- color: "var(--sl-color-warning-500)",
2345
+ NotStarted: {
2346
+ fontSize: "var(--sl-font-size-small)",
2347
+ padding: "var(--sl-spacing-medium)",
2348
+ color: content.textColor || "var(--sl-color-primary-600)",
2349
+ border: `1px solid ${content.borderColor || "var(--sl-color-neutral-200)"}`,
2350
+ borderRadius: "var(--sl-border-radius-large) var(--sl-border-radius-large) 0 0",
2351
+ borderBottom: "none",
2352
+ background: content.backgroundColor || "var(--sl-color-primary-50)",
2342
2353
  fontWeight: "var(--sl-font-weight-semibold)",
2343
- marginBottom: "var(--sl-spacing-xx-small)",
2344
- },
2345
- "& .neutral": {
2346
- color: "var(--sl-color-neutral-400)",
2347
- },
2348
- },
2349
- Footer: {
2350
- "&[data-subdue] .success": {
2351
- color: "var(--sl-color-primary-300)",
2352
- },
2353
- "&[data-subdue] .neutral": {
2354
- color: "var(--sqm-text)",
2355
- },
2356
- display: "flex",
2357
- "& .icon": {
2358
- fontSize: "var(--sl-font-size-xx-small)",
2359
- marginRight: "var(--sl-spacing-xx-small)",
2360
- verticalAlign: "middle",
2361
- },
2362
- "& .text": {
2363
- marginTop: "auto",
2364
- verticalAlign: "text-bottom",
2365
- fontSize: "var(--sl-font-size-x-small)",
2366
- color: "var(--sqm-text)",
2354
+ lineHeight: "var(--sl-line-height-dense)",
2355
+ "& .icon": {
2356
+ position: "relative",
2357
+ top: "0.1em",
2358
+ marginRight: "var(--sl-spacing-small)",
2359
+ color: content.textColor || "var(--sqm-text)",
2360
+ },
2367
2361
  },
2368
- "& .success": {
2369
- color: "var(--sl-color-primary-500)",
2362
+ Ended: {
2363
+ fontSize: "var(--sl-font-size-small)",
2364
+ padding: "var(--sl-spacing-medium)",
2365
+ color: content.textColor || "var(--sl-color-warning-600)",
2366
+ border: `1px solid ${content.borderColor || "var(--sl-color-neutral-200)"}`,
2367
+ borderRadius: "var(--sl-border-radius-large) var(--sl-border-radius-large) 0 0",
2368
+ borderBottom: "none",
2369
+ background: content.backgroundColor || "var(--sl-color-warning-50)",
2370
2370
  fontWeight: "var(--sl-font-weight-semibold)",
2371
+ lineHeight: "var(--sl-line-height-dense)",
2372
+ "& .icon": {
2373
+ position: "relative",
2374
+ top: "0.1em",
2375
+ marginRight: "var(--sl-spacing-small)",
2376
+ color: content.textColor || "var(--sqm-text)",
2377
+ },
2371
2378
  },
2372
- "& .action": {
2373
- marginTop: "auto",
2374
- marginLeft: "auto",
2375
- "&::part(base)": {
2376
- color: "var(--sqm-text)",
2379
+ Header: {
2380
+ display: "flex",
2381
+ "& .icon": {
2382
+ position: "relative",
2383
+ top: "5%",
2384
+ alignSelf: "center",
2385
+ lineHeight: "0",
2386
+ color: "var(--sqm-accent-color-icon)",
2387
+ fontSize: "var(--sl-font-size-large)",
2388
+ marginRight: "var(--sl-spacing-x-small)",
2377
2389
  },
2378
- "&.disabled::part(base)": {
2379
- border: "1px solid var(--sl-color-primary-400)",
2380
- background: "var(--sl-color-primary-400)",
2390
+ "& .value": {
2391
+ alignSelf: "center",
2392
+ fontSize: "var(--sl-font-size-x-large)",
2393
+ fontWeight: "var(--sl-font-weight-semibold)",
2394
+ color: content.textColor || "var(--sqm-text)",
2395
+ lineHeight: "100%",
2396
+ marginRight: "var(--sl-spacing-xx-small)",
2381
2397
  },
2382
- "&.neutral::part(base)": {
2383
- border: "1px solid var(--sqm-text)",
2384
- background: "var(--sqm-text)",
2398
+ "& .text": {
2399
+ alignSelf: "end",
2400
+ textTransform: "uppercase",
2401
+ fontSize: "var(--sl-font-size-x-small)",
2402
+ color: content.textColor || "var(--sqm-text)",
2403
+ lineHeight: "var(--sl-font-size-medium)",
2404
+ marginRight: "var(--sl-spacing-xx-small)",
2405
+ },
2406
+ "& .end": {
2407
+ color: content.textColor || "var(--sl-color-warning-500)",
2408
+ fontWeight: "var(--sl-font-weight-semibold)",
2409
+ marginBottom: "var(--sl-spacing-xx-small)",
2410
+ },
2411
+ "& .neutral": {
2412
+ color: content.textColor || "var(--sl-color-neutral-400)",
2385
2413
  },
2386
2414
  },
2387
- "& .neutral": {
2388
- color: "var(--sqm-text)",
2389
- },
2390
- "& .datetime": {
2391
- display: "block",
2392
- marginTop: "var(--sl-spacing-xx-small)",
2415
+ Footer: {
2416
+ "&[data-subdue] .success": {
2417
+ color: content.textColor || "var(--sl-color-primary-300)",
2418
+ },
2419
+ "&[data-subdue] .neutral": {
2420
+ color: content.textColor || "var(--sqm-text)",
2421
+ },
2422
+ display: "flex",
2423
+ "& .icon": {
2424
+ fontSize: "var(--sl-font-size-xx-small)",
2425
+ marginRight: "var(--sl-spacing-xx-small)",
2426
+ verticalAlign: "middle",
2427
+ },
2428
+ "& .text": {
2429
+ marginTop: "auto",
2430
+ verticalAlign: "text-bottom",
2431
+ fontSize: "var(--sl-font-size-x-small)",
2432
+ color: content.textColor || "var(--sqm-text)",
2433
+ },
2434
+ "& .success": {
2435
+ color: content.textColor || "var(--sqm-text)",
2436
+ fontWeight: "var(--sl-font-weight-semibold)",
2437
+ },
2438
+ "& .neutral": {
2439
+ color: content.textColor || "var(--sqm-text)",
2440
+ },
2441
+ "& .datetime": {
2442
+ display: "block",
2443
+ marginTop: "var(--sl-spacing-xx-small)",
2444
+ },
2393
2445
  },
2394
- },
2395
- };
2396
- const sheet$7 = createStyleSheet(style$7);
2397
- const styleString$7 = sheet$7.toString();
2398
- function TaskCardView(props) {
2399
- var _a, _b;
2400
- const { callbacks, states, content } = props;
2446
+ };
2447
+ const sheet = createStyleSheet(style);
2448
+ const contentString = sheet.toString();
2401
2449
  const dateStart = content.rewardDuration &&
2402
2450
  luxon.DateTime.fromISO(content.rewardDuration.split("/")[0]);
2403
2451
  const dateEnd = content.rewardDuration &&
@@ -2430,11 +2478,11 @@ function TaskCardView(props) {
2430
2478
  }
2431
2479
 
2432
2480
  `;
2433
- return (h("div", { class: sheet$7.classes.TaskCard, part: "sqm-base" },
2481
+ return (h("div", { class: sheet.classes.TaskCard, part: "sqm-base" },
2434
2482
  h("style", { type: "text/css" },
2435
- styleString$7,
2483
+ contentString,
2436
2484
  vanillaStyle),
2437
- !states.loading && taskNotStarted && (h("div", { class: sheet$7.classes.NotStarted },
2485
+ !states.loading && taskNotStarted && (h("div", { class: sheet.classes.NotStarted },
2438
2486
  h("span", { class: "icon" },
2439
2487
  h("sl-icon", { name: "info-circle-fill" })),
2440
2488
  intl.formatMessage({
@@ -2445,7 +2493,7 @@ function TaskCardView(props) {
2445
2493
  .setLocale(luxonLocale(states.locale))
2446
2494
  .toLocaleString(luxon.DateTime.DATETIME_MED),
2447
2495
  }))),
2448
- !states.loading && taskEnded && (h("div", { class: sheet$7.classes.Ended },
2496
+ !states.loading && taskEnded && (h("div", { class: sheet.classes.Ended },
2449
2497
  h("span", { class: "icon" },
2450
2498
  h("sl-icon", { exportparts: "base: task-card-icon", name: "exclamation-triangle-fill" })),
2451
2499
  intl.formatMessage({
@@ -2465,7 +2513,7 @@ function TaskCardView(props) {
2465
2513
  ? "main complete"
2466
2514
  : "main" },
2467
2515
  h("div", { class: "container", part: "sqm-card-container", "data-subdue": taskComplete || taskUnavailable },
2468
- h("div", { class: sheet$7.classes.Header, style: { opacity: taskComplete || taskUnavailable ? "0.45" : "1" } }, states.loading ? (h("sl-skeleton", { style: { width: "22%", margin: "0" } })) : (h("div", null,
2516
+ h("div", { class: sheet.classes.Header, style: { opacity: taskComplete || taskUnavailable ? "0.45" : "1" } }, states.loading ? (h("sl-skeleton", { style: { width: "22%", margin: "0" } })) : (h("div", null,
2469
2517
  showComplete && (h("span", { class: taskUnavailable ? "icon neutral" : "icon" }, taskComplete ? checkmark_filled$1 : checkmark_circle$1)),
2470
2518
  h("span", { part: "sqm-value", class: "value" }, content.rewardAmount),
2471
2519
  h("span", { part: "sqm-unit", class: "text" }, content.rewardUnit)))),
@@ -2480,8 +2528,8 @@ function TaskCardView(props) {
2480
2528
  opacity: taskComplete || taskUnavailable ? "0.45" : "1",
2481
2529
  } }, content.cardTitle)),
2482
2530
  states.loading ? (h("sl-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.description && (h(Details, Object.assign({}, props, { opacity: taskComplete || taskUnavailable ? "0.45" : "1" })))),
2483
- content.showProgressBar && states.loading ? (h("sl-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.showProgressBar && (h(ProgressBarView, Object.assign({}, props.content, props.states, { opacity: taskComplete || taskUnavailable ? "0.45" : "1", complete: taskComplete, expired: taskUnavailable })))),
2484
- h("div", { class: sheet$7.classes.Footer, "data-subdue": taskComplete || taskUnavailable }, states.loading ? (h("sl-skeleton", { style: { width: "25%", marginLeft: "auto" } })) : (h("div", { style: { display: "contents" } },
2531
+ content.showProgressBar && states.loading ? (h("sl-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.showProgressBar && (h(ProgressBarView, Object.assign({}, props.content, props.states, { opacity: taskComplete || taskUnavailable ? "0.75" : "1", complete: taskComplete, expired: taskUnavailable })))),
2532
+ h("div", { class: sheet.classes.Footer, "data-subdue": taskComplete || taskUnavailable }, states.loading ? (h("sl-skeleton", { style: { width: "25%", marginLeft: "auto" } })) : (h("div", { style: { display: "contents" } },
2485
2533
  h("span", { class: "text" },
2486
2534
  content.repeatable && (h("div", null,
2487
2535
  h("span", { class: repetitions > 0
@@ -2510,11 +2558,7 @@ function TaskCardView(props) {
2510
2558
  .setLocale(luxonLocale(states.locale))
2511
2559
  .toLocaleString(luxon.DateTime.DATETIME_MED),
2512
2560
  })))),
2513
- content.hideButton ? ("") : (h("sl-button", { exportparts: "base: button", id: "sl-button", class: taskUnavailable
2514
- ? "action neutral"
2515
- : taskComplete
2516
- ? "action disabled"
2517
- : "action", type: "primary", size: "small", onClick: callbacks.onClick, loading: states.loadingEvent, disabled: taskComplete || taskUnavailable, style: {
2561
+ content.hideButton ? ("") : (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: {
2518
2562
  opacity: taskComplete || taskUnavailable ? "0.45" : "1",
2519
2563
  } }, content.buttonText)))))))));
2520
2564
  }
@@ -2552,15 +2596,15 @@ function PoweredByImg({ color = "#A6A6A6", width = 120, height = 16, }) {
2552
2596
  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 })));
2553
2597
  }
2554
2598
 
2555
- const vanillaStyle$3 = `
2599
+ const vanillaStyle$2 = `
2556
2600
  :host{
2557
2601
  margin: 0 auto;
2558
2602
  width: 100%;
2559
2603
  }
2560
2604
  a{
2561
2605
  cursor:pointer;
2562
- color: inherit;
2563
- text-decoration: none;
2606
+ color: var(--sqm-text-subdued);
2607
+ text-decoration: none ;
2564
2608
  }
2565
2609
  `;
2566
2610
  function PortalFooterView(props) {
@@ -2576,14 +2620,14 @@ function PortalFooterView(props) {
2576
2620
  "flex-direction": "column",
2577
2621
  "align-items": "center",
2578
2622
  "font-size": "var(--sl-font-size-small)",
2579
- color: "var(--sl-color-gray-600)",
2623
+ color: "var(--sqm-text-subdued)",
2580
2624
  "padding-top": `var(--sl-spacing-${props.paddingTop})`,
2581
2625
  "padding-right": `var(--sl-spacing-${props.paddingRight})`,
2582
2626
  "padding-bottom": `var(--sl-spacing-${props.paddingBottom})`,
2583
2627
  "padding-left": `var(--sl-spacing-${props.paddingLeft})`,
2584
2628
  "row-gap": `var(--sl-spacing-small)`,
2585
2629
  "& a:hover": {
2586
- color: "var(--sl-color-gray-900)",
2630
+ color: "var(--sqm-text)",
2587
2631
  },
2588
2632
  },
2589
2633
  SupportText: {
@@ -2591,7 +2635,7 @@ function PortalFooterView(props) {
2591
2635
  margin: 0,
2592
2636
  },
2593
2637
  PoweredByLink: {
2594
- color: "var(--sl-color-gray-400)",
2638
+ color: "var(--sqm-text-subdued)",
2595
2639
  "font-size": "var(--sl-font-size-small)",
2596
2640
  display: "flex",
2597
2641
  alignItems: "center",
@@ -2600,7 +2644,7 @@ function PortalFooterView(props) {
2600
2644
  shapeRendering: "geometricprecision",
2601
2645
  },
2602
2646
  "&:hover, &:hover *": {
2603
- color: "var(--sl-color-gray-900)",
2647
+ color: "var(--sqm-text)",
2604
2648
  },
2605
2649
  },
2606
2650
  };
@@ -2608,7 +2652,7 @@ function PortalFooterView(props) {
2608
2652
  const styleString = sheet.toString();
2609
2653
  return (h("div", { class: sheet.classes.Container, part: "sqm-base" },
2610
2654
  h("style", { type: "text/css" },
2611
- vanillaStyle$3,
2655
+ vanillaStyle$2,
2612
2656
  styleString),
2613
2657
  h("div", { class: sheet.classes.RowContainer },
2614
2658
  props.faqLink && (h("a", { target: "_blank", href: props.faqLink }, props.faqText)),
@@ -2780,7 +2824,7 @@ function ReferralIframeView(props) {
2780
2824
  h("iframe", { class: sheet.classes.IFrame, src: `${content.iframeSrc}?rsCode=${data.shareCode}` })));
2781
2825
  }
2782
2826
 
2783
- const style$8 = {
2827
+ const style$5 = {
2784
2828
  ErrorStyle: ErrorStyles,
2785
2829
  FieldsContainer: {
2786
2830
  "& sl-input": {
@@ -2788,33 +2832,58 @@ const style$8 = {
2788
2832
  },
2789
2833
  },
2790
2834
  };
2791
- const vanillaStyle$4 = `
2835
+ const vanillaStyle$3 = `
2792
2836
  :host {
2793
2837
  margin: 0 auto;
2794
2838
  width: 100%;
2795
2839
  display: block;
2796
2840
  }
2797
2841
 
2798
- sl-input::part(label){
2799
- font-size: var(--sl-input-label-font-size-small);
2842
+ *::part(input-label), *::part(select-label), *::part(textarea-label){
2843
+ font-size: var(--sqm-input-label-font-size, var(--sl-input-font-size-small));
2800
2844
  font-weight: var(--sl-font-weight-semibold);
2845
+ color: var(--sqm-input-label-color, var(--sqm-text), black);
2846
+ }
2847
+
2848
+ *::part(input-base), *::part(select-base), *::part(textarea-base){
2849
+ background-color: var(--sqm-input-background, #fff);
2850
+ border-radius: var(--sqm-input-border-radius, var(--sl-input-border-radius-large), 0.25rem);
2851
+ color: var(--sqm-input-color, white);
2852
+ border-width: var(--sqm-border-width, 1px);
2853
+ }
2854
+
2855
+ sl-input::part(base):focus,
2856
+ sl-select::part(form-control-wrapper):focus,
2857
+ sl-textare::part(textarea-label):focus {
2858
+ border-color: none;
2859
+ border: var(--sqm-input-focus-border, 1px solid var(--sl-input-border-color-focus));
2860
+ }
2861
+
2862
+ *::part(input-label):disabled, *::part(select-label):disabled, *::part(textarea-label):disabled{
2863
+ background: var(--sqm-input-disabled-background, #f5f5f5);
2864
+ color: var(--sqm-input-disabled-color, var(--sl-color-gray-600));
2801
2865
  }
2866
+
2867
+ sl-input {
2868
+ --sl-input-border-color-focus: var(--sqm-border-color-focus);
2869
+ }
2870
+
2802
2871
  `;
2803
- const sheet$8 = createStyleSheet(style$8);
2804
- const styleString$8 = sheet$8.toString();
2872
+ const sheet$5 = createStyleSheet(style$5);
2873
+ const styleString$5 = sheet$5.toString();
2805
2874
  function NameFieldsView(props) {
2806
2875
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
2807
2876
  const { states } = props;
2808
2877
  const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
2809
- return (h("div", { class: sheet$8.classes.FieldsContainer },
2878
+ return (h("div", { class: sheet$5.classes.FieldsContainer },
2810
2879
  h("style", { type: "text/css" },
2811
- vanillaStyle$4,
2812
- styleString$8),
2880
+ vanillaStyle$3,
2881
+ styleString$5),
2813
2882
  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) ? {
2814
2883
  value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g.firstName,
2815
2884
  }
2816
2885
  : {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) ? {
2817
- class: sheet$8.classes.ErrorStyle,
2886
+ class: sheet$5.classes.ErrorStyle,
2818
2887
  helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) || "Cannot be empty",
2819
2888
  }
2820
2889
  : []))),
@@ -2822,13 +2891,13 @@ function NameFieldsView(props) {
2822
2891
  value: (_o = (_m = states.registrationFormState) === null || _m === void 0 ? void 0 : _m.initialData) === null || _o === void 0 ? void 0 : _o.lastName,
2823
2892
  }
2824
2893
  : {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) ? {
2825
- class: sheet$8.classes.ErrorStyle,
2894
+ class: sheet$5.classes.ErrorStyle,
2826
2895
  helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) || "Cannot be empty",
2827
2896
  }
2828
2897
  : [])))));
2829
2898
  }
2830
2899
 
2831
- const style$9 = {
2900
+ const style$6 = {
2832
2901
  ErrorStyle: {
2833
2902
  "--sl-input-border-color": "var(--sl-color-danger-500)",
2834
2903
  "--sl-input-background-color": "var(--sl-color-danger-10)",
@@ -2844,7 +2913,7 @@ const style$9 = {
2844
2913
  "margin-bottom": "var(--sl-spacing-large)",
2845
2914
  },
2846
2915
  };
2847
- const vanillaStyle$5 = `
2916
+ const vanillaStyle$4 = `
2848
2917
  :host {
2849
2918
  margin: 0 auto;
2850
2919
  width: 100%;
@@ -2856,36 +2925,36 @@ sl-select::part(label){
2856
2925
  }
2857
2926
  `;
2858
2927
  jss.setup(create());
2859
- const sheet$9 = jss.createStyleSheet(style$9);
2860
- const styleString$9 = sheet$9.toString();
2928
+ const sheet$6 = jss.createStyleSheet(style$6);
2929
+ const styleString$6 = sheet$6.toString();
2861
2930
  function DropdownFieldView(props) {
2862
2931
  var _a, _b, _c, _d, _e, _f, _g;
2863
2932
  const { states, content } = props;
2864
2933
  const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
2865
- return (h("div", { class: sheet$9.classes.FieldContainer, part: "sqm-base" },
2934
+ return (h("div", { class: sheet$6.classes.FieldContainer, part: "sqm-base" },
2866
2935
  h("style", { type: "text/css" },
2867
- vanillaStyle$5,
2868
- styleString$9),
2936
+ vanillaStyle$4,
2937
+ styleString$6),
2869
2938
  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]) ? {
2870
2939
  value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g[content.dropdownName],
2871
2940
  }
2872
2941
  : {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) ? {
2873
- class: sheet$9.classes.ErrorStyle,
2942
+ class: sheet$6.classes.ErrorStyle,
2874
2943
  }
2875
2944
  : [])), content.selectOptions),
2876
- (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (h("p", { class: sheet$9.classes.ErrorMessageStyle }, intl.formatMessage({
2945
+ (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (h("p", { class: sheet$6.classes.ErrorMessageStyle }, intl.formatMessage({
2877
2946
  id: `errorMessage-${content.dropdownName}`,
2878
2947
  defaultMessage: content.errorMessage,
2879
2948
  })))));
2880
2949
  }
2881
2950
 
2882
- const style$a = {
2951
+ const style$7 = {
2883
2952
  ErrorStyle: ErrorStyles,
2884
2953
  FieldContainer: {
2885
2954
  "margin-bottom": "var(--sl-spacing-large)",
2886
2955
  },
2887
2956
  };
2888
- const vanillaStyle$6 = `
2957
+ const vanillaStyle$5 = `
2889
2958
  :host {
2890
2959
  margin: 0 auto;
2891
2960
  width: 100%;
@@ -2893,21 +2962,21 @@ const vanillaStyle$6 = `
2893
2962
  }
2894
2963
  `;
2895
2964
  jss.setup(create());
2896
- const sheet$a = jss.createStyleSheet(style$a);
2897
- const styleString$a = sheet$a.toString();
2965
+ const sheet$7 = jss.createStyleSheet(style$7);
2966
+ const styleString$7 = sheet$7.toString();
2898
2967
  function InputFieldView(props) {
2899
2968
  var _a, _b, _c, _d, _e, _f, _g;
2900
2969
  const { states, content } = props;
2901
2970
  const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
2902
- return (h("div", { class: sheet$a.classes.FieldContainer, part: "sqm-base" },
2971
+ return (h("div", { class: sheet$7.classes.FieldContainer, part: "sqm-base" },
2903
2972
  h("style", { type: "text/css" },
2904
- vanillaStyle$6,
2905
- styleString$a),
2973
+ vanillaStyle$5,
2974
+ styleString$7),
2906
2975
  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]) ? {
2907
2976
  value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g[content.fieldName],
2908
2977
  }
2909
2978
  : {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.fieldName]) ? {
2910
- class: sheet$a.classes.ErrorStyle,
2979
+ class: sheet$7.classes.ErrorStyle,
2911
2980
  helpText: intl.formatMessage({
2912
2981
  id: `errorMessage-${content.fieldName}`,
2913
2982
  defaultMessage: content.errorMessage || (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.fieldName]),
@@ -3002,7 +3071,7 @@ function ProgressBar({ stageCount, currentStage, }) {
3002
3071
  return (h("div", { style: { display: "flex", columnGap: "-2px" } }, Array.from(Array(stageCount).keys()).map((stage) => (h(Progress, { active: currentStage === stage, completed: currentStage > stage, incomplete: currentStage < stage, stage: stage })))));
3003
3072
  }
3004
3073
 
3005
- const style$b = {
3074
+ const style$8 = {
3006
3075
  HostBlock: HostBlock,
3007
3076
  Container: {
3008
3077
  minWidth: "300px",
@@ -3353,8 +3422,8 @@ const style$b = {
3353
3422
  },
3354
3423
  };
3355
3424
  // JSS config
3356
- const sheet$b = createStyleSheet(style$b);
3357
- const styleString$b = sheet$b.toString();
3425
+ const sheet$8 = createStyleSheet(style$8);
3426
+ const styleString$8 = sheet$8.toString();
3358
3427
  const stageList = ["chooseReward", "chooseAmount", "confirmation", "success"];
3359
3428
  function RewardExchangeView(props) {
3360
3429
  const { states, data, callbacks, refs } = props;
@@ -3377,7 +3446,7 @@ function RewardExchangeView(props) {
3377
3446
  sourceUnit: item.sourceUnit,
3378
3447
  })));
3379
3448
  }
3380
- return (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) => {
3449
+ return (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) => {
3381
3450
  var _a, _b, _c, _d, _e;
3382
3451
  return callbacks.setExchangeState({
3383
3452
  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,
@@ -3385,7 +3454,7 @@ function RewardExchangeView(props) {
3385
3454
  });
3386
3455
  } }, (_c = item.steps) === null || _c === void 0 ? void 0 : _c.map((step) => {
3387
3456
  var _a, _b;
3388
- return (h("sl-menu-item", { value: step, disabled: !step.available, class: sheet$b.classes.SelectItem },
3457
+ return (h("sl-menu-item", { value: step, disabled: !step.available, class: sheet$8.classes.SelectItem },
3389
3458
  step.prettyDestinationValue,
3390
3459
  h("br", null),
3391
3460
  h("div", { class: "step-cost", slot: "suffix" },
@@ -3404,8 +3473,8 @@ function RewardExchangeView(props) {
3404
3473
  var _a;
3405
3474
  return [
3406
3475
  h("div", { part: "choose-reward-container" },
3407
- h("div", { class: sheet$b.classes.Title }, states.content.text.rewardTitle),
3408
- states.loading || states.queryError ? (loading()) : (h("div", { class: sheet$b.classes.Grid }, (_a = data.exchangeList) === null || _a === void 0 ? void 0 : _a.map((item) => {
3476
+ h("div", { class: sheet$8.classes.Title }, states.content.text.rewardTitle),
3477
+ states.loading || states.queryError ? (loading()) : (h("div", { class: sheet$8.classes.Grid }, (_a = data.exchangeList) === null || _a === void 0 ? void 0 : _a.map((item) => {
3409
3478
  var _a, _b, _c, _d, _e;
3410
3479
  const style = {
3411
3480
  boxShadow: item.key === (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.key)
@@ -3414,7 +3483,7 @@ function RewardExchangeView(props) {
3414
3483
  borderRadius: "4px",
3415
3484
  };
3416
3485
  return (h("div", { key: item.key, style: style },
3417
- h("sl-card", { exportparts: "base: exchange-card-container", class: sheet$b.classes.Card, style: {
3486
+ h("sl-card", { exportparts: "base: exchange-card-container", class: sheet$8.classes.Card, style: {
3418
3487
  cursor: item.unavailableReasonCode
3419
3488
  ? "not-allowed"
3420
3489
  : "pointer",
@@ -3431,14 +3500,14 @@ function RewardExchangeView(props) {
3431
3500
  ? "rgba(0, 0, 0, 0.05)"
3432
3501
  : "rgba(0, 0, 0, 0)",
3433
3502
  } },
3434
- h("div", { class: sheet$b.classes.Image, style: {
3503
+ h("div", { class: sheet$8.classes.Image, style: {
3435
3504
  opacity: item.unavailableReasonCode ? "0.5" : "1",
3436
3505
  } },
3437
3506
  h("img", { class: item.unavailableReasonCode
3438
3507
  ? "image subdued"
3439
3508
  : "image", src: (item === null || item === void 0 ? void 0 : item.imageUrl) ||
3440
3509
  getAssetPath("./assets/Reward-image.png") })),
3441
- h("div", { class: sheet$b.classes.TextArea, style: {
3510
+ h("div", { class: sheet$8.classes.TextArea, style: {
3442
3511
  opacity: item.unavailableReasonCode ? "0.5" : "1",
3443
3512
  } },
3444
3513
  h("div", { class: "title", style: {
@@ -3471,7 +3540,7 @@ function RewardExchangeView(props) {
3471
3540
  item.prettySourceMinValue,
3472
3541
  }))))))));
3473
3542
  }))),
3474
- h("div", { class: sheet$b.classes.Button },
3543
+ h("div", { class: sheet$8.classes.Button },
3475
3544
  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))),
3476
3545
  ];
3477
3546
  }
@@ -3482,7 +3551,7 @@ function RewardExchangeView(props) {
3482
3551
  ? false
3483
3552
  : input && !states.amount;
3484
3553
  return (h("div", null,
3485
- h("div", { class: sheet$b.classes.ChooseAmount, part: "choose-amount-container" },
3554
+ h("div", { class: sheet$8.classes.ChooseAmount, part: "choose-amount-container" },
3486
3555
  h("div", { class: "wrapper" },
3487
3556
  h("img", { class: "image", src: (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.imageUrl) ||
3488
3557
  getAssetPath("./assets/Reward-image.png") }),
@@ -3491,7 +3560,7 @@ function RewardExchangeView(props) {
3491
3560
  ((_c = states.selectedItem) === null || _c === void 0 ? void 0 : _c.ruleType) === "FIXED_GLOBAL_REWARD" ? (h("div", { class: "points" }, input)) : (h("div", { class: "description" }, selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.description)),
3492
3561
  ((_d = states.selectedItem) === null || _d === void 0 ? void 0 : _d.ruleType) === "FIXED_GLOBAL_REWARD" ? (h("div", { class: "description" }, selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.description)) : (h("div", null, input)),
3493
3562
  h("div", { class: "space" }))),
3494
- h("div", { class: sheet$b.classes.Button },
3563
+ h("div", { class: sheet$8.classes.Button },
3495
3564
  h("sl-button", { exportparts: "base: secondarybutton-base", class: "cancel", size: "large", type: "text", onClick: () => callbacks.resetState() }, states.content.text.cancelText),
3496
3565
  h("sl-button", { exportparts: "base: primarybutton-base", class: "continue", size: "large", onClick: () => callbacks.setStage("confirmation"), disabled: isDisabled }, states.content.text.continueToConfirmationText)))));
3497
3566
  }
@@ -3499,8 +3568,8 @@ function RewardExchangeView(props) {
3499
3568
  const cost = (selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettySourceValue) || selectedItem.prettySourceValue;
3500
3569
  const amount = selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettyDestinationValue;
3501
3570
  return (h("div", null,
3502
- h("div", { class: sheet$b.classes.Confirmation, part: "confirmation-container" },
3503
- h("div", { class: sheet$b.classes.Title }, states.content.text.redeemTitle),
3571
+ h("div", { class: sheet$8.classes.Confirmation, part: "confirmation-container" },
3572
+ h("div", { class: sheet$8.classes.Title }, states.content.text.redeemTitle),
3504
3573
  h("div", { class: "wrapper" },
3505
3574
  h("div", { class: "field" }, states.content.text.rewardNameTitle),
3506
3575
  h("div", { class: "reward-item-container" },
@@ -3515,13 +3584,13 @@ function RewardExchangeView(props) {
3515
3584
  h("div", { class: "wrapper top-border padding" },
3516
3585
  h("div", { class: "field" }, states.content.text.costTitle),
3517
3586
  h("div", { class: "value" }, cost)),
3518
- h("div", { class: sheet$b.classes.Button },
3587
+ h("div", { class: sheet$8.classes.Button },
3519
3588
  h("sl-button", { class: "cancel", type: "text", size: "large", onClick: () => callbacks.setStage("chooseAmount") }, states.content.text.backText),
3520
3589
  h("sl-button", { class: "continue", size: "large", loading: states.loading, onClick: callbacks.exchangeReward }, states.content.text.redeemText)))));
3521
3590
  }
3522
3591
  function success() {
3523
3592
  var _a, _b, _c, _d, _e, _f;
3524
- return (h("div", { class: sheet$b.classes.Success, part: "success-container" },
3593
+ return (h("div", { class: sheet$8.classes.Success, part: "success-container" },
3525
3594
  h(Gift$1, null),
3526
3595
  h(Confetti, null),
3527
3596
  h("div", { class: "title" }, (_a = states.content.text) === null || _a === void 0 ? void 0 : _a.rewardRedeemedText),
@@ -3536,7 +3605,7 @@ function RewardExchangeView(props) {
3536
3605
  (data === null || data === void 0 ? void 0 : data.fuelTankCode) && (h("div", { class: "promo" },
3537
3606
  states.content.text.promoCode,
3538
3607
  h(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 }))),
3539
- h("div", { class: sheet$b.classes.Button },
3608
+ h("div", { class: sheet$8.classes.Button },
3540
3609
  h("sl-button", { class: "continue center", type: "primary", size: "large", onClick: () => callbacks.resetState(true) }, states.content.text.doneText))));
3541
3610
  }
3542
3611
  const stages = {
@@ -3548,7 +3617,7 @@ function RewardExchangeView(props) {
3548
3617
  const currentStage = stages[states.redeemStage];
3549
3618
  function stageMap() {
3550
3619
  const stageNumber = stageList.indexOf(states.redeemStage);
3551
- return (h("div", { class: sheet$b.classes.ProgressBar },
3620
+ return (h("div", { class: sheet$8.classes.ProgressBar },
3552
3621
  h("div", { class: "text-area" }, Object.keys(stageProgressList).map((stage) => {
3553
3622
  if (stageList.indexOf(stage) <= stageNumber) {
3554
3623
  return h("span", { class: "text" }, stageProgressList[stage]);
@@ -3560,10 +3629,10 @@ function RewardExchangeView(props) {
3560
3629
  h(ProgressBar, { stageCount: 3, currentStage: stageNumber })));
3561
3630
  }
3562
3631
  function loading() {
3563
- return (h("div", { class: sheet$b.classes.Grid, part: "loading-container" }, [...Array(states.content.text.skeletonCardNum)].map(() => {
3632
+ return (h("div", { class: sheet$8.classes.Grid, part: "loading-container" }, [...Array(states.content.text.skeletonCardNum)].map(() => {
3564
3633
  return (h("div", null,
3565
- h("sl-card", { class: sheet$b.classes.Card },
3566
- h("div", { class: sheet$b.classes.CardLayout },
3634
+ h("sl-card", { class: sheet$8.classes.Card },
3635
+ h("div", { class: sheet$8.classes.CardLayout },
3567
3636
  h("div", null,
3568
3637
  h("sl-skeleton", { style: {
3569
3638
  width: "100px",
@@ -3595,12 +3664,12 @@ function RewardExchangeView(props) {
3595
3664
  if (!(refs === null || refs === void 0 ? void 0 : refs.canvasRef))
3596
3665
  return;
3597
3666
  refs.canvasRef.current = canvas;
3598
- }, id: "my-canvas", class: sheet$b.classes.Confetti }));
3667
+ }, id: "my-canvas", class: sheet$8.classes.Confetti }));
3599
3668
  }
3600
3669
  if (states.noExchangeOptions)
3601
3670
  return states.content.text.empty;
3602
- return (h("div", { class: sheet$b.classes.Container, part: "sqm-base" },
3603
- h("style", { type: "text/css" }, styleString$b),
3671
+ return (h("div", { class: sheet$8.classes.Container, part: "sqm-base" },
3672
+ h("style", { type: "text/css" }, styleString$8),
3604
3673
  h("div", null,
3605
3674
  stageMap(),
3606
3675
  states.exchangeError && errorMessage(),
@@ -4016,29 +4085,29 @@ function CardFeedView(props, children) {
4016
4085
  h("div", { class: sheet.classes.Container, part: "sqm-base" }, children)));
4017
4086
  }
4018
4087
 
4019
- const style$c = {
4020
- HostBlock: HostBlock,
4021
- couponCodeLabel: {
4022
- margin: "var(--sl-spacing-x-small) 0",
4023
- color: "var(--sqm-text-subdued)",
4024
- fontSize: "var(--sl-font-size-small)",
4025
- },
4026
- };
4027
- const vanillaStyle$7 = `
4088
+ function CouponCodeView(props) {
4089
+ const error = !props.loading && props.error;
4090
+ const style = {
4091
+ HostBlock: HostBlock,
4092
+ couponCodeLabel: {
4093
+ margin: "var(--sl-spacing-x-small) 0",
4094
+ color: props.textColor || "var(--sqm-text-subdued)",
4095
+ fontSize: "var(--sl-font-size-small)",
4096
+ },
4097
+ };
4098
+ const vanillaStyle = `
4028
4099
  :host{
4029
4100
  display: block;
4030
4101
  width: 100%;
4031
4102
  }
4032
4103
  `;
4033
- const sheet$c = createStyleSheet(style$c);
4034
- const styleString$c = sheet$c.toString();
4035
- function CouponCodeView(props) {
4036
- const error = !props.loading && props.error;
4104
+ const sheet = createStyleSheet(style);
4105
+ const styleString = sheet.toString();
4037
4106
  return (h("div", null,
4038
4107
  h("style", { type: "text/css" },
4039
- styleString$c,
4040
- vanillaStyle$7),
4041
- h("p", { class: sheet$c.classes.couponCodeLabel, style: { textAlign: props.textAlign } }, props.couponCodeLabel),
4108
+ styleString,
4109
+ vanillaStyle),
4110
+ h("p", { class: sheet.classes.couponCodeLabel, style: { textAlign: props.textAlign } }, props.couponCodeLabel),
4042
4111
  error ? (h("sqm-form-message", { type: props.errorType, exportparts: "erroralert-icon" },
4043
4112
  h("div", { part: "erroralert-text" }, props.errorText))) : (h(CopyTextView, Object.assign({}, props)))));
4044
4113
  }