@saasquatch/mint-components 1.15.0-2 → 1.15.0-21

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 (428) hide show
  1. package/dist/cjs/{GenericTableView-a9f4ba75.js → GenericTableView-f0e9c531.js} +2 -2
  2. package/dist/cjs/{ShadowViewAddon-787391f7.js → ShadowViewAddon-f641a7de.js} +430 -402
  3. package/dist/cjs/{copy-text-view-c85acaaa.js → copy-text-view-b2f47da0.js} +53 -38
  4. package/dist/cjs/{global-e31dc4f5.js → global-f06aabc0.js} +139 -14
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/mint-components.cjs.js +2 -2
  7. package/dist/cjs/sqm-banking-info-form_17.cjs.entry.js +7 -44
  8. package/dist/cjs/{sqm-base-registration-form-view-8a2c8763.js → sqm-base-registration-form-view-1b2440c3.js} +1 -1
  9. package/dist/cjs/sqm-big-stat_41.cjs.entry.js +271 -114
  10. package/dist/cjs/sqm-email-verification.cjs.entry.js +2 -2
  11. package/dist/cjs/sqm-empty_4.cjs.entry.js +50 -49
  12. package/dist/cjs/{sqm-invoice-table-view-16ac73d0.js → sqm-invoice-table-view-431faed1.js} +1 -1
  13. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +2 -2
  14. package/dist/cjs/{sqm-navigation-sidebar-item-view-6f35d2ee.js → sqm-navigation-sidebar-item-view-5dfd2b52.js} +17 -6
  15. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +25 -2
  16. package/dist/cjs/{sqm-navigation-sidebar-view-17111896.js → sqm-navigation-sidebar-view-38a5227a.js} +16 -6
  17. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +19 -3
  18. package/dist/cjs/sqm-pagination_3.cjs.entry.js +85 -58
  19. package/dist/cjs/{sqm-portal-email-verification-view-7ebb426a.js → sqm-portal-email-verification-view-969cf926.js} +2 -2
  20. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +3 -3
  21. package/dist/cjs/{sqm-portal-forgot-password-view-78f19ef9.js → sqm-portal-forgot-password-view-b986086e.js} +1 -1
  22. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +2 -2
  23. package/dist/cjs/sqm-portal-google-login.cjs.entry.js +2 -2
  24. package/dist/cjs/sqm-portal-google-registration-form.cjs.entry.js +3 -3
  25. package/dist/cjs/{sqm-portal-login-view-761a4d8e.js → sqm-portal-login-view-84e99287.js} +1 -1
  26. package/dist/cjs/{sqm-portal-profile-view-33164798.js → sqm-portal-profile-view-96e936cf.js} +2 -2
  27. package/dist/cjs/sqm-portal-profile.cjs.entry.js +3 -3
  28. package/dist/cjs/{sqm-portal-registration-form-view-637a4bf4.js → sqm-portal-registration-form-view-4377d849.js} +1 -1
  29. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +2 -2
  30. package/dist/cjs/{sqm-portal-reset-password-view-fe602822.js → sqm-portal-reset-password-view-52fc50fe.js} +1 -1
  31. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +2 -2
  32. package/dist/cjs/{sqm-portal-verify-email-view-7b678f34.js → sqm-portal-verify-email-view-4f837226.js} +1 -1
  33. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +2 -2
  34. package/dist/cjs/{sqm-qr-code-view-15dfc0b6.js → sqm-qr-code-view-3da9ed28.js} +2 -7
  35. package/dist/cjs/sqm-qr-code.cjs.entry.js +1 -1
  36. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +3 -5
  37. package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +1 -1
  38. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +4 -4
  39. package/dist/cjs/sqm-stencilbook.cjs.entry.js +140 -25
  40. package/dist/cjs/sqm-tabs.cjs.entry.js +9 -4
  41. package/dist/cjs/{sqm-text-span-view-0aa82125.js → sqm-text-span-view-56e48a78.js} +6 -6
  42. package/dist/cjs/sqm-text-span.cjs.entry.js +1 -1
  43. package/dist/collection/components/sqm-big-stat/BigStat.stories.js +13 -0
  44. package/dist/collection/components/sqm-big-stat/sqm-big-stat-view.js +15 -8
  45. package/dist/collection/components/sqm-big-stat/sqm-big-stat.js +162 -2
  46. package/dist/collection/components/sqm-big-stat/useBigStat.js +10 -0
  47. package/dist/collection/components/sqm-big-stat/useDemoBigStat.js +13 -4
  48. package/dist/collection/components/sqm-card-feed/sqm-card-feed.js +1 -1
  49. package/dist/collection/components/sqm-coupon-code/sqm-coupon-code-view.js +13 -13
  50. package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +170 -1
  51. package/dist/collection/components/sqm-divided-layout/sqm-divided-layout-view.js +14 -6
  52. package/dist/collection/components/sqm-divided-layout/sqm-divided-layout.js +60 -1
  53. package/dist/collection/components/sqm-edit-profile/sqm-edit-profile-view.js +1 -1
  54. package/dist/collection/components/sqm-empty/sqm-empty-view.js +1 -1
  55. package/dist/collection/components/sqm-form-message/FormMessage.stories.js +1 -1
  56. package/dist/collection/components/sqm-header-logo/sqm-header-logo.js +1 -0
  57. package/dist/collection/components/sqm-hero/sqm-hero.js +1 -0
  58. package/dist/collection/components/sqm-hero-image/sqm-hero-image-view.js +3 -3
  59. package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +80 -0
  60. package/dist/collection/components/sqm-image/sqm-image.js +1 -0
  61. package/dist/collection/components/sqm-instant-access-registration/sqm-instant-access-registration.js +1 -0
  62. package/dist/collection/components/sqm-leaderboard/Leaderboard.stories.js +37 -0
  63. package/dist/collection/components/sqm-leaderboard/sqm-leaderboard-view.js +59 -54
  64. package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +198 -32
  65. package/dist/collection/components/sqm-leaderboard-rank/sqm-leaderboard-rank.css +2 -2
  66. package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user.js +1 -1
  67. package/dist/collection/components/sqm-navigation-menu/sqm-navigation-menu.js +1 -0
  68. package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.js +16 -6
  69. package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar.js +85 -5
  70. package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item-view.js +17 -6
  71. package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.js +233 -1
  72. package/dist/collection/components/sqm-navigation-sidebar-item/useNavigationSidebarItem.js +9 -1
  73. package/dist/collection/components/sqm-pagination/sqm-pagination-view.js +3 -3
  74. package/dist/collection/components/sqm-pagination/sqm-pagination.js +43 -0
  75. package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password.js +1 -0
  76. package/dist/collection/components/sqm-portal-footer/sqm-portal-footer.js +1 -0
  77. package/dist/collection/components/sqm-portal-frame/sqm-portal-frame-view.js +36 -36
  78. package/dist/collection/components/sqm-portal-frame/sqm-portal-frame.js +36 -2
  79. package/dist/collection/components/sqm-portal-frame/usePortalFrame.js +2 -1
  80. package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +1 -0
  81. package/dist/collection/components/sqm-portal-logout/sqm-portal-logout.js +1 -0
  82. package/dist/collection/components/sqm-portal-profile/sqm-portal-profile.js +1 -0
  83. package/dist/collection/components/sqm-portal-protected-route/sqm-portal-protected-route.js +1 -0
  84. package/dist/collection/components/sqm-program-explainer/sqm-program-explainer-view.js +1 -1
  85. package/dist/collection/components/sqm-program-explainer/sqm-program-explainer.js +2 -0
  86. package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step-view.js +11 -3
  87. package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step.js +77 -2
  88. package/dist/collection/components/sqm-program-menu/sqm-program-menu.js +1 -0
  89. package/dist/collection/components/sqm-qr-code/sqm-qr-code-view.js +2 -7
  90. package/dist/collection/components/sqm-qr-code/sqm-qr-code.js +1 -0
  91. package/dist/collection/components/sqm-referral-card/sqm-referral-card-view.js +32 -31
  92. package/dist/collection/components/sqm-referral-card/sqm-referral-card.js +78 -1
  93. package/dist/collection/components/sqm-referral-code/ReferralCode.stories.js +3 -0
  94. package/dist/collection/components/sqm-referral-code/sqm-referral-code.js +170 -1
  95. package/dist/collection/components/sqm-referral-codes/ReferralCodes.stories.js +6 -0
  96. package/dist/collection/components/sqm-referral-codes/sqm-referral-codes-view.js +46 -46
  97. package/dist/collection/components/sqm-referral-codes/sqm-referral-codes.js +29 -1
  98. package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +0 -2
  99. package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +2 -0
  100. package/dist/collection/components/sqm-referred-registration/sqm-referred-registration.js +1 -0
  101. package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list.js +2 -0
  102. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-reward-cell.js +2 -2
  103. package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +1 -0
  104. package/dist/collection/components/sqm-route/sqm-route.js +1 -0
  105. package/dist/collection/components/sqm-router/sqm-router.js +2 -0
  106. package/dist/collection/components/sqm-scroll/sqm-scroll.js +1 -0
  107. package/dist/collection/components/sqm-share-button/ShareButton.stories.js +3 -1
  108. package/dist/collection/components/sqm-share-button/sqm-share-button-view.js +23 -22
  109. package/dist/collection/components/sqm-share-button/sqm-share-button.js +54 -7
  110. package/dist/collection/components/sqm-share-code/sqm-share-code.js +170 -1
  111. package/dist/collection/components/sqm-share-link/ShareLink.stories.js +12 -0
  112. package/dist/collection/components/sqm-share-link/sqm-share-link.js +171 -3
  113. package/dist/collection/components/sqm-stat-container/sqm-stat-container-view.js +20 -8
  114. package/dist/collection/components/sqm-stat-container/sqm-stat-container.js +111 -3
  115. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +2 -0
  116. package/dist/collection/components/sqm-tabs/Tabs.stories.js +7 -0
  117. package/dist/collection/components/sqm-tabs/sqm-tabs-view.js +7 -2
  118. package/dist/collection/components/sqm-tabs/sqm-tabs.js +30 -2
  119. package/dist/collection/components/sqm-task-card/DetailsView.js +1 -1
  120. package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +139 -155
  121. package/dist/collection/components/sqm-task-card/sqm-task-card.js +146 -0
  122. package/dist/collection/components/sqm-task-card/useTaskCard.js +10 -0
  123. package/dist/collection/components/sqm-text/Text.stories.js +12 -0
  124. package/dist/collection/components/sqm-text/sqm-text.js +101 -48
  125. package/dist/collection/components/sqm-text-span/sqm-text-span-view.js +6 -6
  126. package/dist/collection/components/sqm-text-span/sqm-text-span.js +1 -0
  127. package/dist/collection/components/sqm-timeline/Timeline.stories.js +8 -1
  128. package/dist/collection/components/sqm-timeline/sqm-timeline-entry-view.js +45 -45
  129. package/dist/collection/components/sqm-timeline/sqm-timeline-entry.js +52 -0
  130. package/dist/collection/components/sqm-timeline/sqm-timeline.js +3 -1
  131. package/dist/collection/components/sqm-titled-section/sqm-titled-section.js +2 -0
  132. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +1 -12
  133. package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.js +0 -15
  134. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +1 -11
  135. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +1 -2
  136. package/dist/collection/components/views/copy-text-view.js +53 -38
  137. package/dist/collection/global/mixins.js +2 -2
  138. package/dist/collection/global/styles.js +139 -14
  139. package/dist/collection/global/styles.ts +139 -14
  140. package/dist/collection/tables/GenericTableView.js +2 -2
  141. package/dist/esm/{GenericTableView-7b9087af.js → GenericTableView-e7addb2b.js} +2 -2
  142. package/dist/esm/{ShadowViewAddon-cf230f50.js → ShadowViewAddon-908b4435.js} +430 -402
  143. package/dist/esm/{copy-text-view-782137ba.js → copy-text-view-0ac6e1d1.js} +53 -38
  144. package/dist/esm/{global-be1f9992.js → global-5e65213d.js} +139 -14
  145. package/dist/esm/loader.js +2 -2
  146. package/dist/esm/mint-components.js +2 -2
  147. package/dist/esm/sqm-banking-info-form_17.entry.js +7 -44
  148. package/dist/esm/{sqm-base-registration-form-view-593d4ac3.js → sqm-base-registration-form-view-31f1cb87.js} +1 -1
  149. package/dist/esm/sqm-big-stat_41.entry.js +271 -114
  150. package/dist/esm/sqm-email-verification.entry.js +2 -2
  151. package/dist/esm/sqm-empty_4.entry.js +50 -49
  152. package/dist/esm/{sqm-invoice-table-view-2c726568.js → sqm-invoice-table-view-a2c45ff7.js} +1 -1
  153. package/dist/esm/sqm-leaderboard-rank.entry.js +2 -2
  154. package/dist/esm/{sqm-navigation-sidebar-item-view-8f1c72bc.js → sqm-navigation-sidebar-item-view-9cc0f695.js} +17 -6
  155. package/dist/esm/sqm-navigation-sidebar-item.entry.js +25 -2
  156. package/dist/esm/{sqm-navigation-sidebar-view-9d802b78.js → sqm-navigation-sidebar-view-f898265a.js} +16 -6
  157. package/dist/esm/sqm-navigation-sidebar.entry.js +20 -4
  158. package/dist/esm/sqm-pagination_3.entry.js +85 -58
  159. package/dist/esm/{sqm-portal-email-verification-view-35b4353b.js → sqm-portal-email-verification-view-56a69db0.js} +2 -2
  160. package/dist/esm/sqm-portal-email-verification.entry.js +3 -3
  161. package/dist/esm/{sqm-portal-forgot-password-view-3d3182f1.js → sqm-portal-forgot-password-view-50444a7c.js} +1 -1
  162. package/dist/esm/sqm-portal-forgot-password.entry.js +2 -2
  163. package/dist/esm/sqm-portal-google-login.entry.js +2 -2
  164. package/dist/esm/sqm-portal-google-registration-form.entry.js +3 -3
  165. package/dist/esm/{sqm-portal-login-view-7e49609a.js → sqm-portal-login-view-37c85d04.js} +1 -1
  166. package/dist/esm/{sqm-portal-profile-view-93003974.js → sqm-portal-profile-view-5cf91770.js} +2 -2
  167. package/dist/esm/sqm-portal-profile.entry.js +3 -3
  168. package/dist/esm/{sqm-portal-registration-form-view-3c1f6000.js → sqm-portal-registration-form-view-21d57492.js} +1 -1
  169. package/dist/esm/sqm-portal-registration-form.entry.js +2 -2
  170. package/dist/esm/{sqm-portal-reset-password-view-54a8651f.js → sqm-portal-reset-password-view-b000ffc5.js} +1 -1
  171. package/dist/esm/sqm-portal-reset-password.entry.js +2 -2
  172. package/dist/esm/{sqm-portal-verify-email-view-b12cb894.js → sqm-portal-verify-email-view-2983ba9b.js} +1 -1
  173. package/dist/esm/sqm-portal-verify-email.entry.js +2 -2
  174. package/dist/esm/{sqm-qr-code-view-f1d0763b.js → sqm-qr-code-view-10b8b4cb.js} +2 -7
  175. package/dist/esm/sqm-qr-code.entry.js +1 -1
  176. package/dist/esm/sqm-referral-table_11.entry.js +3 -5
  177. package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  178. package/dist/esm/sqm-rewards-table_9.entry.js +4 -4
  179. package/dist/esm/sqm-stencilbook.entry.js +140 -25
  180. package/dist/esm/sqm-tabs.entry.js +9 -4
  181. package/dist/esm/{sqm-text-span-view-ca32495e.js → sqm-text-span-view-c577cc60.js} +6 -6
  182. package/dist/esm/sqm-text-span.entry.js +1 -1
  183. package/dist/esm-es5/{GenericTableView-7b9087af.js → GenericTableView-e7addb2b.js} +1 -1
  184. package/dist/esm-es5/ShadowViewAddon-908b4435.js +1 -0
  185. package/dist/esm-es5/copy-text-view-0ac6e1d1.js +1 -0
  186. package/dist/esm-es5/{global-be1f9992.js → global-5e65213d.js} +4 -4
  187. package/dist/esm-es5/loader.js +1 -1
  188. package/dist/esm-es5/mint-components.js +1 -1
  189. package/dist/esm-es5/sqm-banking-info-form_17.entry.js +1 -1
  190. package/dist/esm-es5/{sqm-base-registration-form-view-593d4ac3.js → sqm-base-registration-form-view-31f1cb87.js} +1 -1
  191. package/dist/esm-es5/sqm-big-stat_41.entry.js +1 -1
  192. package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
  193. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  194. package/dist/esm-es5/{sqm-invoice-table-view-2c726568.js → sqm-invoice-table-view-a2c45ff7.js} +1 -1
  195. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  196. package/dist/esm-es5/sqm-navigation-sidebar-item-view-9cc0f695.js +1 -0
  197. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  198. package/dist/esm-es5/sqm-navigation-sidebar-view-f898265a.js +1 -0
  199. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  200. package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
  201. package/dist/esm-es5/{sqm-portal-email-verification-view-35b4353b.js → sqm-portal-email-verification-view-56a69db0.js} +1 -1
  202. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  203. package/dist/esm-es5/{sqm-portal-forgot-password-view-3d3182f1.js → sqm-portal-forgot-password-view-50444a7c.js} +1 -1
  204. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  205. package/dist/esm-es5/sqm-portal-google-login.entry.js +1 -1
  206. package/dist/esm-es5/sqm-portal-google-registration-form.entry.js +1 -1
  207. package/dist/esm-es5/{sqm-portal-login-view-7e49609a.js → sqm-portal-login-view-37c85d04.js} +1 -1
  208. package/dist/esm-es5/{sqm-portal-profile-view-93003974.js → sqm-portal-profile-view-5cf91770.js} +1 -1
  209. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  210. package/dist/esm-es5/{sqm-portal-registration-form-view-3c1f6000.js → sqm-portal-registration-form-view-21d57492.js} +1 -1
  211. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  212. package/dist/esm-es5/{sqm-portal-reset-password-view-54a8651f.js → sqm-portal-reset-password-view-b000ffc5.js} +1 -1
  213. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  214. package/dist/esm-es5/{sqm-portal-verify-email-view-b12cb894.js → sqm-portal-verify-email-view-2983ba9b.js} +1 -1
  215. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  216. package/dist/esm-es5/{sqm-qr-code-view-f1d0763b.js → sqm-qr-code-view-10b8b4cb.js} +1 -1
  217. package/dist/esm-es5/sqm-qr-code.entry.js +1 -1
  218. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  219. package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  220. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  221. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  222. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  223. package/dist/esm-es5/sqm-text-span-view-c577cc60.js +1 -0
  224. package/dist/esm-es5/sqm-text-span.entry.js +1 -1
  225. package/dist/mint-components/global/styles.ts +139 -14
  226. package/dist/mint-components/mint-components.esm.js +1 -1
  227. package/dist/mint-components/mint-components.js +1 -1
  228. package/dist/mint-components/p-03622801.entry.js +1 -0
  229. package/dist/mint-components/{p-2f101bae.entry.js → p-0559d880.entry.js} +1 -1
  230. package/dist/mint-components/{p-a7746488.system.js → p-05f785fb.system.js} +1 -1
  231. package/dist/mint-components/p-0ac8fde9.entry.js +258 -0
  232. package/dist/mint-components/{p-5d7e308c.system.entry.js → p-125a798a.system.entry.js} +1 -1
  233. package/dist/mint-components/p-16c16702.js +1 -0
  234. package/dist/mint-components/{p-57eef0af.entry.js → p-1b983c86.entry.js} +6 -6
  235. package/dist/mint-components/{p-bbcd824a.js → p-1e7e8dd2.js} +1 -1
  236. package/dist/mint-components/{p-7a9290ba.js → p-20245645.js} +1 -1
  237. package/dist/mint-components/{p-4794641c.system.js → p-217514ac.system.js} +1 -1
  238. package/dist/mint-components/p-2271dff7.system.js +1 -0
  239. package/dist/mint-components/{p-50c902ca.system.entry.js → p-26d60973.system.entry.js} +1 -1
  240. package/dist/mint-components/{p-19bc3406.system.entry.js → p-2b462e4f.system.entry.js} +1 -1
  241. package/dist/mint-components/p-2c7ebd5b.js +1 -0
  242. package/dist/mint-components/p-2d0163d2.system.entry.js +1 -0
  243. package/dist/mint-components/p-2e110002.system.js +1 -0
  244. package/dist/mint-components/p-317264ac.system.entry.js +1 -0
  245. package/dist/mint-components/p-32dbde60.system.js +1 -0
  246. package/dist/mint-components/{p-9bfd9bed.system.entry.js → p-345fd28e.system.entry.js} +1 -1
  247. package/dist/mint-components/{p-65069b66.js → p-37e86ead.js} +19 -19
  248. package/dist/mint-components/p-386c82ba.entry.js +13 -0
  249. package/dist/mint-components/{p-aad32fb6.system.js → p-38de17fa.system.js} +1 -1
  250. package/dist/mint-components/{p-a2fde301.entry.js → p-3af1ec4c.entry.js} +1 -1
  251. package/dist/mint-components/p-46a672e4.entry.js +1 -0
  252. package/dist/mint-components/{p-cbbfac66.entry.js → p-48b3ef9c.entry.js} +2 -2
  253. package/dist/mint-components/p-49206a9c.entry.js +1 -0
  254. package/dist/mint-components/p-4a3359aa.entry.js +1 -0
  255. package/dist/mint-components/{p-90fc6774.system.entry.js → p-4b6f2eca.system.entry.js} +1 -1
  256. package/dist/mint-components/{p-e5d0375e.system.js → p-571e1427.system.js} +1 -1
  257. package/dist/mint-components/p-58d06097.system.entry.js +1 -0
  258. package/dist/mint-components/p-5b1b2c10.system.entry.js +1 -0
  259. package/dist/mint-components/p-5d407714.system.entry.js +1 -0
  260. package/dist/mint-components/{p-492b70db.system.js → p-5dbe8b0a.system.js} +1 -1
  261. package/dist/mint-components/p-5e617dd6.system.js +1 -0
  262. package/dist/mint-components/{p-9386ad84.system.entry.js → p-605c2904.system.entry.js} +1 -1
  263. package/dist/mint-components/p-6131a44f.system.entry.js +1 -0
  264. package/dist/mint-components/p-61af919f.entry.js +1 -0
  265. package/dist/mint-components/p-66a2b1a4.js +1 -0
  266. package/dist/mint-components/{p-91959fbe.js → p-69ac09d4.js} +1 -1
  267. package/dist/mint-components/p-69e017e1.entry.js +33 -0
  268. package/dist/mint-components/{p-99ad7d56.system.js → p-71d7c2a0.system.js} +1 -1
  269. package/dist/mint-components/{p-21620f81.system.entry.js → p-749cb346.system.entry.js} +1 -1
  270. package/dist/mint-components/{p-bdb7d451.system.js → p-773e2418.system.js} +9 -9
  271. package/dist/mint-components/{p-0c78815e.system.entry.js → p-7cbec088.system.entry.js} +1 -1
  272. package/dist/mint-components/{p-dbcb5359.js → p-7e3a84bc.js} +1 -1
  273. package/dist/mint-components/{p-2da21ba4.entry.js → p-802b9f7e.entry.js} +1 -1
  274. package/dist/mint-components/{p-85671c3d.system.entry.js → p-8053366e.system.entry.js} +1 -1
  275. package/dist/mint-components/p-861d4824.entry.js +13 -0
  276. package/dist/mint-components/{p-d07f3090.entry.js → p-87c21535.entry.js} +1 -1
  277. package/dist/mint-components/p-893d7ab4.js +1 -0
  278. package/dist/mint-components/{p-837a0fdd.js → p-8c494bf1.js} +1 -1
  279. package/dist/mint-components/p-9980c750.system.entry.js +1 -0
  280. package/dist/mint-components/p-9f2edf59.system.js +1 -0
  281. package/dist/mint-components/p-9f35f2b5.system.entry.js +1 -0
  282. package/dist/mint-components/{p-3f067fd5.js → p-a34ac378.js} +1 -1
  283. package/dist/mint-components/{p-53730ffe.entry.js → p-a81b507f.entry.js} +3 -3
  284. package/dist/mint-components/{p-0d2d0b6d.entry.js → p-aaff68dc.entry.js} +1 -1
  285. package/dist/mint-components/{p-f0772618.system.entry.js → p-ac9f4085.system.entry.js} +1 -1
  286. package/dist/mint-components/{p-63a75798.js → p-b1c78ed4.js} +1 -1
  287. package/dist/mint-components/{p-b75bb6e3.system.js → p-b5fb3826.system.js} +1 -1
  288. package/dist/mint-components/p-b6de39a2.entry.js +1 -0
  289. package/dist/mint-components/{p-0ebab63e.system.js → p-bd2a2546.system.js} +1 -1
  290. package/dist/mint-components/{p-626e9e84.js → p-ccb5699b.js} +1 -1
  291. package/dist/mint-components/{p-7f80a9d7.entry.js → p-ccf8c9aa.entry.js} +1 -1
  292. package/dist/mint-components/{p-cd569259.system.js → p-d24a881e.system.js} +1 -1
  293. package/dist/mint-components/p-d2beb502.js +394 -0
  294. package/dist/mint-components/p-dbec319d.system.js +1 -0
  295. package/dist/mint-components/{p-91ab3da1.js → p-dc52c36a.js} +1 -1
  296. package/dist/mint-components/{p-f7c99803.system.js → p-df89186f.system.js} +1 -1
  297. package/dist/mint-components/{p-f940190a.js → p-e145e4f8.js} +1 -1
  298. package/dist/mint-components/{p-5c28406d.system.entry.js → p-e21a1cb8.system.entry.js} +1 -1
  299. package/dist/mint-components/{p-b287833c.system.entry.js → p-e977ff3b.system.entry.js} +1 -1
  300. package/dist/mint-components/p-eab1c9f3.js +1 -0
  301. package/dist/mint-components/p-eadd9d56.entry.js +144 -0
  302. package/dist/mint-components/{p-0d182dc1.system.js → p-ebae139f.system.js} +1 -1
  303. package/dist/mint-components/{p-10d17989.entry.js → p-f189d803.entry.js} +1 -1
  304. package/dist/mint-components/{p-3f6e0197.system.entry.js → p-f2228da3.system.entry.js} +1 -1
  305. package/dist/mint-components/p-f5023fd8.system.entry.js +1 -0
  306. package/dist/mint-components/{p-ef6381d4.entry.js → p-fbdbcb13.entry.js} +2 -2
  307. package/dist/mint-components/{p-380bfde1.entry.js → p-fd0a013f.entry.js} +1 -1
  308. package/dist/mint-components/p-fdaa4dbb.system.entry.js +1 -0
  309. package/dist/types/components/sqm-big-stat/BigStat.stories.d.ts +2 -0
  310. package/dist/types/components/sqm-big-stat/sqm-big-stat-view.d.ts +5 -0
  311. package/dist/types/components/sqm-big-stat/sqm-big-stat.d.ts +41 -0
  312. package/dist/types/components/sqm-card-feed/sqm-card-feed.d.ts +1 -1
  313. package/dist/types/components/sqm-coupon-code/sqm-coupon-code-view.d.ts +1 -0
  314. package/dist/types/components/sqm-coupon-code/sqm-coupon-code.d.ts +43 -0
  315. package/dist/types/components/sqm-divided-layout/sqm-divided-layout-view.d.ts +4 -1
  316. package/dist/types/components/sqm-divided-layout/sqm-divided-layout.d.ts +15 -0
  317. package/dist/types/components/sqm-header-logo/sqm-header-logo.d.ts +1 -0
  318. package/dist/types/components/sqm-hero/sqm-hero.d.ts +1 -0
  319. package/dist/types/components/sqm-hero-image/sqm-hero-image-view.d.ts +1 -0
  320. package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +20 -0
  321. package/dist/types/components/sqm-image/sqm-image.d.ts +1 -0
  322. package/dist/types/components/sqm-instant-access-registration/sqm-instant-access-registration.d.ts +1 -0
  323. package/dist/types/components/sqm-leaderboard/Leaderboard.stories.d.ts +1 -0
  324. package/dist/types/components/sqm-leaderboard/sqm-leaderboard-view.d.ts +6 -0
  325. package/dist/types/components/sqm-leaderboard/sqm-leaderboard.d.ts +49 -7
  326. package/dist/types/components/sqm-leaderboard/useLeaderboard.d.ts +6 -0
  327. package/dist/types/components/sqm-navigation-menu/sqm-navigation-menu.d.ts +1 -0
  328. package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.d.ts +1 -0
  329. package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar.d.ts +16 -0
  330. package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item-view.d.ts +8 -0
  331. package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.d.ts +57 -0
  332. package/dist/types/components/sqm-pagination/sqm-pagination-view.d.ts +1 -0
  333. package/dist/types/components/sqm-pagination/sqm-pagination.d.ts +9 -0
  334. package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password.d.ts +1 -0
  335. package/dist/types/components/sqm-portal-footer/sqm-portal-footer.d.ts +1 -0
  336. package/dist/types/components/sqm-portal-frame/sqm-portal-frame-view.d.ts +1 -0
  337. package/dist/types/components/sqm-portal-frame/sqm-portal-frame.d.ts +6 -0
  338. package/dist/types/components/sqm-portal-frame/usePortalFrame.d.ts +2 -1
  339. package/dist/types/components/sqm-portal-login/sqm-portal-login.d.ts +1 -0
  340. package/dist/types/components/sqm-portal-logout/sqm-portal-logout.d.ts +1 -0
  341. package/dist/types/components/sqm-portal-profile/sqm-portal-profile.d.ts +1 -0
  342. package/dist/types/components/sqm-portal-protected-route/sqm-portal-protected-route.d.ts +1 -0
  343. package/dist/types/components/sqm-program-explainer/sqm-program-explainer.d.ts +2 -0
  344. package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step-view.d.ts +3 -0
  345. package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step.d.ts +20 -2
  346. package/dist/types/components/sqm-program-menu/sqm-program-menu.d.ts +1 -0
  347. package/dist/types/components/sqm-qr-code/sqm-qr-code.d.ts +1 -0
  348. package/dist/types/components/sqm-referral-card/sqm-referral-card-view.d.ts +5 -2
  349. package/dist/types/components/sqm-referral-card/sqm-referral-card.d.ts +23 -1
  350. package/dist/types/components/sqm-referral-code/ReferralCode.stories.d.ts +1 -0
  351. package/dist/types/components/sqm-referral-code/sqm-referral-code.d.ts +43 -0
  352. package/dist/types/components/sqm-referral-codes/ReferralCodes.stories.d.ts +1 -0
  353. package/dist/types/components/sqm-referral-codes/sqm-referral-codes-view.d.ts +1 -0
  354. package/dist/types/components/sqm-referral-codes/sqm-referral-codes.d.ts +7 -0
  355. package/dist/types/components/sqm-referral-table/sqm-referral-table.d.ts +2 -0
  356. package/dist/types/components/sqm-referred-registration/sqm-referred-registration.d.ts +1 -0
  357. package/dist/types/components/sqm-reward-exchange-list/sqm-reward-exchange-list.d.ts +2 -0
  358. package/dist/types/components/sqm-rewards-table/sqm-rewards-table.d.ts +1 -0
  359. package/dist/types/components/sqm-route/sqm-route.d.ts +1 -0
  360. package/dist/types/components/sqm-router/sqm-router.d.ts +2 -0
  361. package/dist/types/components/sqm-scroll/sqm-scroll.d.ts +1 -0
  362. package/dist/types/components/sqm-share-button/ShareButton.stories.d.ts +1 -1
  363. package/dist/types/components/sqm-share-button/sqm-share-button-view.d.ts +2 -1
  364. package/dist/types/components/sqm-share-button/sqm-share-button.d.ts +16 -3
  365. package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +43 -0
  366. package/dist/types/components/sqm-share-link/ShareLink.stories.d.ts +1 -0
  367. package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +43 -1
  368. package/dist/types/components/sqm-stat-container/sqm-stat-container-view.d.ts +3 -0
  369. package/dist/types/components/sqm-stat-container/sqm-stat-container.d.ts +24 -1
  370. package/dist/types/components/sqm-tabs/Tabs.stories.d.ts +1 -0
  371. package/dist/types/components/sqm-tabs/sqm-tabs-view.d.ts +1 -0
  372. package/dist/types/components/sqm-tabs/sqm-tabs.d.ts +10 -0
  373. package/dist/types/components/sqm-task-card/sqm-task-card-view.d.ts +5 -0
  374. package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +32 -0
  375. package/dist/types/components/sqm-task-card/useTaskCard.d.ts +9 -0
  376. package/dist/types/components/sqm-text/Text.stories.d.ts +6 -0
  377. package/dist/types/components/sqm-text/sqm-text.d.ts +13 -0
  378. package/dist/types/components/sqm-text-span/sqm-text-span.d.ts +1 -0
  379. package/dist/types/components/sqm-timeline/Timeline.stories.d.ts +1 -0
  380. package/dist/types/components/sqm-timeline/sqm-timeline-entry-view.d.ts +2 -0
  381. package/dist/types/components/sqm-timeline/sqm-timeline-entry.d.ts +14 -0
  382. package/dist/types/components/sqm-timeline/sqm-timeline.d.ts +3 -1
  383. package/dist/types/components/sqm-titled-section/sqm-titled-section.d.ts +2 -0
  384. package/dist/types/components/views/copy-text-view.d.ts +5 -0
  385. package/dist/types/components.d.ts +1035 -18
  386. package/dist/types/global/styles.d.ts +1 -1
  387. package/docs/docs.docx +0 -0
  388. package/docs/raisins.json +1 -1
  389. package/grapesjs/grapesjs.js +1 -1
  390. package/package.json +1 -1
  391. package/dist/esm-es5/ShadowViewAddon-cf230f50.js +0 -1
  392. package/dist/esm-es5/copy-text-view-782137ba.js +0 -1
  393. package/dist/esm-es5/sqm-navigation-sidebar-item-view-8f1c72bc.js +0 -1
  394. package/dist/esm-es5/sqm-navigation-sidebar-view-9d802b78.js +0 -1
  395. package/dist/esm-es5/sqm-text-span-view-ca32495e.js +0 -1
  396. package/dist/mint-components/p-116baa69.entry.js +0 -258
  397. package/dist/mint-components/p-141bf5c1.system.entry.js +0 -1
  398. package/dist/mint-components/p-1f089c3f.system.entry.js +0 -1
  399. package/dist/mint-components/p-24db5c70.js +0 -1
  400. package/dist/mint-components/p-31015791.js +0 -1
  401. package/dist/mint-components/p-37996351.system.js +0 -1
  402. package/dist/mint-components/p-38e5c429.system.js +0 -1
  403. package/dist/mint-components/p-3b90e01b.system.js +0 -1
  404. package/dist/mint-components/p-3db34d68.js +0 -1
  405. package/dist/mint-components/p-420554af.system.entry.js +0 -1
  406. package/dist/mint-components/p-4e773bb1.system.entry.js +0 -1
  407. package/dist/mint-components/p-562428ef.system.js +0 -1
  408. package/dist/mint-components/p-5cb7f9fc.system.entry.js +0 -1
  409. package/dist/mint-components/p-635d5ef2.system.js +0 -1
  410. package/dist/mint-components/p-653f963f.entry.js +0 -13
  411. package/dist/mint-components/p-693942df.entry.js +0 -144
  412. package/dist/mint-components/p-6cc141b9.js +0 -394
  413. package/dist/mint-components/p-7846937e.entry.js +0 -13
  414. package/dist/mint-components/p-7ab21e4d.entry.js +0 -1
  415. package/dist/mint-components/p-b207beeb.entry.js +0 -1
  416. package/dist/mint-components/p-b82e1935.system.entry.js +0 -1
  417. package/dist/mint-components/p-c060f770.system.entry.js +0 -1
  418. package/dist/mint-components/p-c9f1dde7.js +0 -1
  419. package/dist/mint-components/p-cb7bdbe4.entry.js +0 -1
  420. package/dist/mint-components/p-daee25f9.system.entry.js +0 -1
  421. package/dist/mint-components/p-dcc81e90.entry.js +0 -1
  422. package/dist/mint-components/p-de8e9981.system.entry.js +0 -1
  423. package/dist/mint-components/p-e07bc6c4.system.js +0 -1
  424. package/dist/mint-components/p-e5a5ae7f.system.entry.js +0 -1
  425. package/dist/mint-components/p-e6f50ffd.entry.js +0 -1
  426. package/dist/mint-components/p-f56bedd5.js +0 -1
  427. package/dist/mint-components/p-fe2e2f4a.entry.js +0 -1
  428. package/dist/mint-components/p-ff8b8067.entry.js +0 -33
