@saasquatch/mint-components 1.15.0-99 → 1.15.1-0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1016) hide show
  1. package/dist/cjs/ErrorView-b2fcf954.js +35 -0
  2. package/dist/cjs/{GenericTableView-a9845e80.js → GenericTableView-a9f4ba75.js} +8 -8
  3. package/dist/cjs/{ShadowViewAddon-c06b2910.js → ShadowViewAddon-28865623.js} +1531 -1495
  4. package/dist/cjs/copy-text-view-c85acaaa.js +96 -0
  5. package/dist/cjs/{email-registration-view-ace50780.js → email-registration-view-55b378dc.js} +3 -5
  6. package/dist/cjs/{global-4cd8623e.js → global-e31dc4f5.js} +10494 -10772
  7. package/dist/cjs/{index-a43a63b4.js → index-a29c60ef.js} +0 -4
  8. package/dist/cjs/{index.module-4f54e412.js → index.module-ee84433d.js} +191 -191
  9. package/dist/cjs/loader.cjs.js +5 -5
  10. package/dist/cjs/{luxon-949beaf2.js → luxon-2926d85f.js} +2 -2
  11. package/dist/cjs/mint-components.cjs.js +5 -5
  12. package/dist/cjs/{mixins-4761d472.js → mixins-f7e0377a.js} +6 -6
  13. package/dist/cjs/{mockRewardData-df37c8a3.js → mockRewardData-7815f10f.js} +1 -1
  14. package/dist/cjs/raisins-plop-target.cjs.entry.js +1 -1
  15. package/dist/cjs/{re-render-d516138a.js → re-render-b324deab.js} +4 -4
  16. package/dist/cjs/sqm-asset-card-view-21ddf04f.js +51 -0
  17. package/dist/cjs/sqm-asset-card.cjs.entry.js +45 -0
  18. package/dist/cjs/{sqm-banking-info-form_10.cjs.entry.js → sqm-banking-info-form_17.cjs.entry.js} +2619 -729
  19. package/dist/cjs/{sqm-base-registration-form-view-8847804c.js → sqm-base-registration-form-view-8a2c8763.js} +3 -3
  20. package/dist/cjs/sqm-big-stat_43.cjs.entry.js +834 -1274
  21. package/dist/cjs/{sqm-close-button-view-5e85ac51.js → sqm-close-button-view-ea3fa23b.js} +2 -2
  22. package/dist/cjs/sqm-close-button.cjs.entry.js +6 -6
  23. package/dist/cjs/sqm-context-router.cjs.entry.js +11 -11
  24. package/dist/cjs/sqm-email-verification.cjs.entry.js +28 -152
  25. package/dist/cjs/sqm-empty_4.cjs.entry.js +63 -58
  26. package/dist/cjs/sqm-form-message.cjs.entry.js +8 -8
  27. package/dist/cjs/sqm-google-sign-in.cjs.entry.js +14 -14
  28. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +6 -6
  29. package/dist/cjs/sqm-header-logo.cjs.entry.js +3 -3
  30. package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +9 -9
  31. package/dist/cjs/sqm-invoice-table-view-5c74607f.js +2074 -0
  32. package/dist/cjs/sqm-lead-checkbox-field-view-34d94919.js +83 -0
  33. package/dist/cjs/sqm-lead-checkbox-field.cjs.entry.js +81 -0
  34. package/dist/cjs/sqm-lead-input-field-view-89308aab.js +51 -0
  35. package/dist/cjs/sqm-lead-input-field.cjs.entry.js +88 -0
  36. package/dist/cjs/sqm-leaderboard-rank-view-d39a55d8.js +10 -0
  37. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +7 -7
  38. package/dist/cjs/{sqm-logout-current-user-view-b61c8bdf.js → sqm-logout-current-user-view-11d57c12.js} +1 -1
  39. package/dist/cjs/sqm-logout-current-user.cjs.entry.js +6 -6
  40. package/dist/cjs/sqm-navigation-sidebar-item-view-6f35d2ee.js +45 -0
  41. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +8 -31
  42. package/dist/cjs/{sqm-navigation-sidebar-view-de90ef03.js → sqm-navigation-sidebar-view-17111896.js} +8 -18
  43. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +9 -25
  44. package/dist/cjs/sqm-pagination_3.cjs.entry.js +70 -97
  45. package/dist/cjs/sqm-password-field.cjs.entry.js +11 -11
  46. package/dist/cjs/sqm-popup-container.cjs.entry.js +5 -5
  47. package/dist/cjs/{sqm-portal-container-view-07e4343f.js → sqm-portal-container-view-4f15143a.js} +2 -2
  48. package/dist/cjs/{sqm-portal-email-verification-view-5a22b152.js → sqm-portal-email-verification-view-7ebb426a.js} +4 -4
  49. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +15 -15
  50. package/dist/cjs/{sqm-portal-forgot-password-view-0a8d3243.js → sqm-portal-forgot-password-view-78f19ef9.js} +16 -24
  51. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +10 -39
  52. package/dist/cjs/sqm-portal-google-login.cjs.entry.js +9 -9
  53. package/dist/cjs/sqm-portal-google-registration-form.cjs.entry.js +13 -13
  54. package/dist/cjs/{sqm-portal-login-view-bb50304c.js → sqm-portal-login-view-761a4d8e.js} +4 -4
  55. package/dist/cjs/sqm-portal-logout.cjs.entry.js +4 -4
  56. package/dist/cjs/{sqm-portal-profile-view-4dbfeaeb.js → sqm-portal-profile-view-33164798.js} +4 -4
  57. package/dist/cjs/sqm-portal-profile.cjs.entry.js +15 -15
  58. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +5 -5
  59. package/dist/cjs/{sqm-portal-registration-form-view-5a96c2f5.js → sqm-portal-registration-form-view-637a4bf4.js} +3 -3
  60. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +9 -9
  61. package/dist/cjs/{sqm-portal-reset-password-view-25eb2099.js → sqm-portal-reset-password-view-fe602822.js} +3 -3
  62. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +11 -11
  63. package/dist/cjs/{sqm-portal-verify-email-view-1c4e781f.js → sqm-portal-verify-email-view-7b678f34.js} +3 -3
  64. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +12 -12
  65. package/dist/cjs/{sqm-qr-code-view-0c3b2f48.js → sqm-qr-code-view-15dfc0b6.js} +10 -10
  66. package/dist/cjs/sqm-qr-code.cjs.entry.js +14 -25
  67. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +49 -134
  68. package/dist/cjs/sqm-referred-registration.cjs.entry.js +178 -0
  69. package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +4 -4
  70. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +5 -5
  71. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +40 -87
  72. package/dist/cjs/sqm-route.cjs.entry.js +1 -1
  73. package/dist/cjs/sqm-scroll.cjs.entry.js +3 -3
  74. package/dist/cjs/sqm-stencilbook.cjs.entry.js +14117 -15117
  75. package/dist/cjs/sqm-tab.cjs.entry.js +5 -5
  76. package/dist/cjs/sqm-tabs.cjs.entry.js +13 -27
  77. package/dist/cjs/sqm-text-span-view-0aa82125.js +62 -0
  78. package/dist/cjs/sqm-text-span.cjs.entry.js +7 -7
  79. package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +11 -19
  80. package/dist/cjs/sqm-widget-verification.cjs.entry.js +13 -25
  81. package/dist/cjs/{dom-context-hooks.module-7fa676ae.js → stencil-hooks.module-3a336b0f.js} +18 -18
  82. package/dist/cjs/{useChildElements-966c9041.js → useChildElements-1b35d945.js} +5 -5
  83. package/dist/cjs/{useInstantAccessRegistration-08bcb487.js → useInstantAccessRegistration-0537e28e.js} +4 -4
  84. package/dist/cjs/useLeadFormState-c83d2034.js +72 -0
  85. package/dist/cjs/{usePayoutStatus-3b34dab1.js → usePayoutStatus-d459ddde.js} +38 -14
  86. package/dist/cjs/{usePortalLogin-6aa864ef.js → usePortalLogin-63d896d1.js} +4 -4
  87. package/dist/cjs/{usePortalRegistrationForm-75b647fe.js → usePortalRegistrationForm-f25d89e7.js} +6 -6
  88. package/dist/cjs/{useReferralCodes-11cdf43b.js → useReferralCodes-82e8797b.js} +3 -3
  89. package/dist/cjs/{useReferralTable-90d4d6e9.js → useReferralTable-7c3f9600.js} +10 -10
  90. package/dist/cjs/{useRegistrationFormState-bbee6e7b.js → useRegistrationFormState-7b820f0c.js} +6 -6
  91. package/dist/cjs/{useVerificationEmail-9dd3997a.js → useVerificationEmail-95a82767.js} +6 -6
  92. package/dist/cjs/{utilities-9a0c5e91.js → utilities-78f5e169.js} +4 -4
  93. package/dist/cjs/{utils-7cbd60cc.js → utils-6847bc06.js} +0 -5
  94. package/dist/collection/collection-manifest.json +5 -1
  95. package/dist/collection/components/sqm-asset-card/AssetCard.stories.js +29 -0
  96. package/dist/collection/components/sqm-asset-card/sqm-asset-card-view.js +46 -0
  97. package/dist/collection/components/sqm-asset-card/sqm-asset-card.js +107 -0
  98. package/dist/collection/components/sqm-asset-card/useAssetCard.js +9 -0
  99. package/dist/collection/components/sqm-big-stat/BigStat.stories.js +0 -13
  100. package/dist/collection/components/sqm-big-stat/sqm-big-stat-view.js +8 -15
  101. package/dist/collection/components/sqm-big-stat/sqm-big-stat.js +4 -171
  102. package/dist/collection/components/sqm-big-stat/useBigStat.js +8 -127
  103. package/dist/collection/components/sqm-big-stat/useDemoBigStat.js +5 -14
  104. package/dist/collection/components/sqm-brand/sqm-brand.js +4 -12
  105. package/dist/collection/components/sqm-card-feed/sqm-card-feed.js +0 -2
  106. package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field-view.js +11 -4
  107. package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +0 -1
  108. package/dist/collection/components/sqm-coupon-code/CouponCode.stories.js +0 -4
  109. package/dist/collection/components/sqm-coupon-code/sqm-coupon-code-view.js +13 -13
  110. package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +48 -145
  111. package/dist/collection/components/sqm-coupon-code/useCouponCode.js +65 -3
  112. package/dist/collection/components/sqm-divided-layout/sqm-divided-layout-view.js +6 -14
  113. package/dist/collection/components/sqm-divided-layout/sqm-divided-layout.js +3 -62
  114. package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field-view.js +1 -1
  115. package/dist/collection/components/sqm-edit-profile/sqm-edit-profile-view.js +1 -1
  116. package/dist/collection/components/sqm-empty/sqm-empty-view.js +1 -1
  117. package/dist/collection/components/sqm-form-message/FormMessage.stories.js +16 -8
  118. package/dist/collection/components/sqm-form-message/sqm-form-message.css +11 -50
  119. package/dist/collection/components/sqm-form-message/sqm-form-message.js +4 -4
  120. package/dist/collection/components/sqm-header-logo/sqm-header-logo.js +0 -1
  121. package/dist/collection/components/sqm-hero/Hero.stories.js +0 -11
  122. package/dist/collection/components/sqm-hero/sqm-hero-view.js +6 -13
  123. package/dist/collection/components/sqm-hero/sqm-hero.js +4 -30
  124. package/dist/collection/components/sqm-hero-image/sqm-hero-image-view.js +4 -4
  125. package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +0 -80
  126. package/dist/collection/components/sqm-image/sqm-image.js +0 -1
  127. package/dist/collection/components/sqm-instant-access-registration/sqm-instant-access-registration.js +3 -4
  128. package/dist/collection/components/sqm-invoice-table/cells/sqm-invoice-table-download-cell.js +2 -2
  129. package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-data-column.js +1 -2
  130. package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-date-column.js +1 -2
  131. package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-download-column.js +1 -2
  132. package/dist/collection/components/sqm-invoice-table/sqm-invoice-table-view.js +1 -1
  133. package/dist/collection/components/sqm-invoice-table/sqm-invoice-table.js +3 -6
  134. package/dist/collection/components/sqm-lead-form/LeadCheckboxField.stories.js +44 -0
  135. package/dist/collection/components/sqm-lead-form/LeadForm.stories.js +93 -0
  136. package/dist/collection/components/sqm-lead-form/LeadFormDropdownField.stories.js +62 -0
  137. package/dist/collection/components/sqm-lead-form/LeadInputField.stories.js +49 -0
  138. package/dist/collection/components/sqm-lead-form/sqm-lead-checkbox-field-view.js +79 -0
  139. package/dist/collection/components/sqm-lead-form/sqm-lead-checkbox-field.js +234 -0
  140. package/dist/collection/components/sqm-lead-form/sqm-lead-dropdown-field-view.js +65 -0
  141. package/dist/collection/components/sqm-lead-form/sqm-lead-dropdown-field.js +251 -0
  142. package/dist/collection/components/sqm-lead-form/sqm-lead-form-view.js +123 -0
  143. package/dist/collection/components/sqm-lead-form/sqm-lead-form.js +495 -0
  144. package/dist/collection/components/sqm-lead-form/sqm-lead-input-field-view.js +47 -0
  145. package/dist/collection/components/sqm-lead-form/sqm-lead-input-field.js +251 -0
  146. package/dist/collection/components/sqm-lead-form/useCheckboxField.js +10 -0
  147. package/dist/collection/components/sqm-lead-form/useLeadDropdownField.js +10 -0
  148. package/dist/collection/components/sqm-lead-form/useLeadForm.js +155 -0
  149. package/dist/collection/components/sqm-lead-form/useLeadFormState.js +10 -0
  150. package/dist/collection/components/sqm-lead-form/useLeadInputField.js +10 -0
  151. package/dist/collection/components/sqm-leaderboard/Leaderboard.stories.js +0 -37
  152. package/dist/collection/components/sqm-leaderboard/sqm-leaderboard-view.js +54 -60
  153. package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +36 -202
  154. package/dist/collection/components/sqm-leaderboard-rank/sqm-leaderboard-rank-view.js +2 -2
  155. package/dist/collection/components/sqm-leaderboard-rank/sqm-leaderboard-rank.css +2 -2
  156. package/dist/collection/components/sqm-link-button/sqm-link-button.js +0 -1
  157. package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user.js +1 -2
  158. package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +3 -28
  159. package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +1 -2
  160. package/dist/collection/components/sqm-navigation-menu/sqm-navigation-menu.js +0 -1
  161. package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.js +7 -17
  162. package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar.js +5 -85
  163. package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item-view.js +7 -18
  164. package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.js +1 -233
  165. package/dist/collection/components/sqm-navigation-sidebar-item/useNavigationSidebarItem.js +1 -9
  166. package/dist/collection/components/sqm-pagination/sqm-pagination-view.js +3 -3
  167. package/dist/collection/components/sqm-pagination/sqm-pagination.js +2 -43
  168. package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll-view.js +1 -1
  169. package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password-view.js +4 -8
  170. package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password.js +1 -2
  171. package/dist/collection/components/sqm-portal-container/sqm-portal-container-view.js +1 -1
  172. package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +8 -1
  173. package/dist/collection/components/sqm-portal-footer/sqm-portal-footer-view.js +6 -6
  174. package/dist/collection/components/sqm-portal-footer/sqm-portal-footer.js +0 -1
  175. package/dist/collection/components/sqm-portal-forgot-password/PortalForgotPassword.stories.js +4 -4
  176. package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.js +13 -21
  177. package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +3 -103
  178. package/dist/collection/components/sqm-portal-frame/sqm-portal-frame-view.js +36 -41
  179. package/dist/collection/components/sqm-portal-frame/sqm-portal-frame.js +2 -102
  180. package/dist/collection/components/sqm-portal-frame/usePortalFrame.js +1 -4
  181. package/dist/collection/components/sqm-portal-login/PortalLogin.stories.js +5 -10
  182. package/dist/collection/components/sqm-portal-login/sqm-portal-login-view.js +1 -1
  183. package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +1 -2
  184. package/dist/collection/components/sqm-portal-logout/sqm-portal-logout.js +0 -1
  185. package/dist/collection/components/sqm-portal-profile/sqm-portal-profile-view.js +1 -1
  186. package/dist/collection/components/sqm-portal-profile/sqm-portal-profile.js +0 -1
  187. package/dist/collection/components/sqm-portal-protected-route/sqm-portal-protected-route.js +0 -1
  188. package/dist/collection/components/sqm-portal-register/sqm-portal-register.js +3 -1
  189. package/dist/collection/components/sqm-portal-registration-form/PortalRegistrationForm.stories.js +0 -1
  190. package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form.js +1 -0
  191. package/dist/collection/components/sqm-program-explainer/sqm-program-explainer-view.js +1 -1
  192. package/dist/collection/components/sqm-program-explainer/sqm-program-explainer.js +0 -2
  193. package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step-view.js +4 -12
  194. package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step.js +2 -77
  195. package/dist/collection/components/sqm-program-menu/sqm-program-menu.js +0 -1
  196. package/dist/collection/components/sqm-qr-code/sqm-qr-code-view.js +7 -2
  197. package/dist/collection/components/sqm-qr-code/sqm-qr-code.js +0 -1
  198. package/dist/collection/components/sqm-qr-code/useQRCode.js +1 -13
  199. package/dist/collection/components/sqm-radio-card/sqm-radio-card-view.js +2 -2
  200. package/dist/collection/components/sqm-referral-card/sqm-referral-card-view.js +31 -34
  201. package/dist/collection/components/sqm-referral-card/sqm-referral-card.js +10 -81
  202. package/dist/collection/components/sqm-referral-code/ReferralCode.stories.js +0 -3
  203. package/dist/collection/components/sqm-referral-code/sqm-referral-code.js +1 -170
  204. package/dist/collection/components/sqm-referral-codes/ReferralCodes.stories.js +0 -6
  205. package/dist/collection/components/sqm-referral-codes/sqm-referral-codes-view.js +46 -46
  206. package/dist/collection/components/sqm-referral-codes/sqm-referral-codes.js +1 -29
  207. package/dist/collection/components/sqm-referral-table/ReferralTable.stories.js +2 -2
  208. package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +22 -55
  209. package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-status-cell.js +7 -62
  210. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-column.js +1 -2
  211. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-date-column.js +2 -4
  212. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.js +6 -9
  213. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-status-column.js +3 -6
  214. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-user-column.js +2 -4
  215. package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +2 -5
  216. package/dist/collection/components/sqm-referred-registration/sqm-referred-registration.js +10 -3
  217. package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeList.stories.js +19 -19
  218. package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeListData.js +5 -31
  219. package/dist/collection/components/sqm-reward-exchange-list/progressBar.js +10 -10
  220. package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +42 -39
  221. package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list.js +7 -50
  222. package/dist/collection/components/sqm-rewards-table/RewardsTableCell.stories.js +1 -1
  223. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-reward-cell.js +5 -6
  224. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-source-cell.js +4 -5
  225. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.js +9 -58
  226. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.js +2 -3
  227. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-note-column.js +2 -3
  228. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.js +2 -3
  229. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.js +2 -3
  230. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.js +9 -11
  231. package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +3 -5
  232. package/dist/collection/components/sqm-rewards-table/useRewardsTable.js +1 -1
  233. package/dist/collection/components/sqm-route/sqm-route.js +0 -1
  234. package/dist/collection/components/sqm-router/sqm-router.js +0 -2
  235. package/dist/collection/components/sqm-scroll/sqm-scroll.js +0 -1
  236. package/dist/collection/components/sqm-share-button/ShareButton.stories.js +1 -3
  237. package/dist/collection/components/sqm-share-button/sqm-share-button-view.js +22 -23
  238. package/dist/collection/components/sqm-share-button/sqm-share-button.js +10 -57
  239. package/dist/collection/components/sqm-share-code/sqm-share-code.js +1 -170
  240. package/dist/collection/components/sqm-share-link/ShareLink.stories.js +1 -13
  241. package/dist/collection/components/sqm-share-link/sqm-share-link.js +3 -172
  242. package/dist/collection/components/sqm-stat-container/sqm-stat-container-view.js +9 -21
  243. package/dist/collection/components/sqm-stat-container/sqm-stat-container.js +2 -112
  244. package/dist/collection/components/sqm-stencilbook/Themes.js +33 -325
  245. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +107 -81
  246. package/dist/collection/components/sqm-table-row/sqm-table-row.js +2 -2
  247. package/dist/collection/components/sqm-tabs/Tabs.stories.js +0 -7
  248. package/dist/collection/components/sqm-tabs/sqm-tabs-view.js +2 -16
  249. package/dist/collection/components/sqm-tabs/sqm-tabs.js +2 -30
  250. package/dist/collection/components/sqm-task-card/DetailsView.js +2 -8
  251. package/dist/collection/components/sqm-task-card/progress-bar/progress-bar-view.js +2 -3
  252. package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +157 -139
  253. package/dist/collection/components/sqm-task-card/sqm-task-card.js +4 -147
  254. package/dist/collection/components/sqm-task-card/useTaskCard.js +0 -10
  255. package/dist/collection/components/sqm-text/sqm-text.js +48 -101
  256. package/dist/collection/components/sqm-text-span/sqm-text-span-view.js +43 -44
  257. package/dist/collection/components/sqm-text-span/sqm-text-span.js +2 -52
  258. package/dist/collection/components/sqm-timeline/Timeline.stories.js +1 -8
  259. package/dist/collection/components/sqm-timeline/sqm-timeline-entry-view.js +45 -45
  260. package/dist/collection/components/sqm-timeline/sqm-timeline-entry.js +0 -52
  261. package/dist/collection/components/sqm-timeline/sqm-timeline.js +1 -3
  262. package/dist/collection/components/sqm-titled-section/sqm-titled-section.js +0 -2
  263. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.js +2 -12
  264. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.js +2 -2
  265. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +14 -138
  266. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-controller.js +7 -39
  267. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +8 -45
  268. package/dist/collection/components/tax-and-cash/TaxForm.stories.js +26 -13
  269. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +69 -19
  270. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +2 -2
  271. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +5 -1
  272. package/dist/collection/components/tax-and-cash/sqm-docusign-form/docusign-iframe/DocusignIframe.js +4 -4
  273. package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.js +76 -21
  274. package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.js +5 -5
  275. package/dist/collection/components/tax-and-cash/sqm-docusign-form/useDocusignForm.js +2 -2
  276. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +71 -54
  277. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.js +2 -2
  278. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.js +6 -2
  279. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.js +27 -24
  280. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.js +1 -26
  281. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/usePayoutDetailsCard.js +2 -2
  282. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.js +1 -0
  283. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +100 -19
  284. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +154 -5
  285. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +33 -9
  286. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/ErrorView.js +27 -3
  287. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +281 -63
  288. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.js +8 -3
  289. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +159 -109
  290. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +213 -110
  291. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js +25 -12
  292. package/dist/collection/components/tax-and-cash/sqm-user-info-form/small-views/DocusignExpiredView.js +1 -1
  293. package/dist/collection/components/tax-and-cash/sqm-user-info-form/small-views/IndirectTaxDetailsView.js +2 -2
  294. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +54 -167
  295. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +10 -10
  296. package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +7 -3
  297. package/dist/collection/components/views/copy-text-view.js +38 -69
  298. package/dist/collection/components/views/email-registration-view.js +1 -3
  299. package/dist/collection/global/global.js +12 -27
  300. package/dist/collection/global/mixins.js +8 -8
  301. package/dist/collection/global/styles.js +99 -330
  302. package/dist/collection/global/styles.ts +100 -419
  303. package/dist/collection/stories/PortalTemplates.stories.js +30 -22
  304. package/dist/collection/tables/GenericTableView.js +6 -6
  305. package/dist/collection/utils/utils.js +0 -4
  306. package/dist/esm/ErrorView-48e2b969.js +33 -0
  307. package/dist/esm/{GenericTableView-e43d310f.js → GenericTableView-7b9087af.js} +8 -8
  308. package/dist/esm/{ShadowViewAddon-cf7c03a0.js → ShadowViewAddon-f2176779.js} +1525 -1492
  309. package/dist/esm/copy-text-view-782137ba.js +94 -0
  310. package/dist/esm/{email-registration-view-1f587f8b.js → email-registration-view-a7818cf2.js} +3 -5
  311. package/dist/esm/{global-f97ae778.js → global-be1f9992.js} +8276 -8553
  312. package/dist/esm/{index-b3a06de8.js → index-91e7729f.js} +0 -4
  313. package/dist/esm/{index.module-38dad6c9.js → index.module-89a79f66.js} +153 -153
  314. package/dist/esm/loader.js +5 -5
  315. package/dist/esm/{luxon-bbf75a9d.js → luxon-8d51c92b.js} +1 -1
  316. package/dist/esm/mint-components.js +5 -5
  317. package/dist/esm/{mixins-f750863a.js → mixins-83f90fa1.js} +6 -6
  318. package/dist/esm/{mockRewardData-96a2d26d.js → mockRewardData-a3cdb832.js} +1 -1
  319. package/dist/esm/raisins-plop-target.entry.js +1 -1
  320. package/dist/esm/{re-render-9c90767d.js → re-render-cc945f38.js} +2 -2
  321. package/dist/esm/sqm-asset-card-view-fe5db3c0.js +49 -0
  322. package/dist/esm/sqm-asset-card.entry.js +41 -0
  323. package/dist/esm/{sqm-banking-info-form_10.entry.js → sqm-banking-info-form_17.entry.js} +2459 -576
  324. package/dist/esm/{sqm-base-registration-form-view-193f1721.js → sqm-base-registration-form-view-593d4ac3.js} +3 -3
  325. package/dist/esm/sqm-big-stat_43.entry.js +742 -1182
  326. package/dist/esm/{sqm-close-button-view-2fa57229.js → sqm-close-button-view-f9819751.js} +2 -2
  327. package/dist/esm/sqm-close-button.entry.js +5 -5
  328. package/dist/esm/sqm-context-router.entry.js +4 -4
  329. package/dist/esm/sqm-email-verification.entry.js +21 -145
  330. package/dist/esm/sqm-empty_4.entry.js +60 -55
  331. package/dist/esm/sqm-form-message.entry.js +7 -7
  332. package/dist/esm/sqm-google-sign-in.entry.js +3 -3
  333. package/dist/esm/sqm-graphql-client-provider.entry.js +3 -3
  334. package/dist/esm/sqm-header-logo.entry.js +2 -2
  335. package/dist/esm/sqm-instant-access-registration.entry.js +8 -8
  336. package/dist/esm/sqm-invoice-table-view-3491dd80.js +2058 -0
  337. package/dist/esm/sqm-lead-checkbox-field-view-a8c1c78e.js +81 -0
  338. package/dist/esm/sqm-lead-checkbox-field.entry.js +77 -0
  339. package/dist/esm/sqm-lead-input-field-view-4ede5d7f.js +49 -0
  340. package/dist/esm/sqm-lead-input-field.entry.js +84 -0
  341. package/dist/esm/sqm-leaderboard-rank-view-753c8d4a.js +8 -0
  342. package/dist/esm/sqm-leaderboard-rank.entry.js +6 -6
  343. package/dist/esm/{sqm-logout-current-user-view-f21e54e3.js → sqm-logout-current-user-view-8ef8180f.js} +1 -1
  344. package/dist/esm/sqm-logout-current-user.entry.js +5 -5
  345. package/dist/esm/sqm-navigation-sidebar-item-view-8f1c72bc.js +43 -0
  346. package/dist/esm/sqm-navigation-sidebar-item.entry.js +7 -30
  347. package/dist/esm/{sqm-navigation-sidebar-view-0a2ec560.js → sqm-navigation-sidebar-view-9d802b78.js} +8 -18
  348. package/dist/esm/sqm-navigation-sidebar.entry.js +6 -22
  349. package/dist/esm/sqm-pagination_3.entry.js +64 -91
  350. package/dist/esm/sqm-password-field.entry.js +6 -6
  351. package/dist/esm/sqm-popup-container.entry.js +4 -4
  352. package/dist/esm/{sqm-portal-container-view-176e92e3.js → sqm-portal-container-view-1683ae32.js} +2 -2
  353. package/dist/esm/{sqm-portal-email-verification-view-98fc3374.js → sqm-portal-email-verification-view-35b4353b.js} +4 -4
  354. package/dist/esm/sqm-portal-email-verification.entry.js +7 -7
  355. package/dist/esm/{sqm-portal-forgot-password-view-0e795cdd.js → sqm-portal-forgot-password-view-3d3182f1.js} +16 -24
  356. package/dist/esm/sqm-portal-forgot-password.entry.js +7 -36
  357. package/dist/esm/sqm-portal-google-login.entry.js +8 -8
  358. package/dist/esm/sqm-portal-google-registration-form.entry.js +9 -9
  359. package/dist/esm/{sqm-portal-login-view-7670cd86.js → sqm-portal-login-view-7e49609a.js} +4 -4
  360. package/dist/esm/sqm-portal-logout.entry.js +3 -3
  361. package/dist/esm/{sqm-portal-profile-view-25b3250a.js → sqm-portal-profile-view-93003974.js} +4 -4
  362. package/dist/esm/sqm-portal-profile.entry.js +8 -8
  363. package/dist/esm/sqm-portal-protected-route.entry.js +3 -3
  364. package/dist/esm/{sqm-portal-registration-form-view-8bdc3804.js → sqm-portal-registration-form-view-3c1f6000.js} +3 -3
  365. package/dist/esm/sqm-portal-registration-form.entry.js +8 -8
  366. package/dist/esm/{sqm-portal-reset-password-view-abef7286.js → sqm-portal-reset-password-view-54a8651f.js} +3 -3
  367. package/dist/esm/sqm-portal-reset-password.entry.js +7 -7
  368. package/dist/esm/{sqm-portal-verify-email-view-33805220.js → sqm-portal-verify-email-view-b12cb894.js} +3 -3
  369. package/dist/esm/sqm-portal-verify-email.entry.js +7 -7
  370. package/dist/esm/{sqm-qr-code-view-97124a66.js → sqm-qr-code-view-f1d0763b.js} +9 -9
  371. package/dist/esm/sqm-qr-code.entry.js +8 -19
  372. package/dist/esm/sqm-referral-table_11.entry.js +38 -123
  373. package/dist/esm/sqm-referred-registration.entry.js +174 -0
  374. package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +3 -3
  375. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +4 -4
  376. package/dist/esm/sqm-rewards-table_9.entry.js +28 -75
  377. package/dist/esm/sqm-route.entry.js +1 -1
  378. package/dist/esm/sqm-scroll.entry.js +2 -2
  379. package/dist/esm/sqm-stencilbook.entry.js +14111 -15111
  380. package/dist/esm/sqm-tab.entry.js +4 -4
  381. package/dist/esm/sqm-tabs.entry.js +10 -24
  382. package/dist/esm/sqm-text-span-view-ca32495e.js +60 -0
  383. package/dist/esm/sqm-text-span.entry.js +6 -6
  384. package/dist/esm/sqm-widget-verification-controller.entry.js +6 -14
  385. package/dist/esm/sqm-widget-verification.entry.js +10 -22
  386. package/dist/esm/{dom-context-hooks.module-63370afd.js → stencil-hooks.module-4bc38af4.js} +13 -13
  387. package/dist/esm/{useChildElements-4e70ac0e.js → useChildElements-7945ae56.js} +2 -2
  388. package/dist/esm/{useInstantAccessRegistration-0f04459e.js → useInstantAccessRegistration-dc4ad9f2.js} +3 -3
  389. package/dist/esm/useLeadFormState-9016d812.js +68 -0
  390. package/dist/esm/{usePayoutStatus-7eeec61b.js → usePayoutStatus-4a7625b9.js} +35 -11
  391. package/dist/esm/{usePortalLogin-d0720c81.js → usePortalLogin-ef647a50.js} +3 -3
  392. package/dist/esm/{usePortalRegistrationForm-afc0171e.js → usePortalRegistrationForm-4b35a357.js} +3 -3
  393. package/dist/esm/{useReferralCodes-311e6d72.js → useReferralCodes-8f75921a.js} +2 -2
  394. package/dist/esm/{useReferralTable-65a01a6a.js → useReferralTable-b3876ed6.js} +5 -5
  395. package/dist/esm/{useRegistrationFormState-18c2cea7.js → useRegistrationFormState-d6f33135.js} +2 -2
  396. package/dist/esm/{useVerificationEmail-f9413de9.js → useVerificationEmail-edc318cb.js} +2 -2
  397. package/dist/esm/{utilities-ad9c2893.js → utilities-5b0ca040.js} +2 -2
  398. package/dist/esm/{utils-03188de2.js → utils-334c1e34.js} +1 -5
  399. package/dist/esm-es5/ErrorView-48e2b969.js +1 -0
  400. package/dist/esm-es5/GenericTableView-7b9087af.js +1 -0
  401. package/dist/esm-es5/ShadowViewAddon-f2176779.js +1 -0
  402. package/dist/esm-es5/copy-text-view-782137ba.js +1 -0
  403. package/dist/esm-es5/email-registration-view-a7818cf2.js +1 -0
  404. package/dist/esm-es5/{global-f97ae778.js → global-be1f9992.js} +5 -5
  405. package/dist/esm-es5/{index-b3a06de8.js → index-91e7729f.js} +1 -1
  406. package/dist/esm-es5/index.module-89a79f66.js +1 -0
  407. package/dist/esm-es5/loader.js +1 -1
  408. package/dist/esm-es5/luxon-8d51c92b.js +1 -0
  409. package/dist/esm-es5/mint-components.js +1 -1
  410. package/dist/esm-es5/mixins-83f90fa1.js +1 -0
  411. package/dist/esm-es5/{mockRewardData-96a2d26d.js → mockRewardData-a3cdb832.js} +1 -1
  412. package/dist/esm-es5/raisins-plop-target.entry.js +1 -1
  413. package/dist/esm-es5/re-render-cc945f38.js +1 -0
  414. package/dist/esm-es5/sqm-asset-card-view-fe5db3c0.js +1 -0
  415. package/dist/esm-es5/sqm-asset-card.entry.js +1 -0
  416. package/dist/esm-es5/sqm-banking-info-form_17.entry.js +1 -0
  417. package/dist/esm-es5/{sqm-base-registration-form-view-193f1721.js → sqm-base-registration-form-view-593d4ac3.js} +1 -1
  418. package/dist/esm-es5/sqm-big-stat_43.entry.js +1 -1
  419. package/dist/esm-es5/{sqm-close-button-view-2fa57229.js → sqm-close-button-view-f9819751.js} +1 -1
  420. package/dist/esm-es5/sqm-close-button.entry.js +1 -1
  421. package/dist/esm-es5/sqm-context-router.entry.js +1 -1
  422. package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
  423. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  424. package/dist/esm-es5/sqm-form-message.entry.js +1 -1
  425. package/dist/esm-es5/sqm-google-sign-in.entry.js +1 -1
  426. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  427. package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
  428. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  429. package/dist/esm-es5/sqm-invoice-table-view-3491dd80.js +1 -0
  430. package/dist/esm-es5/sqm-lead-checkbox-field-view-a8c1c78e.js +1 -0
  431. package/dist/esm-es5/sqm-lead-checkbox-field.entry.js +1 -0
  432. package/dist/esm-es5/sqm-lead-input-field-view-4ede5d7f.js +1 -0
  433. package/dist/esm-es5/sqm-lead-input-field.entry.js +1 -0
  434. package/dist/esm-es5/sqm-leaderboard-rank-view-753c8d4a.js +1 -0
  435. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  436. package/dist/esm-es5/{sqm-logout-current-user-view-f21e54e3.js → sqm-logout-current-user-view-8ef8180f.js} +1 -1
  437. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  438. package/dist/esm-es5/sqm-navigation-sidebar-item-view-8f1c72bc.js +1 -0
  439. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  440. package/dist/esm-es5/sqm-navigation-sidebar-view-9d802b78.js +1 -0
  441. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  442. package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
  443. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  444. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  445. package/dist/esm-es5/{sqm-portal-container-view-176e92e3.js → sqm-portal-container-view-1683ae32.js} +1 -1
  446. package/dist/esm-es5/{sqm-portal-email-verification-view-98fc3374.js → sqm-portal-email-verification-view-35b4353b.js} +1 -1
  447. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  448. package/dist/esm-es5/sqm-portal-forgot-password-view-3d3182f1.js +1 -0
  449. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  450. package/dist/esm-es5/sqm-portal-google-login.entry.js +1 -1
  451. package/dist/esm-es5/sqm-portal-google-registration-form.entry.js +1 -1
  452. package/dist/esm-es5/sqm-portal-login-view-7e49609a.js +1 -0
  453. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  454. package/dist/esm-es5/{sqm-portal-profile-view-25b3250a.js → sqm-portal-profile-view-93003974.js} +1 -1
  455. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  456. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  457. package/dist/esm-es5/{sqm-portal-registration-form-view-8bdc3804.js → sqm-portal-registration-form-view-3c1f6000.js} +1 -1
  458. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  459. package/dist/esm-es5/{sqm-portal-reset-password-view-abef7286.js → sqm-portal-reset-password-view-54a8651f.js} +1 -1
  460. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  461. package/dist/esm-es5/{sqm-portal-verify-email-view-33805220.js → sqm-portal-verify-email-view-b12cb894.js} +1 -1
  462. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  463. package/dist/esm-es5/sqm-qr-code-view-f1d0763b.js +1 -0
  464. package/dist/esm-es5/sqm-qr-code.entry.js +1 -1
  465. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  466. package/dist/esm-es5/sqm-referred-registration.entry.js +1 -0
  467. package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  468. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  469. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  470. package/dist/esm-es5/sqm-route.entry.js +1 -1
  471. package/dist/esm-es5/sqm-scroll.entry.js +1 -1
  472. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  473. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  474. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  475. package/dist/esm-es5/sqm-text-span-view-ca32495e.js +1 -0
  476. package/dist/esm-es5/sqm-text-span.entry.js +1 -1
  477. package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -1
  478. package/dist/esm-es5/sqm-widget-verification.entry.js +1 -1
  479. package/dist/esm-es5/stencil-hooks.module-4bc38af4.js +53 -0
  480. package/dist/esm-es5/useChildElements-7945ae56.js +1 -0
  481. package/dist/esm-es5/useInstantAccessRegistration-dc4ad9f2.js +1 -0
  482. package/dist/esm-es5/useLeadFormState-9016d812.js +1 -0
  483. package/dist/esm-es5/usePayoutStatus-4a7625b9.js +6 -0
  484. package/dist/esm-es5/usePortalLogin-ef647a50.js +1 -0
  485. package/dist/esm-es5/usePortalRegistrationForm-4b35a357.js +1 -0
  486. package/dist/esm-es5/useReferralCodes-8f75921a.js +1 -0
  487. package/dist/esm-es5/useReferralTable-b3876ed6.js +1 -0
  488. package/dist/esm-es5/useRegistrationFormState-d6f33135.js +1 -0
  489. package/dist/esm-es5/useVerificationEmail-edc318cb.js +1 -0
  490. package/dist/esm-es5/utilities-5b0ca040.js +1 -0
  491. package/dist/esm-es5/utils-334c1e34.js +1 -0
  492. package/dist/mint-components/global/styles.ts +100 -419
  493. package/dist/mint-components/mint-components.esm.js +1 -1
  494. package/dist/mint-components/mint-components.js +1 -1
  495. package/dist/mint-components/p-00df0cac.js +1 -0
  496. package/dist/mint-components/p-00ed4c2e.entry.js +1 -0
  497. package/dist/mint-components/p-01dd541f.system.js +1 -0
  498. package/dist/mint-components/p-0309fdfa.entry.js +1 -0
  499. package/dist/mint-components/p-04a6e457.entry.js +1 -0
  500. package/dist/mint-components/{p-f307b716.js → p-05f29f64.js} +1 -1
  501. package/dist/mint-components/p-0b4cac9f.system.entry.js +1 -0
  502. package/dist/mint-components/{p-bb12b845.system.js → p-0d182dc1.system.js} +1 -1
  503. package/dist/mint-components/{p-8dc1cd0f.entry.js → p-0d2d0b6d.entry.js} +1 -1
  504. package/dist/mint-components/p-0d939b73.system.js +1 -0
  505. package/dist/mint-components/p-0ebab63e.system.js +1 -0
  506. package/dist/mint-components/{p-e0f9a395.entry.js → p-10d17989.entry.js} +1 -1
  507. package/dist/mint-components/{p-a6f4fb03.system.js → p-127e66c2.system.js} +1 -1
  508. package/dist/mint-components/p-12bba567.entry.js +1 -0
  509. package/dist/mint-components/{p-3dc34570.system.js → p-13ed8586.system.js} +1 -1
  510. package/dist/mint-components/p-141bf5c1.system.entry.js +1 -0
  511. package/dist/mint-components/p-14a65f29.system.js +1 -0
  512. package/dist/mint-components/p-1513309d.entry.js +1 -0
  513. package/dist/mint-components/{p-0cba75e6.system.entry.js → p-164a9103.system.entry.js} +1 -1
  514. package/dist/mint-components/{p-910f56ca.system.entry.js → p-18425f38.system.entry.js} +1 -1
  515. package/dist/mint-components/{p-fb2976fc.system.entry.js → p-19bc3406.system.entry.js} +1 -1
  516. package/dist/mint-components/p-19ccb4ce.js +1 -0
  517. package/dist/mint-components/{p-b9bccc55.entry.js → p-1a6b7d2a.entry.js} +1 -1
  518. package/dist/mint-components/p-1b3ab15a.system.entry.js +1 -0
  519. package/dist/mint-components/p-1d704c40.system.js +1 -0
  520. package/dist/mint-components/p-1fa9ed0d.system.entry.js +1 -0
  521. package/dist/mint-components/p-21620f81.system.entry.js +1 -0
  522. package/dist/mint-components/p-229f797b.js +1 -0
  523. package/dist/mint-components/p-24db5c70.js +1 -0
  524. package/dist/mint-components/p-25ae959c.system.entry.js +1 -0
  525. package/dist/mint-components/{p-00791abc.js → p-266a8b4d.js} +1 -1
  526. package/dist/mint-components/p-267c8f8c.entry.js +144 -0
  527. package/dist/mint-components/p-275b4767.entry.js +1 -0
  528. package/dist/mint-components/{p-0b0f49ad.entry.js → p-284e4ed5.entry.js} +1 -1
  529. package/dist/mint-components/{p-711bc624.entry.js → p-2ae0e06a.entry.js} +1 -1
  530. package/dist/mint-components/p-2bbff88f.entry.js +1 -0
  531. package/dist/mint-components/{p-91014439.system.js → p-2d52e2d7.system.js} +1 -1
  532. package/dist/mint-components/p-2da21ba4.entry.js +1 -0
  533. package/dist/mint-components/p-2dca9e1a.system.js +1 -0
  534. package/dist/mint-components/{p-d5f1df29.entry.js → p-2f101bae.entry.js} +1 -1
  535. package/dist/mint-components/{p-485e2d9f.system.entry.js → p-301ddcaa.system.entry.js} +1 -1
  536. package/dist/mint-components/p-31015791.js +1 -0
  537. package/dist/mint-components/p-33c96e14.entry.js +16 -0
  538. package/dist/mint-components/{p-a45680fe.js → p-35b475bf.js} +1 -1
  539. package/dist/mint-components/{p-0d22c0e5.system.entry.js → p-36ffebd8.system.entry.js} +1 -1
  540. package/dist/mint-components/p-37996351.system.js +1 -0
  541. package/dist/mint-components/p-37a4452c.system.entry.js +1 -0
  542. package/dist/mint-components/p-380bfde1.entry.js +1 -0
  543. package/dist/mint-components/p-38e5c429.system.js +1 -0
  544. package/dist/mint-components/p-38fc919b.entry.js +1 -0
  545. package/dist/mint-components/p-3a62a7e2.system.js +1 -0
  546. package/dist/mint-components/{p-0e59a91e.js → p-3b2f1211.js} +8 -2
  547. package/dist/mint-components/p-3b90e01b.system.js +1 -0
  548. package/dist/mint-components/p-3db34d68.js +1 -0
  549. package/dist/mint-components/p-3f6e0197.system.entry.js +1 -0
  550. package/dist/mint-components/{p-862845d7.js → p-3f7b81b8.js} +2 -2
  551. package/dist/mint-components/p-420554af.system.entry.js +1 -0
  552. package/dist/mint-components/p-42187319.system.entry.js +1 -0
  553. package/dist/mint-components/p-4428294b.entry.js +1 -0
  554. package/dist/mint-components/{p-c3884e55.entry.js → p-44891949.entry.js} +1 -1
  555. package/dist/mint-components/p-457fb652.entry.js +211 -0
  556. package/dist/mint-components/p-4794641c.system.js +1 -0
  557. package/dist/mint-components/p-48135f99.system.js +53 -0
  558. package/dist/mint-components/p-48c69c2d.entry.js +1 -0
  559. package/dist/mint-components/p-492b70db.system.js +1 -0
  560. package/dist/mint-components/p-49932f12.system.js +1 -0
  561. package/dist/mint-components/{p-4204a6e3.entry.js → p-4b6dc0e5.entry.js} +1 -1
  562. package/dist/mint-components/{p-fb5be0c5.js → p-4e451f75.js} +1 -1
  563. package/dist/mint-components/{p-5ed49bf2.js → p-4e526a94.js} +1 -1
  564. package/dist/mint-components/p-4e5af50c.js +1 -0
  565. package/dist/mint-components/{p-3d05ebb1.system.entry.js → p-50c902ca.system.entry.js} +1 -1
  566. package/dist/mint-components/{p-82505f6e.system.js → p-527216de.system.js} +1 -1
  567. package/dist/mint-components/{p-9fb8b33a.system.js → p-5488fdd9.system.js} +1 -1
  568. package/dist/mint-components/p-5868dc11.entry.js +9 -0
  569. package/dist/mint-components/{p-578a27c8.system.js → p-59274a91.system.js} +1 -1
  570. package/dist/mint-components/{p-08700497.js → p-5bedb58c.js} +1 -1
  571. package/dist/mint-components/{p-ebb487d0.system.entry.js → p-5c28406d.system.entry.js} +1 -1
  572. package/dist/mint-components/p-5cb7f9fc.system.entry.js +1 -0
  573. package/dist/mint-components/p-6055eb4c.system.js +1 -0
  574. package/dist/mint-components/p-6122bf99.system.entry.js +1 -0
  575. package/dist/mint-components/p-626e9e84.js +1 -0
  576. package/dist/mint-components/p-6333265f.system.js +1 -0
  577. package/dist/mint-components/p-635d5ef2.system.js +1 -0
  578. package/dist/mint-components/{p-750e7b01.js → p-63a75798.js} +1 -1
  579. package/dist/mint-components/p-6427e963.entry.js +1 -0
  580. package/dist/mint-components/p-65069b66.js +1248 -0
  581. package/dist/mint-components/p-653f963f.entry.js +13 -0
  582. package/dist/mint-components/p-65ba9e94.entry.js +1 -0
  583. package/dist/mint-components/{p-42b62299.system.entry.js → p-6a8d9def.system.entry.js} +1 -1
  584. package/dist/mint-components/p-6b7a595f.system.js +1 -0
  585. package/dist/mint-components/p-6ba44ca9.js +1 -0
  586. package/dist/mint-components/p-6cd4f2b1.system.js +1 -0
  587. package/dist/mint-components/{p-4d19270b.js → p-6d2f5a1d.js} +2 -2
  588. package/dist/mint-components/{p-7159c51c.system.js → p-6d9e52c7.system.js} +1 -1
  589. package/dist/mint-components/p-6eaf9c57.entry.js +1 -0
  590. package/dist/mint-components/p-775f3ded.entry.js +1 -0
  591. package/dist/mint-components/p-7846937e.entry.js +13 -0
  592. package/dist/mint-components/{p-3eba9036.js → p-7a9290ba.js} +1 -1
  593. package/dist/mint-components/p-7ab21e4d.entry.js +1 -0
  594. package/dist/mint-components/{p-15012f59.system.js → p-7c2b9fe4.system.js} +1 -1
  595. package/dist/mint-components/{p-eea87fdc.system.entry.js → p-7dabdca6.system.entry.js} +1 -1
  596. package/dist/mint-components/{p-94f9fbf7.entry.js → p-7f80a9d7.entry.js} +1 -1
  597. package/dist/mint-components/{p-a148663a.system.js → p-8175e85f.system.js} +1 -1
  598. package/dist/mint-components/{p-ac2fdad8.system.entry.js → p-8362cb4c.system.entry.js} +1 -1
  599. package/dist/mint-components/p-837a0fdd.js +1 -0
  600. package/dist/mint-components/p-85671c3d.system.entry.js +1 -0
  601. package/dist/mint-components/p-8abfeff8.entry.js +1 -0
  602. package/dist/mint-components/p-8b584c46.system.entry.js +1 -0
  603. package/dist/mint-components/p-8c0b7881.system.entry.js +1 -0
  604. package/dist/mint-components/p-8c23d1b8.js +1 -0
  605. package/dist/mint-components/p-8d9d04b7.system.entry.js +1 -0
  606. package/dist/mint-components/{p-258f4e5e.system.entry.js → p-90fc6774.system.entry.js} +1 -1
  607. package/dist/mint-components/p-91521e9d.js +1 -0
  608. package/dist/mint-components/{p-ddf3c05e.js → p-91959fbe.js} +1 -1
  609. package/dist/mint-components/{p-68043f30.js → p-91ab3da1.js} +1 -1
  610. package/dist/mint-components/p-92816d1f.js +1 -0
  611. package/dist/mint-components/{p-da6fe95f.system.entry.js → p-9386ad84.system.entry.js} +1 -1
  612. package/dist/mint-components/{p-460155de.js → p-938f64d9.js} +1 -1
  613. package/dist/mint-components/p-94a876b9.js +1 -0
  614. package/dist/mint-components/p-95b88eb6.system.js +1 -0
  615. package/dist/mint-components/{p-c3dce602.system.entry.js → p-96431b4f.system.entry.js} +1 -1
  616. package/dist/mint-components/p-97d4d651.system.js +1 -0
  617. package/dist/mint-components/p-98698131.js +1 -0
  618. package/dist/mint-components/p-986d4c17.system.entry.js +1 -0
  619. package/dist/mint-components/{p-64997b59.system.js → p-99ad7d56.system.js} +1 -1
  620. package/dist/mint-components/p-9acb5038.js +1 -0
  621. package/dist/mint-components/{p-002e6205.system.entry.js → p-9b6a0152.system.entry.js} +1 -1
  622. package/dist/mint-components/{p-b3da317b.system.entry.js → p-9bfd9bed.system.entry.js} +1 -1
  623. package/dist/mint-components/p-9cf80e85.system.entry.js +1 -0
  624. package/dist/mint-components/{p-6951663b.js → p-9ec99ced.js} +1 -1
  625. package/dist/mint-components/{p-fa6fba34.system.js → p-9f22f58a.system.js} +2 -2
  626. package/dist/mint-components/{p-22c11f0e.entry.js → p-a2fde301.entry.js} +1 -1
  627. package/dist/mint-components/{p-d399162b.system.js → p-a71b9154.system.js} +1 -1
  628. package/dist/mint-components/{p-9580aac3.js → p-a9f4ddb1.js} +1 -1
  629. package/dist/mint-components/p-aad32fb6.system.js +1 -0
  630. package/dist/mint-components/{p-8e28333b.system.js → p-ae1ea5ac.system.js} +1 -1
  631. package/dist/mint-components/p-b207beeb.entry.js +1 -0
  632. package/dist/mint-components/{p-e55f3eb6.system.entry.js → p-b287833c.system.entry.js} +1 -1
  633. package/dist/mint-components/{p-6578ea31.system.js → p-b75bb6e3.system.js} +1 -1
  634. package/dist/mint-components/{p-7059ee40.system.entry.js → p-b7d1469d.system.entry.js} +1 -1
  635. package/dist/mint-components/p-b82e1935.system.entry.js +1 -0
  636. package/dist/mint-components/p-b965147c.system.entry.js +1 -0
  637. package/dist/mint-components/{p-6ef73224.js → p-bbcd824a.js} +1 -1
  638. package/dist/mint-components/{p-f1f20fdf.system.js → p-bdb7d451.system.js} +22 -22
  639. package/dist/mint-components/p-bfc7cfc0.system.js +1 -0
  640. package/dist/mint-components/p-c060f770.system.entry.js +1 -0
  641. package/dist/mint-components/{p-3787a4d6.js → p-c0f19490.js} +1 -1
  642. package/dist/mint-components/p-c1b074b6.js +394 -0
  643. package/dist/mint-components/{p-dbe29e53.system.entry.js → p-c2fdd608.system.entry.js} +1 -1
  644. package/dist/mint-components/p-c36506f6.system.entry.js +1 -0
  645. package/dist/mint-components/p-c9b08184.entry.js +17 -0
  646. package/dist/mint-components/p-c9f1dde7.js +1 -0
  647. package/dist/mint-components/p-cb7bdbe4.entry.js +1 -0
  648. package/dist/mint-components/p-cbbfac66.entry.js +25 -0
  649. package/dist/mint-components/p-cd1d497f.system.js +1 -0
  650. package/dist/mint-components/{p-a392912a.system.js → p-cd569259.system.js} +1 -1
  651. package/dist/mint-components/p-cd651f81.js +42 -0
  652. package/dist/mint-components/{p-9aadc253.entry.js → p-d07f3090.entry.js} +1 -1
  653. package/dist/mint-components/{p-b22b7891.js → p-d6831af5.js} +1 -1
  654. package/dist/mint-components/p-d78e7323.entry.js +273 -0
  655. package/dist/mint-components/{p-e27ff213.entry.js → p-da7708a7.entry.js} +1 -1
  656. package/dist/mint-components/{p-1c1f4ce7.system.js → p-dbc0e4f8.system.js} +1 -1
  657. package/dist/mint-components/p-dbcb5359.js +1 -0
  658. package/dist/mint-components/p-dcc81e90.entry.js +1 -0
  659. package/dist/mint-components/p-e07bc6c4.system.js +1 -0
  660. package/dist/mint-components/p-e5a5ae7f.system.entry.js +1 -0
  661. package/dist/mint-components/{p-b6911812.system.js → p-e5d0375e.system.js} +1 -1
  662. package/dist/mint-components/p-e6f50ffd.entry.js +1 -0
  663. package/dist/mint-components/p-e8e48982.js +1 -0
  664. package/dist/mint-components/{p-5e0af707.entry.js → p-e8ffcc68.entry.js} +2 -2
  665. package/dist/mint-components/{p-a2533860.system.entry.js → p-f0772618.system.entry.js} +1 -1
  666. package/dist/mint-components/p-f26aedcd.system.js +1 -0
  667. package/dist/mint-components/p-f2d8d3d3.system.entry.js +1 -0
  668. package/dist/mint-components/{p-4271f436.system.entry.js → p-f4a72903.system.entry.js} +1 -1
  669. package/dist/mint-components/{p-22d20816.system.entry.js → p-f4a8ee29.system.entry.js} +1 -1
  670. package/dist/mint-components/p-f56bedd5.js +1 -0
  671. package/dist/mint-components/p-f708da7b.js +1 -0
  672. package/dist/mint-components/p-f7c99803.system.js +1 -0
  673. package/dist/mint-components/{p-07dc6d68.js → p-f940190a.js} +1 -1
  674. package/dist/mint-components/p-f98a4354.js +1 -0
  675. package/dist/mint-components/{p-7af4fba0.system.entry.js → p-fa37513e.system.entry.js} +1 -1
  676. package/dist/mint-components/{p-a7ee19dc.entry.js → p-faba3198.entry.js} +1 -1
  677. package/dist/mint-components/p-ff8b8067.entry.js +33 -0
  678. package/dist/types/components/sqm-asset-card/AssetCard.stories.d.ts +7 -0
  679. package/dist/types/components/sqm-asset-card/sqm-asset-card-view.d.ts +8 -0
  680. package/dist/types/components/sqm-asset-card/sqm-asset-card.d.ts +24 -0
  681. package/dist/types/components/sqm-asset-card/useAssetCard.d.ts +7 -0
  682. package/dist/types/components/sqm-big-stat/BigStat.stories.d.ts +0 -2
  683. package/dist/types/components/sqm-big-stat/sqm-big-stat-view.d.ts +0 -5
  684. package/dist/types/components/sqm-big-stat/sqm-big-stat.d.ts +1 -47
  685. package/dist/types/components/sqm-card-feed/sqm-card-feed.d.ts +0 -2
  686. package/dist/types/components/sqm-coupon-code/CouponCode.stories.d.ts +0 -1
  687. package/dist/types/components/sqm-coupon-code/sqm-coupon-code-view.d.ts +0 -2
  688. package/dist/types/components/sqm-coupon-code/sqm-coupon-code.d.ts +16 -43
  689. package/dist/types/components/sqm-coupon-code/useCouponCode.d.ts +3 -2
  690. package/dist/types/components/sqm-divided-layout/sqm-divided-layout-view.d.ts +1 -4
  691. package/dist/types/components/sqm-divided-layout/sqm-divided-layout.d.ts +0 -15
  692. package/dist/types/components/sqm-form-message/FormMessage.stories.d.ts +1 -0
  693. package/dist/types/components/sqm-header-logo/sqm-header-logo.d.ts +0 -1
  694. package/dist/types/components/sqm-hero/Hero.stories.d.ts +0 -1
  695. package/dist/types/components/sqm-hero/sqm-hero-view.d.ts +0 -1
  696. package/dist/types/components/sqm-hero/sqm-hero.d.ts +1 -6
  697. package/dist/types/components/sqm-hero-image/sqm-hero-image-view.d.ts +0 -1
  698. package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +0 -20
  699. package/dist/types/components/sqm-image/sqm-image.d.ts +0 -1
  700. package/dist/types/components/sqm-instant-access-registration/sqm-instant-access-registration.d.ts +1 -2
  701. package/dist/types/components/sqm-invoice-table/columns/InvoiceTableColumn.d.ts +0 -1
  702. package/dist/types/components/sqm-invoice-table/columns/sqm-invoice-table-data-column.d.ts +0 -1
  703. package/dist/types/components/sqm-invoice-table/columns/sqm-invoice-table-date-column.d.ts +0 -1
  704. package/dist/types/components/sqm-invoice-table/columns/sqm-invoice-table-download-column.d.ts +0 -1
  705. package/dist/types/components/sqm-invoice-table/mockInvoiceData.d.ts +0 -1
  706. package/dist/types/components/sqm-invoice-table/sqm-invoice-table.d.ts +0 -3
  707. package/dist/types/components/sqm-lead-form/LeadCheckboxField.stories.d.ts +28 -0
  708. package/dist/types/components/sqm-lead-form/LeadForm.stories.d.ts +10 -0
  709. package/dist/types/components/sqm-lead-form/LeadFormDropdownField.stories.d.ts +10 -0
  710. package/dist/types/components/sqm-lead-form/LeadInputField.stories.d.ts +8 -0
  711. package/dist/types/components/sqm-lead-form/sqm-lead-checkbox-field-view.d.ts +15 -0
  712. package/dist/types/components/sqm-lead-form/sqm-lead-checkbox-field.d.ts +46 -0
  713. package/dist/types/components/sqm-lead-form/sqm-lead-dropdown-field-view.d.ts +17 -0
  714. package/dist/types/components/sqm-lead-form/sqm-lead-dropdown-field.d.ts +49 -0
  715. package/dist/types/components/sqm-lead-form/sqm-lead-form-view.d.ts +36 -0
  716. package/dist/types/components/sqm-lead-form/sqm-lead-form.d.ts +93 -0
  717. package/dist/types/components/sqm-lead-form/sqm-lead-input-field-view.d.ts +15 -0
  718. package/dist/types/components/sqm-lead-form/sqm-lead-input-field.d.ts +51 -0
  719. package/dist/types/components/sqm-lead-form/useCheckboxField.d.ts +6 -0
  720. package/dist/types/components/sqm-lead-form/useLeadDropdownField.d.ts +6 -0
  721. package/dist/types/components/sqm-lead-form/useLeadForm.d.ts +28 -0
  722. package/dist/types/components/sqm-lead-form/useLeadFormState.d.ts +19 -0
  723. package/dist/types/components/sqm-lead-form/useLeadInputField.d.ts +6 -0
  724. package/dist/types/components/sqm-leaderboard/Leaderboard.stories.d.ts +0 -1
  725. package/dist/types/components/sqm-leaderboard/sqm-leaderboard-view.d.ts +0 -6
  726. package/dist/types/components/sqm-leaderboard/sqm-leaderboard.d.ts +11 -53
  727. package/dist/types/components/sqm-leaderboard/useLeaderboard.d.ts +0 -6
  728. package/dist/types/components/sqm-link-button/sqm-link-button.d.ts +0 -1
  729. package/dist/types/components/sqm-logout-current-user/sqm-logout-current-user.d.ts +0 -1
  730. package/dist/types/components/sqm-name-fields/sqm-name-fields.d.ts +1 -1
  731. package/dist/types/components/sqm-navigation-menu/sqm-navigation-menu.d.ts +0 -1
  732. package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.d.ts +0 -1
  733. package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar.d.ts +0 -16
  734. package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item-view.d.ts +0 -8
  735. package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.d.ts +0 -57
  736. package/dist/types/components/sqm-pagination/sqm-pagination-view.d.ts +0 -1
  737. package/dist/types/components/sqm-pagination/sqm-pagination.d.ts +2 -9
  738. package/dist/types/components/sqm-popup-container/usePopupContainer.d.ts +2 -2
  739. package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password-view.d.ts +0 -2
  740. package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password.d.ts +0 -1
  741. package/dist/types/components/sqm-portal-footer/sqm-portal-footer.d.ts +0 -1
  742. package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.d.ts +1 -5
  743. package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password.d.ts +0 -15
  744. package/dist/types/components/sqm-portal-frame/sqm-portal-frame-view.d.ts +0 -3
  745. package/dist/types/components/sqm-portal-frame/sqm-portal-frame.d.ts +0 -19
  746. package/dist/types/components/sqm-portal-frame/usePortalFrame.d.ts +1 -2
  747. package/dist/types/components/sqm-portal-login/PortalLogin.stories.d.ts +0 -1
  748. package/dist/types/components/sqm-portal-login/sqm-portal-login.d.ts +0 -1
  749. package/dist/types/components/sqm-portal-logout/sqm-portal-logout.d.ts +0 -1
  750. package/dist/types/components/sqm-portal-profile/sqm-portal-profile.d.ts +0 -1
  751. package/dist/types/components/sqm-portal-protected-route/sqm-portal-protected-route.d.ts +0 -1
  752. package/dist/types/components/sqm-portal-register/sqm-portal-register.d.ts +1 -0
  753. package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form.d.ts +1 -0
  754. package/dist/types/components/sqm-program-explainer/sqm-program-explainer.d.ts +0 -2
  755. package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step-view.d.ts +0 -3
  756. package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step.d.ts +2 -20
  757. package/dist/types/components/sqm-program-menu/sqm-program-menu.d.ts +0 -1
  758. package/dist/types/components/sqm-qr-code/sqm-qr-code.d.ts +0 -1
  759. package/dist/types/components/sqm-referral-card/sqm-referral-card-view.d.ts +2 -5
  760. package/dist/types/components/sqm-referral-card/sqm-referral-card.d.ts +2 -25
  761. package/dist/types/components/sqm-referral-code/ReferralCode.stories.d.ts +0 -1
  762. package/dist/types/components/sqm-referral-code/sqm-referral-code.d.ts +0 -43
  763. package/dist/types/components/sqm-referral-codes/ReferralCodes.stories.d.ts +0 -1
  764. package/dist/types/components/sqm-referral-codes/sqm-referral-codes-view.d.ts +0 -1
  765. package/dist/types/components/sqm-referral-codes/sqm-referral-codes.d.ts +0 -7
  766. package/dist/types/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.d.ts +0 -1
  767. package/dist/types/components/sqm-referral-table/cells/sqm-referral-table-status-cell.d.ts +0 -1
  768. package/dist/types/components/sqm-referral-table/columns/ReferralTableColumn.d.ts +0 -1
  769. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-column.d.ts +0 -1
  770. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-date-column.d.ts +0 -1
  771. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.d.ts +1 -2
  772. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-status-column.d.ts +0 -1
  773. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-user-column.d.ts +0 -1
  774. package/dist/types/components/sqm-referral-table/sqm-referral-table.d.ts +1 -4
  775. package/dist/types/components/sqm-referred-registration/sqm-referred-registration.d.ts +1 -2
  776. package/dist/types/components/sqm-reward-exchange-list/RewardExchangeListData.d.ts +437 -457
  777. package/dist/types/components/sqm-reward-exchange-list/sqm-reward-exchange-list.d.ts +1 -10
  778. package/dist/types/components/sqm-reward-exchange-list/useRewardExchangeList.d.ts +0 -1
  779. package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-reward-cell.d.ts +0 -1
  780. package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-source-cell.d.ts +0 -1
  781. package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.d.ts +1 -2
  782. package/dist/types/components/sqm-rewards-table/columns/RewardTableColumn.d.ts +0 -1
  783. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.d.ts +1 -2
  784. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-note-column.d.ts +1 -2
  785. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.d.ts +1 -2
  786. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.d.ts +1 -2
  787. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.d.ts +3 -4
  788. package/dist/types/components/sqm-rewards-table/mockRewardData.d.ts +0 -1
  789. package/dist/types/components/sqm-rewards-table/mockTaxData.d.ts +0 -1
  790. package/dist/types/components/sqm-rewards-table/sqm-rewards-table.d.ts +1 -3
  791. package/dist/types/components/sqm-rewards-table/useRewardsTable.d.ts +1 -1
  792. package/dist/types/components/sqm-route/sqm-route.d.ts +0 -1
  793. package/dist/types/components/sqm-router/sqm-router.d.ts +0 -2
  794. package/dist/types/components/sqm-scroll/sqm-scroll.d.ts +0 -1
  795. package/dist/types/components/sqm-share-button/ShareButton.stories.d.ts +1 -1
  796. package/dist/types/components/sqm-share-button/sqm-share-button-view.d.ts +1 -2
  797. package/dist/types/components/sqm-share-button/sqm-share-button.d.ts +6 -19
  798. package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +0 -43
  799. package/dist/types/components/sqm-share-link/ShareLink.stories.d.ts +0 -1
  800. package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +1 -44
  801. package/dist/types/components/sqm-stat-container/sqm-stat-container-view.d.ts +0 -3
  802. package/dist/types/components/sqm-stat-container/sqm-stat-container.d.ts +0 -25
  803. package/dist/types/components/sqm-stencilbook/Themes.d.ts +6 -6
  804. package/dist/types/components/sqm-tabs/Tabs.stories.d.ts +0 -1
  805. package/dist/types/components/sqm-tabs/sqm-tabs-view.d.ts +0 -1
  806. package/dist/types/components/sqm-tabs/sqm-tabs.d.ts +0 -10
  807. package/dist/types/components/sqm-task-card/DetailsView.d.ts +0 -6
  808. package/dist/types/components/sqm-task-card/sqm-task-card-view.d.ts +0 -5
  809. package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +4 -33
  810. package/dist/types/components/sqm-task-card/useTaskCard.d.ts +0 -9
  811. package/dist/types/components/sqm-text/sqm-text.d.ts +0 -13
  812. package/dist/types/components/sqm-text-span/sqm-text-span-view.d.ts +2 -4
  813. package/dist/types/components/sqm-text-span/sqm-text-span.d.ts +1 -14
  814. package/dist/types/components/sqm-timeline/Timeline.stories.d.ts +0 -1
  815. package/dist/types/components/sqm-timeline/sqm-timeline-entry-view.d.ts +0 -2
  816. package/dist/types/components/sqm-timeline/sqm-timeline-entry.d.ts +0 -14
  817. package/dist/types/components/sqm-timeline/sqm-timeline.d.ts +1 -3
  818. package/dist/types/components/sqm-titled-section/sqm-titled-section.d.ts +0 -2
  819. package/dist/types/components/sqm-widget-verification/sqm-widget-verification-controller.d.ts +2 -5
  820. package/dist/types/components/sqm-widget-verification/sqm-widget-verification.d.ts +2 -6
  821. package/dist/types/components/tax-and-cash/TaxForm.stories.d.ts +2 -0
  822. package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.d.ts +1 -1
  823. package/dist/types/components/tax-and-cash/sqm-docusign-form/useDocusignForm.d.ts +2 -2
  824. package/dist/types/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.d.ts +0 -4
  825. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.d.ts +1 -0
  826. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.d.ts +8 -1
  827. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +24 -1
  828. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +9 -2
  829. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +51 -9
  830. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.d.ts +1 -1
  831. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +10 -3
  832. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +36 -17
  833. package/dist/types/components/tax-and-cash/sqm-user-info-form/small-views/IndirectTaxDetailsView.d.ts +1 -1
  834. package/dist/types/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.d.ts +1 -1
  835. package/dist/types/components/tax-and-cash/utils.d.ts +1 -1
  836. package/dist/types/components/views/copy-text-view.d.ts +0 -5
  837. package/dist/types/components.d.ts +729 -1243
  838. package/dist/types/global/global.d.ts +2 -2
  839. package/dist/types/global/mixins.d.ts +12 -12
  840. package/dist/types/global/styles.d.ts +2 -10
  841. package/dist/types/saasquatch.d.ts +7 -143
  842. package/dist/types/utils/utils.d.ts +0 -1
  843. package/docs/docs.docx +0 -0
  844. package/docs/raisins.json +1 -1
  845. package/grapesjs/grapesjs.js +1 -1
  846. package/package.json +2 -3
  847. package/dist/cjs/IndirectTaxDetailsView-282c1fda.js +0 -646
  848. package/dist/cjs/copy-text-view-97ae8a48.js +0 -127
  849. package/dist/cjs/data-d4339c2e.js +0 -137
  850. package/dist/cjs/parseStates-d1effc19.js +0 -16
  851. package/dist/cjs/sqm-code-verification.cjs.entry.js +0 -352
  852. package/dist/cjs/sqm-invoice-table-data-cell_5.cjs.entry.js +0 -84
  853. package/dist/cjs/sqm-leaderboard-rank-view-6a1e63de.js +0 -10
  854. package/dist/cjs/sqm-navigation-sidebar-item-view-ec7a5c53.js +0 -56
  855. package/dist/cjs/sqm-tax-and-cash.cjs.entry.js +0 -1254
  856. package/dist/cjs/sqm-text-span-view-7a61ae4c.js +0 -63
  857. package/dist/cjs/utils-aacb4233.js +0 -105
  858. package/dist/collection/components/sqm-stencilbook/BrandSelector.js +0 -198
  859. package/dist/collection/components/sqm-text/Text.stories.js +0 -12
  860. package/dist/collection/insertfont.js +0 -18
  861. package/dist/collection/utils/parseStates.js +0 -12
  862. package/dist/esm/IndirectTaxDetailsView-5e60d91f.js +0 -639
  863. package/dist/esm/copy-text-view-ab2fda20.js +0 -125
  864. package/dist/esm/data-ee3ae298.js +0 -121
  865. package/dist/esm/parseStates-ed75e224.js +0 -14
  866. package/dist/esm/sqm-code-verification.entry.js +0 -348
  867. package/dist/esm/sqm-invoice-table-data-cell_5.entry.js +0 -76
  868. package/dist/esm/sqm-leaderboard-rank-view-18baae5b.js +0 -8
  869. package/dist/esm/sqm-navigation-sidebar-item-view-797601b0.js +0 -54
  870. package/dist/esm/sqm-tax-and-cash.entry.js +0 -1250
  871. package/dist/esm/sqm-text-span-view-4c17b8c9.js +0 -61
  872. package/dist/esm/utils-e1cdc479.js +0 -97
  873. package/dist/esm-es5/GenericTableView-e43d310f.js +0 -1
  874. package/dist/esm-es5/IndirectTaxDetailsView-5e60d91f.js +0 -1
  875. package/dist/esm-es5/ShadowViewAddon-cf7c03a0.js +0 -1
  876. package/dist/esm-es5/copy-text-view-ab2fda20.js +0 -1
  877. package/dist/esm-es5/data-ee3ae298.js +0 -1
  878. package/dist/esm-es5/dom-context-hooks.module-63370afd.js +0 -53
  879. package/dist/esm-es5/email-registration-view-1f587f8b.js +0 -1
  880. package/dist/esm-es5/index.module-38dad6c9.js +0 -1
  881. package/dist/esm-es5/luxon-bbf75a9d.js +0 -1
  882. package/dist/esm-es5/mixins-f750863a.js +0 -1
  883. package/dist/esm-es5/parseStates-ed75e224.js +0 -1
  884. package/dist/esm-es5/re-render-9c90767d.js +0 -1
  885. package/dist/esm-es5/sqm-banking-info-form_10.entry.js +0 -1
  886. package/dist/esm-es5/sqm-code-verification.entry.js +0 -1
  887. package/dist/esm-es5/sqm-invoice-table-data-cell_5.entry.js +0 -1
  888. package/dist/esm-es5/sqm-leaderboard-rank-view-18baae5b.js +0 -1
  889. package/dist/esm-es5/sqm-navigation-sidebar-item-view-797601b0.js +0 -1
  890. package/dist/esm-es5/sqm-navigation-sidebar-view-0a2ec560.js +0 -1
  891. package/dist/esm-es5/sqm-portal-forgot-password-view-0e795cdd.js +0 -1
  892. package/dist/esm-es5/sqm-portal-login-view-7670cd86.js +0 -1
  893. package/dist/esm-es5/sqm-qr-code-view-97124a66.js +0 -1
  894. package/dist/esm-es5/sqm-tax-and-cash.entry.js +0 -1
  895. package/dist/esm-es5/sqm-text-span-view-4c17b8c9.js +0 -1
  896. package/dist/esm-es5/useChildElements-4e70ac0e.js +0 -1
  897. package/dist/esm-es5/useInstantAccessRegistration-0f04459e.js +0 -1
  898. package/dist/esm-es5/usePayoutStatus-7eeec61b.js +0 -6
  899. package/dist/esm-es5/usePortalLogin-d0720c81.js +0 -1
  900. package/dist/esm-es5/usePortalRegistrationForm-afc0171e.js +0 -1
  901. package/dist/esm-es5/useReferralCodes-311e6d72.js +0 -1
  902. package/dist/esm-es5/useReferralTable-65a01a6a.js +0 -1
  903. package/dist/esm-es5/useRegistrationFormState-18c2cea7.js +0 -1
  904. package/dist/esm-es5/useVerificationEmail-f9413de9.js +0 -1
  905. package/dist/esm-es5/utilities-ad9c2893.js +0 -1
  906. package/dist/esm-es5/utils-03188de2.js +0 -1
  907. package/dist/esm-es5/utils-e1cdc479.js +0 -1
  908. package/dist/mint-components/p-000c91b1.js +0 -1
  909. package/dist/mint-components/p-0935f9b7.system.js +0 -1
  910. package/dist/mint-components/p-0bb21f5b.system.entry.js +0 -1
  911. package/dist/mint-components/p-0e532b53.entry.js +0 -1
  912. package/dist/mint-components/p-0ea61502.system.js +0 -1
  913. package/dist/mint-components/p-100c878b.system.entry.js +0 -1
  914. package/dist/mint-components/p-11500698.entry.js +0 -25
  915. package/dist/mint-components/p-115dfc03.system.js +0 -1
  916. package/dist/mint-components/p-1337f47c.entry.js +0 -1
  917. package/dist/mint-components/p-1363c4ab.system.js +0 -1
  918. package/dist/mint-components/p-13f3a647.js +0 -1
  919. package/dist/mint-components/p-14128c84.system.entry.js +0 -1
  920. package/dist/mint-components/p-14959d73.system.entry.js +0 -1
  921. package/dist/mint-components/p-15bfd7e2.system.js +0 -1
  922. package/dist/mint-components/p-1a278658.entry.js +0 -1
  923. package/dist/mint-components/p-1c727332.entry.js +0 -1
  924. package/dist/mint-components/p-1cd0e1e9.system.js +0 -1
  925. package/dist/mint-components/p-1ee5070b.system.entry.js +0 -1
  926. package/dist/mint-components/p-204861a6.js +0 -1
  927. package/dist/mint-components/p-209ea185.js +0 -1
  928. package/dist/mint-components/p-21e3cac4.js +0 -1
  929. package/dist/mint-components/p-2403c6e1.system.js +0 -1
  930. package/dist/mint-components/p-240bec23.js +0 -1
  931. package/dist/mint-components/p-274ea2c4.entry.js +0 -9
  932. package/dist/mint-components/p-2f2bff39.entry.js +0 -1
  933. package/dist/mint-components/p-3285a6b3.system.entry.js +0 -1
  934. package/dist/mint-components/p-3836d1e2.entry.js +0 -1
  935. package/dist/mint-components/p-38a03a10.system.js +0 -1
  936. package/dist/mint-components/p-3cb249c3.js +0 -1
  937. package/dist/mint-components/p-3d1b91a1.system.entry.js +0 -1
  938. package/dist/mint-components/p-3d99fa43.entry.js +0 -1
  939. package/dist/mint-components/p-3ea3f5e3.system.entry.js +0 -1
  940. package/dist/mint-components/p-40c01a5a.system.js +0 -1
  941. package/dist/mint-components/p-42da8239.system.js +0 -1
  942. package/dist/mint-components/p-49b20dae.js +0 -1
  943. package/dist/mint-components/p-4f5329a2.system.js +0 -53
  944. package/dist/mint-components/p-51b8979d.js +0 -448
  945. package/dist/mint-components/p-57970440.js +0 -1233
  946. package/dist/mint-components/p-587115cb.system.entry.js +0 -1
  947. package/dist/mint-components/p-59b028db.system.js +0 -1
  948. package/dist/mint-components/p-5aca73f7.entry.js +0 -13
  949. package/dist/mint-components/p-5ff2da11.js +0 -1
  950. package/dist/mint-components/p-63e29387.js +0 -42
  951. package/dist/mint-components/p-66c14cb2.system.entry.js +0 -1
  952. package/dist/mint-components/p-672d144e.entry.js +0 -1
  953. package/dist/mint-components/p-67ad2252.system.js +0 -1
  954. package/dist/mint-components/p-6906ef5d.system.entry.js +0 -1
  955. package/dist/mint-components/p-692bacf3.js +0 -1
  956. package/dist/mint-components/p-6ad674c2.js +0 -103
  957. package/dist/mint-components/p-6b076bae.system.entry.js +0 -1
  958. package/dist/mint-components/p-6d290019.js +0 -1
  959. package/dist/mint-components/p-6e069052.entry.js +0 -1
  960. package/dist/mint-components/p-71271fbd.system.js +0 -1
  961. package/dist/mint-components/p-75584f9e.entry.js +0 -11
  962. package/dist/mint-components/p-77d2244b.system.js +0 -1
  963. package/dist/mint-components/p-7970e73a.js +0 -1
  964. package/dist/mint-components/p-797fd8d9.system.js +0 -1
  965. package/dist/mint-components/p-7b8d29bb.entry.js +0 -1
  966. package/dist/mint-components/p-7c17e06f.system.entry.js +0 -1
  967. package/dist/mint-components/p-7e13424d.system.js +0 -1
  968. package/dist/mint-components/p-88b63a7c.entry.js +0 -93
  969. package/dist/mint-components/p-8a6494c7.system.js +0 -1
  970. package/dist/mint-components/p-8caef004.js +0 -1
  971. package/dist/mint-components/p-8e2bead4.js +0 -1
  972. package/dist/mint-components/p-901cb538.system.entry.js +0 -1
  973. package/dist/mint-components/p-9049b387.entry.js +0 -1
  974. package/dist/mint-components/p-916100a9.js +0 -1
  975. package/dist/mint-components/p-926f17f9.system.js +0 -1
  976. package/dist/mint-components/p-9374b5bb.system.entry.js +0 -1
  977. package/dist/mint-components/p-9e297104.entry.js +0 -1
  978. package/dist/mint-components/p-9f3e7e48.entry.js +0 -13
  979. package/dist/mint-components/p-9f82e69d.entry.js +0 -1
  980. package/dist/mint-components/p-a5c9ce6c.entry.js +0 -1
  981. package/dist/mint-components/p-abd33116.system.entry.js +0 -1
  982. package/dist/mint-components/p-b065215a.entry.js +0 -1
  983. package/dist/mint-components/p-b1a2a83b.entry.js +0 -144
  984. package/dist/mint-components/p-ba4a5fed.entry.js +0 -258
  985. package/dist/mint-components/p-bab57520.system.entry.js +0 -1
  986. package/dist/mint-components/p-bad50dc1.entry.js +0 -1
  987. package/dist/mint-components/p-bb627d95.entry.js +0 -17
  988. package/dist/mint-components/p-be88596c.system.js +0 -1
  989. package/dist/mint-components/p-c0d48b64.system.entry.js +0 -1
  990. package/dist/mint-components/p-c4886223.entry.js +0 -1
  991. package/dist/mint-components/p-c726f778.system.entry.js +0 -1
  992. package/dist/mint-components/p-c7965639.entry.js +0 -1
  993. package/dist/mint-components/p-c79bb1c6.entry.js +0 -16
  994. package/dist/mint-components/p-c7c11325.js +0 -1
  995. package/dist/mint-components/p-cab1f502.js +0 -1
  996. package/dist/mint-components/p-d785a297.system.entry.js +0 -1
  997. package/dist/mint-components/p-d821418e.system.js +0 -1
  998. package/dist/mint-components/p-d8c5b80a.system.js +0 -1
  999. package/dist/mint-components/p-da3ffd4e.system.entry.js +0 -1
  1000. package/dist/mint-components/p-e539fed3.entry.js +0 -1
  1001. package/dist/mint-components/p-e57d61af.system.js +0 -1
  1002. package/dist/mint-components/p-eaeddfe2.system.js +0 -1
  1003. package/dist/mint-components/p-ecc5faba.entry.js +0 -33
  1004. package/dist/mint-components/p-f0e0d0b9.system.entry.js +0 -1
  1005. package/dist/mint-components/p-f0ebccea.system.entry.js +0 -1
  1006. package/dist/mint-components/p-f1dc581f.js +0 -1
  1007. package/dist/mint-components/p-f6baa0c9.system.js +0 -1
  1008. package/dist/mint-components/p-f9c7248e.js +0 -1
  1009. package/dist/mint-components/p-fb77f662.entry.js +0 -1
  1010. package/dist/types/components/sqm-stencilbook/BrandSelector.d.ts +0 -9
  1011. package/dist/types/components/sqm-text/Text.stories.d.ts +0 -6
  1012. package/dist/types/insertfont.d.ts +0 -1
  1013. package/dist/types/utils/parseStates.d.ts +0 -1
  1014. package/shoelace/assets/icons/twitter-x.svg +0 -4
  1015. /package/dist/collection/components/tax-and-cash/{data.js → sqm-tax-and-cash/data.js} +0 -0
  1016. /package/dist/types/components/tax-and-cash/{data.d.ts → sqm-tax-and-cash/data.d.ts} +0 -0