@@ -2,17 +2,17 @@
2
2
 
3
3
  const index = require('./index-a29c60ef.js');
4
4
  const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
5
- const global = require('./global-e31dc4f5.js');
5
+ const global = require('./global-f06aabc0.js');
6
6
  const index_module = require('./index.module-ee84433d.js');
7
7
  const cjs = require('./cjs-1066ec21.js');
8
8
  const utils = require('./utils-6847bc06.js');
9
9
  const JSS = require('./JSS-8503a151.js');
10
10
  const useReferralCodes = require('./useReferralCodes-82e8797b.js');
11
11
  const mixins = require('./mixins-f7e0377a.js');
12
- const copyTextView = require('./copy-text-view-c85acaaa.js');
12
+ const copyTextView = require('./copy-text-view-b2f47da0.js');
13
13
  const useChildElements = require('./useChildElements-1b35d945.js');
14
14
  const luxon = require('./luxon-2926d85f.js');
15
- const sqmTextSpanView = require('./sqm-text-span-view-0aa82125.js');
15
+ const sqmTextSpanView = require('./sqm-text-span-view-56e48a78.js');
16
16
  const index$1 = require('./index-8c6255f5.js');
17
17
  const utilities = require('./utilities-78f5e169.js');
18
18
  const sqmPortalContainerView = require('./sqm-portal-container-view-4f15143a.js');