@@ -1,376 +1,28 @@
1
- import { r as registerInstance, h as h$1, c as Host } from './index-b3a06de8.js';
2
- import { b as buildFontsCssUrl, i as intl } from './global-f97ae778.js';
3
- import { n as h, f as useEffect, k as useState, i as d, u as useMemo, m as useRef, b as browser, j as useReducer } from './dom-context-hooks.module-63370afd.js';
4
- import { i as isDemo, _ as _$1, d as dist, J, H, B, $ as $e, w as wn, L, y as yn, j as jn, r as Ue, V as Ve, u as useCallback, b as setUserIdentity, Q as Qe, k as kn } from './index.module-38dad6c9.js';
1
+ import { r as registerInstance, h as h$1, c as Host } from './index-91e7729f.js';
2
+ import { n as h, f as useEffect, i as d, k as useState, m as useRef, u as useMemo, b as browser, j as useReducer } from './stencil-hooks.module-4bc38af4.js';
3
+ import { i as intl } from './global-be1f9992.js';
4
+ import { i as isDemo, _, d as dist, J, H, $ as $e, w as wn, B, u as useCallback, L, y as yn, j as jn, r as Ue, V as Ve, Q as Qe, k as kn } from './index.module-89a79f66.js';
5
5
  import { j as jsonpointer } from './jsonpointer-388a7082.js';
6
6
  import { c as cjs } from './cjs-bdfb4486.js';
7
- import { g as getProps, a as getMissingProps } from './utils-03188de2.js';
7
+ import { g as getProps, a as getMissingProps } from './utils-334c1e34.js';
8
8
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
9
- import './useReferralCodes-311e6d72.js';
10
- import './mixins-f750863a.js';
11
- import { C as CopyTextView } from './copy-text-view-ab2fda20.js';
12
- import { a as useRequestRerender } from './re-render-9c90767d.js';
13
- import { u as useChildElements } from './useChildElements-4e70ac0e.js';
14
- import './luxon-bbf75a9d.js';
15
- import './sqm-text-span-view-4c17b8c9.js';
9
+ import './useReferralCodes-8f75921a.js';
10
+ import './mixins-83f90fa1.js';
11
+ import { C as CopyTextView } from './copy-text-view-782137ba.js';
12
+ import { a as useRequestRerender } from './re-render-cc945f38.js';
13
+ import { u as useChildElements } from './useChildElements-7945ae56.js';
14
+ import './luxon-8d51c92b.js';
15
+ import './sqm-text-span-view-ca32495e.js';
16
16
  import { p as pathToRegexp } from './index-ffa26b43.js';
17
- import { E as EmailRegistrationView } from './email-registration-view-1f587f8b.js';
18
- import { R as REGISTRATION_FORM_STATE_CONTEXT, u as useRegistrationFormState } from './useRegistrationFormState-18c2cea7.js';
19
- import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-0f04459e.js';
20
- import { P as PortalLoginView } from './sqm-portal-login-view-7670cd86.js';
21
- import { u as usePortalLogin } from './usePortalLogin-d0720c81.js';
17
+ import { R as REGISTRATION_FORM_STATE_CONTEXT, u as useRegistrationFormState } from './useRegistrationFormState-d6f33135.js';
18
+ import { R as RequiredPropsError, L as LEAD_FORM_STATE_CONTEXT, u as useLeadFormState } from './useLeadFormState-9016d812.js';
19
+ import { P as PortalLoginView } from './sqm-portal-login-view-7e49609a.js';
20
+ import { u as usePortalLogin } from './usePortalLogin-ef647a50.js';
22
21
  import { A as AsYouType } from './AsYouType-46f67d0d.js';