@@ -40,15 +40,30 @@ const style = {
40
40
  };
41
41
  const sheet = JSS.createStyleSheet(style);
42
42
  const styleString = sheet.toString();
43
+ // TODO: Figure out hover and active states
44
+ // *::part(base):hover {
45
+ // border-color: ${
46
+ // props.backgroundcolor
47
+ // ? props.backgroundcolor
48
+ // : props.medium
49
+ // ? medium[props.medium].color
50
+ // : ""
51
+ // }!important;
52
+ // }
53
+ // *::part(base):focus {
54
+ // border-color: ${
55
+ // props.backgroundcolor
56
+ // ? props.backgroundcolor
57
+ // : props.medium
58
+ // ? medium[props.medium].color
59
+ // : ""
60
+ // }!important;
61
+ // }
43
62
  function ShareButtonView(props, children) {
44
63
  const vanillaStyle = `
45
- *::part(base) {
46
- border: none;
47
- --sl-focus-ring-color-primary: ${props.backgroundcolor
48
- ? props.backgroundcolor
49
- : props.medium
50
- ? medium[props.medium].color
51
- : ""}80!important;
64
+ sl-button::part(base) {
65
+ border: ${props.border || "none"};
66
+
52
67
 
53
68
  background: ${props.backgroundcolor
54
69
  ? props.backgroundcolor
@@ -63,21 +78,7 @@ function ShareButtonView(props, children) {
63
78
  border-radius: ${props.borderradius ? props.borderradius + "px" : ""};
64
79
  }
65
80
 
66
- *::part(base):hover {
67
- border-color: ${props.backgroundcolor
68
- ? props.backgroundcolor
69
- : props.medium
70
- ? medium[props.medium].color
71
- : ""}D1!important;
72
- }
73
81
 
74
- *::part(base):focus {
75
- border-color: ${props.backgroundcolor
76
- ? props.backgroundcolor
77
- : props.medium
78
- ? medium[props.medium].color
79
- : ""}D1!important;
80
- }
81
82
 
82
83
  *::part(label) {
83
84
  position: relative;
@@ -87,77 +88,82 @@ function ShareButtonView(props, children) {
87
88
  return props.hide ? (index.h(index.Host, { style: { display: "none" } })) : (index.h("div", null,
88
89
  index.h("style", { type: "text/css" }, styleString),
89
90
  index.h("style", { type: "text/css" }, vanillaStyle),
90
- index.h("sl-button", { class: sheet.classes.buttonStyle, target: props.openInSameTab ? "_self" : "_blank", loading: props.loading, disabled: props.disabled, pill: props.pill, size: props.size, type: props.type, onClick: !props.isPlainLink ? props.onClick : undefined, href: props.isPlainLink ? props.messageLink : undefined, exportparts: `base: ${props.type}sharebutton-base` },
91
+ index.h("sl-button", { class: sheet.classes.buttonStyle, target: props.openInSameTab ? "_self" : "_blank", loading: props.loading, disabled: props.disabled, pill: props.pill, size: props.size, type: props.type, onClick: !props.isPlainLink ? props.onClick : undefined, href: props.isPlainLink ? props.messageLink : undefined, exportparts: `base: ${props.type}button-base` },
91
92
  !props.hideicon && (index.h("sl-icon", { slot: props.iconslot || "prefix", name: props.icon ? props.icon : medium[props.medium].icon, exportparts: "base: icon" })),
92
93
  !props.hidetext && children)));
93
94
  }
94
95
 
95
- const style$1 = {
96
- Leaderboard: {
97
- "& table": {
98
- width: "100%",
99
- borderCollapse: "collapse",
100
- },
101
- "& th": {
102
- textAlign: "left",
103
- padding: "var(--sl-spacing-medium)",
104
- paddingTop: "0",
105
- fontSize: "var(--sl-font-size-medium)",
106
- fontWeight: "var(--sl-font-weight-semibold)",
107
- },
108
- "& tr:not(:first-child)": {
109
- borderTop: "1px solid var(--sl-color-neutral-200)",
110
- },
111
- "& td": {
112
- fontSize: "var(--sl-font-size-medium)",
113
- fontWeight: "var(--sl-font-weight-normal)",
114
- },
115
- "& .ellipses": {
116
- textAlign: "left",
117
- padding: "0",
118
- color: "var(--sl-color-neutral-500)",
119
- paddingLeft: "25%",
120
- },
121
- "& .highlight": {
122
- background: "var(--sl-color-primary-50)",
123
- },
124
- "& td, th": {
125
- color: "var(--sl-color-gray-800)",
126
- padding: "var(--sl-spacing-medium)",
127
- },
128
- "& .User": {
129
- width: "100%",
130
- },
131
- "& .Score": {
132
- width: "auto",
133
- whiteSpace: "nowrap",
134
- },
135
- "& .Rank": {
136
- whiteSpace: "nowrap",
137
- },
138
- "& .fullWidth": {
139
- width: "100%",
96
+ function LeaderboardView(props) {
97
+ var _a, _b, _c;
98
+ const { states, data, elements } = props;
99
+ const { styles } = states;
100
+ const style = {
101
+ Leaderboard: {
102
+ "& table": {
103
+ width: "100%",
104
+ borderCollapse: "collapse",
105
+ background: styles.background || "transparent",
106
+ borderRadius: styles.borderRadius ? `${styles.borderRadius}px` : "0",
107
+ },
108
+ "& th": {
109
+ textAlign: "left",
110
+ padding: "var(--sl-spacing-medium)",
111
+ paddingTop: "0",
112
+ fontSize: "var(--sl-font-size-medium)",
113
+ fontWeight: "var(--sl-font-weight-semibold)",
114
+ },
115
+ "& tr:not(:first-child)": {
116
+ borderTop: `1px solid ${styles.borderColor || "var(--sl-color-neutral-200)"}`,
117
+ },
118
+ "& td": {
119
+ fontSize: "var(--sl-font-size-medium)",
120
+ fontWeight: "var(--sl-font-weight-normal)",
121
+ },
122
+ "& .ellipses": {
123
+ textAlign: "left",
124
+ padding: "0",
125
+ color: styles.textColor || "var(--sqm-text)",
126
+ paddingLeft: "25%",
127
+ },
128
+ "& .highlight": {
129
+ background: styles.viewingUserHighlightColor || "var(--sl-color-primary-200)",
130
+ "& td, th": {
131
+ color: styles.viewingUserHighlightTextColor || "var(--sqm-text)",
132
+ },
133
+ },
134
+ "& td, th": {
135
+ color: styles.textColor || "var(--sqm-text)",
136
+ padding: "var(--sl-spacing-medium)",
137
+ },
138
+ "& .User": {
139
+ width: "100%",
140
+ },
141
+ "& .Score": {
142
+ width: "auto",
143
+ whiteSpace: "nowrap",
144
+ },
145
+ "& .Rank": {
146
+ whiteSpace: "nowrap",
147
+ },
148
+ "& .fullWidth": {
149
+ width: "100%",
150
+ },
140
151
  },
141
- },
142
- };
143
- const sheet$1 = JSS.createStyleSheet(style$1);
144
- const styleString$1 = sheet$1.toString();
145
- const vanillaStyle = `
152
+ };
153
+ const sheet = JSS.createStyleSheet(style);
154
+ const styleString = sheet.toString();
155
+ const vanillaStyle = `
146
156
  :host{
147
157
  display: block;
148
158
  }
149
159
  `;