23
- import { i as isEmpty } from './utilities-ad9c2893.js';
24
- import { u as useDemoBigStat, Q as useBigStat, B as BigStatView, C as CardFeedView, c as CheckboxFieldView, e as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, U as withShadowView, L as LeaderboardView, N as NameFieldsView, f as ChangeMarktingView, P as PortalChangePasswordView, g as PortalFooterView, h as PortalFrameView, d as PortalRegisterView, R as ReferralIframeView, i as RewardExchangeView, V as demoRewardExchange, G as useShareButton, a as ShareButtonView, J as useShareLink, S as StatContainerView, T as TaskCardView } from './ShadowViewAddon-cf7c03a0.js';
25
- import './sqm-portal-container-view-176e92e3.js';
26
- import { p as parseStates } from './parseStates-ed75e224.js';
27
- import { u as usePayoutStatus } from './usePayoutStatus-7eeec61b.js';
28
-
29
- /**
30
- *
31
- * Themes
32
- *
33
- * Export only valid CSS. Those will be injected into style tags.
34
- *
35
- * Useful links:
36
- * - https://brandcolors.net/
37
- * - Shoelace color generator: https://codepen.io/claviska/full/QWveRgL
38
- *
39
- */
40
- // @ts-nocheck
41
- const Default = null;
42
- const Netflix = {
43
- main: {
44
- brandFont: "Netflix Sans, Arial, sans-serif",
45
- brandColor: "#E50914",
46
- },
47
- border: {
48
- borderColor: "#333333",
49
- borderRadius: 4,
50
- borderThickness: 1,
51
- },
52
- color: {
53
- textColorShades: {
54
- mainText: "white",
55
- subduedText: "#B3B3B3",
56
- },
57
- backgroundColor: "#101010",
58
- accentColorShades: {
59
- text: "#E50914",
60
- icon: "#E50914",
61
- border: "#E50914",
62
- background: "#300609",
63
- },
64
- success: {
65
- text: "#66BB6A",
66
- border: "#4CAF50",
67
- background: "#1B5E20",
68
- iconAndBadge: "#4CAF50",
69
- },
70
- warning: {
71
- text: "#FFCA28",
72
- border: "#FFA726",
73
- background: "#F57C00",
74
- iconAndBadge: "#FFA726",
75
- },
76
- critical: {
77
- text: "#EF9A9A",
78
- border: "#E50914",
79
- background: "#B71C1C",
80
- iconAndBadge: "#E50914",
81
- },
82
- informative: {
83
- text: "#64B5F6",
84
- border: "#42A5F5",
85
- background: "#1976D2",
86
- iconAndBadge: "#42A5F5",
87
- },
88
- neutral: {
89
- text: "white",
90
- iconAndBadge: "#B3B3B3",
91
- border: "#333333",
92
- background: "#222222",
93
- },
94
- },
95
- primaryButton: {
96
- buttonColor: {
97
- background: "#E50914",
98
- border: "transparent",
99
- label: "#FFFFFF",
100
- },
101
- buttonHoverColor: {
102
- background: "#CC0000",
103
- border: "transparent",
104
- label: "#FFFFFF",
105
- },
106
- borderRadius: 4,
107
- },
108
- secondaryButton: {
109
- buttonColor: {
110
- background: "transparent",
111
- border: "#B3B3B3",
112
- label: "#FFFFFF",
113
- },
114
- buttonHoverColor: {
115
- background: "#333333",
116
- border: "#B3B3B3",
117
- label: "#FFFFFF",
118
- },
119
- borderRadius: 4,
120
- },
121
- formFields: {
122
- formFieldColor: {
123
- background: "#222222",
124
- border: "#B3B3B3",
125
- inputText: "#B3B3B3",
126
- },
127
- hoverStateColor: "#777777",
128
- selectedStateColor: "#E50914",
129
- borderRadius: 4,
130
- },
131
- };
132
- const Amazon = {
133
- main: {
134
- brandFont: "Amazon Ember, Arial, sans-serif",
135
- brandColor: "#FF9900",
136
- },
137
- border: {
138
- borderColor: "#D5D9D9",
139
- borderRadius: 4,
140
- borderThickness: 1,
141
- },
142
- color: {
143
- backgroundColor: "#ffffff",
144
- textColorShades: {
145
- mainText: "#2f2f2f",
146
- subduedText: "#565959",
147
- },
148
- accentColorShades: {
149
- text: "#FF9900",
150
- icon: "#FF9900",
151
- border: "#FFBF66",
152
- background: "#FFF4DD",
153
- },
154
- success: {
155
- text: "#198754",
156
- border: "#BCE8B2",
157
- background: "#D4EDDA",
158
- iconAndBadge: "#28A745",
159
- },
160
- warning: {
161
- text: "#856404",
162
- border: "#FFEBA2",
163
- background: "#FFF3CD",
164
- iconAndBadge: "#FFC107",
165
- },
166
- critical: {
167
- text: "#721C24",
168
- border: "#F5C6CB",
169
- background: "#F8D7DA",
170
- iconAndBadge: "#DC3545",
171
- },
172
- informative: {
173
- text: "#004085",
174
- border: "#B8DAFF",
175
- background: "#CCE5FF",
176
- iconAndBadge: "#007BFF",
177
- },
178
- neutral: {
179
- text: "#232F3E",
180
- iconAndBadge: "#565959",
181
- border: "#D5D9D9",
182
- background: "#F0F2F2",
183
- },
184
- },
185
- primaryButton: {
186
- buttonColor: {
187
- background: "#FF9900",
188
- border: "transparent",
189
- label: "#FFFFFF",
190
- },
191
- buttonHoverColor: {
192
- background: "#EB9100",
193
- border: "transparent",
194
- label: "#FFFFFF",
195
- },
196
- borderRadius: 4,
197
- },
198
- secondaryButton: {
199
- buttonColor: {
200
- background: "#FFFFFF",
201
- border: "#888C8C",
202
- label: "#232F3E",
203
- },
204
- buttonHoverColor: {
205
- background: "#F0F2F2",
206
- border: "#888C8C",
207
- label: "#232F3E",
208
- },
209
- borderRadius: 4,
210
- },
211
- formFields: {
212
- formFieldColor: {
213
- background: "#FFFFFF",
214
- border: "#D5D9D9",
215
- inputText: "#2f2f2f",
216
- },
217
- borderRadius: 4,
218
- hoverStateColor: "#A2A2A2",
219
- selectedStateColor: "#007185",
220
- },
221
- };
222
- const Spotify = {
223
- main: {
224
- brandColor: "#1ed760",
225
- },
226
- border: {
227
- borderColor: "#f4f4f4",
228
- borderRadius: 18,
229
- borderThickness: 1,
230
- },
231
- color: {
232
- textColorShades: {
233
- mainText: "white",
234
- subduedText: "white",
235
- },
236
- backgroundColor: "#121212",
237
- accentColorShades: {
238
- icon: "#1ed760",
239
- },
240
- },
241
- primaryButton: {
242
- buttonColor: {
243
- background: "#1ed760",
244
- border: "transparent",
245
- label: "#121212",
246
- },
247
- buttonHoverColor: {
248
- background: "#1DB954",
249
- border: "transparent",
250
- label: "#121212",
251
- },
252
- borderRadius: 30,
253
- },
254
- secondaryButton: {
255
- buttonColor: {
256
- background: "#191414",
257
- border: "#FFFFFF",
258
- label: "#FFFFFF",
259
- },
260
- buttonHoverColor: {
261
- background: "#282828",
262
- border: "#FFFFFF",
263
- label: "#121212",
264
- },
265
- borderRadius: 30,
266
- },
267
- formFields: {
268
- formFieldColor: {
269
- background: "#121212",
270
- border: "#7c7c7c",
271
- inputText: "#fff",
272
- },
273
- borderRadius: 30,
274
- hoverStateColor: "white",
275
- selectedStateColor: "white",
276
- },
277
- };
278
- const Google = {
279
- main: { brandColor: "#4285F4", brandFont: "Roboto, Arial, sans-serif" },
280
- border: {
281
- borderColor: "#DADCE0",
282
- borderRadius: 4,
283
- borderThickness: 1,
284
- },
285
- color: {
286
- textColorShades: {
287
- mainText: "#212124",
288
- subduedText: "#5F6368",
289
- },
290
- backgroundColor: "#FFFFFF",
291
- accentColorShades: {
292
- text: "#1A73E8",
293
- border: "#8AB4F8",
294
- background: "#E8F0FE",
295
- icon: "#4285F4",
296
- },
297
- success: {
298
- text: "#044e1d",
299
- border: "#A8DCD7",
300
- background: "#E6F4EA",
301
- iconAndBadge: "#34A853",
302
- },
303
- warning: {
304
- text: "#996a3d",
305
- border: "#FCD667",
306
- background: "#FFF7EE",
307
- iconAndBadge: "#FBBC04",
308
- },
309
- critical: {
310
- text: "#760b09",
311
- border: "#F28B82",
312
- background: "#FCE8E6",
313
- iconAndBadge: "#EA4335",
314
- },
315
- informative: {
316
- text: "#01368c",
317
- border: "#BFDBFE",
318
- background: "#E8F0FE",
319
- iconAndBadge: "#4285F4",
320
- },
321
- neutral: {
322
- text: "#202124",
323
- border: "#DADCE0",
324
- background: "#F8F9FA",
325
- iconAndBadge: "#5F6368",
326
- },
327
- },
328
- primaryButton: {
329
- buttonColor: {
330
- background: "#4285F4",
331
- border: "transparent",
332
- label: "#FFFFFF",
333
- },
334
- buttonHoverColor: {
335
- background: "#3C7CD1",
336
- border: "transparent",
337
- label: "#FFFFFF",
338
- },
339
- borderRadius: 4,
340
- },
341
- secondaryButton: {
342
- buttonColor: {
343
- background: "#FFFFFF",
344
- border: "#DADCE0",
345
- label: "#4285F4",
346
- },
347
- buttonHoverColor: {
348
- background: "#E8F0FE",
349
- border: "#DADCE0",
350
- label: "#4285F4",
351
- },
352
- borderRadius: 4,
353
- },
354
- formFields: {
355
- formFieldColor: {
356
- background: "#FFFFFF",
357
- border: "#DADCE0",
358
- inputText: "#202124",
359
- },
360
- borderRadius: 4,
361
- hoverStateColor: "#9AA0A6",
362
- selectedStateColor: "#4285F4",
363
- },
364
- };
365
-
366
- const Themes = /*#__PURE__*/Object.freeze({
367
- __proto__: null,
368
- Default: Default,
369
- Netflix: Netflix,
370
- Amazon: Amazon,
371
- Spotify: Spotify,
372
- Google: Google
373
- });
22
+ import { i as isEmpty } from './utilities-5b0ca040.js';
23
+ import { b as useDemoBigStat, W as useBigStat, B as BigStatView, U as autoColorScaleCss, J as CardFeedView, i as CheckboxFieldView, K as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, Q as LeadDropdownFieldView, O as LeadFormView, X as withShadowView, L as LeaderboardView, N as NameFieldsView, C as ChangeMarktingView, d as PortalChangePasswordView, h as PortalFooterView, P as PortalFrameView, e as PortalRegisterView, R as ReferralIframeView, Y as demoRewardExchange, j as RewardExchangeView, a as useShareButton, S as ShareButtonView, u as useShareLink, c as StatContainerView, T as TaskCardView } from './ShadowViewAddon-f2176779.js';
24
+ import './sqm-portal-container-view-1683ae32.js';
25
+ import { u as usePayoutStatus } from './usePayoutStatus-4a7625b9.js';
374
26
 
375
27
  const BigStat = class {
376
28
  constructor(hostRef) {
@@ -380,19 +32,8 @@ const BigStat = class {
380
32
  *
381
33
  * @uiName Flex reverse
382
34
  * @default
383
- * @uiGroup Additional Settings
384
35
  */
385
36
  this.flexReverse = false;
386
- /**
387
- * Controls the alignment of the flexbox
388
- *
389
- * @uiName Alignment
390
- * @uiType string
391
- * @uiEnum ["left", "right", "center"]
392
- * @uiEnumNames ["Left", "Right", "Center"]
393
- * @uiGroup Additional Settings
394
- */
395
- this.alignment = "center";
396
37
  this.ignored = true;
397
38
  h(this);
398
39
  }
@@ -400,62 +41,24 @@ const BigStat = class {
400
41
  render() {
401
42
  var _a;
402
43
  const { props, label } = isDemo() ? useDemoBigStat(this) : useBigStat(this);
403
- const host = _$1();
44
+ const host = _();
404
45
  const hasLabel = !!((_a = host.innerHTML) === null || _a === void 0 ? void 0 : _a.trim());
405
46
  const labelSlot = h$1("slot", { name: "label" }, hasLabel ? h$1("slot", null) : label);
406
47
  return h$1(BigStatView, Object.assign({}, props, { labelSlot: labelSlot }));
407
48
  }
408
49
  };
409
50
 
410
- function t(t,n,r){return Math.min(Math.max(t,r),n)}class n extends Error{constructor(t){super(`Failed to parse color: "${t}"`);}}function r(r){if("string"!=typeof r)throw new n(r);if("transparent"===r.trim().toLowerCase())return [0,0,0,0];let e=r.trim();e=u.test(r)?function(t){const r=t.toLowerCase().trim(),e=o[function(t){let n=5381,r=t.length;for(;r;)n=33*n^t.charCodeAt(--r);return (n>>>0)%2341}(r)];if(!e)throw new n(t);return `#${e}`}(r):r;const f=s.exec(e);if(f){const t=Array.from(f).slice(1);return [...t.slice(0,3).map(t=>parseInt(_(t,2),16)),parseInt(_(t[3]||"f",2),16)/255]}const p=i.exec(e);if(p){const t=Array.from(p).slice(1);return [...t.slice(0,3).map(t=>parseInt(t,16)),parseInt(t[3]||"ff",16)/255]}const z=a.exec(e);if(z){const t=Array.from(z).slice(1);return [...t.slice(0,3).map(t=>parseInt(t,10)),parseFloat(t[3]||"1")]}const h=c.exec(e);if(h){const[e,o,_,s]=Array.from(h).slice(1).map(parseFloat);if(t(0,100,o)!==o)throw new n(r);if(t(0,100,_)!==_)throw new n(r);return [...l(e,o,_),s||1]}throw new n(r)}const e=t=>parseInt(t.replace(/_/g,""),36),o="1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce((t,n)=>{const r=e(n.substring(0,3)),o=e(n.substring(3)).toString(16);let _="";for(let t=0;t<6-o.length;t++)_+="0";return t[r]=`${_}${o}`,t},{}),_=(t,n)=>Array.from(Array(n)).map(()=>t).join(""),s=new RegExp(`^#${_("([a-f0-9])",3)}([a-f0-9])?$`,"i"),i=new RegExp(`^#${_("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),a=new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${_(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),c=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,u=/^[a-z]+$/i,f=t=>Math.round(255*t),l=(t,n,r)=>{let e=r/100;if(0===n)return [e,e,e].map(f);const o=(t%360+360)%360/60,_=(1-Math.abs(2*e-1))*(n/100),s=_*(1-Math.abs(o%2-1));let i=0,a=0,c=0;o>=0&&o<1?(i=_,a=s):o>=1&&o<2?(i=s,a=_):o>=2&&o<3?(a=_,c=s):o>=3&&o<4?(a=s,c=_):o>=4&&o<5?(i=s,c=_):o>=5&&o<6&&(i=_,c=s);const u=e-_/2;return [i+u,a+u,c+u].map(f)};function p(t){const[n,e,o,_]=r(t).map((t,n)=>3===n?t:t/255),s=Math.max(n,e,o),i=Math.min(n,e,o),a=(s+i)/2;if(s===i)return [0,0,a,_];const c=s-i;return [60*(n===s?(e-o)/c+(e<o?6:0):e===s?(o-n)/c+2:(n-e)/c+4),a>.5?c/(2-s-i):c/(s+i),a,_]}function z(n,r,e,o){return `hsla(${(n%360).toFixed()}, ${t(0,100,100*r).toFixed()}%, ${t(0,100,100*e).toFixed()}%, ${parseFloat(t(0,1,o).toFixed(3))})`}
411
-
412
- const colorScale = [50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 950];
413
- const lScale = [
414
- 0.95,
415
- 0.86,
416
- 0.76,
417
- 0.66,
418
- 0.56,
419
- 0.46,
420
- 0.39,
421
- 0.32,
422
- 0.25,
423
- 0.18,
424
- 0.15,
425
- ];
426
- // https://github.com/ricokahler/color2k/blob/main/src/parseToRgba.ts
427
- const hslaRegex = /^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i;
428
- function niceParseToHsla(color) {
429
- const normalizedColor = color.trim();
430
- const hslaMatch = hslaRegex.exec(normalizedColor);
431
- if (hslaMatch) {
432
- const [h, s, l, a] = Array.from(hslaMatch).slice(1).map(parseFloat);
433
- if (t(0, 100, s) !== s)
434
- throw new n(color);
435
- if (t(0, 100, l) !== l)
436
- throw new n(color);
437
- return [h, s / 100, l, a || 1];
438
- }
439
- // Warning -- converts to RGB first, so is lossy
440
- return p(color);
441
- }
442
- function generateScale(color, name = "primary") {
443
- const [h, s, l, a] = niceParseToHsla(color);
444
- return lScale
445
- .map((l) => z(h, s, l, a))
446
- .map((color, index) => {
447
- return `--sl-color-${name}-${colorScale[index]}: ${color};\n`;
448
- });
449
- }
450
51
  /**
451
- * Generated a Shoelace color scale css string from a base color
52
+ * Build a font CSS URL using the Google Fonts CSS API
452
53
  *
453
- * @param color
454
- * @param name
455
- * @returns
54
+ * Docs: https://developers.google.com/fonts/docs/css2
55
+ *
56
+ * @param fonts - the font family or families to load
57
+ * @returns url to a .css file
456
58
  */
457
- function autoColorScaleCss(color, name = "primary") {
458
- return generateScale(color, name).join("\n");
59
+ function buildFontsCssUrl(...fonts) {
60
+ const queryString = fonts.map(f => `family=${encodeURIComponent(f)}`).join("&");
61
+ return `https://fonts.googleapis.com/css2?${queryString}`;
459
62
  }
460
63
 
461
64
  const BrandComponent = class {
@@ -465,7 +68,7 @@ const BrandComponent = class {
465
68
  }
466
69
  disconnectedCallback() { }
467
70
  render() {
468
- var _a, _b, _c, _d, _e, _f;
71
+ var _a, _b;
469
72
  function getCss(brandColor) {
470
73
  if (brandColor) {
471
74
  try {
@@ -475,14 +78,11 @@ const BrandComponent = class {
475
78
  }
476
79
  return undefined;
477
80
  }
478
- const brandingConfigFont = (_b = (_a = window.SquatchBrandingConfig) === null || _a === void 0 ? void 0 : _a.main) === null || _b === void 0 ? void 0 : _b.brandFont;
479
- const css = ((_d = (_c = window.SquatchBrandingConfig) === null || _c === void 0 ? void 0 : _c.main) === null || _d === void 0 ? void 0 : _d.brandColor) ? ""
480
- : (_e = getCss(this.brandColor)) !== null && _e !== void 0 ? _e : "";
481
- const sanitizedFont = ((_f = this.brandFont) !== null && _f !== void 0 ? _f : "Nunito Sans").trim() || undefined;
81
+ const css = (_a = getCss(this.brandColor)) !== null && _a !== void 0 ? _a : "";
82
+ const sanitizedFont = ((_b = this.brandFont) !== null && _b !== void 0 ? _b : "Nunito Sans").trim() || undefined;
482
83
  useEffect(() => {
483
- if (!sanitizedFont || brandingConfigFont) {
84
+ if (!sanitizedFont) {
484
85
  // Nothing required in default case.
485
- // Don't add font if it's set in the global config
486
86
  return;
487
87
  }
488
88
  const sheet = document.createElement("link");
@@ -502,10 +102,6 @@ const BrandComponent = class {
502
102
  - resets css variable inheritence for fonts
503
103
 
504
104
  */
505
-
506
- ${brandingConfigFont
507
- ? ``
508
- : `
509
105
  ::slotted(*) {
510
106
  --sl-font-sans: "${font}", arial;
511
107
  --sl-input-font-family: "${font}", arial;
@@ -513,7 +109,6 @@ const BrandComponent = class {
513
109
  font-family: "${font}", arial;
514
110
 
515
111
  ${css}
516
- `}
517
112
 
518
113
  --sl-focus-ring-color-primary: var(--sl-color-primary-100);
519
114
  --sl-input-border-color-focus: var(--sl-color-primary-500);
@@ -522,195 +117,6 @@ const BrandComponent = class {
522
117
  }
523
118
  };
524
119
 
525
- const LOCAL_STORAGE_BRAND_KEY = "localStorageBrandKey";
526
- const LOCAL_STORAGE_BRAND_CONFIG_KEY = "localStorageBrandConfigKey";
527
- const SqmBrandSelector = class {
528
- constructor(hostRef) {
529
- registerInstance(this, hostRef);
530
- this.selectedBrand = "Netflix";
531
- this.brands = [
532
- {
533
- name: "Netflix",
534
- logoUrl: "https://res.cloudinary.com/saasquatch-staging/image/upload/v1750803365/netflix_ftjbrr.png",
535
- },
536
- {
537
- name: "Amazon",
538
- logoUrl: "https://res.cloudinary.com/saasquatch-staging/image/upload/v1750803366/amazon_mc22fr.png",
539
- },
540
- {
541
- name: "Spotify",
542
- logoUrl: "https://res.cloudinary.com/saasquatch-staging/image/upload/v1750803510/spotify_j5qi1r.png",
543
- },
544
- {
545
- name: "Google",
546
- logoUrl: "https://res.cloudinary.com/saasquatch-staging/image/upload/v1750803168/pngimg.com_-_google_PNG19644_jvypwl.png",
547
- },
548
- ];
549
- const storedBrand = localStorage.getItem(LOCAL_STORAGE_BRAND_KEY);
550
- const initialBrandName = storedBrand;
551
- this.selectedBrand = initialBrandName;
552
- // Initialize window.SquatchBrandingConfig based on the loaded brand
553
- const initialConfig = Themes[initialBrandName] || Netflix;
554
- window.SquatchBrandingConfig = initialConfig;
555
- const event = new CustomEvent("brandingConfigUpdated", {
556
- detail: window.SquatchBrandingConfig,
557
- });
558
- window.dispatchEvent(event);
559
- }
560
- componentDidLoad() {
561
- const storedBrand = localStorage.getItem(LOCAL_STORAGE_BRAND_KEY);
562
- const initialBrandName = storedBrand;
563
- this.selectedBrand = initialBrandName;
564
- }
565
- disconnectedCallback() { }
566
- updateBrand(brandName) {
567
- this.selectedBrand = brandName;
568
- const configToSet = Themes[brandName] || Netflix;
569
- const brandConfigString = JSON.stringify(configToSet);
570
- localStorage.setItem(LOCAL_STORAGE_BRAND_KEY, brandName);
571
- localStorage.setItem(LOCAL_STORAGE_BRAND_CONFIG_KEY, brandConfigString);
572
- window.SquatchBrandingConfig = configToSet;
573
- window.location.reload();
574
- const event = new CustomEvent("brandingConfigUpdated", {
575
- detail: window.SquatchBrandingConfig,
576
- });
577
- window.dispatchEvent(event);
578
- }
579
- render() {
580
- return (h$1(Host, null, h$1("style", null, `
581
- @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');
582
-
583
- :host {
584
- display: block; /* Ensure the custom element itself is a block-level element */
585
- font-family: 'Inter', sans-serif;
586
- }
587
-
588
- .card-container {
589
- background-color: #fff !important;
590
- border-radius: 18px;
591
- box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
592
- width: 100%;
593
- max-width: 350px;
594
- overflow: hidden;
595
- padding: 10px;
596
- position: fixed;
597
- bottom: 0;
598
- right: 0;
599
- z-index: 999999;
600
- border: 1px solid #ccc;
601
- margin: 10px;
602
- }
603
-
604
- .card-heading {
605
- display: flex;
606
- align-items: center;
607
- justify-content: center;
608
- padding-bottom: 10px;
609
- color: black;
610
- margin: 0;
611
- font-size: 16px;
612
- }
613
-
614
- .segmented-control-container {
615
- display: flex;
616
- background-color: #e5e7eb !important;
617
- border-radius: 9999px;
618
- padding: 0.25rem;
619
- margin-left: auto;
620
- margin-right: auto;
621
- max-width: 28rem;
622
- box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);
623
- }
624
-
625
- .brand-segment {
626
- display: flex;
627
- flex-direction: column;
628
- align-items: center;
629
- justify-content: center;
630
- flex: 1;
631
- padding: 0px 8px;
632
- cursor: pointer;
633
- transition: all 300ms ease-in-out;
634
- border-radius: 9999px;
635
- color: #4b5563;
636
- cursor: pointer;
637
- }
638
-
639
- .brand-segment:hover {
640
- background-color: #f3f4f6 !important;
641
- }
642
-
643
- .brand-segment.active {
644
- background-color: #fff !important;
645
- color: #1f2937;
646
- box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
647
- }
648
-
649
- .brand-logo {
650
- height: 40px;
651
- width: 40px;
652
- object-fit: contain;
653
- }
654
-
655
- .brand-name {
656
- font-size: 0.75rem;
657
- line-height: 1rem;
658
- font-weight: 600;
659
- color: #4b5563;
660
- }
661
-
662
- .brand-segment.active .brand-name {
663
- color: #1f2937;
664
- }
665
-
666
- .content-area {
667
- padding: 2rem;
668
- }
669
-
670
- .selected-text {
671
- color: #4b5563;
672
- text-align: center;
673
- font-size: 1.125rem;
674
- line-height: 1.75rem;
675
- }
676
-
677
- .selected-brand-name {
678
- font-weight: 700; /* font-bold */
679
- color: #6d28d9; /* text-purple-700 */
680
- }
681
-
682
- .dynamic-content-box {
683
- margin-top: 1.5rem; /* mt-6 */
684
- padding: 1rem; /* p-4 */
685
- background-color: #f9fafb; /* bg-gray-50 */
686
- border-radius: 0.5rem; /* rounded-lg */
687
- color: #374151; /* text-gray-700 */
688
- font-size: 0.875rem; /* text-sm */
689
- line-height: 1.25rem; /* text-sm */
690
- font-style: italic;
691
- }
692
-
693
- /* Responsive adjustments for smaller screens if needed */
694
- @media (max-width: 640px) {
695
- .segmented-control-container {
696
- max-width: 100%; /* Allows it to take full width on small screens */
697
- padding: 0.15rem; /* Slightly less padding */
698
- }
699
- .brand-segment {
700
- padding-left: 0.5rem;
701
- padding-right: 0.5rem;
702
- }
703
- .brand-logo {
704
- height: 1.8rem; /* Slightly smaller on mobile */
705
- }
706
- }
707
- `), h$1("div", { class: "card-container" }, h$1("h2", { class: "card-heading" }, "Select Branding"), h$1("div", { class: "segmented-control-container" }, this.brands.map((brand) => (h$1("div", { key: brand.name, class: `brand-segment ${this.selectedBrand === brand.name ? "active" : ""}`, onClick: () => this.updateBrand(brand.name) }, h$1("img", { src: brand.logoUrl, alt: `${brand.name} Logo`, class: "brand-logo", onError: (e) => {
708
- e.target.src =
709
- "https://placehold.co/80x40/cccccc/000000?text=Logo";
710
- } }))))))));
711
- }
712
- };
713
-
714
120
  const CardFeed = class {
715
121
  constructor(hostRef) {
716
122
  registerInstance(this, hostRef);
@@ -732,58 +138,6 @@ const CardFeed = class {
732
138
  }
733
139
  };
734
140
 
735
- const style = {
736
- IconStyle: {
737
- display: "block",
738
- position: "absolute",
739
- top: "23px",
740
- },
741
- DivStyle: {
742
- marginLeft: "28px",
743
- },
744
- Details: {
745
- marginLeft: "28px",
746
- },
747
- Heading: {
748
- display: "inline-block",
749
- },
750
- Children: {
751
- display: "none",
752
- },
753
- };
754
- const sheet = createStyleSheet(style);
755
- const styleString = sheet.toString();
756
- function RequiredPropsError({ missingProps, heading = "There was a problem loading this section", subheading = "There was a technical problem that prevented this section from loading. Please contact us with the link to this page.", description = "Error occured while loading <{tagName}>. Values for the following attributes are missing:", }, children) {
757
- if (!missingProps)
758
- return false;
759
- const host = _$1();
760
- const [detailsOpen, setDetailsOpen] = useState(false);
761
- return (h$1("sl-alert", { type: "danger", open: true },
762
- h$1("style", { type: "text/css" }, styleString),
763
- h$1("div", { slot: "icon", class: sheet.classes.IconStyle },
764
- h$1("sl-icon", { name: "exclamation-octagon" })),
765
- h$1("div", { class: sheet.classes.DivStyle },
766
- h$1("h2", { class: sheet.classes.Heading }, intl.formatMessage({
767
- id: `error-heading`,
768
- defaultMessage: heading,
769
- })),
770
- h$1("p", null, intl.formatMessage({
771
- id: `error-subheading`,
772
- defaultMessage: subheading,
773
- }))),
774
- h$1("details", { class: sheet.classes.Details },
775
- h$1("summary", { onClick: () => setDetailsOpen(!detailsOpen) },
776
- detailsOpen ? "Less" : "More",
777
- " details"),
778
- h$1("p", null, intl.formatMessage({
779
- id: `error-description`,
780
- defaultMessage: description,
781
- }, { tagName: host.tagName.toLowerCase() })),
782
- h$1("ul", null, missingProps.map((prop) => (h$1("li", null,
783
- h$1("strong", null, prop.attribute)))))),
784
- h$1("div", { class: sheet.classes.Children }, children)));
785
- }
786
-
787
141
  function useCheckboxField(props) {
788
142
  var _a;
789
143
  const registrationFormState = d(REGISTRATION_FORM_STATE_CONTEXT);
@@ -883,6 +237,7 @@ const FuelTankRewardsQuery = dist.gql `
883
237
  dateCancelled
884
238
  dateScheduledFor
885
239
  datePendingForUnhandledError
240
+ pendingReasons
886
241
  }
887
242
  count
888
243
  totalCount
@@ -902,16 +257,61 @@ function useCouponCode(props) {
902
257
  const programId = H();
903
258
  const engagementMedium = B();
904
259
  const [sendLoadEvent] = $e(WIDGET_ENGAGEMENT_EVENT);
260
+ const [retried, setRetried] = useState(false);
261
+ const [countdown, setCountdown] = useState(60);
262
+ const timerRef = useRef(undefined);
263
+ const countdownRef = useRef(undefined);
905
264
  const { data, loading, refetch, errors } = wn(FuelTankRewardsQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
265
+ async function checkReward() {
266
+ var _a, _b, _c, _d, _e, _f;
267
+ const data = await refetch();
268
+ setRetried(true);
269
+ if (!((_f = (_e = (_d = (_c = (_b = (_a = data) === null || _a === void 0 ? void 0 : _a.user) === null || _b === void 0 ? void 0 : _b.instantAccessRewards) === null || _c === void 0 ? void 0 : _c.data) === null || _d === void 0 ? void 0 : _d[0]) === null || _e === void 0 ? void 0 : _e.pendingReasons) === null || _f === void 0 ? void 0 : _f.includes("ERROR_SYNCING_FUEL_TANK_CODE"))) {
270
+ return clearInterval(timerRef.current);
271
+ }
272
+ }
273
+ const reward = (_c = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.instantAccessRewards) === null || _b === void 0 ? void 0 : _b.data) === null || _c === void 0 ? void 0 : _c[0];
274
+ const startTimer = (countdown = 61000) => setInterval(checkReward, countdown);
275
+ const startCountdown = (countdown) => setInterval(() => setCountdown(countdown), 1000);
276
+ // Refetch reward status timer
277
+ useEffect(() => {
278
+ var _a, _b;
279
+ if (!timerRef.current && ((_a = reward === null || reward === void 0 ? void 0 : reward.statuses) === null || _a === void 0 ? void 0 : _a.includes("PENDING")) && ((_b = reward === null || reward === void 0 ? void 0 : reward.pendingReasons) === null || _b === void 0 ? void 0 : _b.includes("ERROR_SYNCING_FUEL_TANK_CODE"))) {
280
+ timerRef.current = startTimer();
281
+ }
282
+ return () => {
283
+ clearInterval(timerRef.current);
284
+ };
285
+ }, []);
286
+ // Countdown timer
287
+ useEffect(() => {
288
+ var _a, _b;
289
+ if (countdown > 0 && ((_a = reward === null || reward === void 0 ? void 0 : reward.statuses) === null || _a === void 0 ? void 0 : _a.includes("PENDING")) && ((_b = reward === null || reward === void 0 ? void 0 : reward.pendingReasons) === null || _b === void 0 ? void 0 : _b.includes("ERROR_SYNCING_FUEL_TANK_CODE"))) {
290
+ clearInterval(countdownRef.current);
291
+ countdownRef.current = startCountdown(countdown - 1);
292
+ }
293
+ return () => {
294
+ clearInterval(countdownRef.current);
295
+ };
296
+ }, [countdown, reward]);
297
+ useEffect(() => {
298
+ var _a, _b;
299
+ // Retry after a minute if the reward is pending and has an error syncing the fuel tank code
300
+ if (((_a = reward === null || reward === void 0 ? void 0 : reward.statuses) === null || _a === void 0 ? void 0 : _a.includes("PENDING")) && ((_b = reward === null || reward === void 0 ? void 0 : reward.pendingReasons) === null || _b === void 0 ? void 0 : _b.includes("ERROR_SYNCING_FUEL_TANK_CODE"))) {
301
+ startTimer();
302
+ }
303
+ }, [reward]);
906
304
  const getStatus = (reward) => {
907
305
  if (!reward || !reward.statuses)
908
306
  return "ERROR";
909
307
  const state = reward.statuses[reward.statuses.length - 1];
308
+ if (state === "PENDING" &&
309
+ reward.pendingReasons.includes("ERROR_SYNCING_FUEL_TANK_CODE"))
310
+ return "ERROR_SYNCING_FUEL_TANK_CODE";
910
311
  if (state === "PENDING" && reward.dateScheduledFor === null)
911
312
  return "EMPTY_TANK";
912
313
  return state;
913
314
  };
914
- const reward = (_c = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.instantAccessRewards) === null || _b === void 0 ? void 0 : _b.data) === null || _c === void 0 ? void 0 : _c[0];
915
315
  const rewardStatus = getStatus(reward);
916
316
  const dateAvailable = rewardStatus === "PENDING" && reward.dateScheduledFor
917
317
  ? new Date(reward.dateScheduledFor).toLocaleDateString("default", {
@@ -949,6 +349,21 @@ function useCouponCode(props) {
949
349
  return props.expiredErrorText;
950
350
  case "EMPTY_TANK":
951
351
  return props.fullfillmentErrorText;
352
+ case "ERROR_SYNCING_FUEL_TANK_CODE":
353
+ return retried
354
+ ? intl.formatMessage({
355
+ id: "codeSyncErrorText",
356
+ defaultMessage: props.codeSyncErrorText,
357
+ }, {
358
+ supportEmail: "advocate-support@impact.com",
359
+ })
360
+ : intl.formatMessage({
361
+ id: "codeSyncErrorText",
362
+ defaultMessage: props.codeSyncErrorRetryText,
363
+ }, {
364
+ supportEmail: "advocate-support@impact.com",
365
+ timeRemaining: countdown,
366
+ });
952
367
  case "PENDING":
953
368
  return props.pendingErrorText.replace("{unpendDate}", dateAvailable);
954
369
  case "REDEEMED":
@@ -965,6 +380,7 @@ function useCouponCode(props) {
965
380
  case "EMPTY_TANK":
966
381
  case "CANCELLED":
967
382
  case "ERROR":
383
+ case "ERROR_SYNCING_FUEL_TANK_CODE":
968
384
  return "warning";
969
385
  case "PENDING":
970
386
  return "info";
@@ -987,7 +403,6 @@ function useCouponCode(props) {
987
403
  dateAvailable,
988
404
  loading,
989
405
  errorType,
990
- buttonType: props.buttonType || "primary",
991
406
  };
992
407
  }
993
408
 
@@ -1011,7 +426,6 @@ const CouponCode = class {
1011
426
  * @uiType string
1012
427
  * @uiEnum ["left", "center", "right"]
1013
428
  * @uiEnumNames ["Left", "Center", "Right"]
1014
- * @uiGroup Style
1015
429
  */
1016
430
  this.textAlign = "left";
1017
431
  /**
@@ -1025,7 +439,6 @@ const CouponCode = class {
1025
439
  * @uiType string
1026
440
  * @uiEnum ["icon", "button-outside", "button-below"]
1027
441
  * @uiEnumNames ["Icon", "Button outside", "Button below"]
1028
- * @uiGroup Style
1029
442
  */
1030
443
  this.buttonStyle = "icon";
1031
444
  /**
@@ -1072,6 +485,22 @@ const CouponCode = class {
1072
485
  * @uiGroup Coupon code error
1073
486
  */
1074
487
  this.pendingErrorText = "Your code will be available on {unpendDate}. Mark your calendar and come back then to redeem your reward!";
488
+ /**
489
+ * Display this message when the code fails to load before retrying.
490
+ *
491
+ * @uiWidget textArea
492
+ * @uiName Code sync error retry message
493
+ * @uiGroup Coupon code error
494
+ */
495
+ this.codeSyncErrorRetryText = "We're experiencing an issue generating your coupon code. If it doesn't appear shortly, please contact {supportEmail}. Retrying in {timeRemaining} seconds.";
496
+ /**
497
+ * Display this message when the code fails to load after retrying.
498
+ *
499
+ * @uiWidget textArea
500
+ * @uiName Code sync error message
501
+ * @uiGroup Coupon code error
502
+ */
503
+ this.codeSyncErrorText = "We're still experiencing an issue generating your coupon code. Please contact {supportEmail} for assistance.";
1075
504
  /**
1076
505
  * Display this message when the code fails to load due to an unspecified error.
1077
506
  *
@@ -1087,15 +516,6 @@ const CouponCode = class {
1087
516
  * @uiGroup Coupon code error
1088
517
  */
1089
518
  this.couponCodePlaceholder = "...";
1090
- /**
1091
- * The type of the button (primary or secondary) that will be used to copy the link.
1092
- * @uiName Button Type
1093
- * @uiType string
1094
- * @uiEnum ["primary", "secondary"]
1095
- * @uiEnumNames ["Primary", "Secondary"]
1096
- * @uiGroup Style
1097
- */
1098
- this.buttonType = "primary";
1099
519
  h(this);
1100
520
  }
1101
521
  disconnectedCallback() { }
@@ -1119,11 +539,8 @@ function useDemoCouponCode(props) {
1119
539
  error: false,
1120
540
  couponCodePlaceholder: props.couponCodePlaceholder,
1121
541
  couponCodeLabel: props.couponCodeLabel,
1122
- borderColor: props.borderColor,
1123
- backgroundColor: props.backgroundColor,
1124
- textColor: props.textColor,
1125
- borderRadius: props.borderRadius,
1126
- buttonType: props.buttonType,
542
+ codeSyncErrorText: props.codeSyncErrorText,
543
+ codeSyncErrorRetryText: props.codeSyncErrorRetryText,
1127
544
  open,
1128
545
  onClick: () => {
1129
546
  // Should well supported: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard#browser_compatibility
@@ -1138,23 +555,14 @@ function useDemoCouponCode(props) {
1138
555
  function DividedLayoutView(props, children) {
1139
556
  const getBorder = () => {
1140
557
  if (props.direction === "row") {
1141
- return {
1142
- "border-right": props.borderless
1143
- ? "none"
1144
- : `var(--sqm-border-thickness) solid ${props.borderColor || "var(--sqm-border-color)"}`,
1145
- };
558
+ return { "border-right": props.dividerStyle || "1px solid #EAEAEA" };
1146
559
  }
1147
560
  else {
1148
- return {
1149
- "border-bottom": props.borderless
1150
- ? "none"
1151
- : `var(--sqm-border-thickness) solid ${props.borderColor || "var(--sqm-border-color)"}`,
1152
- };
561
+ return { "border-bottom": props.dividerStyle || "1px solid #EAEAEA" };
1153
562
  }
1154
563
  };
1155
564
  const style = {
1156
565
  LayoutContainer: {
1157
- background: props.backgroundColor,
1158
566
  display: "contents",
1159
567
  // First style applies when shadow DOM is disabled, second applies when shadow DOM is enabled
1160
568
  "& > :not(:last-child)": {
@@ -1170,10 +578,11 @@ function DividedLayoutView(props, children) {
1170
578
  flex: 1;
1171
579
  box-sizing: border-box;
1172
580
  flex-direction: ${props.direction};
1173
- background-color: var(--sqm-portal-background);
1174
- color: var(--sqm-text);
581
+ background-color: var(--sqm-content-background);
1175
582
  overflow-x: clip;
1176
- ${props.direction === "column" ? "width: 100%; max-width: 100%" : ""}
583
+ ${props.direction === "column"
584
+ ? "width: 100%; max-width: var(--sqm-portal-main-width);"
585
+ : ""}
1177
586
  ${props.contentAreaWidth !== null
1178
587
  ? `max-width: ${props.contentAreaWidth} !important;`
1179
588
  : ""}
@@ -1205,17 +614,10 @@ const DividedLayout = class {
1205
614
  constructor(hostRef) {
1206
615
  registerInstance(this, hostRef);
1207
616
  /**
1208
- * @undocumented
1209
617
  * Uses Shorthand CSS border syntax allowing specification of thickness, fill style and color.
1210
618
  * @uiName Border style
1211
619
  */
1212
- this.dividerStyle = "var(--sqm-border-thickness) solid var(--sqm-border-color)";
1213
- /**
1214
- * Background color of the divider
1215
- * @uiName Divider Background Color
1216
- * @uiWidget color
1217
- */
1218
- this.backgroundColor = "#FFFFFF";
620
+ this.dividerStyle = "1px solid #EAEAEA";
1219
621
  h(this);
1220
622
  }
1221
623
  disconnectedCallback() { }
@@ -1536,12 +938,12 @@ const Hero = class {
1536
938
  */
1537
939
  this.minHeight = 200;
1538
940
  /**
1539
- * Add an image or select a color. Recommended image aspect ratio of 4:5
941
+ * Can be an image url, colour or Shoelace variable.
1540
942
  *
1541
943
  * @uiName Background
1542
944
  * @uiWidget Background
1543
945
  */
1544
- this.background = "#f9fafb";
946
+ this.background = "var(--sl-color-gray-50)";
1545
947
  /**
1546
948
  * @uiName Padding size
1547
949
  * @uiEnum ["none", "small", "medium","large"]
@@ -1556,10 +958,6 @@ const Hero = class {
1556
958
  * @uiEnumNames ["Wrap", "Wrap Reverse"]
1557
959
  */
1558
960
  this.wrapDirection = "wrap";
1559
- /**
1560
- * @uiName Hide the column in mobile view (can only be used when two columns are present)
1561
- */
1562
- this.columnToHideInMobile = null;
1563
961
  h(this);
1564
962
  }
1565
963
  disconnectedCallback() { }
@@ -1588,7 +986,7 @@ function HeroImageView(props, children) {
1588
986
  width: "100%",
1589
987
  height: "100%",
1590
988
  position: "absolute",
1591
- background: props.overlayColor || "var(--sl-color-black)",
989
+ background: props.overlayColor || "var(--sl-color-primary-900)",
1592
990
  opacity: props.overlayOpacity,
1593
991
  },
1594
992
  },
@@ -1614,7 +1012,7 @@ function HeroImageView(props, children) {
1614
1012
  props.paddingImage +
1615
1013
  "))",
1616
1014
  textAlign: "center",
1617
- color: props.textColor || "var(--sqm-text)",
1015
+ color: props.textColor || "var(--sl-color-neutral-0)",
1618
1016
  lineHeight: "var(--sl-line-height-dense)",
1619
1017
  "@media (max-width: 599px)": {
1620
1018
  padding: "var(--sl-spacing-" + props.paddingText + ")",
@@ -1625,7 +1023,7 @@ function HeroImageView(props, children) {
1625
1023
  background: props.backgroundColor || "",
1626
1024
  flexDirection: props.imagePos === "right" ? "row-reverse" : "row",
1627
1025
  lineHeight: "var(--sl-line-height-dense)",
1628
- color: props.textColor || "var(--sqm-text)",
1026
+ color: props.textColor || "var(--sl-color-neutral-900)",
1629
1027
  "& .image-area": {
1630
1028
  width: props.imagePercentage ? props.imagePercentage + "%" : "50%",
1631
1029
  padding: "var(--sl-spacing-" + props.paddingImage + ")",
@@ -1695,7 +1093,7 @@ function HeroImageView(props, children) {
1695
1093
  h$1("div", { class: sheet.classes.Overlay, part: "sqm-overlay" },
1696
1094
  props.header && (h$1("div", { class: sheet.classes.Header }, props.header)),
1697
1095
  props.description && (h$1("div", { class: sheet.classes.Description }, props.description)),
1698
- props.buttonText && (h$1("sl-button", { class: sheet.classes.Button, type: "primary", exportparts: `base: ${props.buttonType}button-base`, onClick: () => props.buttonNewTab
1096
+ props.buttonText && (h$1("sl-button", { class: sheet.classes.Button, type: "primary", onClick: () => props.buttonNewTab
1699
1097
  ? window.open(props.buttonLink)
1700
1098
  : window.open(props.buttonLink, "_parent") }, props.buttonText)),
1701
1099
  children && children)));
@@ -1719,7 +1117,6 @@ const HeroImage = class {
1719
1117
  registerInstance(this, hostRef);
1720
1118
  /**
1721
1119
  * @uiName Overlay opacity
1722
- * @uiGroup Style
1723
1120
  */
1724
1121
  this.overlayOpacity = "0.75";
1725
1122
  /**
@@ -1727,13 +1124,11 @@ const HeroImage = class {
1727
1124
  * @uiType string
1728
1125
  * @uiEnum ["overlay", "columns"]
1729
1126
  * @uiEnumNames ["Overlay", "Two-column"]
1730
- * @uiGroup Style
1731
1127
  */
1732
1128
  this.layout = "overlay";
1733
1129
  /**
1734
1130
  * @uiName Image percentage
1735
1131
  * @uiType number
1736
- * @uiGroup Style
1737
1132
  */
1738
1133
  this.imagePercentage = 50;
1739
1134
  /**
@@ -1741,7 +1136,6 @@ const HeroImage = class {
1741
1136
  * @uiType string
1742
1137
  * @uiEnum ["left", "center", "right"]
1743
1138
  * @uiEnumNames ["Left", "Center", "Right"]
1744
- * @uiGroup Style
1745
1139
  */
1746
1140
  this.imagePos = "center";
1747
1141
  /**
@@ -1749,7 +1143,6 @@ const HeroImage = class {
1749
1143
  * @uiType string
1750
1144
  * @uiEnum ["top", "bottom"]
1751
1145
  * @uiEnumNames ["Top", "Bottom"]
1752
- * @uiGroup Style
1753
1146
  */
1754
1147
  this.imageMobilePos = "top";
1755
1148
  /**
@@ -1762,7 +1155,6 @@ const HeroImage = class {
1762
1155
  * @uiType string
1763
1156
  * @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
1764
1157
  * @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
1765
- * @uiGroup Style
1766
1158
  */
1767
1159
  this.paddingText = "xxxx-large";
1768
1160
  /**
@@ -1770,18 +1162,8 @@ const HeroImage = class {
1770
1162
  * @uiType string
1771
1163
  * @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
1772
1164
  * @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
1773
- * @uiGroup Style
1774
1165
  */
1775
1166
  this.paddingImage = "none";
1776
- /**
1777
- * The type of the button that is used (primary or secondary).
1778
- * @uiName Button Type
1779
- * @uiType string
1780
- * @uiEnum ["primary", "secondary"]
1781
- * @uiEnumNames ["Primary", "Secondary"]
1782
- * @uiGroup Style
1783
- */
1784
- this.buttonType = "primary";
1785
1167
  h(this);
1786
1168
  }
1787
1169
  disconnectedCallback() { }
@@ -1907,6 +1289,356 @@ function useInputFieldDemo(props) {
1907
1289
  }, props.demoData || {}, { arrayMerge: (_, a) => a });
1908
1290
  }
1909
1291
 
1292
+ function useLeadDropdownField() {
1293
+ const leadFormState = d(LEAD_FORM_STATE_CONTEXT);
1294
+ return {
1295
+ states: {
1296
+ leadFormState,
1297
+ },
1298
+ };
1299
+ }
1300
+
1301
+ const LeadDropdownField = class {
1302
+ constructor(hostRef) {
1303
+ registerInstance(this, hostRef);
1304
+ this.ignored = true;
1305
+ /**
1306
+ * @uiName Dropdown label
1307
+ */
1308
+ this.dropdownLabel = "Select an option";
1309
+ /**
1310
+ * The message to be displayed when a required field is not filled.
1311
+ *
1312
+ * @uiName Required field message
1313
+ * @uiWidget textArea
1314
+ */
1315
+ this.requiredFieldErrorMessage = "Please select a {dropdownLabel}";
1316
+ /**
1317
+ * @uiName Optional label
1318
+ */
1319
+ this.optionalLabel = "(optional)";
1320
+ /**
1321
+ * @uiName Optional
1322
+ * @default
1323
+ */
1324
+ this.dropdownOptional = false;
1325
+ /**
1326
+ * @uiName Multiple selection
1327
+ * @default
1328
+ */
1329
+ this.multiple = false;
1330
+ h(this);
1331
+ }
1332
+ disconnectedCallback() { }
1333
+ render() {
1334
+ const missingProps = getMissingProps([
1335
+ {
1336
+ attribute: "dropdown-name",
1337
+ value: this.dropdownName,
1338
+ },
1339
+ ]);
1340
+ if (!isDemo() && missingProps) {
1341
+ return (h$1(RequiredPropsError, { missingProps: missingProps, heading: "An error occured while loading this form", subheading: "A technical problem prevented this drop down field from loading. Please contact us with the link to this page.", description: "Values for the following attributes are missing:" }, h$1("slot", null)));
1342
+ }
1343
+ const content = {
1344
+ ...getProps(this),
1345
+ selectOptions: h$1("slot", null),
1346
+ };
1347
+ const { states } = isDemo()
1348
+ ? useLeadDropdownFieldDemo(this)
1349
+ : useLeadDropdownField();
1350
+ return (h$1(LeadDropdownFieldView, { states: states, content: content }));
1351
+ }
1352
+ };
1353
+ function useLeadDropdownFieldDemo(props) {
1354
+ return cjs({
1355
+ states: {
1356
+ leadFormState: {},
1357
+ },
1358
+ content: {
1359
+ dropdownName: props.dropdownName,
1360
+ dropdownLabel: props.dropdownLabel,
1361
+ requiredFieldErrorMessage: props.requiredFieldErrorMessage,
1362
+ dropdownOptional: props.dropdownOptional,
1363
+ },
1364
+ }, props.demoData || {}, { arrayMerge: (_, a) => a });
1365
+ }
1366
+
1367
+ const SUBMIT_LEAD = dist.gql `
1368
+ mutation submitForm($formSubmissionInput: FormSubmissionInput!) {
1369
+ submitForm(formSubmissionInput: $formSubmissionInput) {
1370
+ success
1371
+ }
1372
+ }
1373
+ `;
1374
+ const GET_USER_DETAILS = dist.gql `
1375
+ query getUser($programId: ID) {
1376
+ viewer {
1377
+ ... on User {
1378
+ referralCode(programId: $programId)
1379
+ }
1380
+ }
1381
+ }
1382
+ `;
1383
+ function useLeadForm(props) {
1384
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
1385
+ const formRef = useRef(null);
1386
+ const { leadFormState, setLeadFormState } = useLeadFormState({});
1387
+ const programId = H();
1388
+ const user = J();
1389
+ const { data: userDetails } = wn(GET_USER_DETAILS, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId);
1390
+ const [submitLead, { loading, errors, data }] = $e(SUBMIT_LEAD);
1391
+ const [success, setSuccess] = useState(false);
1392
+ useEffect(() => {
1393
+ if (!formRef.current)
1394
+ return;
1395
+ const form = formRef.current;
1396
+ form.addEventListener("sl-input", inputFunction);
1397
+ return () => {
1398
+ form.removeEventListener("sl-input", inputFunction);
1399
+ };
1400
+ }, [formRef.current]);
1401
+ const submit = async (event) => {
1402
+ var _a;
1403
+ let formControls = event.target.getFormControls();
1404
+ let formData = {};
1405
+ let validationErrors = {};
1406
+ formControls === null || formControls === void 0 ? void 0 : formControls.forEach((control) => {
1407
+ if (!control.name)
1408
+ return;
1409
+ const key = control.name;
1410
+ const value = control.value;
1411
+ jsonpointer.set(formData, key, value);
1412
+ // required validation
1413
+ if (control.required && !value) {
1414
+ jsonpointer.set(validationErrors, key, props.requiredFieldErrorMessage);
1415
+ }
1416
+ // custom validation
1417
+ if (typeof control.validationError === "function") {
1418
+ const validate = control.validationError;
1419
+ const validationError = validate({ control, key, value });
1420
+ if (validationError)
1421
+ jsonpointer.set(validationErrors, key, validationError);
1422
+ }
1423
+ });
1424
+ if (Object.keys(validationErrors).length) {
1425
+ setLeadFormState({ loading: false, error: "", validationErrors });
1426
+ // early return for validation errors
1427
+ return;
1428
+ }
1429
+ setLeadFormState({
1430
+ loading: true,
1431
+ error: "",
1432
+ validationErrors: {},
1433
+ });
1434
+ const variables = {
1435
+ key: props.formKey,
1436
+ formData,
1437
+ };
1438
+ try {
1439
+ const result = await submitLead({ formSubmissionInput: variables });
1440
+ if (result instanceof Error) {
1441
+ throw result;
1442
+ }
1443
+ setLeadFormState({
1444
+ loading: false,
1445
+ error: "",
1446
+ validationErrors: {},
1447
+ });
1448
+ if ((_a = result === null || result === void 0 ? void 0 : result.submitForm) === null || _a === void 0 ? void 0 : _a.success) {
1449
+ setSuccess(true);
1450
+ }
1451
+ }
1452
+ catch (error) {
1453
+ setLeadFormState({
1454
+ loading: false,
1455
+ error: props.networkErrorMessage,
1456
+ validationErrors: {},
1457
+ });
1458
+ }
1459
+ };
1460
+ const inputFunction = useCallback((e) => {
1461
+ var _a, _b;
1462
+ const name = (_b = (_a = e.target) === null || _a === void 0 ? void 0 : _a.type) === null || _b === void 0 ? void 0 : _b.toLowerCase();
1463
+ if (name !== "tel")
1464
+ return;
1465
+ const asYouType = new AsYouType("US");
1466
+ e.target.value = asYouType.input(e.target.value);
1467
+ }, []);
1468
+ function resetForm() {
1469
+ var _a, _b;
1470
+ setLeadFormState({
1471
+ loading: false,
1472
+ error: "",
1473
+ validationErrors: {},
1474
+ });
1475
+ (_b = (_a = formRef.current) === null || _a === void 0 ? void 0 : _a.getFormControls()) === null || _b === void 0 ? void 0 : _b.forEach((c) => {
1476
+ var _a;
1477
+ if (((_a = c.input) === null || _a === void 0 ? void 0 : _a.type) === "checkbox") {
1478
+ c.checked = false;
1479
+ c.value = false;
1480
+ }
1481
+ else {
1482
+ c.value = "";
1483
+ }
1484
+ });
1485
+ setSuccess(false);
1486
+ }
1487
+ let errorMessage = "";
1488
+ if ((_a = errors === null || errors === void 0 ? void 0 : errors.response) === null || _a === void 0 ? void 0 : _a["error"]) {
1489
+ errorMessage = props.networkErrorMessage;
1490
+ }
1491
+ else if ((errors === null || errors === void 0 ? void 0 : errors.message) && !((_b = errors === null || errors === void 0 ? void 0 : errors.response) === null || _b === void 0 ? void 0 : _b.errors.length)) {
1492
+ errorMessage = props.networkErrorMessage;
1493
+ }
1494
+ else {
1495
+ errorMessage =
1496
+ ((_f = (_e = (_d = (_c = errors === null || errors === void 0 ? void 0 : errors.response) === null || _c === void 0 ? void 0 : _c.errors) === null || _d === void 0 ? void 0 : _d[0]) === null || _e === void 0 ? void 0 : _e.extensions) === null || _f === void 0 ? void 0 : _f.message) || ((_j = (_h = (_g = errors === null || errors === void 0 ? void 0 : errors.response) === null || _g === void 0 ? void 0 : _g.errors) === null || _h === void 0 ? void 0 : _h[0]) === null || _j === void 0 ? void 0 : _j.message) || (leadFormState === null || leadFormState === void 0 ? void 0 : leadFormState.error);
1497
+ }
1498
+ return {
1499
+ states: {
1500
+ loading,
1501
+ error: errorMessage,
1502
+ success,
1503
+ leadFormState,
1504
+ referralCode: ((_k = userDetails === null || userDetails === void 0 ? void 0 : userDetails.viewer) === null || _k === void 0 ? void 0 : _k.referralCode) || "",
1505
+ },
1506
+ callbacks: {
1507
+ submit,
1508
+ inputFunction,
1509
+ resetForm,
1510
+ },
1511
+ refs: {
1512
+ formRef,
1513
+ },
1514
+ };
1515
+ }
1516
+
1517
+ const LeadForm = class {
1518
+ constructor(hostRef) {
1519
+ registerInstance(this, hostRef);
1520
+ this.ignored = true;
1521
+ /**
1522
+ * @uiName Email field label
1523
+ */
1524
+ this.emailLabel = "Email";
1525
+ /**
1526
+ * @uiName First Name field label
1527
+ */
1528
+ this.firstNameLabel = "First name";
1529
+ /**
1530
+ * @uiName Last Name field label
1531
+ */
1532
+ this.lastNameLabel = "Last name";
1533
+ /**
1534
+ * @uiName Submit button text
1535
+ */
1536
+ this.submitLabel = "Submit";
1537
+ /**
1538
+ * @uiName Submit another form button label
1539
+ */
1540
+ this.resubmitFormLabel = "Refer Another Friend";
1541
+ /**
1542
+ * @uiName Header text
1543
+ */
1544
+ this.pageLabel = "Refer your friend";
1545
+ /**
1546
+ * Key of the form to connect to. Create and manage forms in the /advocate dashboard under Data > Forms.
1547
+ * @uiName Form key
1548
+ */
1549
+ this.formKey = "lead-form";
1550
+ /**
1551
+ * Optional support link text for error messages.
1552
+ * @uiName Support link text
1553
+ */
1554
+ this.supportLinkText = "Support";
1555
+ /**
1556
+ * Header text shown on successful lead submission.
1557
+ * @uiName Submit success header
1558
+ */
1559
+ this.submitSuccessHeader = "Lead submitted";
1560
+ /**
1561
+ * Description text shown on successful lead submission.
1562
+ * @uiName Submit success description
1563
+ */
1564
+ this.submitSuccessDescription = "Our team will contact your friend to see if they’re a good fit. In the meantime, you can track this referral on Activity page.";
1565
+ /**
1566
+ * Header text shown if an error occurs.
1567
+ * @uiName Submit error header
1568
+ */
1569
+ this.submitErrorHeader = "An error occurred while submitting";
1570
+ /**
1571
+ * Description text shown if an error occurs.
1572
+ * @uiName Submit error description
1573
+ */
1574
+ this.submitErrorDescription = "Please try again later. If the problem continues, contact {supportLink}";
1575
+ /**
1576
+ * The message to be displayed if a required field is not filled.
1577
+ *
1578
+ * @uiName Required field message
1579
+ * @uiWidget textArea
1580
+ */
1581
+ this.requiredFieldErrorMessage = "Please enter a valid {fieldLabel}";
1582
+ /**
1583
+ * The message to be displayed if a the form submission fails unexpectedly.
1584
+ *
1585
+ * @uiName Network error message
1586
+ * @uiWidget textArea
1587
+ */
1588
+ this.networkErrorMessage = "Network request failed.";
1589
+ /**
1590
+ * The message to be displayed if the email used is invalid.
1591
+ *
1592
+ * @uiName Invalid email message
1593
+ * @uiWidget textArea
1594
+ */
1595
+ this.invalidEmailErrorMessage = "Must be a valid email address";
1596
+ h(this);
1597
+ }
1598
+ disconnectedCallback() { }
1599
+ render() {
1600
+ const { states, callbacks, refs } = isDemo()
1601
+ ? useRegisterDemo(this)
1602
+ : useLeadForm(this);
1603
+ const content = {
1604
+ formData: h$1("slot", { name: "formData" }),
1605
+ emailLabel: this.emailLabel,
1606
+ submitLabel: this.submitLabel,
1607
+ resubmitFormLabel: this.resubmitFormLabel,
1608
+ pageLabel: this.pageLabel,
1609
+ supportLinkText: this.supportLinkText,
1610
+ submitSuccessHeader: this.submitSuccessHeader,
1611
+ submitSuccessDescription: this.submitSuccessDescription,
1612
+ submitErrorHeader: this.submitErrorHeader,
1613
+ submitErrorDescription: this.submitErrorDescription,
1614
+ invalidEmailErrorMessage: this.invalidEmailErrorMessage,
1615
+ requiredFieldErrorMessage: this.requiredFieldErrorMessage,
1616
+ firstNameLabel: this.firstNameLabel,
1617
+ lastNameLabel: this.lastNameLabel,
1618
+ };
1619
+ return (h$1(LeadFormView, { states: states, callbacks: callbacks, content: content, refs: refs }));
1620
+ }
1621
+ };
1622
+ function useRegisterDemo(props) {
1623
+ return cjs({
1624
+ states: {
1625
+ error: "",
1626
+ loading: false,
1627
+ success: false,
1628
+ },
1629
+ callbacks: {
1630
+ submit: async (_event) => {
1631
+ console.log("submit");
1632
+ },
1633
+ inputFunction: () => { },
1634
+ resetForm: () => { },
1635
+ },
1636
+ refs: {
1637
+ formRef: {},
1638
+ },
1639
+ }, props.demoData || {}, { arrayMerge: (_, a) => a });
1640
+ }
1641
+
1910
1642
  const GET_LEADERBOARD = dist.gql `
1911
1643
  query (
1912
1644
  $type: String!
@@ -2070,6 +1802,13 @@ const Leaderboard = class {
2070
1802
  * @uiName Width
2071
1803
  */
2072
1804
  this.width = "100%";
1805
+ /**
1806
+ * Hide the viewer's leaderboard row if not in the top results.
1807
+ *
1808
+ * @uiName Hide viewing user
1809
+ * @default
1810
+ */
1811
+ this.hideViewer = false;
2073
1812
  /**
2074
1813
  * @uiName Viewing user text
2075
1814
  */
@@ -2092,13 +1831,6 @@ const Leaderboard = class {
2092
1831
  * @uiName Maximum rows number
2093
1832
  */
2094
1833
  this.maxRows = 10;
2095
- /**
2096
- * Hide the viewer's leaderboard row if not in the top results.
2097
- *
2098
- * @uiName Hide viewing user
2099
- * @default
2100
- */
2101
- this.hideViewer = false;
2102
1834
  this.ignored = true;
2103
1835
  h(this);
2104
1836
  withShadowView(this);
@@ -2122,12 +1854,6 @@ const Leaderboard = class {
2122
1854
  showRank: this.showRank,
2123
1855
  rankSuffix: this.rankSuffix,
2124
1856
  width: this.width,
2125
- viewingUserHighlightColor: this.viewingUserHighlightColor,
2126
- viewingUserHighlightTextColor: this.viewingUserHighlightTextColor,
2127
- background: this.background,
2128
- borderColor: this.borderColor,
2129
- textColor: this.textColor,
2130
- borderRadius: this.borderRadius,
2131
1857
  };
2132
1858
  const demoProps = { ...props, demoData: this.demoData };
2133
1859
  const viewprops = isDemo()
@@ -2198,12 +1924,6 @@ function useLeaderboardDemo(props) {
2198
1924
  hideNames: props.hideNames,
2199
1925
  rankSuffix: props.rankSuffix,
2200
1926
  width: props.width,
2201
- viewingUserHighlightColor: props.viewingUserHighlightColor,
2202
- viewingUserHighlightTextColor: props.viewingUserHighlightTextColor,
2203
- background: props.background,
2204
- borderColor: props.borderColor,
2205
- textColor: props.textColor,
2206
- borderRadius: props.borderRadius,
2207
1927
  },
2208
1928
  },
2209
1929
  data: {
@@ -2216,7 +1936,7 @@ function useLeaderboardDemo(props) {
2216
1936
  }, props.demoData || {}, { arrayMerge: (_, a) => a });
2217
1937
  }
2218
1938
 
2219
- const style$1 = {
1939
+ const style = {
2220
1940
  Container: { display: "contents" },
2221
1941
  Link: {
2222
1942
  textDecoration: "none",
@@ -2228,16 +1948,16 @@ const vanillaStyle = `
2228
1948
  display: inline;
2229
1949
  }
2230
1950
  `;
2231
- const sheet$1 = createStyleSheet(style$1);
2232
- const styleString$1 = sheet$1.toString();
1951
+ const sheet = createStyleSheet(style);
1952
+ const styleString = sheet.toString();
2233
1953
  function LinkButtonView(props) {
2234
1954
  const { onClick, buttonText } = props;
2235
- return (h$1("span", { class: sheet$1.classes.Container, part: "sqm-base" },
1955
+ return (h$1("span", { class: sheet.classes.Container, part: "sqm-base" },
2236
1956
  h$1("style", { type: "text/css" },
2237
- styleString$1,
1957
+ styleString,
2238
1958
  vanillaStyle),
2239
1959
  h$1("sl-button", { onClick: onClick, type: "primary", exportparts: "base: primarybutton-base" },
2240
- h$1("a", { class: sheet$1.classes.Link, part: "sqm-link" }, buttonText))));
1960
+ h$1("a", { class: sheet.classes.Link, part: "sqm-link" }, buttonText))));
2241
1961
  }
2242
1962
 
2243
1963
  const LinkButton = class {
@@ -2418,27 +2138,27 @@ function useNavigationMenuDemo(props) {
2418
2138
  }
2419
2139
  NavigationMenu.style = sqmNavigationMenuCss;
2420
2140
 
2421
- const style$2 = {
2141
+ const style$1 = {
2422
2142
  Wrapper: {
2423
2143
  maxWidth: "200px",
2424
2144
  marginLeft: "auto",
2425
2145
  },
2426
2146
  PayoutButtonDescription: {
2427
- color: "var(--sqm-text-subdued)",
2147
+ color: "var(--sl-color-neutral-500)",
2428
2148
  fontSize: "var(--sl-font-size-small)",
2429
2149
  margin: "0",
2430
2150
  },
2431
2151
  };
2432
- const sheet$2 = createStyleSheet(style$2);
2433
- const styleString$2 = sheet$2.toString();
2152
+ const sheet$1 = createStyleSheet(style$1);
2153
+ const styleString$1 = sheet$1.toString();
2434
2154
  function PayoutButtonScrollView(props) {
2435
2155
  const { text, states } = props;
2436
2156
  if (!states.payoutSettingsComplete)
2437
2157
  return h$1("div", null);
2438
- return (h$1("div", { class: sheet$2.classes.Wrapper },
2439
- h$1("style", { type: "text/css" }, styleString$2),
2158
+ return (h$1("div", { class: sheet$1.classes.Wrapper },
2159
+ h$1("style", { type: "text/css" }, styleString$1),
2440
2160
  h$1("sqm-scroll", { "scroll-tag-name": "sqm-tabs", "button-text": text.payoutButtonText, "scroll-animation": "smooth" }),
2441
- h$1("p", { class: sheet$2.classes.PayoutButtonDescription }, text.payoutButtonDescription)));
2161
+ h$1("p", { class: sheet$1.classes.PayoutButtonDescription }, text.payoutButtonDescription)));
2442
2162
  }
2443
2163
 
2444
2164
  const GET_PAYOUT_DETAILS = dist.gql `
@@ -2511,7 +2231,7 @@ function useDemoPayoutButtonScroll(props) {
2511
2231
  }, props.demoData || {}, { arrayMerge: (_, a) => a });
2512
2232
  }
2513
2233
 
2514
- const style$3 = {
2234
+ const style$2 = {
2515
2235
  SkeletonOne: {
2516
2236
  width: "50%",
2517
2237
  height: "16px",
@@ -2520,6 +2240,33 @@ const style$3 = {
2520
2240
  margin: "0",
2521
2241
  marginBottom: "var(--sl-spacing-small)",
2522
2242
  },
2243
+ ErrorAlertContainer: {
2244
+ "&::part(base)": {
2245
+ backgroundColor: "var(--sl-color-red-100)",
2246
+ borderTop: "none",
2247
+ },
2248
+ "& sl-icon::part(base)": {
2249
+ color: "var(--sl-color-danger-500)",
2250
+ },
2251
+ },
2252
+ WarningAlertContainer: {
2253
+ "&::part(base)": {
2254
+ backgroundColor: "var(--sl-color-yellow-100)",
2255
+ borderTop: "none",
2256
+ },
2257
+ "& sl-icon::part(base)": {
2258
+ color: "var(--sl-color-danger-500)",
2259
+ },
2260
+ },
2261
+ InfoAlertContainer: {
2262
+ "&::part(base)": {
2263
+ backgroundColor: "var(--sl-color-sky-100)",
2264
+ borderTop: "none",
2265
+ },
2266
+ "& sl-icon::part(base)": {
2267
+ color: "var(--sl-color-blue-500)",
2268
+ },
2269
+ },
2523
2270
  Dialog: {
2524
2271
  "&::part(panel)": {
2525
2272
  height: "600px",
@@ -2535,15 +2282,8 @@ const style$3 = {
2535
2282
  "&::part(footer)": {},
2536
2283
  },
2537
2284
  };
2538
- const vanillaStyle$1 = `
2539
- a {
2540
- color: inherit;
2541
- text-decoration: underline;
2542
- cursor: pointer;
2543
- }
2544
- `;
2545
- const sheet$3 = createStyleSheet(style$3);
2546
- const styleString$3 = sheet$3.toString();
2285
+ const sheet$2 = createStyleSheet(style$2);
2286
+ const styleString$2 = sheet$2.toString();
2547
2287
  function PayoutStatusAlertView(props) {
2548
2288
  const { text, states, data, callbacks } = props;
2549
2289
  function getAlert(status) {
@@ -2553,6 +2293,8 @@ function PayoutStatusAlertView(props) {
2553
2293
  description: text.errorDescription,
2554
2294
  buttonText: null,
2555
2295
  alertType: "critical",
2296
+ icon: "exclamation-triangle",
2297
+ class: sheet$2.classes.ErrorAlertContainer,
2556
2298
  };
2557
2299
  switch (status) {
2558
2300
  case "INFORMATION_REQUIRED":
@@ -2561,6 +2303,8 @@ function PayoutStatusAlertView(props) {
2561
2303
  description: text.informationRequiredDescription,
2562
2304
  buttonText: text.informationRequiredButtonText,
2563
2305
  alertType: "info",
2306
+ icon: "info-circle",
2307
+ class: sheet$2.classes.InfoAlertContainer,
2564
2308
  };
2565
2309
  case "VERIFICATION:REQUIRED":
2566
2310
  return {
@@ -2573,6 +2317,8 @@ function PayoutStatusAlertView(props) {
2573
2317
  }),
2574
2318
  buttonText: text.verificationRequiredButtonText,
2575
2319
  alertType: "warning",
2320
+ icon: "exclamation-triangle",
2321
+ class: sheet$2.classes.WarningAlertContainer,
2576
2322
  };
2577
2323
  case "VERIFICATION:INTERNAL":
2578
2324
  return {
@@ -2584,6 +2330,8 @@ function PayoutStatusAlertView(props) {
2584
2330
  supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
2585
2331
  }),
2586
2332
  alertType: "warning",
2333
+ icon: "exclamation-triangle",
2334
+ class: sheet$2.classes.WarningAlertContainer,
2587
2335
  };
2588
2336
  case "VERIFICATION:REVIEW":
2589
2337
  return {
@@ -2595,6 +2343,8 @@ function PayoutStatusAlertView(props) {
2595
2343
  supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
2596
2344
  }),
2597
2345
  alertType: "warning",
2346
+ icon: "exclamation-triangle",
2347
+ class: sheet$2.classes.WarningAlertContainer,
2598
2348
  };
2599
2349
  case "VERIFICATION:FAILED":
2600
2350
  return {
@@ -2606,6 +2356,53 @@ function PayoutStatusAlertView(props) {
2606
2356
  supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
2607
2357
  }),
2608
2358
  alertType: "critical",
2359
+ icon: "exclamation-octagon",
2360
+ class: sheet$2.classes.ErrorAlertContainer,
2361
+ };
2362
+ case "OVER_W9_THRESHOLD":
2363
+ if (states.enforceUsTaxComplianceOption === "CASH_ONLY_DEFER_W9") {
2364
+ return {
2365
+ header: text.w9RequiredHeader,
2366
+ description: intl.formatMessage({
2367
+ id: "w9RequiredDescription",
2368
+ defaultMessage: text.w9RequiredDescription,
2369
+ }, {
2370
+ termsAndConditions: (h$1("a", { target: "_blank", href: `https://terms.advocate.impact.com/PayoutTermsAndConditions.html` }, text.termsAndConditions)),
2371
+ }),
2372
+ buttonText: text.w9RequiredButtonText,
2373
+ alertType: "warning",
2374
+ icon: "exclamation-triangle",
2375
+ class: sheet$2.classes.WarningAlertContainer,
2376
+ };
2377
+ }
2378
+ else {
2379
+ return {
2380
+ header: text.holdHeader,
2381
+ description: intl.formatMessage({
2382
+ id: "holdDescription",
2383
+ defaultMessage: text.holdDescription,
2384
+ }, {
2385
+ supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
2386
+ }),
2387
+ buttonText: null,
2388
+ alertType: "warning",
2389
+ icon: "exclamation-triangle",
2390
+ class: sheet$2.classes.WarningAlertContainer,
2391
+ };
2392
+ }
2393
+ case "ACCOUNT_REVIEW":
2394
+ return {
2395
+ header: text.accountReviewHeader,
2396
+ description: intl.formatMessage({
2397
+ id: "accountReviewDescription",
2398
+ defaultMessage: text.accountReviewDescription,
2399
+ }, {
2400
+ supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
2401
+ }),
2402
+ buttonText: null,
2403
+ alertType: "warning",
2404
+ icon: "exclamation-triangle",
2405
+ class: sheet$2.classes.WarningAlertContainer,
2609
2406
  };
2610
2407
  case "HOLD":
2611
2408
  return {
@@ -2618,6 +2415,8 @@ function PayoutStatusAlertView(props) {
2618
2415
  }),
2619
2416
  buttonText: null,
2620
2417
  alertType: "warning",
2418
+ icon: "exclamation-triangle",
2419
+ class: sheet$2.classes.WarningAlertContainer,
2621
2420
  };
2622
2421
  default:
2623
2422
  return;
@@ -2625,33 +2424,35 @@ function PayoutStatusAlertView(props) {
2625
2424
  }
2626
2425
  function getButton(status) {
2627
2426
  switch (status) {
2427
+ case "OVER_W9_THRESHOLD":
2428
+ if (states.enforceUsTaxComplianceOption === "CASH_ONLY")
2429
+ return;
2430
+ return data.type === "SquatchJS2" ? (h$1("sqm-scroll", { "scroll-tag-name": "sqm-tabs", "button-text": text.w9RequiredButtonText, "scroll-animation": "smooth" })) : data.type === "SquatchPortal" ? (h$1("sl-button", { type: "default", onClick: callbacks.onTermsClick }, text.w9RequiredButtonText)) : (
2431
+ // Demo case
2432
+ h$1("sl-button", { type: "default" }, text.w9RequiredButtonText));
2628
2433
  case "INFORMATION_REQUIRED":
2629
- return data.type === "SquatchJS2" ? (h$1("div", { style: { paddingTop: "10px" } },
2630
- h$1("sqm-scroll", { "scroll-tag-name": "sqm-tabs", "button-text": text.informationRequiredButtonText, "scroll-animation": "smooth" }))) : data.type === "SquatchPortal" ? (h$1("div", { style: { paddingTop: "10px" } },
2631
- h$1("sl-button", { type: "secondary", exportparts: "base: secondarybutton-base", onClick: callbacks.onTermsClick }, text.informationRequiredButtonText))) : (
2434
+ return data.type === "SquatchJS2" ? (h$1("sqm-scroll", { "scroll-tag-name": "sqm-tabs", "button-text": text.informationRequiredButtonText, "scroll-animation": "smooth" })) : data.type === "SquatchPortal" ? (h$1("sl-button", { type: "default", onClick: callbacks.onTermsClick }, text.informationRequiredButtonText)) : (
2632
2435
  // Demo case
2633
- h$1("div", { style: { paddingTop: "10px" } },
2634
- h$1("sl-button", { type: "secondary", exportparts: "base: secondarybutton-base" }, text.informationRequiredButtonText)));
2436
+ h$1("sl-button", { type: "default" }, text.informationRequiredButtonText));
2635
2437
  case "VERIFICATION:REQUIRED":
2636
- return (h$1("div", { style: { paddingTop: "10px" } },
2637
- h$1("sl-button", { type: "secondary", exportparts: "base: secondarybutton-base", loading: states.veriffLoading, onClick: callbacks.onClick }, text.verificationRequiredButtonText)));
2438
+ return (h$1("sl-button", { type: "default", loading: states.veriffLoading, onClick: callbacks.onClick }, text.verificationRequiredButtonText));
2638
2439
  default:
2639
2440
  return;
2640
2441
  }
2641
2442
  }
2642
2443
  if (states.loading) {
2643
- return h$1("sl-skeleton", { class: sheet$3.classes.SkeletonOne });
2444
+ return h$1("sl-skeleton", { class: sheet$2.classes.SkeletonOne });
2644
2445
  }
2645
2446
  const alertDetails = getAlert(states.status);
2646
2447
  if (states.status === "DONE" || !alertDetails) {
2647
2448
  return h$1("div", null);
2648
2449
  }
2649
2450
  return (h$1("div", { part: "sqm-base" },
2650
- h$1("style", { type: "text/css" }, styleString$3),
2651
- h$1("style", { type: "text/css" }, vanillaStyle$1),
2652
- h$1("sqm-form-message", { type: alertDetails.alertType },
2653
- h$1("p", { part: "alert-title" }, alertDetails.header),
2654
- h$1("p", { part: "alert-description" }, alertDetails.description),
2451
+ h$1("style", { type: "text/css" }, styleString$2),
2452
+ h$1("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: alertDetails.alertType, class: alertDetails.class, open: true },
2453
+ h$1("sl-icon", { slot: "icon", name: alertDetails.icon }),
2454
+ h$1("strong", null, alertDetails.header),
2455
+ h$1("p", { class: sheet$2.classes.AlertDescriptionText }, alertDetails.description),
2655
2456
  getButton(states.status))));
2656
2457
  }
2657
2458
 
@@ -2706,6 +2507,26 @@ const PayoutStatusAlert = class {
2706
2507
  * @uiName Verification failed internal alert description
2707
2508
  */
2708
2509
  this.verificationFailedInternalDescription = "Identity verification has failed. Our team is reviewing the report and will contact you with further information. If you don't hear from us contact our {supportLink}.";
2510
+ /**
2511
+ * @uiName Account review alert header
2512
+ */
2513
+ this.accountReviewHeader = "Your account is under review";
2514
+ /**
2515
+ * @uiName Account review alert description
2516
+ */
2517
+ this.accountReviewDescription = "This process takes 48 hours, payouts are on hold until it's completed. You will receive an email from our referral provider, Impact.com, if any issues arise. It contains details on how to resolve this issue. If you need further assistance, please reach out to our {supportLink}.";
2518
+ /**
2519
+ * @uiName W-9 payment threshold alert header
2520
+ */
2521
+ this.w9RequiredHeader = "Your next payout is on hold";
2522
+ /**
2523
+ * @uiName W-9 payment threshold alert description
2524
+ */
2525
+ this.w9RequiredDescription = "You have surpassed the $600 threshold requiring a W-9 form or have multiple accounts with impact.com. To remove the hold, please submit your W-9 form.";
2526
+ /**
2527
+ * @uiName W-9 payment threshold alert button text
2528
+ */
2529
+ this.w9RequiredButtonText = "Submit W-9";
2709
2530
  /**
2710
2531
  * @uiName Payout on hold alert header
2711
2532
  */
@@ -2717,11 +2538,15 @@ const PayoutStatusAlert = class {
2717
2538
  /**
2718
2539
  * @uiName Cash & Payouts Microsite Page (only set if alert is used in a microsite)
2719
2540
  */
2720
- this.cashPayoutsPageUrl = "/cash";
2541
+ this.cashPayoutsPageUrl = "/taxAndCash";
2721
2542
  /**
2722
2543
  * @uiName Support link text
2723
2544
  */
2724
2545
  this.supportLink = "support team";
2546
+ /**
2547
+ * @uiName Terms and Conditions text
2548
+ */
2549
+ this.termsAndConditions = "Terms and Conditions";
2725
2550
  /**
2726
2551
  * @uiName Error header
2727
2552
  */
@@ -3185,7 +3010,7 @@ const PortalFooter = class {
3185
3010
  static get assetsDirs() { return ["../../assets"]; }
3186
3011
  };
3187
3012
 
3188
- function usePortalFrame(footerContent, headerContent, props) {
3013
+ function usePortalFrame(footerContent, headerContent) {
3189
3014
  const [, rerender] = yn();
3190
3015
  return {
3191
3016
  data: {
@@ -3195,9 +3020,6 @@ function usePortalFrame(footerContent, headerContent, props) {
3195
3020
  callbacks: {
3196
3021
  rerender,
3197
3022
  },
3198
- backgroundColor: props.backgroundColor,
3199
- border: props.border,
3200
- headerAndFooterBackgroundColor: props.headerAndFooterBackgroundColor,
3201
3023
  };
3202
3024
  }
3203
3025
 
@@ -3209,25 +3031,6 @@ const PortalFrame = class {
3209
3031
  * @undocumented
3210
3032
  */
3211
3033
  this.notFullScreen = false;
3212
- /**
3213
- * @uiName Background color
3214
- * @uiWidget color
3215
- * @uiType string
3216
- */
3217
- this.backgroundColor = "var(--sqm-portal-background, #fff)";
3218
- /**
3219
- * Borders placed to seperate the header and footer from the body content.
3220
- * @uiName Border
3221
- * @uiType string
3222
- */
3223
- this.border = "var(--sqm-border-thickness, 1px) solid var(--sqm-border-color, #eaeaea)";
3224
- /**
3225
- * Background color for the header and footer.
3226
- * @uiName Header and Footer Background Color
3227
- * @uiWidget color
3228
- * @uiType string
3229
- */
3230
- this.headerAndFooterBackgroundColor = "var(--sqm-portal-background, #fff)";
3231
3034
  h(this);
3232
3035
  }
3233
3036
  disconnectedCallback() { }
@@ -3236,16 +3039,13 @@ const PortalFrame = class {
3236
3039
  const headerContent = h$1("slot", { name: "header" });
3237
3040
  const props = isDemo()
3238
3041
  ? usePortalFrameDemo(footerContent, headerContent, this)
3239
- : usePortalFrame(footerContent, headerContent, this);
3042
+ : usePortalFrame(footerContent, headerContent);
3240
3043
  return (h$1(PortalFrameView, Object.assign({}, props), h$1("slot", null)));
3241
3044
  }
3242
3045
  };
3243
3046
  function usePortalFrameDemo(footerContent, headerContent, props) {
3244
3047
  return cjs({
3245
3048
  notFullScreen: true,
3246
- backgroundColor: props.backgroundColor,
3247
- headerAndFooterBackgroundColor: props.headerAndFooterBackgroundColor,
3248
- border: props.border,
3249
3049
  data: {
3250
3050
  footer: footerContent ? (footerContent) : (h$1("span", null, "example@example.com")),
3251
3051
  header: headerContent ? (headerContent) : (h$1("div", { style: { display: "flex", flexDirection: "column" } }, h$1("span", { style: {
@@ -3335,7 +3135,7 @@ const PortalLogin = class {
3335
3135
  const content = {
3336
3136
  forgotPasswordButton: (h$1("slot", { name: "forgotPassword" }, h$1("a", { onClick: () => jn.push(states.forgotPasswordPath) }, this.forgotPasswordLabel))),
3337
3137
  googleButton: null,
3338
- secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("style", null, styleString), h$1("sl-button", { exportparts: "base: secondarybutton-base", type: "text", disabled: states.loading, onClick: () => jn.push(states.registerPath) }, this.registerLabel))),
3138
+ secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("style", null, styleString), h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => jn.push(states.registerPath) }, this.registerLabel))),
3339
3139
  emailLabel: this.emailLabel,
3340
3140
  passwordLabel: this.passwordLabel,
3341
3141
  submitLabel: this.submitLabel,
@@ -3497,7 +3297,7 @@ function usePortalRegister(props) {
3497
3297
  const PortalRegister = class {
3498
3298
  constructor(hostRef) {
3499
3299
  registerInstance(this, hostRef);
3500
- this.ignored = false;
3300
+ this.ignored = true;
3501
3301
  /**
3502
3302
  * Redirect participants to this page from their verification email
3503
3303
  *
@@ -3614,7 +3414,7 @@ const PortalRegister = class {
3614
3414
  disconnectedCallback() { }
3615
3415
  render() {
3616
3416
  const { states, callbacks, refs } = isDemo()
3617
- ? useRegisterDemo(this)
3417
+ ? useRegisterDemo$1(this)
3618
3418
  : usePortalRegister(this);
3619
3419
  const content = {
3620
3420
  formData: h$1("slot", { name: "formData" }),
@@ -3637,7 +3437,7 @@ const PortalRegister = class {
3637
3437
  return (h$1(PortalRegisterView, { states: states, callbacks: callbacks, content: content, refs: refs }));
3638
3438
  }
3639
3439
  };
3640
- function useRegisterDemo(props) {
3440
+ function useRegisterDemo$1(props) {
3641
3441
  return cjs({
3642
3442
  states: {
3643
3443
  error: "",
@@ -3663,7 +3463,7 @@ function useRegisterDemo(props) {
3663
3463
  function ProgramExplainerView(props, children) {
3664
3464
  const style = {
3665
3465
  Container: {
3666
- color: props.textColor || "var(--sqm-text)",
3466
+ color: props.textColor || "var(--sl-color-neutral-900)",
3667
3467
  background: props.backgroundColor || "",
3668
3468
  },
3669
3469
  Header: {
@@ -3723,11 +3523,8 @@ function ProgramExplainerStepView(props) {
3723
3523
  width: "100%",
3724
3524
  padding: "var(--sl-spacing-x-large)",
3725
3525
  lineHeight: "var(--sl-line-height-dense)",
3726
- borderRadius: props.borderRadius
3727
- ? `${props.borderRadius}px`
3728
- : "var(--sqm-border-radius-normal)",
3729
- color: props.textColor || "var(--sqm-text)",
3730
- background: props.backgroundColor || "var(--sqm-accent-color-background)",
3526
+ color: props.textColor || "var(--sl-color-neutral-900)",
3527
+ background: props.backgroundColor || "var(--sl-color-primary-50)",
3731
3528
  "@media (max-width: 499px)": {
3732
3529
  flexDirection: "row",
3733
3530
  width: "auto",
@@ -3740,7 +3537,6 @@ function ProgramExplainerStepView(props) {
3740
3537
  },
3741
3538
  },
3742
3539
  Header: {
3743
- color: props.textColor || "var(--sqm-text)",
3744
3540
  fontSize: "var(--sl-font-size-large)",
3745
3541
  fontWeight: "var(--sl-font-weight-bold)",
3746
3542
  marginTop: "var(--sl-spacing-x-large)",
@@ -3749,7 +3545,6 @@ function ProgramExplainerStepView(props) {
3749
3545
  },
3750
3546
  },
3751
3547
  Description: {
3752
- color: props.textColor || "var(--sqm-text)",
3753
3548
  fontSize: "var(--sl-font-size-medium)",
3754
3549
  marginTop: "var(--sl-spacing-small)",
3755
3550
  "@media (max-width: 499px)": {
@@ -3762,14 +3557,11 @@ function ProgramExplainerStepView(props) {
3762
3557
  borderRadius: "100%",
3763
3558
  objectFit: "cover",
3764
3559
  userSelect: "none",
3765
- background: props.iconBackgroundColor || "var(--sl-color-white)",
3766
- color: props.iconColor || "var(--sqm-accent-color-icon)",
3560
+ background: "#FFF",
3561
+ color: "var(--sl-color-primary-300)",
3767
3562
  fontSize: "26px",
3768
3563
  textAlign: "center",
3769
3564
  lineHeight: "72px",
3770
- display: "flex",
3771
- alignItems: "center",
3772
- justifyContent: "center",
3773
3565
  },
3774
3566
  };
3775
3567
  const sheet = createStyleSheet(style);
@@ -3798,7 +3590,7 @@ const debug = browser("sq:useProgramMenu");
3798
3590
  const UPDATE_PROGRAM_EVENT = "sq:update-program-id";
3799
3591
  function useProgramMenu(props) {
3800
3592
  const programId = H();
3801
- const host = _$1();
3593
+ const host = _();
3802
3594
  debug({ programId, props });
3803
3595
  const ref = useRef();
3804
3596
  const [, rerender] = yn();
@@ -3838,47 +3630,44 @@ const ProgramMenu = class {
3838
3630
  }
3839
3631
  };
3840
3632
 
3841
- const vanillaStyle$2 = `
3633
+ const style$3 = {
3634
+ Container: {
3635
+ borderRadius: "var(--sl-border-radius-large)",
3636
+ color: "var(--sl-color-neutral-900)",
3637
+ background: "var(--sl-color-neutral-0)",
3638
+ display: "flex",
3639
+ flexDirection: "column",
3640
+ rowGap: "var(--sl-spacing-large)",
3641
+ },
3642
+ EndContainer: {
3643
+ display: "flex",
3644
+ flexDirection: "column",
3645
+ alignItems: "center",
3646
+ },
3647
+ ColumnContainer: {
3648
+ "& p": { margin: "0" },
3649
+ display: "grid",
3650
+ gridAutoColumns: "minmax(0, 1fr)",
3651
+ gridAutoFlow: "column",
3652
+ gap: "calc(2 * var(--sl-spacing-medium))",
3653
+ "@media (max-width: 499px)": {
3654
+ gridAutoFlow: "unset",
3655
+ gridAutoColumns: "unset",
3656
+ gridTemplateColumns: "1fr",
3657
+ border: "none",
3658
+ },
3659
+ },
3660
+ };
3661
+ const sheet$3 = createStyleSheet(style$3);
3662
+ const styleString$3 = sheet$3.toString();
3663
+ const vanillaStyle$1 = `
3842
3664
  :host{
3843
3665
  display: block;
3844
3666
  }
3845
3667
  `;
3846
3668
  function ReferralCardView(props) {
3847
- const style = {
3848
- Container: {
3849
- borderRadius: props.borderRadius || "var(--sqm-border-radius-normal)",
3850
- color: props.textColor || "var(--sqm-text)",
3851
- background: props.backgroundColor || "var(--sqm-portal-background)",
3852
- display: "flex",
3853
- flexDirection: "column",
3854
- rowGap: "var(--sl-spacing-large)",
3855
- },
3856
- EndContainer: {
3857
- display: "flex",
3858
- flexDirection: "column",
3859
- alignItems: "center",
3860
- },
3861
- ColumnContainer: {
3862
- "& p": { margin: "0" },
3863
- display: "grid",
3864
- gridAutoColumns: "minmax(0, 1fr)",
3865
- gridAutoFlow: "column",
3866
- gap: "calc(2 * var(--sl-spacing-medium))",
3867
- "@media (max-width: 499px)": {
3868
- gridAutoFlow: "unset",
3869
- gridAutoColumns: "unset",
3870
- gridTemplateColumns: "1fr",
3871
- border: "none",
3872
- },
3873
- },
3874
- };
3875
- const sheet = createStyleSheet(style);
3876
- const styleString = sheet.toString();
3877
- const borderColor = props.borderColor || "var(--sqm-border-color)";
3878
- return (h$1("div", { part: "sqm-base", class: sheet.classes.Container, style: {
3879
- border: `${props.hideBorder
3880
- ? "none"
3881
- : `var(--sqm-border-thickness) solid ${borderColor}`}`,
3669
+ return (h$1("div", { part: "sqm-base", class: sheet$3.classes.Container, style: {
3670
+ border: `${props.hideBorder ? "none" : "1px solid var(--sl-color-neutral-300)"}`,
3882
3671
  "padding-top": `var(--sl-spacing-${props.paddingTop})`,
3883
3672
  "padding-right": `var(--sl-spacing-${props.paddingRight})`,
3884
3673
  "padding-bottom": `var(--sl-spacing-${props.paddingBottom})`,
@@ -3888,15 +3677,15 @@ function ReferralCardView(props) {
3888
3677
  margin: `${props.limitWidth ? "auto" : "none"}`,
3889
3678
  } },
3890
3679
  h$1("style", { type: "text/css" },
3891
- styleString,
3892
- vanillaStyle$2),
3893
- props.hasHeader && (h$1("div", { class: sheet.classes.EndContainer }, props.slots.header)),
3894
- h$1("div", { part: "sqm-column-container", class: sheet.classes.ColumnContainer, style: {
3680
+ styleString$3,
3681
+ vanillaStyle$1),
3682
+ props.hasHeader && (h$1("div", { class: sheet$3.classes.EndContainer }, props.slots.header)),
3683
+ h$1("div", { part: "sqm-column-container", class: sheet$3.classes.ColumnContainer, style: {
3895
3684
  alignItems: props.verticalAlignment,
3896
3685
  } },
3897
3686
  props.slots.left,
3898
3687
  props.slots.right),
3899
- props.hasFooter && (h$1("div", { class: sheet.classes.EndContainer }, props.slots.footer))));
3688
+ props.hasFooter && (h$1("div", { class: sheet$3.classes.EndContainer }, props.slots.footer))));
3900
3689
  }
3901
3690
 
3902
3691
  const ReferralCard = class {
@@ -3943,6 +3732,12 @@ const ReferralCard = class {
3943
3732
  * @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
3944
3733
  */
3945
3734
  this.paddingLeft = "large";
3735
+ /**
3736
+ * @uiName Background color
3737
+ * @uiWidget color
3738
+ * @uiType string
3739
+ */
3740
+ this.backgroundColor = "#ffffff";
3946
3741
  /**
3947
3742
  * @uiName Limit width
3948
3743
  * @uiType boolean
@@ -3965,7 +3760,7 @@ const ReferralCard = class {
3965
3760
  }
3966
3761
  };
3967
3762
 
3968
- const GET_USER_DETAILS = dist.gql `
3763
+ const GET_USER_DETAILS$1 = dist.gql `
3969
3764
  query getUser($programId: ID) {
3970
3765
  viewer {
3971
3766
  ... on User {
@@ -3978,7 +3773,7 @@ function useReferralIframe(props) {
3978
3773
  var _a;
3979
3774
  const programId = H();
3980
3775
  const user = J();
3981
- const { data } = wn(GET_USER_DETAILS, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId);
3776
+ const { data } = wn(GET_USER_DETAILS$1, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId);
3982
3777
  return {
3983
3778
  states: {
3984
3779
  content: props,
@@ -4036,161 +3831,6 @@ function useReferralIframeDemo(props) {
4036
3831
  }, props.demoData || {}, { arrayMerge: (_, a) => a });
4037
3832
  }
4038
3833
 
4039
- const ReferredRegistration = class {
4040
- constructor(hostRef) {
4041
- registerInstance(this, hostRef);
4042
- this.ignored = true;
4043
- /**
4044
- * @uiName Email field label
4045
- */
4046
- this.emailLabel = "Email";
4047
- /**
4048
- * @uiName First name field label
4049
- */
4050
- this.firstNameLabel = "First Name";
4051
- /**
4052
- * @uiName Last name field label
4053
- */
4054
- this.lastNameLabel = "Last Name";
4055
- /**
4056
- * @uiName Register button text
4057
- */
4058
- this.registerLabel = "Start Referring";
4059
- /**
4060
- * Require your participants to enter their first and last name.
4061
- *
4062
- * @uiName Include name fields
4063
- */
4064
- this.includeName = false;
4065
- /**
4066
- * @uiName Hide border
4067
- * @uiGroup Card style
4068
- */
4069
- this.hideBorder = false;
4070
- /**
4071
- * Display this message when a required field has not been filled out.
4072
- *
4073
- * @uiName Required field message
4074
- * @uiWidget textArea
4075
- * @uiGroup Error messages
4076
- */
4077
- this.requiredFieldErrorMessage = "Cannot be empty";
4078
- /**
4079
- * Display this message when the given email is invalid.
4080
- *
4081
- * @uiName Invalid email message
4082
- * @uiWidget textArea
4083
- * @uiGroup Error messages
4084
- */
4085
- this.invalidEmailErrorMessage = "Please enter a valid email address";
4086
- /**
4087
- * Display this message when the form submission unexpectedly fails.
4088
- *
4089
- * @uiName Network error message
4090
- * @uiWidget textArea
4091
- * @uiGroup Error messages
4092
- */
4093
- this.networkErrorMessage = "There was a problem signing you in. Please wait a moment and try again. If this problem continues, contact Support for help resolving this issue.";
4094
- /**
4095
- * Display this message when there is suspected fraud.
4096
- *
4097
- * @uiName Fraud error message
4098
- * @uiWidget textArea
4099
- * @uiGroup Error messages
4100
- */
4101
- this.fraudErrorMessage = "Our team will review this referral. If approved, you and your friend will receive your rewards. Need help? Reach out to our Support team.";
4102
- /**
4103
- * Display this message when there is suspected fraud.
4104
- *
4105
- * @uiName Fraud error message title
4106
- * @uiWidget textArea
4107
- * @uiGroup Error messages
4108
- */
4109
- this.fraudErrorMessageTitle = "Looks like you tried referring yourself";
4110
- /**
4111
- * @uiName Top padding
4112
- * @uiGroup Card style
4113
- * @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
4114
- * @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
4115
- */
4116
- this.paddingTop = "large";
4117
- /**
4118
- * @uiName Right padding
4119
- * @uiGroup Card style
4120
- * @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
4121
- * @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
4122
- */
4123
- this.paddingRight = "large";
4124
- /**
4125
- * @uiName Bottom padding
4126
- * @uiGroup Card style
4127
- * @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
4128
- * @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
4129
- */
4130
- this.paddingBottom = "large";
4131
- /**
4132
- * @uiName Left padding
4133
- * @uiGroup Card style
4134
- * @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
4135
- * @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
4136
- */
4137
- this.paddingLeft = "large";
4138
- /**
4139
- * @undocumented
4140
- * @uiType boolean
4141
- */
4142
- this.includeCookies = true;
4143
- h(this);
4144
- }
4145
- disconnectedCallback() { }
4146
- render() {
4147
- const { states, callbacks } = isDemo()
4148
- ? useRegistrationDemo(this)
4149
- : useInstantAccessRegistration(this);
4150
- const content = {
4151
- fraudErrorMessage: this.fraudErrorMessage,
4152
- fraudErrorMessageTitle: this.fraudErrorMessageTitle,
4153
- emailLabel: this.emailLabel,
4154
- registerLabel: this.registerLabel,
4155
- firstNameLabel: this.firstNameLabel,
4156
- lastNameLabel: this.lastNameLabel,
4157
- includeName: this.includeName,
4158
- hideBorder: this.hideBorder,
4159
- invalidEmailErrorMessage: this.invalidEmailErrorMessage,
4160
- requiredFieldErrorMessage: this.requiredFieldErrorMessage,
4161
- paddingTop: this.paddingTop,
4162
- paddingBottom: this.paddingBottom,
4163
- paddingLeft: this.paddingLeft,
4164
- paddingRight: this.paddingRight,
4165
- backgroundColor: this.backgroundColor,
4166
- // slots
4167
- topSlot: h$1("slot", { name: "top" }),
4168
- bottomSlot: h$1("slot", { name: "bottom" }),
4169
- };
4170
- return (h$1(EmailRegistrationView, { states: states, callbacks: callbacks, content: content }));
4171
- }
4172
- };
4173
- function useRegistrationDemo(props) {
4174
- const onSubmit = () => {
4175
- setUserIdentity({
4176
- id: "referrer@example.com",
4177
- accountId: "referrer@example.com",
4178
- jwt: "eyJraWQiOiJlNjI2NzQxNy1jMzZlLTRlM2EtYjM5NS1lYTFmY2YyNmU3YzIiLCJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJjbVZtWlhKeVpYSkFaWGhoYlhCc1pTNWpiMjA9OmNtVm1aWEp5WlhKQVpYaGhiWEJzWlM1amIyMD1AdGVzdF9heGJndGF0dzF0Y2NwOnVzZXJzIiwicGFzc3dvcmRsZXNzIjp0cnVlLCJpc3MiOiJodHRwczovL3N0YWdpbmcucmVmZXJyYWxzYWFzcXVhdGNoLmNvbS8iLCJleHAiOjE2ODA4ODU5MTksImlhdCI6MTY4MDc5OTUxOX0.kjmTVVf_BTb-uMNKnadLyNLxMFwpkefsY02O3iAfBVIJJZZfeZMwunPlKsS3Vbp28aYRClBjH5Wj4pYxDn23D0CdZx8KNCqiJ8yF6149O9SPMkRseoJkliqS6LyvMOEDjGDkuLfcC8_hq1AHBXFt5BdCtWOk1gwf_5R9A0w5gXEIvprBzbNDLbuo88bVAlrmFNvfttXXryrpUeruMal7cBKuy02YblBrB4kKoyJiprU5GLEjciBA4A56u8TwQc0kbsPf2YcQaJsY_IvkC7S1u4sPyObpq6iF6Ed8UYHAo6nU5KjZXyVtoUyeIS11mf_6OtDO6LyMNHV2FtEUUDdPCg",
4179
- });
4180
- };
4181
- return cjs({
4182
- states: {
4183
- error: "",
4184
- loading: false,
4185
- },
4186
- callbacks: {
4187
- submit: async (_event) => {
4188
- onSubmit();
4189
- },
4190
- },
4191
- }, props.demoData || {}, { arrayMerge: (_, a) => a });
4192
- }
4193
-
4194
3834
  // canvas-confetti v1.4.0 built on 2021-03-10T12:32:33.488Z
4195
3835
  var module = {};
4196
3836
 
@@ -5127,13 +4767,6 @@ const SqmRewardExchangeList = class {
5127
4767
  * @uiName Cost row title
5128
4768
  */
5129
4769
  this.costTitle = "Cost to Redeem";
5130
- /**
5131
- * @componentState { "title": "Choose reward", "props": { "redeemStage": "chooseReward" }, "dependencies": ["sqm-reward-exchange-list"] }
5132
- * @componentState { "title": "Reward details", "props": { "redeemStage": "chooseAmount" }, "dependencies": ["sqm-reward-exchange-list"] }
5133
- * @componentState { "title": "Confirm exchange", "props": { "redeemStage": "confirmation" }, "dependencies": ["sqm-reward-exchange-list"] }
5134
- * @componentState { "title": "Exchange successful", "props": { "redeemStage": "success" }, "dependencies": ["sqm-reward-exchange-list"] }
5135
- */
5136
- this.stateController = "{}";
5137
4770
  h(this);
5138
4771
  }
5139
4772
  disconnectedCallback() { }
@@ -5153,10 +4786,6 @@ function EmptySlot$1() {
5153
4786
  return (h$1("slot", { name: "empty" }, h$1("sqm-empty", { emptyStateImage: "https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_exchange2.png", emptyStateHeader: "Redeem rewards", emptyStateText: "Use your points to redeem rewards once they become available" })));
5154
4787
  }
5155
4788
  function useRewardExchangeListDemo(props) {
5156
- const states = parseStates(props.stateController);
5157
- const formatted = Object.keys(states).reduce((prev, key) => key === "reward-exchange-list"
5158
- ? { ...prev, ...states[key] }
5159
- : { ...prev, [`${key}_stateController`]: states[key] }, {});
5160
4789
  return cjs({
5161
4790
  states: {
5162
4791
  content: {
@@ -5171,9 +4800,10 @@ function useRewardExchangeListDemo(props) {
5171
4800
  queryError: false,
5172
4801
  loading: false,
5173
4802
  noExchangeOptions: false,
4803
+ empty: EmptySlot$1(),
5174
4804
  },
5175
4805
  data: {
5176
- // shareCode: "SHARECODE123",
4806
+ shareCode: "SHARECODE123",
5177
4807
  exchangeList: demoRewardExchange.data.exchangeList,
5178
4808
  },
5179
4809
  callbacks: {
@@ -5186,7 +4816,7 @@ function useRewardExchangeListDemo(props) {
5186
4816
  refs: {
5187
4817
  canvasRef: {},
5188
4818
  },
5189
- }, props.demoData || formatted || {}, { arrayMerge: (_, a) => a });
4819
+ }, props.demoData || {}, { arrayMerge: (_, a) => a });
5190
4820
  }
5191
4821
 
5192
4822
  const debug$1 = browser("sq:useRouter");
@@ -5198,7 +4828,7 @@ function matchPath(pattern, page) {
5198
4828
  }
5199
4829
  function useRouter() {
5200
4830
  const location = kn();
5201
- const host = _$1();
4831
+ const host = _();
5202
4832
  const [slot, setSlot] = useState(undefined);
5203
4833
  const [container, setContainer] = useState(undefined);
5204
4834
  const page = location.pathname;
@@ -5289,8 +4919,8 @@ const ShareButton = class {
5289
4919
  /**
5290
4920
  * @uiType string
5291
4921
  * @uiName Button style
5292
- * @uiEnum ["primary", "secondary", "success", "info", "warning", "danger", "default", "text" ]
5293
- * @uiEnumNames ["Primary", "Secondary", "Success", "Info", "Warning", "Danger", "Default", "Text"]
4922
+ * @uiEnum ["primary" , "success", "info", "warning", "danger", "default", "text" ]
4923
+ * @uiEnumNames ["Primary", "Success", "Info", "Warning", "Danger", "Default", "Text"]
5294
4924
  */
5295
4925
  this.type = "default";
5296
4926
  /**
@@ -5302,13 +4932,11 @@ const ShareButton = class {
5302
4932
  this.iconslot = "prefix";
5303
4933
  /**
5304
4934
  * @uiName Hide icon
5305
- * @uiGroup Style
5306
4935
  * @default
5307
4936
  */
5308
4937
  this.hideicon = false;
5309
4938
  /**
5310
4939
  * @uiName Hide text
5311
- * @uiGroup Style
5312
4940
  * @default
5313
4941
  */
5314
4942
  this.hidetext = false;
@@ -5414,7 +5042,6 @@ const ShareCode = class {
5414
5042
  * @uiType string
5415
5043
  * @uiEnum ["left", "center", "right"]
5416
5044
  * @uiEnumNames ["Left", "Center", "Right"]
5417
- * @uiGroup Style
5418
5045
  */
5419
5046
  this.textAlign = "left";
5420
5047
  /**
@@ -5428,18 +5055,8 @@ const ShareCode = class {
5428
5055
  * @uiType string
5429
5056
  * @uiEnum ["icon", "button-outside", "button-below"]
5430
5057
  * @uiEnumNames ["Icon", "Button outside", "Button below"]
5431
- * @uiGroup Style
5432
5058
  */
5433
5059
  this.buttonStyle = "icon";
5434
- /**
5435
- * The type of the button that is used (primary or secondary).
5436
- * @uiName Button Type
5437
- * @uiType string
5438
- * @uiEnum ["primary", "secondary"]
5439
- * @uiEnumNames ["Primary", "Secondary"]
5440
- * @uiGroup Style
5441
- */
5442
- this.buttonType = "primary";
5443
5060
  h(this);
5444
5061
  }
5445
5062
  disconnectedCallback() { }
@@ -5460,11 +5077,6 @@ function useDemoShareCode(props) {
5460
5077
  textAlign: props.textAlign,
5461
5078
  copyButtonLabel: props.copyButtonLabel,
5462
5079
  buttonStyle: props.buttonStyle,
5463
- backgroundColor: props.backgroundColor,
5464
- textColor: props.textColor,
5465
- borderRadius: props.borderRadius,
5466
- borderColor: props.borderColor,
5467
- buttonType: props.buttonType,
5468
5080
  rewardStatus: "AVAILABLE",
5469
5081
  open,
5470
5082
  onClick: () => {
@@ -5499,30 +5111,19 @@ const ShareLink = class {
5499
5111
  * @uiType string
5500
5112
  * @uiEnum ["left", "center", "right"]
5501
5113
  * @uiEnumNames ["Left", "Center", "Right"]
5502
- * @uiGroup Style
5503
5114
  */
5504
5115
  this.textAlign = "left";
5505
5116
  /**
5506
5117
  * @uiName Copy button label
5507
5118
  */
5508
5119
  this.copyButtonLabel = "Copy Link";
5509
- /**
5510
- * The type of the button that is used (primary or secondary).
5511
- * @uiName Button Type
5512
- * @uiType string
5513
- * @uiEnum ["primary", "secondary"]
5514
- * @uiEnumNames ["Primary", "Secondary"]
5515
- * @uiGroup Style
5516
- */
5517
- this.buttonType = "primary";
5518
5120
  /**
5519
5121
  * Set the copy button style and placement
5520
5122
  *
5521
- * @uiName Button style
5123
+ * @uiName Style
5522
5124
  * @uiType string
5523
5125
  * @uiEnum ["icon", "button-outside", "button-below"]
5524
5126
  * @uiEnumNames ["Icon", "Button outside", "Button below"]
5525
- * @uiGroup Style
5526
5127
  */
5527
5128
  this.buttonStyle = "icon";
5528
5129
  h(this);
@@ -5544,12 +5145,7 @@ function useDemoShareLink(props) {
5544
5145
  tooltiptext: props.tooltiptext,
5545
5146
  textAlign: props.textAlign,
5546
5147
  buttonStyle: props.buttonStyle,
5547
- backgroundColor: props.backgroundColor,
5548
- textColor: props.textColor,
5549
- borderRadius: props.borderRadius,
5550
- buttonType: props.buttonType,
5551
5148
  copyButtonLabel: props.copyButtonLabel,
5552
- borderColor: props.borderColor,
5553
5149
  rewardStatus: "AVAILABLE",
5554
5150
  open,
5555
5151
  onClick: () => {
@@ -5574,29 +5170,12 @@ const StatContainer = class {
5574
5170
  */
5575
5171
  this.space = "xxx-large";
5576
5172
  /**
5577
- * @undocumented
5578
5173
  * @uiName Display
5579
5174
  * @uiType string
5580
5175
  * @uiEnum ["grid", "flex"]
5581
5176
  * @uiEnumNames ["Grid", "Flex"]
5582
5177
  */
5583
- this.display = "flex";
5584
- /**
5585
- * Controls the alignment of the flexbox
5586
- *
5587
- * @uiName Alignment
5588
- * @uiType string
5589
- * @uiEnum ["left", "right", "center"]
5590
- * @uiEnumNames ["Left", "Right", "Center"]
5591
- */
5592
- this.alignment = "center";
5593
- /**
5594
- * @uiName Gap
5595
- * @uiType string
5596
- * @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
5597
- * @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
5598
- */
5599
- this.gap = "x-large";
5178
+ this.display = "grid";
5600
5179
  h(this);
5601
5180
  }
5602
5181
  disconnectedCallback() { }
@@ -5640,18 +5219,8 @@ function useTaskCard(props) {
5640
5219
  function onClick() {
5641
5220
  props.eventKey ? sendEvent(props.eventKey) : openLink();
5642
5221
  }
5643
- const styles = {
5644
- card: {
5645
- backgroundColor: props.backgroundColor,
5646
- textColor: props.textColor,
5647
- borderColor: props.borderColor,
5648
- borderRadius: props.borderRadius,
5649
- buttonType: props.buttonType,
5650
- },
5651
- };
5652
5222
  return {
5653
5223
  states: { loadingEvent, locale },
5654
- styles,
5655
5224
  callbacks: { sendEvent, onClick },
5656
5225
  };
5657
5226
  }
@@ -5765,14 +5334,6 @@ const TaskCard = class {
5765
5334
  * @uiGroup Button
5766
5335
  */
5767
5336
  this.hideButton = false;
5768
- /**
5769
- * @uiName Button Style
5770
- * @uiType string
5771
- * @uiEnum ["primary", "secondary"]
5772
- * @uiEnumNames ["Primary", "Secondary"]
5773
- * @uiGroup Style
5774
- */
5775
- this.buttonType = "primary";
5776
5337
  h(this);
5777
5338
  }
5778
5339
  disconnectedCallback() { }
@@ -5794,7 +5355,6 @@ const TaskCard = class {
5794
5355
  };
5795
5356
  function useTaskCardDemo(props) {
5796
5357
  return cjs({
5797
- content: { ...props },
5798
5358
  states: { loadingEvent: false, locale: "en" },
5799
5359
  callbacks: {
5800
5360
  sendEvent: (event) => console.log(event),
@@ -5848,7 +5408,52 @@ const Gift = () => (h$1("svg", { width: "24", height: "24", viewBox: "0 0 24 24"
5848
5408
  const Circle = () => (h$1("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
5849
5409
  h$1("circle", { cx: "12", cy: "12", r: "9", fill: "currentColor", stroke: "currentColor", "stroke-width": "2" })));
5850
5410
 
5851
- const vanillaStyle$3 = `
5411
+ const style$4 = {
5412
+ TimelineReward: {
5413
+ color: "var(--sl-color-neutral-900)",
5414
+ lineHeight: "var(--sl-line-height-dense)",
5415
+ "& .container": {
5416
+ display: "flex",
5417
+ },
5418
+ "& .line": {
5419
+ display: "none",
5420
+ color: "transparent",
5421
+ userSelect: "none",
5422
+ background: "var(--sl-color-primary-300)",
5423
+ width: "4px",
5424
+ borderRadius: "4px",
5425
+ margin: "-2px",
5426
+ position: "relative",
5427
+ left: "12px",
5428
+ top: "34px",
5429
+ },
5430
+ "& .step": {
5431
+ display: "flex",
5432
+ },
5433
+ "& .icon": {
5434
+ position: "relative",
5435
+ top: "4px",
5436
+ zIndex: "1",
5437
+ color: "var(--sl-color-primary-300)",
5438
+ marginRight: "var(--sl-spacing-large)",
5439
+ },
5440
+ "& .reward": {
5441
+ marginRight: "var(--sl-spacing-x-small)",
5442
+ fontSize: "var(--sl-font-size-x-large)",
5443
+ fontWeight: "var(--sl-font-weight-semibold)",
5444
+ },
5445
+ "& .unit": {
5446
+ textTransform: "uppercase",
5447
+ fontSize: "var(--sl-font-size-small)",
5448
+ },
5449
+ "& .description": {
5450
+ fontSize: "var(--sl-font-size-medium)",
5451
+ },
5452
+ },
5453
+ };
5454
+ const sheet$4 = createStyleSheet(style$4);
5455
+ const styleString$4 = sheet$4.toString();
5456
+ const vanillaStyle$2 = `
5852
5457
  :host{
5853
5458
  display: block;
5854
5459
  }
@@ -5860,55 +5465,10 @@ const vanillaStyle$3 = `
5860
5465
  function TimelineEntryView(props) {
5861
5466
  var _a;
5862
5467
  const timeline_icon = (_a = props.icon) !== null && _a !== void 0 ? _a : props.iconState;
5863
- const style = {
5864
- TimelineReward: {
5865
- color: props.textColor || "var(--sqm-text)",
5866
- lineHeight: "var(--sl-line-height-dense)",
5867
- "& .container": {
5868
- display: "flex",
5869
- },
5870
- "& .line": {
5871
- display: "none",
5872
- color: "transparent",
5873
- userSelect: "none",
5874
- background: props.lineColor || "var(--sqm-accent-color-icon)",
5875
- width: "4px",
5876
- borderRadius: "4px",
5877
- margin: "-2px",
5878
- position: "relative",
5879
- left: "12px",
5880
- top: "34px",
5881
- },
5882
- "& .step": {
5883
- display: "flex",
5884
- },
5885
- "& .icon": {
5886
- position: "relative",
5887
- top: "4px",
5888
- zIndex: "1",
5889
- color: props.lineColor || "var(--sqm-accent-color-icon)",
5890
- marginRight: "var(--sl-spacing-large)",
5891
- },
5892
- "& .reward": {
5893
- marginRight: "var(--sl-spacing-x-small)",
5894
- fontSize: "var(--sl-font-size-x-large)",
5895
- fontWeight: "var(--sl-font-weight-semibold)",
5896
- },
5897
- "& .unit": {
5898
- textTransform: "uppercase",
5899
- fontSize: "var(--sl-font-size-small)",
5900
- },
5901
- "& .description": {
5902
- fontSize: "var(--sl-font-size-medium)",
5903
- },
5904
- },
5905
- };
5906
- const sheet = createStyleSheet(style);
5907
- const styleString = sheet.toString();
5908
- return (h$1("div", { class: sheet.classes.TimelineReward, part: "sqm-base" },
5468
+ return (h$1("div", { class: sheet$4.classes.TimelineReward, part: "sqm-base" },
5909
5469
  h$1("style", { type: "text/css" },
5910
- styleString,
5911
- vanillaStyle$3),
5470
+ styleString$4,
5471
+ vanillaStyle$2),
5912
5472
  h$1("div", { class: "container", part: "sqm-entry-container" },
5913
5473
  h$1("div", { class: "line" }, "/"),
5914
5474
  h$1("div", { class: "step" },
@@ -5998,4 +5558,4 @@ function useUserNameDemo(props) {
5998
5558
  }, props.demoData || {}, { arrayMerge: (_, a) => a });
5999
5559
  }
6000
5560
 
6001
- export { BigStat as sqm_big_stat, BrandComponent as sqm_brand, SqmBrandSelector as sqm_brand_selector, CardFeed as sqm_card_feed, CheckboxField as sqm_checkbox_field, CouponCode as sqm_coupon_code, DividedLayout as sqm_divided_layout, DropdownField as sqm_dropdown_field, EditProfile as sqm_edit_profile, Hero as sqm_hero, HeroImage as sqm_hero_image, SqmHookStoryContainer as sqm_hook_story_container, Image as sqm_image, InputField as sqm_input_field, Leaderboard as sqm_leaderboard, LinkButton as sqm_link_button, MarketingEmailsCheckbox as sqm_marketing_emails_checkbox, NameFields as sqm_name_fields, NavigationMenu as sqm_navigation_menu, PayoutButtonScroll as sqm_payout_button_scroll, PayoutStatusAlert as sqm_payout_status_alert, PortalChangeMarketing as sqm_portal_change_marketing, PortalChangePassword as sqm_portal_change_password, PortalFooter as sqm_portal_footer, PortalFrame as sqm_portal_frame, PortalLogin as sqm_portal_login, PortalRegister as sqm_portal_register, ProgramExplainer as sqm_program_explainer, ProgramExplainerStep as sqm_program_explainer_step, ProgramMenu as sqm_program_menu, ReferralCard as sqm_referral_card, SqmReferralIframe as sqm_referral_iframe, ReferredRegistration as sqm_referred_registration, SqmRewardExchangeList as sqm_reward_exchange_list, SqmRouter as sqm_router, ShareButton as sqm_share_button, ShareCode as sqm_share_code, ShareLink as sqm_share_link, StatContainer as sqm_stat_container, TaskCard as sqm_task_card, Timeline as sqm_timeline, TimelineReward as sqm_timeline_entry, UserName as sqm_user_name };
5561
+ export { BigStat as sqm_big_stat, BrandComponent as sqm_brand, CardFeed as sqm_card_feed, CheckboxField as sqm_checkbox_field, CouponCode as sqm_coupon_code, DividedLayout as sqm_divided_layout, DropdownField as sqm_dropdown_field, EditProfile as sqm_edit_profile, Hero as sqm_hero, HeroImage as sqm_hero_image, SqmHookStoryContainer as sqm_hook_story_container, Image as sqm_image, InputField as sqm_input_field, LeadDropdownField as sqm_lead_dropdown_field, LeadForm as sqm_lead_form, Leaderboard as sqm_leaderboard, LinkButton as sqm_link_button, MarketingEmailsCheckbox as sqm_marketing_emails_checkbox, NameFields as sqm_name_fields, NavigationMenu as sqm_navigation_menu, PayoutButtonScroll as sqm_payout_button_scroll, PayoutStatusAlert as sqm_payout_status_alert, PortalChangeMarketing as sqm_portal_change_marketing, PortalChangePassword as sqm_portal_change_password, PortalFooter as sqm_portal_footer, PortalFrame as sqm_portal_frame, PortalLogin as sqm_portal_login, PortalRegister as sqm_portal_register, ProgramExplainer as sqm_program_explainer, ProgramExplainerStep as sqm_program_explainer_step, ProgramMenu as sqm_program_menu, ReferralCard as sqm_referral_card, SqmReferralIframe as sqm_referral_iframe, SqmRewardExchangeList as sqm_reward_exchange_list, SqmRouter as sqm_router, ShareButton as sqm_share_button, ShareCode as sqm_share_code, ShareLink as sqm_share_link, StatContainer as sqm_stat_container, TaskCard as sqm_task_card, Timeline as sqm_timeline, TimelineReward as sqm_timeline_entry, UserName as sqm_user_name };