150
- function LeaderboardView(props) {
151
- var _a, _b, _c;
152
- const { states, data, elements } = props;
153
- const { styles } = states;
154
160
  if (states.isEssentials) {
155
161
  return (index.h("sqm-empty", { "empty-state-image": "https://res.cloudinary.com/saasquatch/image/upload/v1715360191/squatch-assets/Leaderboard_Not_Available.svg", "empty-state-header": "Leaderboards aren\u2019t available on your plan", "empty-state-text": "Contact {supportText} to upgrade your plan and start leveraging gamification in your program.", "support-text": "Support" }));
156
162
  }
157
163
  if (states.loading) {
158
- return (index.h("div", { class: sheet$1.classes.Leaderboard, style: { width: styles.width || "100%" } },
164
+ return (index.h("div", { class: sheet.classes.Leaderboard, style: { width: styles.width || "100%" } },
159
165
  index.h("style", { type: "text/css" },
160
- styleString$1,
166
+ styleString,
161
167
  vanillaStyle),
162
168
  index.h("table", null, [...Array(10)].map(() => {
163
169
  return (index.h("tr", null,
@@ -192,9 +198,9 @@ function LeaderboardView(props) {
192
198
  }) + `${isViewingUsersRow && styles.hideNames ? viewingUserText : ""}`
193
199
  : `${userRank} ${isViewingUsersRow && styles.hideNames ? viewingUserText : ""}`;
194
200
  };
195
- return (index.h("div", { class: sheet$1.classes.Leaderboard, part: "sqm-base", style: { width: styles.width || "100%" } },
201
+ return (index.h("div", { class: sheet.classes.Leaderboard, part: "sqm-base", style: { width: styles.width || "100%" } },
196
202
  index.h("style", { type: "text/css" },
197
- styleString$1,
203
+ styleString,
198
204
  vanillaStyle),
199
205
  index.h("table", { part: "sqm-table" },
200
206
  index.h("tr", null,
@@ -221,13 +227,13 @@ function LeaderboardView(props) {
221
227
  }
222
228
 
223
229
  function BigStatView(props) {
224
- const { statvalue, flexReverse, alignment } = props;
225
- // Dependent on props, not feasiable to move out
230
+ const { statvalue, flexReverse, alignment, statTextColor, statFontSize, descriptionTextColor, descriptionFontSize, statFontWeight, } = props;
231
+ // Dependent on props, not feasible to move out
226
232
  const style = {
227
233
  Container: {
228
234
  display: "flex",
229
- height: "inherit",
230
- "justify-content": "space-between",
235
+ // height: "inherit",
236
+ // "justify-content": "space-between",
231
237
  "flex-direction": `${flexReverse ? "column-reverse" : "column"}`,
232
238
  "align-items": `${alignment === "left"
233
239
  ? "flex-start"
@@ -236,15 +242,22 @@ function BigStatView(props) {
236
242
  : "center"}`,
237
243
  },
238
244
  Stat: {
239
- "font-size": "var(--sl-font-size-x-large)",
245
+ "font-size": statFontSize
246
+ ? `${statFontSize}px`
247
+ : "var(--sl-font-size-xx-large)",
240
248
  "text-align": alignment,
249
+ color: statTextColor || "var(--sqm-text)",
250
+ lineHeight: "35px",
251
+ fontWeight: statFontWeight || "var(--sl-font-weight-normal)",
241
252
  },
242
253
  Description: {
243
- "font-size": "var(--sl-font-size-small)",
254
+ "font-size": descriptionFontSize
255
+ ? `${descriptionFontSize}px`
256
+ : "var(--sl-font-size-small)",
244
257
  "font-weight": "var(--sl-font-weight-normal)",
245
- color: "var(--sl-color-gray-600)",
246
- "text-transform": "uppercase",
258
+ color: descriptionTextColor || "var(--sqm-text)",
247
259
  "text-align": alignment,
260
+ lineHeight: "20px",
248
261
  },
249
262
  };
250
263
  const sheet = JSS.createStyleSheet(style);
@@ -255,51 +268,51 @@ function BigStatView(props) {
255
268
  index.h("div", { part: "stat-description", class: sheet.classes.Description }, props.labelSlot)));
256
269
  }
257
270
 
258
- const style$2 = {
259
- HostBlock: mixins.HostBlock,
260
- Frame: {
261
- display: "flex",
262
- "flex-direction": "column",
263
- "box-sizing": "border-box",
264
- },
265
- FooterWrapper: {
266
- width: "100%",
267
- "max-width": "100%",
268
- padding: "var(--sl-spacing-medium) var(--sl-spacing-x-large)",
269
- background: "var(--sqm-footer-background)",
270
- display: "flex",
271
- "justify-content": "flex-end",
272
- "align-items": "center",
273
- "box-sizing": "border-box",
274
- "margin-top": "auto",
275
- },
276
- HeaderWrapper: {
277
- width: "100%",
278
- "max-width": "100%",
279
- "box-sizing": "border-box",
280
- display: "flex",
281
- "justify-content": "space-between",
282
- padding: "var(--sl-spacing-small) var(--sl-spacing-large)",
283
- "align-items": "center",
284
- "background-color": "var(--sqm-header-background)",
285
- "@media screen and (max-width: 499px)": {
286
- "flex-direction": "row-reverse",
287
- "justify-content": "flex-end",
288
- padding: "0",
289
- },
290
- },
291
- };
292
- const sheet$2 = JSS.createStyleSheet(style$2);
293
- const styleString$2 = sheet$2.toString();
294
271
  function PortalFrameView(props, children) {
295
272
  const { data, notFullScreen } = props;
296
- return (index.h("div", { style: { minHeight: notFullScreen ? "100%" : "100vh" }, class: sheet$2.classes.Frame, part: "sqm-base" },
297
- index.h("style", { type: "text/css" }, styleString$2),
298
- index.h("div", { class: sheet$2.classes.HeaderWrapper, part: "sqm-header" },
273
+ const style = {
274
+ HostBlock: mixins.HostBlock,
275
+ Frame: {
276
+ display: "flex",
277
+ "flex-direction": "column",
278
+ "box-sizing": "border-box",
279
+ },
280
+ FooterWrapper: {
281
+ width: "100%",
282
+ "max-width": "100%",
283
+ padding: "var(--sl-spacing-medium) var(--sl-spacing-x-large)",
284
+ background: props.backgroundColor,
285
+ display: "flex",
286
+ "justify-content": "flex-end",
287
+ "align-items": "center",
288
+ "box-sizing": "border-box",
289
+ "margin-top": "auto",
290
+ },
291
+ HeaderWrapper: {
292
+ width: "100%",
293
+ "max-width": "100%",
294
+ "box-sizing": "border-box",
295
+ display: "flex",
296
+ "justify-content": "space-between",
297
+ padding: "var(--sl-spacing-small) var(--sl-spacing-large)",
298
+ "align-items": "center",
299
+ background: props.backgroundColor,
300
+ "@media screen and (max-width: 499px)": {
301
+ "flex-direction": "row-reverse",
302
+ "justify-content": "flex-end",
303
+ padding: "0",
304
+ },
305
+ },
306
+ };
307
+ const sheet = JSS.createStyleSheet(style);
308
+ const styleString = sheet.toString();
309
+ return (index.h("div", { style: { minHeight: notFullScreen ? "100%" : "100vh" }, class: sheet.classes.Frame, part: "sqm-base" },
310
+ index.h("style", { type: "text/css" }, styleString),
311
+ index.h("div", { class: sheet.classes.HeaderWrapper, part: "sqm-header" },
299
312
  data.header,
300
313
  index.h("slot", { name: "sqm-navigation-menu" })),
301
314
  children,
302
- index.h("div", { class: sheet$2.classes.FooterWrapper, part: "sqm-footer" }, data.footer)));
315
+ index.h("div", { class: sheet.classes.FooterWrapper, part: "sqm-footer" }, data.footer)));
303
316
  }
304
317
 
305
318
  const EditProfileView = (props) => {
@@ -335,7 +348,7 @@ const EditProfileView = (props) => {
335
348
  }, submit: true, exportparts: "base: primarybutton-base" }, text.updatetext),
336
349
  index.h("sl-button", { onClick: () => {
337
350
  callbacks.setShowEdit(false);
338
- }, exportparts: "base: defaultbutton-base" }, text.canceltext)))));
351
+ }, exportparts: "base: secondarybutton-base" }, text.canceltext)))));
339
352
  }
340
353
  return (index.h("div", { class: `CardWrapper FormWrapper ${!states.showEdit && "ShowEdit"}`, part: "sqm-base" },
341
354
  index.h("div", { class: "FormSection" },
@@ -1402,6 +1415,11 @@ function useBigStat(props) {
1402
1415
  flexReverse,
1403
1416
  alignment,
1404
1417
  loading: false,
1418
+ statTextColor: props.statTextColor,
1419
+ statFontSize: props.statFontSize,
1420
+ descriptionTextColor: props.descriptionTextColor,
1421
+ descriptionFontSize: props.descriptionFontSize,
1422
+ statFontWeight: props.statFontWeight,
1405
1423
  },
1406
1424
  label: "BAD PROP TYPE",
1407
1425
  };
@@ -1431,6 +1449,11 @@ function useBigStat(props) {
1431
1449
  loading: stat === null || stat === void 0 ? void 0 : stat.loading,
1432
1450
  flexReverse,
1433
1451
  alignment,
1452
+ statTextColor: props.statTextColor,
1453
+ statFontSize: props.statFontSize,
1454
+ descriptionTextColor: props.descriptionTextColor,
1455
+ descriptionFontSize: props.descriptionFontSize,
1456
+ statFontWeight: props.statFontWeight,
1434
1457
  },
1435
1458
  label,
1436
1459
  };
@@ -1447,8 +1470,12 @@ function useDemoBigStat(props) {
1447
1470
  value: 0,
1448
1471
  statvalue: "!!!",
1449
1472
  loading: false,
1450
- flexReverse: false,
1451
- alignment: "center",
1473
+ flexReverse: props.flexReverse,
1474
+ alignment: props.alignment,
1475
+ statTextColor: props.statTextColor,
1476
+ statFontSize: props.statFontSize,
1477
+ descriptionTextColor: props.descriptionTextColor,
1478
+ descriptionFontSize: props.descriptionFontSize,
1452
1479
  },
1453
1480
  label: "BAD PROP TYPE",
1454
1481
  };
@@ -1460,8 +1487,13 @@ function useDemoBigStat(props) {
1460
1487
  props: cjs.cjs({
1461
1488
  statvalue: "12345",
1462
1489
  value: 0,
1463
- flexReverse: false,
1464
- alignment: "center",
1490
+ flexReverse: props.flexReverse,
1491
+ alignment: props.alignment,
1492
+ statTextColor: props.statTextColor,
1493
+ statFontSize: props.statFontSize,
1494
+ descriptionTextColor: props.descriptionTextColor,
1495
+ descriptionFontSize: props.descriptionFontSize,
1496
+ statFontWeight: props.statFontWeight,
1465
1497
  }, props.demoData || {}, { arrayMerge: (_, a) => a }),
1466
1498
  label: label !== null && label !== void 0 ? label : "Demo Label",
1467
1499
  };
@@ -1472,25 +1504,37 @@ function StatContainerView(props, children) {
1472
1504
  const spaceValue = getComputedStyle(document.documentElement).getPropertyValue(`--sl-spacing-${props.space}`);
1473
1505
  return `${Math.floor(parseInt(spaceValue) / 2)}rem`;
1474
1506
  };
1475
- // Dependent on props, not feasiable to move out
1507
+ // take alignment variable and convert it to CSS flexbox alignment
1508
+ const alignment = props.alignment === "center"
1509
+ ? "center"
1510
+ : props.alignment === "right"
1511
+ ? "flex-end"
1512
+ : "flex-start";
1513
+ // Dependent on props, not feasible to move out
1476
1514
  const style = {
1477
1515
  StatContainer: {
1478
1516
  width: "100%",
1479
- display: props.display || "grid",
1480
- "grid-template-columns": "repeat(auto-fill, minmax(130px, auto))",
1481
- gap: divideSpace(),
1482
- // First set of styles applies when shadow DOM is disabled, second set applies when shadow DOM is enabled
1517
+ display: "flex",
1518
+ flexWrap: "wrap",
1519
+ alignItems: "center",
1520
+ justifyContent: alignment,
1521
+ flexDirection: "row",
1522
+ gap: `var(--sl-spacing-${props.gap})`,
1523
+ // Apply border styles conditionally based on the hideBorder prop
1483
1524
  "& > *": {
1484
- "border-right": "1px solid #EAEAEA",
1525
+ "border-right": props.hideBorder
1526
+ ? "none"
1527
+ : "1px solid var(--sqm-text-subdued)",
1485
1528
  "padding-right": divideSpace(),
1486
1529
  },
1487
1530
  "& > :last-child": {
1488
1531
  "border-right": "none",
1489
1532
  },
1490
1533
  "& > ::slotted(*)": {
1491
- "border-right": "1px solid #EAEAEA",
1534
+ "border-right": props.hideBorder
1535
+ ? "none"
1536
+ : "1px solid var(--sqm-text-subdued)",
1492
1537
  "padding-right": divideSpace(),
1493
- height: "100%",
1494
1538
  },
1495
1539
  "& > ::slotted(*:last-child)": {
1496
1540
  "border-right": "none",
@@ -1589,7 +1633,7 @@ function PortalChangePasswordView(props) {
1589
1633
  index.h("style", { type: "text/css" }, styleString))));
1590
1634
  }
1591
1635
 
1592
- const style$3 = {
1636
+ const style$1 = {
1593
1637
  Wrapper: { ...mixins.AuthWrapper, "max-width": "600px" },
1594
1638
  Column: mixins.AuthColumn,
1595
1639
  HostBlock: mixins.HostBlock,
@@ -1600,7 +1644,7 @@ const style$3 = {
1600
1644
  ButtonsContainer: mixins.AuthButtonsContainer,
1601
1645
  ErrorStyle: mixins.ErrorStyles,
1602
1646
  };
1603
- const vanillaStyle$1 = `
1647
+ const vanillaStyle = `
1604
1648
  sqm-portal-register {
1605
1649
  margin: 0 auto;
1606
1650
  width: 100%;
@@ -1615,20 +1659,20 @@ sqm-portal-register {
1615
1659
  display: none;
1616
1660
  }
1617
1661
  `;
1618
- const sheet$3 = JSS.createStyleSheet(style$3);
1619
- const styleString$3 = sheet$3.toString();
1662
+ const sheet$1 = JSS.createStyleSheet(style$1);
1663
+ const styleString$1 = sheet$1.toString();
1620
1664
  function PortalRegisterView(props) {
1621
1665
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
1622
1666
  const { states, refs, callbacks, content } = props;
1623
1667
  if (states.error) {
1624
1668
  window.scrollTo({ top: 0, left: 0, behavior: "smooth" });
1625
1669
  }
1626
- return (index.h("div", { class: sheet$3.classes.Wrapper, part: "sqm-base" },
1670
+ return (index.h("div", { class: sheet$1.classes.Wrapper, part: "sqm-base" },
1627
1671
  index.h("style", { type: "text/css" },
1628
- vanillaStyle$1,
1629
- styleString$3),
1672
+ vanillaStyle,
1673
+ styleString$1),
1630
1674
  index.h(sqmTextSpanView.TextSpanView, { type: "h3" }, content.pageLabel),
1631
- index.h("sl-form", { class: sheet$3.classes.Column, "onSl-submit": callbacks.submit, ref: (el) => (refs.formRef.current = el), novalidate: true },
1675
+ index.h("sl-form", { class: sheet$1.classes.Column, "onSl-submit": callbacks.submit, ref: (el) => (refs.formRef.current = el), novalidate: true },
1632
1676
  states.error && (index.h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
1633
1677
  index.h("div", { part: "erroralert-text" }, props.states.error))),
1634
1678
  content.formData,
@@ -1641,7 +1685,7 @@ function PortalRegisterView(props) {
1641
1685
  return content.invalidEmailErrorMessage;
1642
1686
  }
1643
1687
  } }, (((_b = (_a = states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors) === null || _b === void 0 ? void 0 : _b.email) ? {
1644
- class: sheet$3.classes.ErrorStyle,
1688
+ class: sheet$1.classes.ErrorStyle,
1645
1689
  helpText: ((_d = (_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.validationErrors) === null || _d === void 0 ? void 0 : _d.email) ||
1646
1690
  content.requiredFieldErrorMessage,
1647
1691
  }
@@ -1652,17 +1696,17 @@ function PortalRegisterView(props) {
1652
1696
  value: (_j = (_h = states.registrationFormState) === null || _h === void 0 ? void 0 : _h.initialData) === null || _j === void 0 ? void 0 : _j.confirmPassword,
1653
1697
  }
1654
1698
  : {}), (((_l = (_k = states.registrationFormState) === null || _k === void 0 ? void 0 : _k.validationErrors) === null || _l === void 0 ? void 0 : _l.confirmPassword) ? {
1655
- class: sheet$3.classes.ErrorStyle,
1699
+ class: sheet$1.classes.ErrorStyle,
1656
1700
  helpText: ((_o = (_m = states.registrationFormState) === null || _m === void 0 ? void 0 : _m.validationErrors) === null || _o === void 0 ? void 0 : _o.confirmPassword) || content.requiredFieldErrorMessage,
1657
1701
  }
1658
1702
  : [])))),
1659
1703
  content.terms,
1660
- index.h("div", { class: sheet$3.classes.ButtonsContainer },
1704
+ index.h("div", { class: sheet$1.classes.ButtonsContainer },
1661
1705
  index.h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Register"),
1662
1706
  content.secondaryButton))));
1663
1707
  }
1664
1708
 
1665
- const style$4 = {
1709
+ const style$2 = {
1666
1710
  ErrorStyle: {
1667
1711
  "&::part(control)": {
1668
1712
  background: "var(--sl-color-danger-10)",
@@ -1685,7 +1729,7 @@ const style$4 = {
1685
1729
  "margin-bottom": "var(--sl-spacing-large)",
1686
1730
  },
1687
1731
  };
1688
- const vanillaStyle$2 = `
1732
+ const vanillaStyle$1 = `
1689
1733
  :host {
1690
1734
  margin: 0 auto;
1691
1735
  width: 100%;
@@ -1701,15 +1745,15 @@ sl-checkbox::part(base){
1701
1745
  }
1702
1746
  `;
1703
1747
  JSS.jss.setup(JSS.create());
1704
- const sheet$4 = JSS.jss.createStyleSheet(style$4);
1705
- const styleString$4 = sheet$4.toString();
1748
+ const sheet$2 = JSS.jss.createStyleSheet(style$2);
1749
+ const styleString$2 = sheet$2.toString();
1706
1750
  function CheckboxFieldView(props) {
1707
1751
  var _b, _c;
1708
1752
  const { states, content, callbacks } = props;
1709
- return (index.h("div", { class: sheet$4.classes.FieldContainer, part: "sqm-base" },
1753
+ return (index.h("div", { class: sheet$2.classes.FieldContainer, part: "sqm-base" },
1710
1754
  index.h("style", { type: "text/css" },
1711
- vanillaStyle$2,
1712
- styleString$4),
1755
+ vanillaStyle$1,
1756
+ styleString$2),
1713
1757
  index.h("sl-checkbox", Object.assign({ exportparts: "label: input-label, base: input-base", name: `/${content.checkboxName}`, checked: states.checked, "onSl-change": (e) => {
1714
1758
  e.target.value = e.target.checked;
1715
1759
  callbacks.setChecked(e.target.value);
@@ -1765,7 +1809,7 @@ function ChangeMarktingView(props) {
1765
1809
  index.h("div", { part: "successalert-text" }, states.text.successMessage))))));
1766
1810
  }
1767
1811
 
1768
- const style$5 = {
1812
+ const style$3 = {
1769
1813
  Description: {
1770
1814
  "& input[type=checkbox]": {
1771
1815
  display: "none",
@@ -1777,7 +1821,7 @@ const style$5 = {
1777
1821
  position: "absolute",
1778
1822
  top: "var(--sl-spacing-medium)",
1779
1823
  right: "var(--sl-spacing-medium)",
1780
- color: "var(--sl-color-neutral-700)",
1824
+ color: "var(--sqm-text)",
1781
1825
  fontSize: "var(--sl-font-size-large)",
1782
1826
  "& :hover": {
1783
1827
  color: "var(--sl-color-primary-700)",
@@ -1804,13 +1848,13 @@ const style$5 = {
1804
1848
  },
1805
1849
  },
1806
1850
  };
1807
- const sheet$5 = JSS.createStyleSheet(style$5);
1808
- const styleString$5 = sheet$5.toString();
1851
+ const sheet$3 = JSS.createStyleSheet(style$3);
1852
+ const styleString$3 = sheet$3.toString();
1809
1853
  function Details(props) {
1810
1854
  const rid = Math.random().toString(36).slice(2);
1811
1855
  return (index.h("div", { style: { opacity: props.opacity } },
1812
- index.h("style", { type: "text/css" }, styleString$5),
1813
- index.h("span", { class: sheet$5.classes.Description },
1856
+ index.h("style", { type: "text/css" }, styleString$3),
1857
+ index.h("span", { class: sheet$3.classes.Description },
1814
1858
  index.h("input", { type: "checkbox", id: "details-" + rid }),
1815
1859
  index.h("label", { class: "details", htmlFor: "details-" + rid },
1816
1860
  index.h("sl-icon", { exportparts: "base: chevron-icon", name: "chevron-down" })),
@@ -1832,7 +1876,7 @@ const GreyGift = () => {
1832
1876
  index.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M14 2.70949C14 3.59565 12.6694 4.93746 12 5H9V16H7.00179V5H4.58792C3.21247 4.70182 2 3.64537 2 2.52072C2 1.42474 2.47603 0.556701 3.34184 0.182041C4.16921 -0.175986 5.12452 0.0203328 5.87976 0.544666C6.80676 1.18825 7.32679 2.3963 7.79856 3.49226C7.83996 3.58845 7.88099 3.68378 7.9219 3.77778C7.96173 3.68865 8.00186 3.59793 8.0425 3.50608C8.50995 2.44948 9.04359 1.24325 9.9404 0.59563C10.7332 0.0231438 11.741 -0.193157 12.6121 0.198945C13.5129 0.604397 14 1.53453 14 2.70949ZM10.6123 1.5C11.0928 1.15305 11.668 1.09012 12.1597 1.5C12.5879 1.85694 12.6108 2.02497 12.6658 2.42926L12.6755 2.5C12.6755 3.09851 12.1597 4 11.6439 4C11.2785 4 10.9914 3.99691 10.7224 3.99402C10.2319 3.98875 9.80131 3.98412 9.06496 4C9.20533 3.72786 9.31743 3.46669 9.42434 3.21761C9.71026 2.55143 9.95907 1.97176 10.6123 1.5ZM4.93861 1.5C4.70607 1.33855 4.17281 1.4106 3.95166 1.5063C3.76894 1.58537 3.49602 1.82658 3.49602 2.52072C3.49602 3.19524 4.58792 3.77778 4.58792 3.77778C4.58792 3.77778 5.45441 4 7.00179 4C6.47506 2.69451 5.7289 2.04867 4.93861 1.5Z", fill: "#828282" })));
1833
1877
  };
1834
1878
 
1835
- const style$6 = {
1879
+ const style$4 = {
1836
1880
  ProgressBar: {
1837
1881
  "& .progress-bar": {
1838
1882
  height: "0",
@@ -1944,14 +1988,14 @@ const style$6 = {
1944
1988
  },
1945
1989
  },
1946
1990
  };
1947
- const sheet$6 = JSS.createStyleSheet(style$6, { classNamePrefix: "sqm-prog-bar" });
1948
- const styleString$6 = sheet$6.toString();
1991
+ const sheet$4 = JSS.createStyleSheet(style$4, { classNamePrefix: "sqm-prog-bar" });
1992
+ const styleString$4 = sheet$4.toString();
1949
1993
  function ProgressBarView(props) {
1950
1994
  const { progress = 0, goal = 1, steps = false, progressBarUnit = "", repeatable = false, complete = false, expired = false, finite = 0, opacity = "1", } = props;
1951
1995
  let aggregate = buildProgressBar(repeatable, steps, props);
1952
1996
  const { columns, items } = aggregate;
1953
- return (index.h("div", { class: sheet$6.classes.ProgressBar, "data-expired": expired, "data-complete": complete, "data-steps": steps, "data-done": goal <= progress, style: { opacity: opacity } },
1954
- index.h("style", { type: "text/css" }, styleString$6),
1997
+ return (index.h("div", { class: sheet$4.classes.ProgressBar, "data-expired": expired, "data-complete": complete, "data-steps": steps, "data-done": goal <= progress, style: { opacity: opacity } },
1998
+ index.h("style", { type: "text/css" }, styleString$4),
1955
1999
  index.h("div", { class: (!Boolean(finite) && progress >= 2 * goal) ||
1956
2000
  (Boolean(finite) && progress > 2 * goal)
1957
2001
  ? "progress-bar repeatable-steps"
@@ -2242,165 +2286,151 @@ const arrow_left_right = () => {
2242
2286
  index.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M10.265 2.789a.346.346 0 000-.489L8.066.101a.346.346 0 10-.489.489l1.61 1.609H2.073a.691.691 0 00-.69.691v1.728a.346.346 0 00.69 0V2.89h7.114L7.577 4.5a.346.346 0 10.49.488l2.198-2.2zM.101 9.21a.346.346 0 000 .489l2.2 2.199a.346.346 0 00.488-.489l-1.61-1.609h7.114c.382 0 .691-.31.691-.691V7.382a.346.346 0 00-.691 0V9.11H1.18L2.789 7.5a.346.346 0 10-.489-.488l-2.199 2.2z", fill: "currentColor" })));
2243
2287
  };
2244
2288
 
2245
- const style$7 = {
2246
- TaskCard: {
2247
- display: "inline-block",
2248
- width: "100%",
2249
- "& .main": {
2250
- position: "relative",
2251
- boxSizing: "border-box",
2252
- background: "var(--sl-color-neutral-0)",
2253
- border: "1px solid var(--sl-color-neutral-200)",
2254
- borderRadius: "var(--sl-border-radius-large)",
2255
- boxShadow: "1px 2px 4px rgba(211, 211, 211, 0.2)",
2256
- fontSize: "var(--sl-font-size-small)",
2257
- lineHeight: "var(--sl-line-height-dense)",
2258
- color: "var(--sl-color-neutral-600)",
2259
- },
2260
- "& .main.complete": {
2261
- background: "var(--sl-color-primary-50)",
2262
- borderColor: "var(--sl-color-primary-500)",
2263
- },
2264
- "& .main.expired": {
2265
- color: "var(--sl-color-neutral-600)",
2266
- background: "var(--sl-color-neutral-50)",
2267
- },
2268
- "& .title": {
2269
- fontSize: "var(--sl-font-size-medium)",
2270
- color: "var(--sl-color-neutral-950)",
2271
- },
2272
- "& .container": {
2273
- margin: "var(--sl-spacing-medium)",
2274
- },
2275
- "& .container.subdued": {
2276
- opacity: "0.45",
2277
- },
2278
- "& .container > div": {
2279
- margin: "var(--sl-spacing-medium) 0",
2280
- },
2281
- },
2282
- NotStarted: {
2283
- fontSize: "var(--sl-font-size-small)",
2284
- padding: "var(--sl-spacing-medium)",
2285
- color: "var(--sl-color-primary-600)",
2286
- border: "1px solid var(--sl-color-neutral-200)",
2287
- borderRadius: "var(--sl-border-radius-large) var(--sl-border-radius-large) 0 0",
2288
- borderBottom: "none",
2289
- background: "var(--sl-color-primary-50)",
2290
- fontWeight: "var(--sl-font-weight-semibold)",
2291
- lineHeight: "var(--sl-line-height-dense)",
2292
- "& .icon": {
2293
- position: "relative",
2294
- top: "0.1em",
2295
- marginRight: "var(--sl-spacing-small)",
2296
- color: "var(--sl-color-primary-500)",
2297
- },
2298
- },
2299
- Ended: {
2300
- fontSize: "var(--sl-font-size-small)",
2301
- padding: "var(--sl-spacing-medium)",
2302
- color: "var(--sl-color-warning-600)",
2303
- border: "1px solid var(--sl-color-neutral-200)",
2304
- borderRadius: "var(--sl-border-radius-large) var(--sl-border-radius-large) 0 0",
2305
- borderBottom: "none",
2306
- background: "var(--sl-color-warning-50)",
2307
- fontWeight: "var(--sl-font-weight-semibold)",
2308
- lineHeight: "var(--sl-line-height-dense)",
2309
- "& .icon": {
2310
- position: "relative",
2311
- top: "0.1em",
2312
- marginRight: "var(--sl-spacing-small)",
2313
- color: "var(--sl-color-warning-500)",
2314
- },
2315
- },
2316
- Header: {
2317
- display: "flex",
2318
- "& .icon": {
2319
- position: "relative",
2320
- top: "5%",
2321
- alignSelf: "center",
2322
- lineHeight: "0",
2323
- color: "var(--sl-color-primary-400)",
2324
- fontSize: "var(--sl-font-size-large)",
2325
- marginRight: "var(--sl-spacing-x-small)",
2326
- },
2327
- "& .value": {
2328
- alignSelf: "center",
2329
- fontSize: "var(--sl-font-size-x-large)",
2330
- fontWeight: "var(--sl-font-weight-semibold)",
2331
- color: "var(--sl-color-neutral-950)",
2332
- lineHeight: "100%",
2333
- marginRight: "var(--sl-spacing-xx-small)",
2334
- },
2335
- "& .text": {
2336
- alignSelf: "end",
2337
- textTransform: "uppercase",
2338
- fontSize: "var(--sl-font-size-x-small)",
2339
- color: "var(--sl-color-neutral-950)",
2340
- lineHeight: "var(--sl-font-size-medium)",
2341
- marginRight: "var(--sl-spacing-xx-small)",
2289
+ function TaskCardView(props) {
2290
+ var _a, _b;
2291
+ const { callbacks, states, content } = props;
2292
+ console.log("text color from the view ", content.textColor);
2293
+ const style = {
2294
+ TaskCard: {
2295
+ display: "inline-block",
2296
+ width: "100%",
2297
+ "& .main": {
2298
+ position: "relative",
2299
+ boxSizing: "border-sizing",
2300
+ background: content.backgroundColor || "var(--sl-color-neutral-0)",
2301
+ border: `1px solid ${content.borderColor || "var(--sl-color-neutral-200)"}`,
2302
+ borderRadius: "var(--sl-border-radius-large)",
2303
+ boxShadow: "1px 2px 4px rgba(211, 211, 211, 0.2)",
2304
+ fontSize: "var(--sl-font-size-small)",
2305
+ lineHeight: "var(--sl-line-height-dense)",
2306
+ color: content.textColor || "var(--sqm-text)",
2307
+ },
2308
+ "& .main.complete": {
2309
+ background: content.backgroundColor || "var(--sl-color-primary-50)",
2310
+ borderColor: content.borderColor || "var(--sl-color-primary-500)",
2311
+ },
2312
+ "& .main.expired": {
2313
+ color: content.textColor || "var(--sqm-text)",
2314
+ background: content.backgroundColor || "var(--sl-color-neutral-50)",
2315
+ },
2316
+ "& .title": {
2317
+ fontSize: "var(--sl-font-size-medium)",
2318
+ color: content.textColor || "var(--sqm-text)",
2319
+ },
2320
+ "& .container": {
2321
+ margin: "var(--sl-spacing-medium)",
2322
+ },
2323
+ "& .container.subdued": {
2324
+ opacity: "0.45",
2325
+ },
2326
+ "& .container > div": {
2327
+ margin: "var(--sl-spacing-medium) 0",
2328
+ },
2342
2329
  },
2343
- "& .end": {
2344
- color: "var(--sl-color-warning-500)",
2330
+ NotStarted: {
2331
+ fontSize: "var(--sl-font-size-small)",
2332
+ padding: "var(--sl-spacing-medium)",
2333
+ color: content.textColor || "var(--sl-color-primary-600)",
2334
+ border: `1px solid ${content.borderColor || "var(--sl-color-neutral-200)"}`,
2335
+ borderRadius: "var(--sl-border-radius-large) var(--sl-border-radius-large) 0 0",
2336
+ borderBottom: "none",
2337
+ background: content.backgroundColor || "var(--sl-color-primary-50)",
2345
2338
  fontWeight: "var(--sl-font-weight-semibold)",
2346
- marginBottom: "var(--sl-spacing-xx-small)",
2347
- },
2348
- "& .neutral": {
2349
- color: "var(--sl-color-neutral-400)",
2350
- },
2351
- },
2352
- Footer: {
2353
- "&[data-subdue] .success": {
2354
- color: "var(--sl-color-primary-300)",
2355
- },
2356
- "&[data-subdue] .neutral": {
2357
- color: "var(--sl-color-neutral-300)",
2358
- },
2359
- display: "flex",
2360
- "& .icon": {
2361
- fontSize: "var(--sl-font-size-xx-small)",
2362
- marginRight: "var(--sl-spacing-xx-small)",
2363
- verticalAlign: "middle",
2364
- },
2365
- "& .text": {
2366
- marginTop: "auto",
2367
- verticalAlign: "text-bottom",
2368
- fontSize: "var(--sl-font-size-x-small)",
2369
- color: "var(--sl-color-neutral-400)",
2339
+ lineHeight: "var(--sl-line-height-dense)",
2340
+ "& .icon": {
2341
+ position: "relative",
2342
+ top: "0.1em",
2343
+ marginRight: "var(--sl-spacing-small)",
2344
+ color: content.textColor || "var(--sqm-text)",
2345
+ },
2370
2346
  },
2371
- "& .success": {
2372
- color: "var(--sl-color-primary-500)",
2347
+ Ended: {
2348
+ fontSize: "var(--sl-font-size-small)",
2349
+ padding: "var(--sl-spacing-medium)",
2350
+ color: content.textColor || "var(--sl-color-warning-600)",
2351
+ border: `1px solid ${content.borderColor || "var(--sl-color-neutral-200)"}`,
2352
+ borderRadius: "var(--sl-border-radius-large) var(--sl-border-radius-large) 0 0",
2353
+ borderBottom: "none",
2354
+ background: content.backgroundColor || "var(--sl-color-warning-50)",
2373
2355
  fontWeight: "var(--sl-font-weight-semibold)",
2356
+ lineHeight: "var(--sl-line-height-dense)",
2357
+ "& .icon": {
2358
+ position: "relative",
2359
+ top: "0.1em",
2360
+ marginRight: "var(--sl-spacing-small)",
2361
+ color: content.textColor || "var(--sqm-text)",
2362
+ },
2374
2363
  },
2375
- "& .action": {
2376
- marginTop: "auto",
2377
- marginLeft: "auto",
2378
- "&::part(base)": {
2379
- color: "var(--sl-color-neutral-0)",
2364
+ Header: {
2365
+ display: "flex",
2366
+ "& .icon": {
2367
+ position: "relative",
2368
+ top: "5%",
2369
+ alignSelf: "center",
2370
+ lineHeight: "0",
2371
+ color: content.textColor || "var(--sqm-text)",
2372
+ fontSize: "var(--sl-font-size-large)",
2373
+ marginRight: "var(--sl-spacing-x-small)",
2374
+ },
2375
+ "& .value": {
2376
+ alignSelf: "center",
2377
+ fontSize: "var(--sl-font-size-x-large)",
2378
+ fontWeight: "var(--sl-font-weight-semibold)",
2379
+ color: content.textColor || "var(--sqm-text)",
2380
+ lineHeight: "100%",
2381
+ marginRight: "var(--sl-spacing-xx-small)",
2380
2382
  },
2381
- "&.disabled::part(base)": {
2382
- border: "1px solid var(--sl-color-primary-400)",
2383
- background: "var(--sl-color-primary-400)",
2383
+ "& .text": {
2384
+ alignSelf: "end",
2385
+ textTransform: "uppercase",
2386
+ fontSize: "var(--sl-font-size-x-small)",
2387
+ color: content.textColor || "var(--sqm-text)",
2388
+ lineHeight: "var(--sl-font-size-medium)",
2389
+ marginRight: "var(--sl-spacing-xx-small)",
2384
2390
  },
2385
- "&.neutral::part(base)": {
2386
- border: "1px solid var(--sl-color-neutral-400)",
2387
- background: "var(--sl-color-neutral-400)",
2391
+ "& .end": {
2392
+ color: content.textColor || "var(--sl-color-warning-500)",
2393
+ fontWeight: "var(--sl-font-weight-semibold)",
2394
+ marginBottom: "var(--sl-spacing-xx-small)",
2395
+ },
2396
+ "& .neutral": {
2397
+ color: content.textColor || "var(--sl-color-neutral-400)",
2388
2398
  },
2389
2399
  },
2390
- "& .neutral": {
2391
- color: "var(--sl-color-neutral-400)",
2392
- },
2393
- "& .datetime": {
2394
- display: "block",
2395
- marginTop: "var(--sl-spacing-xx-small)",
2400
+ Footer: {
2401
+ "&[data-subdue] .success": {
2402
+ color: content.textColor || "var(--sl-color-primary-300)",
2403
+ },
2404
+ "&[data-subdue] .neutral": {
2405
+ color: content.textColor || "var(--sqm-text)",
2406
+ },
2407
+ display: "flex",
2408
+ "& .icon": {
2409
+ fontSize: "var(--sl-font-size-xx-small)",
2410
+ marginRight: "var(--sl-spacing-xx-small)",
2411
+ verticalAlign: "middle",
2412
+ },
2413
+ "& .text": {
2414
+ marginTop: "auto",
2415
+ verticalAlign: "text-bottom",
2416
+ fontSize: "var(--sl-font-size-x-small)",
2417
+ color: content.textColor || "var(--sqm-text)",
2418
+ },
2419
+ "& .success": {
2420
+ color: content.textColor || "var(--sqm-text)",
2421
+ fontWeight: "var(--sl-font-weight-semibold)",
2422
+ },
2423
+ "& .neutral": {
2424
+ color: content.textColor || "var(--sqm-text)",
2425
+ },
2426
+ "& .datetime": {
2427
+ display: "block",
2428
+ marginTop: "var(--sl-spacing-xx-small)",
2429
+ },
2396
2430
  },
2397
- },
2398
- };
2399
- const sheet$7 = JSS.createStyleSheet(style$7);
2400
- const styleString$7 = sheet$7.toString();
2401
- function TaskCardView(props) {
2402
- var _a, _b;
2403
- const { callbacks, states, content } = props;
2431
+ };
2432
+ const sheet = JSS.createStyleSheet(style);
2433
+ const contenttring = sheet.toString();
2404
2434
  const dateStart = content.rewardDuration &&
2405
2435
  luxon.luxon.DateTime.fromISO(content.rewardDuration.split("/")[0]);
2406
2436
  const dateEnd = content.rewardDuration &&
@@ -2433,11 +2463,11 @@ function TaskCardView(props) {
2433
2463
  }
2434
2464
 
2435
2465
  `;
2436
- return (index.h("div", { class: sheet$7.classes.TaskCard, part: "sqm-base" },
2466
+ return (index.h("div", { class: sheet.classes.TaskCard, part: "sqm-base" },
2437
2467
  index.h("style", { type: "text/css" },
2438
- styleString$7,
2468
+ contenttring,
2439
2469
  vanillaStyle),
2440
- !states.loading && taskNotStarted && (index.h("div", { class: sheet$7.classes.NotStarted },
2470
+ !states.loading && taskNotStarted && (index.h("div", { class: sheet.classes.NotStarted },
2441
2471
  index.h("span", { class: "icon" },
2442
2472
  index.h("sl-icon", { name: "info-circle-fill" })),
2443
2473
  global.intl.formatMessage({
@@ -2448,7 +2478,7 @@ function TaskCardView(props) {
2448
2478
  .setLocale(utils.luxonLocale(states.locale))
2449
2479
  .toLocaleString(luxon.luxon.DateTime.DATETIME_MED),
2450
2480
  }))),
2451
- !states.loading && taskEnded && (index.h("div", { class: sheet$7.classes.Ended },
2481
+ !states.loading && taskEnded && (index.h("div", { class: sheet.classes.Ended },
2452
2482
  index.h("span", { class: "icon" },
2453
2483
  index.h("sl-icon", { exportparts: "base: task-card-icon", name: "exclamation-triangle-fill" })),
2454
2484
  global.intl.formatMessage({
@@ -2468,7 +2498,7 @@ function TaskCardView(props) {
2468
2498
  ? "main complete"
2469
2499
  : "main" },
2470
2500
  index.h("div", { class: "container", part: "sqm-card-container", "data-subdue": taskComplete || taskUnavailable },
2471
- index.h("div", { class: sheet$7.classes.Header, style: { opacity: taskComplete || taskUnavailable ? "0.45" : "1" } }, states.loading ? (index.h("sl-skeleton", { style: { width: "22%", margin: "0" } })) : (index.h("div", null,
2501
+ index.h("div", { class: sheet.classes.Header, style: { opacity: taskComplete || taskUnavailable ? "0.45" : "1" } }, states.loading ? (index.h("sl-skeleton", { style: { width: "22%", margin: "0" } })) : (index.h("div", null,
2472
2502
  showComplete && (index.h("span", { class: taskUnavailable ? "icon neutral" : "icon" }, taskComplete ? checkmark_filled$1 : checkmark_circle$1)),
2473
2503
  index.h("span", { part: "sqm-value", class: "value" }, content.rewardAmount),
2474
2504
  index.h("span", { part: "sqm-unit", class: "text" }, content.rewardUnit)))),
@@ -2484,7 +2514,7 @@ function TaskCardView(props) {
2484
2514
  } }, content.cardTitle)),
2485
2515
  states.loading ? (index.h("sl-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.description && (index.h(Details, Object.assign({}, props, { opacity: taskComplete || taskUnavailable ? "0.45" : "1" })))),
2486
2516
  content.showProgressBar && states.loading ? (index.h("sl-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.showProgressBar && (index.h(ProgressBarView, Object.assign({}, props.content, props.states, { opacity: taskComplete || taskUnavailable ? "0.45" : "1", complete: taskComplete, expired: taskUnavailable })))),
2487
- index.h("div", { class: sheet$7.classes.Footer, "data-subdue": taskComplete || taskUnavailable }, states.loading ? (index.h("sl-skeleton", { style: { width: "25%", marginLeft: "auto" } })) : (index.h("div", { style: { display: "contents" } },
2517
+ index.h("div", { class: sheet.classes.Footer, "data-subdue": taskComplete || taskUnavailable }, states.loading ? (index.h("sl-skeleton", { style: { width: "25%", marginLeft: "auto" } })) : (index.h("div", { style: { display: "contents" } },
2488
2518
  index.h("span", { class: "text" },
2489
2519
  content.repeatable && (index.h("div", null,
2490
2520
  index.h("span", { class: repetitions > 0
@@ -2513,11 +2543,9 @@ function TaskCardView(props) {
2513
2543
  .setLocale(utils.luxonLocale(states.locale))
2514
2544
  .toLocaleString(luxon.luxon.DateTime.DATETIME_MED),
2515
2545
  })))),
2516
- content.hideButton ? ("") : (index.h("sl-button", { exportparts: "base: button", id: "sl-button", class: taskUnavailable
2517
- ? "action neutral"
2518
- : taskComplete
2519
- ? "action disabled"
2520
- : "action", type: "primary", size: "small", onClick: callbacks.onClick, loading: states.loadingEvent, disabled: taskComplete || taskUnavailable, style: {
2546
+ content.hideButton ? ("") : (index.h("sl-button", { exportparts: `base: ${content.buttonStyle === "primary"
2547
+ ? "primary"
2548
+ : "secondary"}button-base`, id: "sl-button", type: content.buttonStyle === "primary" ? "primary" : "default", size: "small", onClick: callbacks.onClick, loading: states.loadingEvent, disabled: taskComplete || taskUnavailable, style: {
2521
2549
  opacity: taskComplete || taskUnavailable ? "0.45" : "1",
2522
2550
  } }, content.buttonText)))))))));
2523
2551
  }
@@ -2555,7 +2583,7 @@ function PoweredByImg({ color = "#A6A6A6", width = 120, height = 16, }) {
2555
2583
  index.h("path", { d: "M1661.53 157.54H1589.77C1590.42 169.37 1593.54 178.535 1599.13 185.035C1604.85 191.535 1612.65 194.785 1622.53 194.785C1628.51 194.785 1633.97 193.485 1638.91 190.885C1643.98 188.285 1647.95 184.645 1650.81 179.965L1657.24 186.4C1653.34 192.12 1648.4 196.475 1642.42 199.465C1636.57 202.455 1629.94 203.95 1622.53 203.95C1609.01 203.95 1598.35 199.465 1590.55 190.495C1582.88 181.525 1579.05 169.175 1579.05 153.445C1579.05 137.585 1582.82 125.17 1590.36 116.2C1597.9 107.1 1608.23 102.55 1621.36 102.55C1633.84 102.55 1643.66 106.84 1650.81 115.42C1657.96 124 1661.53 135.895 1661.53 151.105V157.54ZM1651.39 147.4C1651.39 136.48 1648.66 127.77 1643.2 121.27C1637.74 114.77 1630.46 111.52 1621.36 111.52C1611.74 111.52 1604.2 114.77 1598.74 121.27C1593.28 127.77 1590.29 137.065 1589.77 149.155H1651.39V147.4Z", fill: color })));
2556
2584
  }
2557
2585
 
2558
- const vanillaStyle$3 = `
2586
+ const vanillaStyle$2 = `
2559
2587
  :host{
2560
2588
  margin: 0 auto;
2561
2589
  width: 100%;
@@ -2611,7 +2639,7 @@ function PortalFooterView(props) {
2611
2639
  const styleString = sheet.toString();
2612
2640
  return (index.h("div", { class: sheet.classes.Container, part: "sqm-base" },
2613
2641
  index.h("style", { type: "text/css" },
2614
- vanillaStyle$3,
2642
+ vanillaStyle$2,
2615
2643
  styleString),
2616
2644
  index.h("div", { class: sheet.classes.RowContainer },
2617
2645
  props.faqLink && (index.h("a", { target: "_blank", href: props.faqLink }, props.faqText)),
@@ -2783,7 +2811,7 @@ function ReferralIframeView(props) {
2783
2811
  index.h("iframe", { class: sheet.classes.IFrame, src: `${content.iframeSrc}?rsCode=${data.shareCode}` })));
2784
2812
  }
2785
2813
 
2786
- const style$8 = {
2814
+ const style$5 = {
2787
2815
  ErrorStyle: mixins.ErrorStyles,
2788
2816
  FieldsContainer: {
2789
2817
  "& sl-input": {
@@ -2791,7 +2819,7 @@ const style$8 = {
2791
2819
  },
2792
2820
  },
2793
2821
  };
2794
- const vanillaStyle$4 = `
2822
+ const vanillaStyle$3 = `
2795
2823
  :host {
2796
2824
  margin: 0 auto;
2797
2825
  width: 100%;
@@ -2803,21 +2831,21 @@ sl-input::part(label){
2803
2831
  font-weight: var(--sl-font-weight-semibold);
2804
2832
  }
2805
2833
  `;
2806
- const sheet$8 = JSS.createStyleSheet(style$8);
2807
- const styleString$8 = sheet$8.toString();
2834
+ const sheet$5 = JSS.createStyleSheet(style$5);
2835
+ const styleString$5 = sheet$5.toString();
2808
2836
  function NameFieldsView(props) {
2809
2837
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
2810
2838
  const { states } = props;
2811
2839
  const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
2812
- return (index.h("div", { class: sheet$8.classes.FieldsContainer },
2840
+ return (index.h("div", { class: sheet$5.classes.FieldsContainer },
2813
2841
  index.h("style", { type: "text/css" },
2814
- vanillaStyle$4,
2815
- styleString$8),
2842
+ vanillaStyle$3,
2843
+ styleString$5),
2816
2844
  index.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", name: "/firstName", type: "text", label: states.content.firstNameLabel, required: true, disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled) }, (((_e = (_d = states.registrationFormState) === null || _d === void 0 ? void 0 : _d.initialData) === null || _e === void 0 ? void 0 : _e.firstName) ? {
2817
2845
  value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g.firstName,
2818
2846
  }
2819
2847
  : {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) ? {
2820
- class: sheet$8.classes.ErrorStyle,
2848
+ class: sheet$5.classes.ErrorStyle,
2821
2849
  helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) || "Cannot be empty",
2822
2850
  }
2823
2851
  : []))),
@@ -2825,13 +2853,13 @@ function NameFieldsView(props) {
2825
2853
  value: (_o = (_m = states.registrationFormState) === null || _m === void 0 ? void 0 : _m.initialData) === null || _o === void 0 ? void 0 : _o.lastName,
2826
2854
  }
2827
2855
  : {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) ? {
2828
- class: sheet$8.classes.ErrorStyle,
2856
+ class: sheet$5.classes.ErrorStyle,
2829
2857
  helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) || "Cannot be empty",
2830
2858
  }
2831
2859
  : [])))));
2832
2860
  }
2833
2861
 
2834
- const style$9 = {
2862
+ const style$6 = {
2835
2863
  ErrorStyle: {
2836
2864
  "--sl-input-border-color": "var(--sl-color-danger-500)",
2837
2865
  "--sl-input-background-color": "var(--sl-color-danger-10)",
@@ -2847,7 +2875,7 @@ const style$9 = {
2847
2875
  "margin-bottom": "var(--sl-spacing-large)",
2848
2876
  },
2849
2877
  };
2850
- const vanillaStyle$5 = `
2878
+ const vanillaStyle$4 = `
2851
2879
  :host {
2852
2880
  margin: 0 auto;
2853
2881
  width: 100%;
@@ -2859,36 +2887,36 @@ sl-select::part(label){
2859
2887
  }
2860
2888
  `;
2861
2889
  JSS.jss.setup(JSS.create());
2862
- const sheet$9 = JSS.jss.createStyleSheet(style$9);
2863
- const styleString$9 = sheet$9.toString();
2890
+ const sheet$6 = JSS.jss.createStyleSheet(style$6);
2891
+ const styleString$6 = sheet$6.toString();
2864
2892
  function DropdownFieldView(props) {
2865
2893
  var _a, _b, _c, _d, _e, _f, _g;
2866
2894
  const { states, content } = props;
2867
2895
  const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
2868
- return (index.h("div", { class: sheet$9.classes.FieldContainer, part: "sqm-base" },
2896
+ return (index.h("div", { class: sheet$6.classes.FieldContainer, part: "sqm-base" },
2869
2897
  index.h("style", { type: "text/css" },
2870
- vanillaStyle$5,
2871
- styleString$9),
2898
+ vanillaStyle$4,
2899
+ styleString$6),
2872
2900
  index.h("sl-select", Object.assign({ exportparts: "label: input-label, base: input-base", label: content.dropdownLabel, name: `/${content.dropdownName}` }, (!content.dropdownOptional ? { required: true } : []), { disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled) }, (((_e = (_d = states.registrationFormState) === null || _d === void 0 ? void 0 : _d.initialData) === null || _e === void 0 ? void 0 : _e[content.dropdownName]) ? {
2873
2901
  value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g[content.dropdownName],
2874
2902
  }
2875
2903
  : {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) ? {
2876
- class: sheet$9.classes.ErrorStyle,
2904
+ class: sheet$6.classes.ErrorStyle,
2877
2905
  }
2878
2906
  : [])), content.selectOptions),
2879
- (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (index.h("p", { class: sheet$9.classes.ErrorMessageStyle }, global.intl.formatMessage({
2907
+ (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (index.h("p", { class: sheet$6.classes.ErrorMessageStyle }, global.intl.formatMessage({
2880
2908
  id: `errorMessage-${content.dropdownName}`,
2881
2909
  defaultMessage: content.errorMessage,
2882
2910
  })))));
2883
2911
  }
2884
2912
 
2885
- const style$a = {
2913
+ const style$7 = {
2886
2914
  ErrorStyle: mixins.ErrorStyles,
2887
2915
  FieldContainer: {
2888
2916
  "margin-bottom": "var(--sl-spacing-large)",
2889
2917
  },
2890
2918
  };
2891
- const vanillaStyle$6 = `
2919
+ const vanillaStyle$5 = `
2892
2920
  :host {
2893
2921
  margin: 0 auto;
2894
2922
  width: 100%;
@@ -2896,21 +2924,21 @@ const vanillaStyle$6 = `
2896
2924
  }
2897
2925
  `;
2898
2926
  JSS.jss.setup(JSS.create());
2899
- const sheet$a = JSS.jss.createStyleSheet(style$a);
2900
- const styleString$a = sheet$a.toString();
2927
+ const sheet$7 = JSS.jss.createStyleSheet(style$7);
2928
+ const styleString$7 = sheet$7.toString();
2901
2929
  function InputFieldView(props) {
2902
2930
  var _a, _b, _c, _d, _e, _f, _g;
2903
2931
  const { states, content } = props;
2904
2932
  const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
2905
- return (index.h("div", { class: sheet$a.classes.FieldContainer, part: "sqm-base" },
2933
+ return (index.h("div", { class: sheet$7.classes.FieldContainer, part: "sqm-base" },
2906
2934
  index.h("style", { type: "text/css" },
2907
- vanillaStyle$6,
2908
- styleString$a),
2935
+ vanillaStyle$5,
2936
+ styleString$7),
2909
2937
  index.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", name: `/${content.fieldName}`, type: content.fieldType, label: content.fieldLabel }, (!content.fieldOptional ? { required: true } : []), { disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled) }, (((_e = (_d = states.registrationFormState) === null || _d === void 0 ? void 0 : _d.initialData) === null || _e === void 0 ? void 0 : _e[content.fieldName]) ? {
2910
2938
  value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g[content.fieldName],
2911
2939
  }
2912
2940
  : {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.fieldName]) ? {
2913
- class: sheet$a.classes.ErrorStyle,
2941
+ class: sheet$7.classes.ErrorStyle,
2914
2942
  helpText: global.intl.formatMessage({
2915
2943
  id: `errorMessage-${content.fieldName}`,
2916
2944
  defaultMessage: content.errorMessage || (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.fieldName]),
@@ -3005,7 +3033,7 @@ function ProgressBar({ stageCount, currentStage, }) {
3005
3033
  return (index.h("div", { style: { display: "flex", columnGap: "-2px" } }, Array.from(Array(stageCount).keys()).map((stage) => (index.h(Progress, { active: currentStage === stage, completed: currentStage > stage, incomplete: currentStage < stage, stage: stage })))));
3006
3034
  }
3007
3035
 
3008
- const style$b = {
3036
+ const style$8 = {
3009
3037
  HostBlock: mixins.HostBlock,
3010
3038
  Container: {
3011
3039
  minWidth: "300px",
@@ -3356,8 +3384,8 @@ const style$b = {
3356
3384
  },
3357
3385
  };
3358
3386
  // JSS config
3359
- const sheet$b = JSS.createStyleSheet(style$b);
3360
- const styleString$b = sheet$b.toString();
3387
+ const sheet$8 = JSS.createStyleSheet(style$8);
3388
+ const styleString$8 = sheet$8.toString();
3361
3389
  const stageList = ["chooseReward", "chooseAmount", "confirmation", "success"];
3362
3390
  function RewardExchangeView(props) {
3363
3391
  const { states, data, callbacks, refs } = props;
@@ -3380,7 +3408,7 @@ function RewardExchangeView(props) {
3380
3408
  sourceUnit: item.sourceUnit,
3381
3409
  })));
3382
3410
  }
3383
- return (index.h("sl-select", { style: { width: "auto" }, label: (_b = states === null || states === void 0 ? void 0 : states.content) === null || _b === void 0 ? void 0 : _b.text.selectText, class: sheet$b.classes.Select, value: states.selectedStep, "onSl-select": (e) => {
3411
+ return (index.h("sl-select", { style: { width: "auto" }, label: (_b = states === null || states === void 0 ? void 0 : states.content) === null || _b === void 0 ? void 0 : _b.text.selectText, class: sheet$8.classes.Select, value: states.selectedStep, "onSl-select": (e) => {
3384
3412
  var _a, _b, _c, _d, _e;
3385
3413
  return callbacks.setExchangeState({
3386
3414
  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,
@@ -3388,7 +3416,7 @@ function RewardExchangeView(props) {
3388
3416
  });
3389
3417
  } }, (_c = item.steps) === null || _c === void 0 ? void 0 : _c.map((step) => {
3390
3418
  var _a, _b;
3391
- return (index.h("sl-menu-item", { value: step, disabled: !step.available, class: sheet$b.classes.SelectItem },
3419
+ return (index.h("sl-menu-item", { value: step, disabled: !step.available, class: sheet$8.classes.SelectItem },
3392
3420
  step.prettyDestinationValue,
3393
3421
  index.h("br", null),
3394
3422
  index.h("div", { class: "step-cost", slot: "suffix" },
@@ -3407,8 +3435,8 @@ function RewardExchangeView(props) {
3407
3435
  var _a;
3408
3436
  return [
3409
3437
  index.h("div", { part: "choose-reward-container" },
3410
- index.h("div", { class: sheet$b.classes.Title }, states.content.text.rewardTitle),
3411
- states.loading || states.queryError ? (loading()) : (index.h("div", { class: sheet$b.classes.Grid }, (_a = data.exchangeList) === null || _a === void 0 ? void 0 : _a.map((item) => {
3438
+ index.h("div", { class: sheet$8.classes.Title }, states.content.text.rewardTitle),
3439
+ states.loading || states.queryError ? (loading()) : (index.h("div", { class: sheet$8.classes.Grid }, (_a = data.exchangeList) === null || _a === void 0 ? void 0 : _a.map((item) => {
3412
3440
  var _a, _b, _c, _d, _e;
3413
3441
  const style = {
3414
3442
  boxShadow: item.key === (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.key)
@@ -3417,7 +3445,7 @@ function RewardExchangeView(props) {
3417
3445
  borderRadius: "4px",
3418
3446
  };
3419
3447
  return (index.h("div", { key: item.key, style: style },
3420
- index.h("sl-card", { exportparts: "base: exchange-card-container", class: sheet$b.classes.Card, style: {
3448
+ index.h("sl-card", { exportparts: "base: exchange-card-container", class: sheet$8.classes.Card, style: {
3421
3449
  cursor: item.unavailableReasonCode
3422
3450
  ? "not-allowed"
3423
3451
  : "pointer",
@@ -3434,14 +3462,14 @@ function RewardExchangeView(props) {
3434
3462
  ? "rgba(0, 0, 0, 0.05)"
3435
3463
  : "rgba(0, 0, 0, 0)",
3436
3464
  } },
3437
- index.h("div", { class: sheet$b.classes.Image, style: {
3465
+ index.h("div", { class: sheet$8.classes.Image, style: {
3438
3466
  opacity: item.unavailableReasonCode ? "0.5" : "1",
3439
3467
  } },
3440
3468
  index.h("img", { class: item.unavailableReasonCode
3441
3469
  ? "image subdued"
3442
3470
  : "image", src: (item === null || item === void 0 ? void 0 : item.imageUrl) ||
3443
3471
  index.getAssetPath("./assets/Reward-image.png") })),
3444
- index.h("div", { class: sheet$b.classes.TextArea, style: {
3472
+ index.h("div", { class: sheet$8.classes.TextArea, style: {
3445
3473
  opacity: item.unavailableReasonCode ? "0.5" : "1",
3446
3474
  } },
3447
3475
  index.h("div", { class: "title", style: {
@@ -3474,7 +3502,7 @@ function RewardExchangeView(props) {
3474
3502
  item.prettySourceMinValue,
3475
3503
  }))))))));
3476
3504
  }))),
3477
- index.h("div", { class: sheet$b.classes.Button },
3505
+ index.h("div", { class: sheet$8.classes.Button },
3478
3506
  index.h("sl-button", { exportparts: "base: primarybutton-base", class: "continue right", size: "large", onClick: () => callbacks.setStage("chooseAmount"), loading: states.loading, disabled: !states.selectedItem }, states.content.text.continueText))),
3479
3507
  ];
3480
3508
  }
@@ -3485,7 +3513,7 @@ function RewardExchangeView(props) {
3485
3513
  ? false
3486
3514
  : input && !states.amount;
3487
3515
  return (index.h("div", null,
3488
- index.h("div", { class: sheet$b.classes.ChooseAmount, part: "choose-amount-container" },
3516
+ index.h("div", { class: sheet$8.classes.ChooseAmount, part: "choose-amount-container" },
3489
3517
  index.h("div", { class: "wrapper" },
3490
3518
  index.h("img", { class: "image", src: (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.imageUrl) ||
3491
3519
  index.getAssetPath("./assets/Reward-image.png") }),
@@ -3494,7 +3522,7 @@ function RewardExchangeView(props) {
3494
3522
  ((_c = states.selectedItem) === null || _c === void 0 ? void 0 : _c.ruleType) === "FIXED_GLOBAL_REWARD" ? (index.h("div", { class: "points" }, input)) : (index.h("div", { class: "description" }, selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.description)),
3495
3523
  ((_d = states.selectedItem) === null || _d === void 0 ? void 0 : _d.ruleType) === "FIXED_GLOBAL_REWARD" ? (index.h("div", { class: "description" }, selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.description)) : (index.h("div", null, input)),
3496
3524
  index.h("div", { class: "space" }))),
3497
- index.h("div", { class: sheet$b.classes.Button },
3525
+ index.h("div", { class: sheet$8.classes.Button },
3498
3526
  index.h("sl-button", { exportparts: "base: secondarybutton-base", class: "cancel", size: "large", type: "text", onClick: () => callbacks.resetState() }, states.content.text.cancelText),
3499
3527
  index.h("sl-button", { exportparts: "base: primarybutton-base", class: "continue", size: "large", onClick: () => callbacks.setStage("confirmation"), disabled: isDisabled }, states.content.text.continueToConfirmationText)))));
3500
3528
  }
@@ -3502,8 +3530,8 @@ function RewardExchangeView(props) {
3502
3530
  const cost = (selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettySourceValue) || selectedItem.prettySourceValue;
3503
3531
  const amount = selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettyDestinationValue;
3504
3532
  return (index.h("div", null,
3505
- index.h("div", { class: sheet$b.classes.Confirmation, part: "confirmation-container" },
3506
- index.h("div", { class: sheet$b.classes.Title }, states.content.text.redeemTitle),
3533
+ index.h("div", { class: sheet$8.classes.Confirmation, part: "confirmation-container" },
3534
+ index.h("div", { class: sheet$8.classes.Title }, states.content.text.redeemTitle),
3507
3535
  index.h("div", { class: "wrapper" },
3508
3536
  index.h("div", { class: "field" }, states.content.text.rewardNameTitle),
3509
3537
  index.h("div", { class: "reward-item-container" },
@@ -3518,13 +3546,13 @@ function RewardExchangeView(props) {
3518
3546
  index.h("div", { class: "wrapper top-border padding" },
3519
3547
  index.h("div", { class: "field" }, states.content.text.costTitle),
3520
3548
  index.h("div", { class: "value" }, cost)),
3521
- index.h("div", { class: sheet$b.classes.Button },
3549
+ index.h("div", { class: sheet$8.classes.Button },
3522
3550
  index.h("sl-button", { class: "cancel", type: "text", size: "large", onClick: () => callbacks.setStage("chooseAmount") }, states.content.text.backText),
3523
3551
  index.h("sl-button", { class: "continue", size: "large", loading: states.loading, onClick: callbacks.exchangeReward }, states.content.text.redeemText)))));
3524
3552
  }
3525
3553
  function success() {
3526
3554
  var _a, _b, _c, _d, _e, _f;
3527
- return (index.h("div", { class: sheet$b.classes.Success, part: "success-container" },
3555
+ return (index.h("div", { class: sheet$8.classes.Success, part: "success-container" },
3528
3556
  index.h(Gift$1, null),
3529
3557
  index.h(Confetti, null),
3530
3558
  index.h("div", { class: "title" }, (_a = states.content.text) === null || _a === void 0 ? void 0 : _a.rewardRedeemedText),
@@ -3539,7 +3567,7 @@ function RewardExchangeView(props) {
3539
3567
  (data === null || data === void 0 ? void 0 : data.fuelTankCode) && (index.h("div", { class: "promo" },
3540
3568
  states.content.text.promoCode,
3541
3569
  index.h(copyTextView.CopyTextView, { copyString: data.fuelTankCode, tooltiptext: (_f = states === null || states === void 0 ? void 0 : states.content) === null || _f === void 0 ? void 0 : _f.text.tooltipText, open: states.open, onClick: callbacks.copyFuelTankCode }))),
3542
- index.h("div", { class: sheet$b.classes.Button },
3570
+ index.h("div", { class: sheet$8.classes.Button },
3543
3571
  index.h("sl-button", { class: "continue center", type: "primary", size: "large", onClick: () => callbacks.resetState(true) }, states.content.text.doneText))));
3544
3572
  }
3545
3573
  const stages = {
@@ -3551,7 +3579,7 @@ function RewardExchangeView(props) {
3551
3579
  const currentStage = stages[states.redeemStage];
3552
3580
  function stageMap() {
3553
3581
  const stageNumber = stageList.indexOf(states.redeemStage);
3554
- return (index.h("div", { class: sheet$b.classes.ProgressBar },
3582
+ return (index.h("div", { class: sheet$8.classes.ProgressBar },
3555
3583
  index.h("div", { class: "text-area" }, Object.keys(stageProgressList).map((stage) => {
3556
3584
  if (stageList.indexOf(stage) <= stageNumber) {
3557
3585
  return index.h("span", { class: "text" }, stageProgressList[stage]);
@@ -3563,10 +3591,10 @@ function RewardExchangeView(props) {
3563
3591
  index.h(ProgressBar, { stageCount: 3, currentStage: stageNumber })));
3564
3592
  }
3565
3593
  function loading() {
3566
- return (index.h("div", { class: sheet$b.classes.Grid, part: "loading-container" }, [...Array(states.content.text.skeletonCardNum)].map(() => {
3594
+ return (index.h("div", { class: sheet$8.classes.Grid, part: "loading-container" }, [...Array(states.content.text.skeletonCardNum)].map(() => {
3567
3595
  return (index.h("div", null,
3568
- index.h("sl-card", { class: sheet$b.classes.Card },
3569
- index.h("div", { class: sheet$b.classes.CardLayout },
3596
+ index.h("sl-card", { class: sheet$8.classes.Card },
3597
+ index.h("div", { class: sheet$8.classes.CardLayout },
3570
3598
  index.h("div", null,
3571
3599
  index.h("sl-skeleton", { style: {
3572
3600
  width: "100px",
@@ -3598,12 +3626,12 @@ function RewardExchangeView(props) {
3598
3626
  if (!(refs === null || refs === void 0 ? void 0 : refs.canvasRef))
3599
3627
  return;
3600
3628
  refs.canvasRef.current = canvas;
3601
- }, id: "my-canvas", class: sheet$b.classes.Confetti }));
3629
+ }, id: "my-canvas", class: sheet$8.classes.Confetti }));
3602
3630
  }
3603
3631
  if (states.noExchangeOptions)
3604
3632
  return states.content.text.empty;
3605
- return (index.h("div", { class: sheet$b.classes.Container, part: "sqm-base" },
3606
- index.h("style", { type: "text/css" }, styleString$b),
3633
+ return (index.h("div", { class: sheet$8.classes.Container, part: "sqm-base" },
3634
+ index.h("style", { type: "text/css" }, styleString$8),
3607
3635
  index.h("div", null,
3608
3636
  stageMap(),
3609
3637
  states.exchangeError && errorMessage(),
@@ -4019,29 +4047,29 @@ function CardFeedView(props, children) {
4019
4047
  index.h("div", { class: sheet.classes.Container, part: "sqm-base" }, children)));
4020
4048
  }
4021
4049
 
4022
- const style$c = {
4023
- HostBlock: mixins.HostBlock,
4024
- couponCodeLabel: {
4025
- margin: "var(--sl-spacing-x-small) 0",
4026
- color: "var(--sl-color-gray-500)",
4027
- fontSize: "var(--sl-font-size-small)",
4028
- },
4029
- };
4030
- const vanillaStyle$7 = `
4050
+ function CouponCodeView(props) {
4051
+ const error = !props.loading && props.error;
4052
+ const style = {
4053
+ HostBlock: mixins.HostBlock,
4054
+ couponCodeLabel: {
4055
+ margin: "var(--sl-spacing-x-small) 0",
4056
+ color: props.textColor || "var(--sqm-text-subdued)",
4057
+ fontSize: "var(--sl-font-size-small)",
4058
+ },
4059
+ };
4060
+ const vanillaStyle = `
4031
4061
  :host{
4032
4062
  display: block;
4033
4063
  width: 100%;
4034
4064
  }
4035
4065
  `;
4036
- const sheet$c = JSS.createStyleSheet(style$c);
4037
- const styleString$c = sheet$c.toString();
4038
- function CouponCodeView(props) {
4039
- const error = !props.loading && props.error;
4066
+ const sheet = JSS.createStyleSheet(style);
4067
+ const styleString = sheet.toString();
4040
4068
  return (index.h("div", null,
4041
4069
  index.h("style", { type: "text/css" },
4042
- styleString$c,
4043
- vanillaStyle$7),
4044
- index.h("p", { class: sheet$c.classes.couponCodeLabel, style: { textAlign: props.textAlign } }, props.couponCodeLabel),
4070
+ styleString,
4071
+ vanillaStyle),
4072
+ index.h("p", { class: sheet.classes.couponCodeLabel, style: { textAlign: props.textAlign } }, props.couponCodeLabel),
4045
4073
  error ? (index.h("sqm-form-message", { type: props.errorType, exportparts: "erroralert-icon" },
4046
4074
  index.h("div", { part: "erroralert-text" }, props.errorText))) : (index.h(copyTextView.CopyTextView, Object.assign({}, props)))));
4047
4075
  }