@saasquatch/mint-components 1.11.1-48 → 1.11.1-49

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 (426) hide show
  1. package/dist/cjs/{GenericTableView-bb2fcd95.js → GenericTableView-80d7642e.js} +2 -2
  2. package/dist/cjs/{ShadowViewAddon-2d56f3b4.js → ShadowViewAddon-c3e91cee.js} +224 -166
  3. package/dist/cjs/{email-registration-view-54cedb43.js → email-registration-view-248652bb.js} +2 -2
  4. package/dist/cjs/{global-e067aa06.js → global-02e50f09.js} +2 -2
  5. package/dist/cjs/{index-ff72278c.js → index-b0129cd6.js} +0 -2
  6. package/dist/cjs/{index.module-224d7b8d.js → index.module-df530553.js} +1 -1
  7. package/dist/cjs/loader.cjs.js +5 -5
  8. package/dist/cjs/{luxon-45228ff5.js → luxon-05098e19.js} +1 -1
  9. package/dist/cjs/mint-components.cjs.js +5 -5
  10. package/dist/cjs/{mockRewardData-d6be2267.js → mockRewardData-4258e067.js} +1 -1
  11. package/dist/cjs/raisins-plop-target.cjs.entry.js +1 -1
  12. package/dist/cjs/{re-render-cd2f8774.js → re-render-1976e05e.js} +2 -2
  13. package/dist/cjs/{sqm-asset-card-view-30ca5188.js → sqm-asset-card-view-a0e33f21.js} +1 -1
  14. package/dist/cjs/sqm-asset-card.cjs.entry.js +5 -5
  15. package/dist/cjs/sqm-banking-info-form_16.cjs.entry.js +12 -12
  16. package/dist/cjs/sqm-big-stat_38.cjs.entry.js +16 -17
  17. package/dist/cjs/{sqm-close-button-view-6a709e00.js → sqm-close-button-view-fd6e8f60.js} +2 -2
  18. package/dist/cjs/sqm-close-button.cjs.entry.js +5 -5
  19. package/dist/cjs/sqm-context-router.cjs.entry.js +3 -3
  20. package/dist/cjs/sqm-empty_4.cjs.entry.js +7 -11
  21. package/dist/cjs/sqm-form-message.cjs.entry.js +2 -2
  22. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +3 -3
  23. package/dist/cjs/sqm-header-logo.cjs.entry.js +2 -2
  24. package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +7 -7
  25. package/dist/cjs/{sqm-invoice-table-view-2f4f426b.js → sqm-invoice-table-view-e3b03a00.js} +2 -2
  26. package/dist/cjs/{sqm-leaderboard-rank-view-317eb84f.js → sqm-leaderboard-rank-view-5a3d4a88.js} +1 -1
  27. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +5 -5
  28. package/dist/cjs/{sqm-logout-current-user-view-1912b773.js → sqm-logout-current-user-view-c9f18d96.js} +1 -1
  29. package/dist/cjs/sqm-logout-current-user.cjs.entry.js +6 -6
  30. package/dist/cjs/{sqm-navigation-sidebar-item-view-010a81c7.js → sqm-navigation-sidebar-item-view-a125ec5f.js} +3 -3
  31. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +6 -6
  32. package/dist/cjs/{sqm-navigation-sidebar-view-215eba1d.js → sqm-navigation-sidebar-view-921704fb.js} +1 -1
  33. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +4 -4
  34. package/dist/cjs/sqm-password-field.cjs.entry.js +6 -6
  35. package/dist/cjs/sqm-popup-container.cjs.entry.js +3 -3
  36. package/dist/cjs/{sqm-portal-container-view-976bf0f5.js → sqm-portal-container-view-990a85a3.js} +1 -1
  37. package/dist/cjs/{sqm-portal-email-verification-view-f8980d11.js → sqm-portal-email-verification-view-292b5bf4.js} +4 -4
  38. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +7 -7
  39. package/dist/cjs/{sqm-portal-forgot-password-view-24339191.js → sqm-portal-forgot-password-view-969c49ed.js} +3 -3
  40. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +6 -6
  41. package/dist/cjs/sqm-portal-logout.cjs.entry.js +3 -3
  42. package/dist/cjs/{sqm-portal-profile-view-7c70d7f9.js → sqm-portal-profile-view-fde54e35.js} +3 -3
  43. package/dist/cjs/sqm-portal-profile.cjs.entry.js +9 -9
  44. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +3 -3
  45. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +6 -6
  46. package/dist/cjs/{sqm-portal-reset-password-view-1b85b8cf.js → sqm-portal-reset-password-view-96f329ed.js} +3 -3
  47. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +7 -7
  48. package/dist/cjs/{sqm-portal-verify-email-view-cc3c87c3.js → sqm-portal-verify-email-view-7ffcc0d4.js} +3 -3
  49. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +7 -7
  50. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +20 -13
  51. package/dist/cjs/sqm-referred-registration.cjs.entry.js +7 -7
  52. package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +3 -3
  53. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +4 -4
  54. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +12 -12
  55. package/dist/cjs/sqm-route.cjs.entry.js +1 -1
  56. package/dist/cjs/sqm-stencilbook.cjs.entry.js +99 -283
  57. package/dist/cjs/sqm-tab.cjs.entry.js +4 -4
  58. package/dist/cjs/sqm-tabs.cjs.entry.js +5 -5
  59. package/dist/cjs/{sqm-text-span-view-38222836.js → sqm-text-span-view-e1cd9bd3.js} +1 -1
  60. package/dist/cjs/sqm-text-span.cjs.entry.js +3 -3
  61. package/dist/cjs/{stencil-hooks.module-8f69ed33.js → stencil-hooks.module-72742a0b.js} +1 -1
  62. package/dist/cjs/{useChildElements-176ac928.js → useChildElements-e0d44916.js} +2 -2
  63. package/dist/cjs/{useInstantAccessRegistration-151a3f4a.js → useInstantAccessRegistration-bbe746d1.js} +3 -3
  64. package/dist/cjs/{useReferralTable-c91d9310.js → useReferralTable-a76adb0d.js} +5 -5
  65. package/dist/cjs/{useRegistrationFormState-49dd9295.js → useRegistrationFormState-876ed65d.js} +2 -2
  66. package/dist/cjs/{utilities-719c980a.js → utilities-cec9dd36.js} +2 -2
  67. package/dist/collection/collection-manifest.json +0 -10
  68. package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +1 -1
  69. package/dist/collection/components/sqm-empty/sqm-empty.js +2 -10
  70. package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user.js +1 -1
  71. package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +4 -0
  72. package/dist/collection/components/sqm-referral-card/ReferralCard.stories.js +0 -20
  73. package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +7 -0
  74. package/dist/collection/components/sqm-share-button/useShareButton.js +18 -29
  75. package/dist/collection/components/sqm-share-code/sqm-share-code.js +1 -1
  76. package/dist/collection/components/sqm-share-link/sqm-share-link.js +1 -1
  77. package/dist/collection/components/sqm-share-link/useShareLink.js +4 -11
  78. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +0 -6
  79. package/dist/collection/components/views/copy-text-view.js +3 -19
  80. package/dist/collection/stories/Widget.stories.js +0 -5
  81. package/dist/esm/{GenericTableView-706f5b56.js → GenericTableView-d59d8ab4.js} +2 -2
  82. package/dist/esm/{ShadowViewAddon-db086943.js → ShadowViewAddon-e012b2aa.js} +222 -165
  83. package/dist/esm/{email-registration-view-5ecee6f8.js → email-registration-view-a89a88bf.js} +2 -2
  84. package/dist/esm/{global-701bd5b0.js → global-04c7d3b5.js} +2 -2
  85. package/dist/esm/{index-014ddfa3.js → index-17b4da69.js} +1 -2
  86. package/dist/esm/{index.module-5eb0926c.js → index.module-def4aec5.js} +2 -2
  87. package/dist/esm/loader.js +5 -5
  88. package/dist/esm/{luxon-12195d94.js → luxon-7600be8d.js} +1 -1
  89. package/dist/esm/mint-components.js +5 -5
  90. package/dist/esm/{mockRewardData-133c20ca.js → mockRewardData-0eb6e778.js} +1 -1
  91. package/dist/esm/raisins-plop-target.entry.js +1 -1
  92. package/dist/esm/{re-render-b31d83d7.js → re-render-12fd274a.js} +2 -2
  93. package/dist/esm/{sqm-asset-card-view-da88351a.js → sqm-asset-card-view-9d93fbdd.js} +1 -1
  94. package/dist/esm/sqm-asset-card.entry.js +5 -5
  95. package/dist/esm/sqm-banking-info-form_16.entry.js +12 -12
  96. package/dist/esm/sqm-big-stat_38.entry.js +14 -15
  97. package/dist/esm/{sqm-close-button-view-8058642b.js → sqm-close-button-view-dc65b4e3.js} +2 -2
  98. package/dist/esm/sqm-close-button.entry.js +5 -5
  99. package/dist/esm/sqm-context-router.entry.js +3 -3
  100. package/dist/esm/sqm-empty_4.entry.js +7 -11
  101. package/dist/esm/sqm-form-message.entry.js +2 -2
  102. package/dist/esm/sqm-graphql-client-provider.entry.js +3 -3
  103. package/dist/esm/sqm-header-logo.entry.js +2 -2
  104. package/dist/esm/sqm-instant-access-registration.entry.js +7 -7
  105. package/dist/esm/{sqm-invoice-table-view-7d1aa71f.js → sqm-invoice-table-view-6e13a323.js} +2 -2
  106. package/dist/esm/{sqm-leaderboard-rank-view-773a586f.js → sqm-leaderboard-rank-view-10657658.js} +1 -1
  107. package/dist/esm/sqm-leaderboard-rank.entry.js +5 -5
  108. package/dist/esm/{sqm-logout-current-user-view-dfcd508a.js → sqm-logout-current-user-view-2c6122cd.js} +1 -1
  109. package/dist/esm/sqm-logout-current-user.entry.js +6 -6
  110. package/dist/esm/{sqm-navigation-sidebar-item-view-9fa7f5ea.js → sqm-navigation-sidebar-item-view-60ef06cc.js} +3 -3
  111. package/dist/esm/sqm-navigation-sidebar-item.entry.js +6 -6
  112. package/dist/esm/{sqm-navigation-sidebar-view-5f332ea1.js → sqm-navigation-sidebar-view-0312e073.js} +1 -1
  113. package/dist/esm/sqm-navigation-sidebar.entry.js +4 -4
  114. package/dist/esm/sqm-password-field.entry.js +6 -6
  115. package/dist/esm/sqm-popup-container.entry.js +3 -3
  116. package/dist/esm/{sqm-portal-container-view-83df005d.js → sqm-portal-container-view-6c582684.js} +1 -1
  117. package/dist/esm/{sqm-portal-email-verification-view-332e1339.js → sqm-portal-email-verification-view-4307c992.js} +4 -4
  118. package/dist/esm/sqm-portal-email-verification.entry.js +7 -7
  119. package/dist/esm/{sqm-portal-forgot-password-view-8629f753.js → sqm-portal-forgot-password-view-c2ed8fed.js} +3 -3
  120. package/dist/esm/sqm-portal-forgot-password.entry.js +6 -6
  121. package/dist/esm/sqm-portal-logout.entry.js +3 -3
  122. package/dist/esm/{sqm-portal-profile-view-847526a2.js → sqm-portal-profile-view-ffe955c8.js} +3 -3
  123. package/dist/esm/sqm-portal-profile.entry.js +9 -9
  124. package/dist/esm/sqm-portal-protected-route.entry.js +3 -3
  125. package/dist/esm/sqm-portal-registration-form.entry.js +6 -6
  126. package/dist/esm/{sqm-portal-reset-password-view-865655da.js → sqm-portal-reset-password-view-79a85e02.js} +3 -3
  127. package/dist/esm/sqm-portal-reset-password.entry.js +7 -7
  128. package/dist/esm/{sqm-portal-verify-email-view-6c60df25.js → sqm-portal-verify-email-view-d7ea2c56.js} +3 -3
  129. package/dist/esm/sqm-portal-verify-email.entry.js +7 -7
  130. package/dist/esm/sqm-referral-table_11.entry.js +20 -13
  131. package/dist/esm/sqm-referred-registration.entry.js +7 -7
  132. package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +3 -3
  133. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +4 -4
  134. package/dist/esm/sqm-rewards-table_9.entry.js +12 -12
  135. package/dist/esm/sqm-route.entry.js +1 -1
  136. package/dist/esm/sqm-stencilbook.entry.js +86 -270
  137. package/dist/esm/sqm-tab.entry.js +4 -4
  138. package/dist/esm/sqm-tabs.entry.js +5 -5
  139. package/dist/esm/{sqm-text-span-view-d6e03f93.js → sqm-text-span-view-8d140661.js} +1 -1
  140. package/dist/esm/sqm-text-span.entry.js +3 -3
  141. package/dist/esm/{stencil-hooks.module-576d7f01.js → stencil-hooks.module-ac12ca1c.js} +1 -1
  142. package/dist/esm/{useChildElements-ebcfbc19.js → useChildElements-32e1bda1.js} +2 -2
  143. package/dist/esm/{useInstantAccessRegistration-7b2ea2bd.js → useInstantAccessRegistration-46b89952.js} +3 -3
  144. package/dist/esm/{useReferralTable-df227f15.js → useReferralTable-f4de0650.js} +5 -5
  145. package/dist/esm/{useRegistrationFormState-faea9402.js → useRegistrationFormState-9fc1ac80.js} +2 -2
  146. package/dist/esm/{utilities-292b61b9.js → utilities-3f5bba22.js} +2 -2
  147. package/dist/esm-es5/{GenericTableView-706f5b56.js → GenericTableView-d59d8ab4.js} +1 -1
  148. package/dist/esm-es5/ShadowViewAddon-e012b2aa.js +1 -0
  149. package/dist/esm-es5/{email-registration-view-5ecee6f8.js → email-registration-view-a89a88bf.js} +1 -1
  150. package/dist/esm-es5/{global-701bd5b0.js → global-04c7d3b5.js} +1 -1
  151. package/dist/esm-es5/{index-014ddfa3.js → index-17b4da69.js} +1 -1
  152. package/dist/esm-es5/{index.module-5eb0926c.js → index.module-def4aec5.js} +1 -1
  153. package/dist/esm-es5/loader.js +1 -1
  154. package/dist/esm-es5/{luxon-12195d94.js → luxon-7600be8d.js} +1 -1
  155. package/dist/esm-es5/mint-components.js +1 -1
  156. package/dist/esm-es5/{mockRewardData-133c20ca.js → mockRewardData-0eb6e778.js} +1 -1
  157. package/dist/esm-es5/raisins-plop-target.entry.js +1 -1
  158. package/dist/esm-es5/{re-render-b31d83d7.js → re-render-12fd274a.js} +1 -1
  159. package/dist/esm-es5/{sqm-asset-card-view-da88351a.js → sqm-asset-card-view-9d93fbdd.js} +1 -1
  160. package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
  161. package/dist/esm-es5/sqm-banking-info-form_16.entry.js +1 -1
  162. package/dist/esm-es5/sqm-big-stat_38.entry.js +1 -1
  163. package/dist/esm-es5/{sqm-close-button-view-8058642b.js → sqm-close-button-view-dc65b4e3.js} +1 -1
  164. package/dist/esm-es5/sqm-close-button.entry.js +1 -1
  165. package/dist/esm-es5/sqm-context-router.entry.js +1 -1
  166. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  167. package/dist/esm-es5/sqm-form-message.entry.js +1 -1
  168. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  169. package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
  170. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  171. package/dist/esm-es5/{sqm-invoice-table-view-7d1aa71f.js → sqm-invoice-table-view-6e13a323.js} +1 -1
  172. package/dist/esm-es5/sqm-leaderboard-rank-view-10657658.js +1 -0
  173. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  174. package/dist/esm-es5/{sqm-logout-current-user-view-dfcd508a.js → sqm-logout-current-user-view-2c6122cd.js} +1 -1
  175. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  176. package/dist/esm-es5/sqm-navigation-sidebar-item-view-60ef06cc.js +1 -0
  177. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  178. package/dist/esm-es5/{sqm-navigation-sidebar-view-5f332ea1.js → sqm-navigation-sidebar-view-0312e073.js} +1 -1
  179. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  180. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  181. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  182. package/dist/esm-es5/{sqm-portal-container-view-83df005d.js → sqm-portal-container-view-6c582684.js} +1 -1
  183. package/dist/esm-es5/{sqm-portal-email-verification-view-332e1339.js → sqm-portal-email-verification-view-4307c992.js} +1 -1
  184. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  185. package/dist/esm-es5/{sqm-portal-forgot-password-view-8629f753.js → sqm-portal-forgot-password-view-c2ed8fed.js} +1 -1
  186. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  187. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  188. package/dist/esm-es5/{sqm-portal-profile-view-847526a2.js → sqm-portal-profile-view-ffe955c8.js} +1 -1
  189. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  190. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  191. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  192. package/dist/esm-es5/{sqm-portal-reset-password-view-865655da.js → sqm-portal-reset-password-view-79a85e02.js} +1 -1
  193. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  194. package/dist/esm-es5/{sqm-portal-verify-email-view-6c60df25.js → sqm-portal-verify-email-view-d7ea2c56.js} +1 -1
  195. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  196. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  197. package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
  198. package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  199. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  200. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  201. package/dist/esm-es5/sqm-route.entry.js +1 -1
  202. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  203. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  204. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  205. package/dist/esm-es5/{sqm-text-span-view-d6e03f93.js → sqm-text-span-view-8d140661.js} +1 -1
  206. package/dist/esm-es5/sqm-text-span.entry.js +1 -1
  207. package/dist/esm-es5/{stencil-hooks.module-576d7f01.js → stencil-hooks.module-ac12ca1c.js} +1 -1
  208. package/dist/esm-es5/useChildElements-32e1bda1.js +1 -0
  209. package/dist/esm-es5/useInstantAccessRegistration-46b89952.js +1 -0
  210. package/dist/esm-es5/{useReferralTable-df227f15.js → useReferralTable-f4de0650.js} +1 -1
  211. package/dist/esm-es5/useRegistrationFormState-9fc1ac80.js +1 -0
  212. package/dist/esm-es5/{utilities-292b61b9.js → utilities-3f5bba22.js} +1 -1
  213. package/dist/mint-components/mint-components.esm.js +1 -1
  214. package/dist/mint-components/mint-components.js +1 -1
  215. package/dist/mint-components/p-021a735d.entry.js +1 -0
  216. package/dist/mint-components/{p-8b9408e5.system.js → p-02424350.system.js} +1 -1
  217. package/dist/mint-components/p-03494732.entry.js +1 -0
  218. package/dist/mint-components/p-07f675ab.system.entry.js +1 -0
  219. package/dist/mint-components/p-0a898ab1.js +1 -0
  220. package/dist/mint-components/p-0b9fa97f.js +1 -0
  221. package/dist/mint-components/{p-778b3774.system.js → p-0d8c53ac.system.js} +1 -1
  222. package/dist/mint-components/{p-8cd49ec4.js → p-10685090.js} +23 -23
  223. package/dist/mint-components/p-10e89d0a.entry.js +1 -0
  224. package/dist/mint-components/p-137ea86e.entry.js +1 -0
  225. package/dist/mint-components/{p-a3fdbfed.entry.js → p-178d2d2e.entry.js} +1 -1
  226. package/dist/mint-components/{p-59e310c8.js → p-1b9e6fc6.js} +1 -1
  227. package/dist/mint-components/{p-6dab9a17.entry.js → p-1c857edb.entry.js} +2 -2
  228. package/dist/mint-components/{p-f9680769.system.entry.js → p-1dd69917.system.entry.js} +1 -1
  229. package/dist/mint-components/{p-1a4e5a3a.js → p-251e7567.js} +1 -1
  230. package/dist/mint-components/{p-45d71b2a.system.js → p-2a414b2e.system.js} +1 -1
  231. package/dist/mint-components/{p-cc1ffc0c.entry.js → p-2dd67762.entry.js} +1 -1
  232. package/dist/mint-components/{p-195e306e.js → p-2ee2ebba.js} +1 -1
  233. package/dist/mint-components/p-2fd9c73d.entry.js +1 -0
  234. package/dist/mint-components/{p-752650b9.system.js → p-3036cf58.system.js} +1 -1
  235. package/dist/mint-components/{p-f9b9be03.entry.js → p-3223ba7b.entry.js} +1 -1
  236. package/dist/mint-components/{p-752fd47b.entry.js → p-32d1d162.entry.js} +1 -1
  237. package/dist/mint-components/{p-c134af86.system.entry.js → p-35d84041.system.entry.js} +1 -1
  238. package/dist/mint-components/{p-81ed0e97.system.js → p-370a1a73.system.js} +1 -1
  239. package/dist/mint-components/{p-71e0ca2b.system.js → p-3d4656bb.system.js} +1 -1
  240. package/dist/mint-components/p-3ec16698.entry.js +13 -0
  241. package/dist/mint-components/{p-3c6bc373.system.js → p-3ed71bef.system.js} +1 -1
  242. package/dist/mint-components/{p-e91bdadf.entry.js → p-3f385f47.entry.js} +9 -9
  243. package/dist/mint-components/{p-134424df.js → p-41a11a7f.js} +1 -1
  244. package/dist/mint-components/{p-b8230f83.system.js → p-44787d6e.system.js} +1 -1
  245. package/dist/mint-components/{p-b4448aec.system.entry.js → p-4502ed11.system.entry.js} +1 -1
  246. package/dist/mint-components/{p-65535cf7.js → p-4d233cd4.js} +1 -1
  247. package/dist/mint-components/{p-66d9a540.system.js → p-4df8f1d2.system.js} +1 -1
  248. package/dist/mint-components/{p-9fc73ff8.system.js → p-4e48267b.system.js} +1 -1
  249. package/dist/mint-components/{p-48a72a05.system.entry.js → p-4ea58025.system.entry.js} +1 -1
  250. package/dist/mint-components/{p-45f46e4c.entry.js → p-4edde470.entry.js} +1 -1
  251. package/dist/mint-components/{p-2be11651.system.js → p-4f775e84.system.js} +1 -1
  252. package/dist/mint-components/{p-6568392b.js → p-509e29e6.js} +1 -1
  253. package/dist/mint-components/p-51f517a2.js +1 -0
  254. package/dist/mint-components/{p-1c45b7d0.entry.js → p-56f14840.entry.js} +1 -1
  255. package/dist/mint-components/p-58ef25d3.system.entry.js +1 -0
  256. package/dist/mint-components/{p-f6c279d8.system.js → p-59fe4ad1.system.js} +1 -1
  257. package/dist/mint-components/{p-c3188365.system.entry.js → p-5b333fa8.system.entry.js} +1 -1
  258. package/dist/mint-components/p-5be235f9.entry.js +1 -0
  259. package/dist/mint-components/{p-f5c3a8cf.system.entry.js → p-5cac90e8.system.entry.js} +1 -1
  260. package/dist/mint-components/{p-ee343d0b.js → p-5d0c9424.js} +1 -1
  261. package/dist/mint-components/p-5f1c4160.system.entry.js +1 -0
  262. package/dist/mint-components/p-61eab172.js +1 -0
  263. package/dist/mint-components/p-639d3dd3.entry.js +1 -0
  264. package/dist/mint-components/{p-61d5f26e.js → p-64c3217a.js} +1 -1
  265. package/dist/mint-components/{p-2cb2401d.system.js → p-674a64fe.system.js} +1 -1
  266. package/dist/mint-components/{p-9f9f851d.system.entry.js → p-6afb4f48.system.entry.js} +1 -1
  267. package/dist/mint-components/{p-842cbd05.system.js → p-6b5e355c.system.js} +1 -1
  268. package/dist/mint-components/{p-e92f0fbb.entry.js → p-6cef104b.entry.js} +1 -1
  269. package/dist/mint-components/p-711ba77e.system.entry.js +1 -0
  270. package/dist/mint-components/{p-ca182259.system.entry.js → p-733825fa.system.entry.js} +1 -1
  271. package/dist/mint-components/p-76b2506e.system.entry.js +1 -0
  272. package/dist/mint-components/{p-b3f02315.system.js → p-770368bc.system.js} +1 -1
  273. package/dist/mint-components/{p-f246f7dd.system.entry.js → p-7731f793.system.entry.js} +1 -1
  274. package/dist/mint-components/p-79191f88.entry.js +1 -0
  275. package/dist/mint-components/{p-6d164a9e.js → p-79da7f18.js} +1 -1
  276. package/dist/mint-components/{p-1e03d640.system.js → p-7d5e0645.system.js} +1 -1
  277. package/dist/mint-components/{p-e909906f.entry.js → p-7f088154.entry.js} +1 -1
  278. package/dist/mint-components/{p-c3b8765c.system.entry.js → p-8679ed9f.system.entry.js} +1 -1
  279. package/dist/mint-components/{p-391b6274.entry.js → p-86990110.entry.js} +1 -1
  280. package/dist/mint-components/{p-66c7b15c.js → p-8704937c.js} +1 -1
  281. package/dist/mint-components/{p-e53e95ce.system.entry.js → p-88a2e66e.system.entry.js} +1 -1
  282. package/dist/mint-components/{p-e401cb44.system.entry.js → p-88aac6a9.system.entry.js} +1 -1
  283. package/dist/mint-components/p-8b5b78ca.entry.js +1 -0
  284. package/dist/mint-components/p-8e907ac7.system.entry.js +1 -0
  285. package/dist/mint-components/p-8ed30329.system.entry.js +1 -0
  286. package/dist/mint-components/p-91669312.entry.js +1 -0
  287. package/dist/mint-components/{p-5c70bc39.entry.js → p-92110eef.entry.js} +1 -1
  288. package/dist/mint-components/p-95771f79.system.js +1 -0
  289. package/dist/mint-components/{p-af4cce6a.system.entry.js → p-9c310991.system.entry.js} +1 -1
  290. package/dist/mint-components/p-9dcfa187.system.js +1 -0
  291. package/dist/mint-components/p-9df2fe24.entry.js +9 -0
  292. package/dist/mint-components/p-9f0629ba.system.entry.js +1 -0
  293. package/dist/mint-components/{p-9a1a4d71.system.entry.js → p-a1dba9a1.system.entry.js} +1 -1
  294. package/dist/mint-components/{p-0dc18b5c.system.js → p-a51533cb.system.js} +1 -1
  295. package/dist/mint-components/p-a6a7dcaa.js +1 -0
  296. package/dist/mint-components/{p-51dba12d.system.entry.js → p-a7c2ced2.system.entry.js} +1 -1
  297. package/dist/mint-components/{p-8c765c81.js → p-a8f7cb95.js} +1 -1
  298. package/dist/mint-components/{p-26383fdd.entry.js → p-a9050eb0.entry.js} +1 -1
  299. package/dist/mint-components/{p-ffdb1310.entry.js → p-aad11a68.entry.js} +1 -1
  300. package/dist/mint-components/{p-e039ce2f.js → p-ac1bf045.js} +1 -1
  301. package/dist/mint-components/{p-fef83f2a.system.entry.js → p-af062c8f.system.entry.js} +1 -1
  302. package/dist/mint-components/{p-5922cd9e.system.entry.js → p-afd366ae.system.entry.js} +1 -1
  303. package/dist/mint-components/{p-1e68fa26.system.js → p-b370fca8.system.js} +1 -1
  304. package/dist/mint-components/{p-f9564398.system.entry.js → p-b3b5b4b7.system.entry.js} +1 -1
  305. package/dist/mint-components/{p-2d688fe9.entry.js → p-b4c52c5a.entry.js} +2 -2
  306. package/dist/mint-components/{p-f6712472.system.entry.js → p-b5861974.system.entry.js} +1 -1
  307. package/dist/mint-components/{p-4c1b1914.system.entry.js → p-b6fc1227.system.entry.js} +1 -1
  308. package/dist/mint-components/{p-517bcc71.js → p-bb00db59.js} +1 -1
  309. package/dist/mint-components/{p-3973cf23.system.entry.js → p-be4b748a.system.entry.js} +1 -1
  310. package/dist/mint-components/{p-29952a5b.system.entry.js → p-c1a47137.system.entry.js} +1 -1
  311. package/dist/mint-components/{p-06b8a582.system.js → p-c5577dd7.system.js} +1 -1
  312. package/dist/mint-components/{p-a9ff5495.js → p-c5d2e4ba.js} +1 -1
  313. package/dist/mint-components/{p-f29e62e1.js → p-c7fd9e16.js} +1 -1
  314. package/dist/mint-components/{p-d2abffc0.system.js → p-c84659a3.system.js} +1 -1
  315. package/dist/mint-components/{p-b7705066.js → p-c8610d0c.js} +1 -1
  316. package/dist/mint-components/p-c8878e79.entry.js +1 -0
  317. package/dist/mint-components/{p-549139be.entry.js → p-ce5afa40.entry.js} +1 -1
  318. package/dist/mint-components/{p-249798d3.js → p-ce621bcc.js} +1 -1
  319. package/dist/mint-components/{p-b210bcc2.system.js → p-ce9e7c98.system.js} +1 -1
  320. package/dist/mint-components/{p-e1e700b8.system.entry.js → p-cf690d55.system.entry.js} +1 -1
  321. package/dist/mint-components/p-d495896f.system.entry.js +1 -0
  322. package/dist/mint-components/p-d49e2f7a.js +1 -0
  323. package/dist/mint-components/p-d8d2de11.entry.js +1 -0
  324. package/dist/mint-components/p-dd0d79bf.entry.js +1 -0
  325. package/dist/mint-components/p-dd7ee007.system.js +1 -0
  326. package/dist/mint-components/{p-87113437.entry.js → p-e3735866.entry.js} +2 -2
  327. package/dist/mint-components/{p-d25af377.js → p-e3e16c36.js} +1 -1
  328. package/dist/mint-components/{p-4531488f.system.js → p-e546347e.system.js} +1 -1
  329. package/dist/mint-components/{p-4be053fb.entry.js → p-e5a0c50e.entry.js} +2 -2
  330. package/dist/mint-components/{p-a2aed0da.system.js → p-e8dde8f4.system.js} +1 -1
  331. package/dist/mint-components/{p-fd04355d.js → p-eaada4da.js} +1 -1
  332. package/dist/mint-components/{p-4ef2f4f6.system.entry.js → p-eba44835.system.entry.js} +1 -1
  333. package/dist/mint-components/{p-5073b8c9.entry.js → p-ec41d6a4.entry.js} +6 -6
  334. package/dist/mint-components/{p-ee474d4c.system.js → p-ed095674.system.js} +1 -1
  335. package/dist/mint-components/p-ed17e637.system.js +1 -0
  336. package/dist/mint-components/{p-e479d77e.system.js → p-ed6ebd60.system.js} +1 -1
  337. package/dist/mint-components/{p-c2281e04.system.entry.js → p-f0806232.system.entry.js} +1 -1
  338. package/dist/mint-components/{p-7ae55645.js → p-f3053c61.js} +1 -1
  339. package/dist/mint-components/{p-e3411b86.system.entry.js → p-fb20eb5e.system.entry.js} +1 -1
  340. package/dist/mint-components/{p-42390bcc.js → p-fb93c962.js} +1 -1
  341. package/dist/mint-components/{p-a4c1b404.entry.js → p-fbdf0738.entry.js} +1 -1
  342. package/dist/mint-components/{p-019506c4.js → p-fd2c5407.js} +1 -1
  343. package/dist/mint-components/{p-21d94eab.system.js → p-ff17b3a4.system.js} +1 -1
  344. package/dist/types/components/sqm-empty/sqm-empty.d.ts +1 -1
  345. package/dist/types/components/sqm-portal-container/sqm-portal-container.d.ts +1 -0
  346. package/dist/types/components/sqm-referral-card/ReferralCard.stories.d.ts +0 -1
  347. package/dist/types/components/sqm-share-link/useShareLink.d.ts +0 -1
  348. package/dist/types/components/views/copy-text-view.d.ts +0 -3
  349. package/dist/types/components.d.ts +3 -189
  350. package/dist/types/stories/Widget.stories.d.ts +0 -6
  351. package/docs/docs.docx +0 -0
  352. package/docs/raisins.json +1 -1
  353. package/grapesjs/grapesjs.js +1 -1
  354. package/package.json +1 -1
  355. package/dist/cjs/copy-text-view-29330e8a.js +0 -234
  356. package/dist/cjs/sqm-pagination_3.cjs.entry.js +0 -378
  357. package/dist/collection/components/sqm-pagination/Pagination.stories.js +0 -12
  358. package/dist/collection/components/sqm-pagination/sqm-pagination-view.js +0 -30
  359. package/dist/collection/components/sqm-pagination/sqm-pagination.js +0 -108
  360. package/dist/collection/components/sqm-pagination/usePagination.js +0 -29
  361. package/dist/collection/components/sqm-referral-code/ReferralCode.stories.js +0 -60
  362. package/dist/collection/components/sqm-referral-code/sqm-referral-code.js +0 -317
  363. package/dist/collection/components/sqm-referral-code/useReferralCode.js +0 -62
  364. package/dist/collection/components/sqm-referral-codes/ReferralCodes.stories.js +0 -53
  365. package/dist/collection/components/sqm-referral-codes/sqm-referral-codes-view.js +0 -69
  366. package/dist/collection/components/sqm-referral-codes/sqm-referral-codes.js +0 -145
  367. package/dist/collection/components/sqm-referral-codes/useReferralCodes.js +0 -133
  368. package/dist/esm/copy-text-view-47f83e9b.js +0 -228
  369. package/dist/esm/sqm-pagination_3.entry.js +0 -372
  370. package/dist/esm-es5/ShadowViewAddon-db086943.js +0 -1
  371. package/dist/esm-es5/copy-text-view-47f83e9b.js +0 -1
  372. package/dist/esm-es5/sqm-leaderboard-rank-view-773a586f.js +0 -1
  373. package/dist/esm-es5/sqm-navigation-sidebar-item-view-9fa7f5ea.js +0 -1
  374. package/dist/esm-es5/sqm-pagination_3.entry.js +0 -1
  375. package/dist/esm-es5/useChildElements-ebcfbc19.js +0 -1
  376. package/dist/esm-es5/useInstantAccessRegistration-7b2ea2bd.js +0 -1
  377. package/dist/esm-es5/useRegistrationFormState-faea9402.js +0 -1
  378. package/dist/mint-components/p-03e2a88c.js +0 -1
  379. package/dist/mint-components/p-04643464.entry.js +0 -1
  380. package/dist/mint-components/p-062051ad.entry.js +0 -1
  381. package/dist/mint-components/p-0a26adee.js +0 -1
  382. package/dist/mint-components/p-0ebd104c.js +0 -1
  383. package/dist/mint-components/p-10933376.system.entry.js +0 -1
  384. package/dist/mint-components/p-146c2a0e.js +0 -1
  385. package/dist/mint-components/p-16b9efe1.system.js +0 -1
  386. package/dist/mint-components/p-1a5f4a13.system.entry.js +0 -1
  387. package/dist/mint-components/p-20c6c73e.entry.js +0 -1
  388. package/dist/mint-components/p-2474c5c6.entry.js +0 -1
  389. package/dist/mint-components/p-2478ab2e.js +0 -1
  390. package/dist/mint-components/p-284f26ec.system.entry.js +0 -1
  391. package/dist/mint-components/p-29e0dedf.system.entry.js +0 -1
  392. package/dist/mint-components/p-3ee0a8af.entry.js +0 -1
  393. package/dist/mint-components/p-3ef97112.system.js +0 -1
  394. package/dist/mint-components/p-3f03a247.entry.js +0 -13
  395. package/dist/mint-components/p-53e25b79.entry.js +0 -1
  396. package/dist/mint-components/p-57f92fe0.entry.js +0 -1
  397. package/dist/mint-components/p-5dcd7fc9.system.entry.js +0 -1
  398. package/dist/mint-components/p-5fe660bb.system.entry.js +0 -1
  399. package/dist/mint-components/p-64473f17.system.js +0 -1
  400. package/dist/mint-components/p-66aca488.entry.js +0 -1
  401. package/dist/mint-components/p-7f43c280.system.entry.js +0 -1
  402. package/dist/mint-components/p-8925f3c5.entry.js +0 -1
  403. package/dist/mint-components/p-97803918.entry.js +0 -13
  404. package/dist/mint-components/p-9ed09b3a.system.js +0 -1
  405. package/dist/mint-components/p-9ee50200.entry.js +0 -1
  406. package/dist/mint-components/p-a13c83c5.entry.js +0 -1
  407. package/dist/mint-components/p-b08e9577.entry.js +0 -1
  408. package/dist/mint-components/p-b3aaeb2f.system.entry.js +0 -1
  409. package/dist/mint-components/p-b3d193e3.system.entry.js +0 -1
  410. package/dist/mint-components/p-b6f61a27.entry.js +0 -9
  411. package/dist/mint-components/p-bd5cb4f3.system.js +0 -1
  412. package/dist/mint-components/p-d8d97ff5.js +0 -1
  413. package/dist/mint-components/p-dac99706.system.entry.js +0 -1
  414. package/dist/mint-components/p-ebd6c7e5.js +0 -52
  415. package/dist/mint-components/p-feace4a6.entry.js +0 -1
  416. package/dist/types/components/sqm-pagination/Pagination.stories.d.ts +0 -5
  417. package/dist/types/components/sqm-pagination/sqm-pagination-view.d.ts +0 -15
  418. package/dist/types/components/sqm-pagination/sqm-pagination.d.ts +0 -21
  419. package/dist/types/components/sqm-pagination/usePagination.d.ts +0 -15
  420. package/dist/types/components/sqm-referral-code/ReferralCode.stories.d.ts +0 -18
  421. package/dist/types/components/sqm-referral-code/sqm-referral-code.d.ts +0 -70
  422. package/dist/types/components/sqm-referral-code/useReferralCode.d.ts +0 -9
  423. package/dist/types/components/sqm-referral-codes/ReferralCodes.stories.d.ts +0 -11
  424. package/dist/types/components/sqm-referral-codes/sqm-referral-codes-view.d.ts +0 -16
  425. package/dist/types/components/sqm-referral-codes/sqm-referral-codes.d.ts +0 -27
  426. package/dist/types/components/sqm-referral-codes/useReferralCodes.d.ts +0 -51
@@ -1,33 +1,32 @@
1
- import { h, r as registerInstance, c as Host } from './index-014ddfa3.js';
2
- import { a as commonjsGlobal, u as useMemo, k as useState, f as useEffect, c as createCommonjsModule, n as h$1 } from './stencil-hooks.module-576d7f01.js';
3
- import './global-701bd5b0.js';
4
- import { f as $n, S as Sn, c as setUserIdentity, d as dist, X as Xe, p as setProgramId } from './index.module-5eb0926c.js';
5
- import './utils-334c1e34.js';
6
- import { c as createStyleSheet } from './JSS-67b5cff8.js';
7
- import { C as CopyTextView } from './copy-text-view-47f83e9b.js';
1
+ import { h, r as registerInstance, c as Host } from './index-17b4da69.js';
2
+ import { a as commonjsGlobal, u as useMemo, k as useState, f as useEffect, c as createCommonjsModule, n as h$1 } from './stencil-hooks.module-ac12ca1c.js';
3
+ import './global-04c7d3b5.js';
4
+ import { $ as $n, S as Sn, b as setUserIdentity, d as dist, X as Xe, o as setProgramId } from './index.module-def4aec5.js';
8
5
  import './cjs-bdfb4486.js';
9
6
  import './mixins-f60a614c.js';
10
- import { G as GenericTableView } from './GenericTableView-706f5b56.js';
11
- import './useChildElements-ebcfbc19.js';
12
- import { l as luxon } from './luxon-12195d94.js';
13
- import './sqm-text-span-view-d6e03f93.js';
14
- import { A as AssetCardView } from './sqm-asset-card-view-da88351a.js';
15
- import { C as CloseButtonView } from './sqm-close-button-view-8058642b.js';
7
+ import { c as createStyleSheet } from './JSS-67b5cff8.js';
8
+ import { G as GenericTableView } from './GenericTableView-d59d8ab4.js';
9
+ import './useChildElements-32e1bda1.js';
10
+ import { l as luxon } from './luxon-7600be8d.js';
11
+ import './utils-334c1e34.js';
12
+ import './sqm-text-span-view-8d140661.js';
13
+ import { A as AssetCardView } from './sqm-asset-card-view-9d93fbdd.js';
14
+ import { C as CloseButtonView } from './sqm-close-button-view-dc65b4e3.js';
16
15
  import './index-ffa26b43.js';
17
- import { E as EmailRegistrationView } from './email-registration-view-5ecee6f8.js';
18
- import { L as LeaderboardRankView } from './sqm-leaderboard-rank-view-773a586f.js';
19
- import { L as LogoutCurrentUserView } from './sqm-logout-current-user-view-dfcd508a.js';
20
- import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-5f332ea1.js';
21
- import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-9fa7f5ea.js';
22
- import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-332e1339.js';
23
- import { P as PortalForgotPasswordView } from './sqm-portal-forgot-password-view-8629f753.js';
24
- import { P as PortalProfileView } from './sqm-portal-profile-view-847526a2.js';
25
- import './utilities-292b61b9.js';
26
- import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-865655da.js';
27
- import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-6c60df25.js';
28
- import { S as ShareButtonView, L as LeaderboardView, B as BigStatView, P as PortalFrameView, E as EditProfileView, u as useShareLink, a as useShareButton, b as useDemoBigStat, c as StatContainerView, d as PortalChangePasswordView, e as PortalLoginView, f as PortalRegisterView, T as TaskCardView, g as ProgressBarView, h as PoweredByImg$1, i as PortalFooterView, H as HeroView, R as ReferralIframeView, N as NameFieldsView, C as CheckboxFieldView, D as DropdownFieldView, I as InputFieldView, j as RewardExchangeView, r as rewardExchangeCustomErrorMsg, k as rewardExchangeLongText, l as rewardExchangeSelected, m as chooseAmountFixed, n as chooseAmountFixedNoDescription, o as chooseAmountVariable, p as chooseAmountVariableNoDescription, q as chooseAmountVariableDisabled, s as chooseAmountVariableUnavailable, t as confirmFixed, v as confirmVariable, w as redemptionError, x as queryError, y as success, z as successVariable, A as loading, F as empty$1, G as rewardExchange, J as CardFeedView, K as CouponCodeView, M as ProgressBar$2, O as autoColorScaleCss, Q as ShadowViewAddon } from './ShadowViewAddon-db086943.js';
29
- import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-83df005d.js';
30
- import { O as OtherRegionSlotView, I as InvoiceTableView, T as TaxForm } from './sqm-invoice-table-view-7d1aa71f.js';
16
+ import { E as EmailRegistrationView } from './email-registration-view-a89a88bf.js';
17
+ import { L as LeaderboardRankView } from './sqm-leaderboard-rank-view-10657658.js';
18
+ import { L as LogoutCurrentUserView } from './sqm-logout-current-user-view-2c6122cd.js';
19
+ import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-0312e073.js';
20
+ import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-60ef06cc.js';
21
+ import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-4307c992.js';
22
+ import { P as PortalForgotPasswordView } from './sqm-portal-forgot-password-view-c2ed8fed.js';
23
+ import { P as PortalProfileView } from './sqm-portal-profile-view-ffe955c8.js';
24
+ import './utilities-3f5bba22.js';
25
+ import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-79a85e02.js';
26
+ import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-d7ea2c56.js';
27
+ import { S as ShareButtonView, L as LeaderboardView, C as CopyTextView, B as BigStatView, P as PortalFrameView, E as EditProfileView, u as useShareLink, a as useShareButton, b as useDemoBigStat, c as StatContainerView, d as PortalChangePasswordView, e as PortalLoginView, f as PortalRegisterView, T as TaskCardView, g as ProgressBarView, h as PoweredByImg$1, i as PortalFooterView, H as HeroView, R as ReferralIframeView, N as NameFieldsView, j as CheckboxFieldView, D as DropdownFieldView, I as InputFieldView, k as RewardExchangeView, r as rewardExchangeCustomErrorMsg, l as rewardExchangeLongText, m as rewardExchangeSelected, n as chooseAmountFixed, o as chooseAmountFixedNoDescription, p as chooseAmountVariable, q as chooseAmountVariableNoDescription, s as chooseAmountVariableDisabled, t as chooseAmountVariableUnavailable, v as confirmFixed, w as confirmVariable, x as redemptionError, y as queryError, z as success, A as successVariable, F as loading, G as empty$1, J as rewardExchange, K as CardFeedView, M as CouponCodeView, O as ProgressBar$2, Q as autoColorScaleCss, U as ShadowViewAddon } from './ShadowViewAddon-e012b2aa.js';
28
+ import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-6c582684.js';
29
+ import { O as OtherRegionSlotView, I as InvoiceTableView, T as TaxForm } from './sqm-invoice-table-view-6e13a323.js';
31
30
 
32
31
  /**
33
32
  * lodash (Custom Build) <https://lodash.com/>
@@ -1625,19 +1624,6 @@ const EmptyState = /*#__PURE__*/Object.freeze({
1625
1624
  SlottedIntoComponent: SlottedIntoComponent
1626
1625
  });
1627
1626
 
1628
- const Pagination_stories = {
1629
- title: "Components/Link Button",
1630
- };
1631
- const Default = () => {
1632
- return h("sqm-pagination", null);
1633
- };
1634
-
1635
- const Pagination = /*#__PURE__*/Object.freeze({
1636
- __proto__: null,
1637
- 'default': Pagination_stories,
1638
- Default: Default
1639
- });
1640
-
1641
1627
  const scenario$2 = "@author:johan\n@owner:johan\nFeature: Share Link\n\n The share link component is a box that allows users to see and copy their share link for a given program\n\n Background: Environment\n Given there is a valid program ID in the environment\n And there is a valid user ID and account ID in the environment\n\n @motivating\n Scenario: A Users sharelink can be copied to their clipboard\n Given tooltipText is \"hello tooltip\"\n When the component renders\n Then there is a textbox with the user's share link\n When the clipboard icon is clicked\n Then the link is copied to clipboard\n And a tooltip appears for ~1 second\n\n @minutia\n Scenario: Tooltip lifespan defaults to 2000\n Given the tooltip's lifespan is set to 2000\n And there is tooltip text\n When the component renders\n And the clipboard icon is clicked\n Then a tooltip appears for ~2 seconds\n\n @minutia\n Scenario: Demo\n Given isDemo() returns true\n Then the share link is \"https://www.example.com/sharelink/abc\"\n And the component won't be interactive\n And the tooltip is hidden\n\n @minutia\n Scenario: Program ID can be sourced from prop\n Given the programId prop is set to \"program-a\"\n And window.widgetIdent.programId is set to \"program-b\"\n When the component renders\n Then the share link is for \"program-a\"\n\n @minutia\n Scenario: Program ID can be sourced from window\n Given the programId prop is unset\n And window.widgetIdent.programId is set to \"program-b\"\n When the component renders\n Then the share link is for \"program-b\"\n\n @minutia\n Scenario: An analytic event is fired when a user copies their sharelink\n Given a user viewing the share link component\n And the component is rendered for \"program-a\"\n When they click to copy their link\n Then an \"USER_REFERRAL_PROGRAM_ENGAGEMENT_EVENT\" analytic event is fired\n And it is for \"program-a\"\n And it has share medium \"DIRECT\"\n\n\n @ui\n Scenario Outline: user can edit the alignment of the share link text\n Given a user is editing the share link component\n Then they see \"Align text\" props\n And the default value is \"left\"\n When they change the option to <option>\n Then they see the text in <position>\n Examples:\n | option | position |\n | left | left |\n | center | center |\n | right | right |\n\n @ui\n Scenario Outline: The position of the copy button can be changed\n Given a user is editing the share link component\n Then they see \"Style\" props\n And the default value is \"icon\"\n When they change the option to <option>\n Then they see the copy button in <position>\n Examples:\n | option | position |\n | button outside | outside the input, on the right |\n | button below | outside the input, below |\n | icon | inside the input as an icon |\n";
1642
1628
 
1643
1629
  const ShareLink_stories = {
@@ -1646,7 +1632,7 @@ const ShareLink_stories = {
1646
1632
  scenario: scenario$2,
1647
1633
  },
1648
1634
  };
1649
- const Default$1 = () => {
1635
+ const Default = () => {
1650
1636
  const props = {
1651
1637
  copyString: "https://noah.example.com",
1652
1638
  open: false,
@@ -1710,7 +1696,7 @@ const FullStack = () => {
1710
1696
  const ShareLink = /*#__PURE__*/Object.freeze({
1711
1697
  __proto__: null,
1712
1698
  'default': ShareLink_stories,
1713
- Default: Default$1,
1699
+ Default: Default,
1714
1700
  Tooltip: Tooltip,
1715
1701
  Disabled: Disabled,
1716
1702
  Error: Error$1,
@@ -1729,7 +1715,7 @@ const BigStat_stories = {
1729
1715
  scenario: scenario$3,
1730
1716
  },
1731
1717
  };
1732
- const Default$2 = () => {
1718
+ const Default$1 = () => {
1733
1719
  const props = { value: 990000, statvalue: "9.900,00", loading: false };
1734
1720
  return h(BigStatView, Object.assign({}, props), "Big stat");
1735
1721
  };
@@ -1812,7 +1798,7 @@ const MultipleStats = () => {
1812
1798
  const BigStat = /*#__PURE__*/Object.freeze({
1813
1799
  __proto__: null,
1814
1800
  'default': BigStat_stories,
1815
- Default: Default$2,
1801
+ Default: Default$1,
1816
1802
  LeftAlign: LeftAlign,
1817
1803
  RightAlign: RightAlign,
1818
1804
  FlexReverse: FlexReverse,
@@ -4080,8 +4066,6 @@ const referralWidget = "<sqm-brand brand-color=\"#4225c4\" brand-font=\"Nunito S
4080
4066
 
4081
4067
  const monoWidget = "<sqm-brand brand-color=\"#4225c4\" brand-font=\"Nunito Sans\">\n <sqm-portal-container\n direction=\"column\"\n padding=\"small\"\n gap=\"xxx-large\"\n display=\"grid\"\n max-width=\"100%\"\n background-color=\"#ffffff\"\n >\n <sqm-portal-container\n direction=\"column\"\n padding=\"none\"\n gap=\"xxx-large\"\n display=\"grid\"\n max-width=\"100%\"\n >\n <sqm-hero-image\n image-url=\"https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png\"\n header=\"MyCompany Rewards\"\n description=\"Refer friends and complete tasks to earn rewards\"\n layout=\"columns\"\n image-pos=\"right\"\n background-color=\"#F9F9F9\"\n image-mobile-pos=\"top\"\n image-percentage=\"50\"\n padding-image=\"none\"\n padding-text=\"xxxx-large\"\n >\n </sqm-hero-image>\n </sqm-portal-container>\n <sqm-portal-container\n direction=\"column\"\n padding=\"none\"\n gap=\"xxx-large\"\n max-width=\"770px\"\n center\n display=\"grid\"\n >\n <sqm-stat-container space=\"xxx-large\" display=\"flex\">\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/referralsCount\"\n >\n <p>Referrals</p>\n </sqm-big-stat>\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/integrationRewardsCountFiltered/AVAILABLE/global\"\n >\n <p>Giftcards Earned</p>\n </sqm-big-stat>\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/rewardBalance/CREDIT/POINT/value/global\"\n >\n <p>Points Balance</p>\n </sqm-big-stat>\n </sqm-stat-container>\n <sqm-portal-container\n gap=\"xx-large\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <sqm-titled-section\n text-align=\"center\"\n label-margin=\"xxx-small\"\n padding=\"none\"\n >\n <h3 slot=\"label\">Share $50 with friends</h3>\n <p slot=\"content\">\n They’ll get a $50 credit towards a new account and you’ll get up to\n $1200\n </p>\n </sqm-titled-section>\n <sqm-referral-card vertical-alignment=\"start\">\n <sqm-portal-container\n gap=\"large\"\n slot=\"left\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <p>\n They’ll get a $50 credit towards a new account and you’ll get:\n </p>\n <sqm-timeline icon=\"circle\">\n <sqm-timeline-entry\n reward=\"$50\"\n unit=\"visa giftcard\"\n desc=\"Your friend purchases a Business plan\"\n icon=\"circle\"\n >\n </sqm-timeline-entry>\n <sqm-timeline-entry\n reward=\"$200\"\n unit=\"visa giftcard\"\n desc=\"Our sales team qualifies your friend as a good fit for our Enterprise plan\"\n icon=\"circle\"\n >\n </sqm-timeline-entry>\n <sqm-timeline-entry\n reward=\"$1000\"\n unit=\"visa giftcard\"\n desc=\"Your friend purchases an Enterprise plan\"\n icon=\"circle\"\n >\n </sqm-timeline-entry>\n </sqm-timeline>\n </sqm-portal-container>\n <sqm-portal-container\n gap=\"large\"\n slot=\"right\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <p>Choose how you want to share:</p>\n <p><sub>Your unique referral link:</sub></p>\n <sqm-share-link\n tooltip-text=\"Copied to Clipboard\"\n tooltip-lifespan=\"1000\"\n >\n </sqm-share-link>\n <sqm-portal-container\n gap=\"x-small\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <sqm-share-button\n medium=\"email\"\n icon-slot=\"prefix\"\n size=\"medium\"\n type=\"default\"\n >\n Share via email\n </sqm-share-button>\n <sqm-share-button\n medium=\"linkedin\"\n icon-slot=\"prefix\"\n size=\"medium\"\n type=\"default\"\n >\n Share on LinkedIn\n </sqm-share-button>\n <sqm-share-button\n medium=\"twitter\"\n icon-slot=\"prefix\"\n size=\"medium\"\n type=\"default\"\n >\n Post about us on X\n </sqm-share-button>\n </sqm-portal-container>\n </sqm-portal-container>\n </sqm-referral-card>\n <sqm-portal-container\n gap=\"xx-large\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n min-width=\"\"\n padding=\"none\"\n >\n <sqm-titled-section text-align=\"center\" label-margin=\"xxx-small\">\n <h3 slot=\"label\">Earn more rewards</h3>\n <p slot=\"content\">\n Get points while using our product. Use those points to redeem\n rewards like one free month of Enterprise or two plane tickets to\n anywhere in North America\n </p>\n </sqm-titled-section>\n <sqm-card-feed gap=\"24\" width=\"347\">\n <sqm-task-card\n reward-amount=\"20\"\n goal=\"1\"\n card-title=\"Complete a Survey\"\n description=\"Fill out our NPS survey and get 20 points for giving us honest feedback.\"\n button-text=\"Take survey\"\n reward-unit=\"Points\"\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\n ended-message=\"Ended {endDate}\"\n expiry-message=\"Ends {endDate}\"\n finite=\"0\"\n starts-on-message=\"Starts {startDate}\"\n >\n </sqm-task-card>\n <sqm-task-card\n reward-amount=\"250\"\n goal=\"500\"\n show-progress-bar\n card-title=\"Spend $500\"\n description=\"Earn 250 points when you spend $500 or more.\"\n button-text=\"See plans\"\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\n ended-message=\"Ended {endDate}\"\n expiry-message=\"Ends {endDate}\"\n progress-bar-unit=\"$\"\n finite=\"0\"\n reward-unit=\"Points\"\n starts-on-message=\"Starts {startDate}\"\n >\n </sqm-task-card>\n <sqm-task-card\n goal=\"1\"\n reward-amount=\"50\"\n card-title=\"Follow Us on X\"\n description=\"Earn 50 points when you Follow Us on X!\"\n button-text=\"Follow\"\n button-link=\"https://twitter.com/\"\n open-new-tab=\"true\"\n event-key=\"socialFollow\"\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\n ended-message=\"Ended {endDate}\"\n expiry-message=\"Ends {endDate}\"\n finite=\"0\"\n reward-unit=\"Points\"\n starts-on-message=\"Starts {startDate}\"\n >\n </sqm-task-card>\n <sqm-task-card\n reward-amount=\"1\"\n reward-unit=\"Free Month\"\n goal=\"1\"\n card-title=\"Upgrade Your Plan\"\n description=\"Receive one free month for being a committed customer when you upgrade your plan.\"\n button-text=\"Upgrade\"\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\n ended-message=\"Ended {endDate}\"\n expiry-message=\"Ends {endDate}\"\n open-new-tab=\"false\"\n finite=\"0\"\n starts-on-message=\"Starts {startDate}\"\n >\n </sqm-task-card>\n </sqm-card-feed>\n </sqm-portal-container>\n <sqm-tabs>\n <sqm-tab header=\"Referral history\">\n <sqm-referral-table\n per-page=\"4\"\n hidden-columns=\"2\"\n more-label=\"Next\"\n prev-label=\"Prev\"\n sm-breakpoint=\"599\"\n md-breakpoint=\"799\"\n >\n <sqm-referral-table-user-column\n column-title=\"User\"\n anonymous-user=\"Anonymous User\"\n deleted-user=\"Deleted User\"\n >\n </sqm-referral-table-user-column>\n <sqm-referral-table-status-column\n column-title=\"Referral status\"\n converted-status-text=\"Converted\"\n in-progress-status-text=\"In Progress\"\n >\n </sqm-referral-table-status-column>\n <sqm-referral-table-rewards-column\n column-title=\"Rewards\"\n expiring-text=\"Expiring in\"\n fuel-tank-text=\"Your code is\"\n pending-for-text=\"{status} for {date}\"\n reward-received-text=\"Reward received on\"\n status-long-text=\"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} other {Not available} }\"\n status-text=\"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }\"\n >\n </sqm-referral-table-rewards-column>\n <sqm-referral-table-date-column\n column-title=\"Date referred\"\n date-shown=\"dateReferralStarted\"\n >\n </sqm-referral-table-date-column>\n <sqm-empty\n slot=\"empty\"\n empty-state-image=\"https://res.cloudinary.com/saasquatch/image/upload/v1644000223/squatch-assets/empty_referral2.png\"\n empty-state-header=\"View your referral details\"\n empty-state-text=\"Refer a friend to view the status of your referrals and rewards earned\"\n >\n </sqm-empty>\n </sqm-referral-table>\n </sqm-tab>\n <sqm-tab header=\"Reward history\">\n <sqm-rewards-table\n per-page=\"4\"\n program-id=\"\"\n hidden-columns=\"0\"\n more-label=\"Next\"\n prev-label=\"Prev\"\n sm-breakpoint=\"599\"\n md-breakpoint=\"799\"\n >\n <sqm-rewards-table-reward-column\n available-text=\"{availableAmount} remaining\"\n column-title=\"Reward\"\n copy-text=\"Copied!\"\n redeemed-text=\"{redeemedAmount} redeemed\"\n >\n </sqm-rewards-table-reward-column>\n <sqm-rewards-table-source-column\n anonymous-user=\"Anonymous User\"\n column-title=\"Source\"\n deleted-user=\"Deleted User\"\n referral-text=\"{rewardSource, select, FRIEND_SIGNUP {Referral to} REFERRED {Referred by} other {}}\"\n reward-exchange-text=\"Reward Exchange\"\n reward-source-text=\"{rewardSource, select, MANUAL {Manual} AUTOMATED {{programName}} other {}}\"\n >\n </sqm-rewards-table-source-column>\n <sqm-rewards-table-status-column\n column-title=\"Status\"\n expiry-text=\"Expires on \"\n status-text=\"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }\"\n >\n </sqm-rewards-table-status-column>\n <sqm-rewards-table-date-column\n column-title=\"Date received\"\n date-shown=\"dateGiven\"\n >\n </sqm-rewards-table-date-column>\n <sqm-empty\n slot=\"empty\"\n empty-state-image=\"https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_reward2.png\"\n empty-state-header=\"View your rewards\"\n empty-state-text=\"Refer friends and complete tasks to view the details of your rewards\"\n >\n </sqm-empty>\n </sqm-rewards-table>\n </sqm-tab>\n </sqm-tabs>\n </sqm-portal-container>\n <sqm-portal-footer\n support-email=\"support@example.com\"\n terms-link=\"https:\\/\\/example.com\"\n faq-link=\"https:\\/\\/example.com\"\n terms-text=\"Terms And Conditions\"\n faq-text=\"FAQ\"\n show-powered-by=\"true\"\n padding-bottom=\"none\"\n padding-left=\"none\"\n padding-right=\"none\"\n padding-top=\"none\"\n ></sqm-portal-footer>\n </sqm-portal-container>\n </sqm-portal-container>\n</sqm-brand>\n";
4082
4068
 
4083
- const promoCodeReferralWidget = "<sqm-brand brand-color=\"#4225c4\" brand-font=\"Nunito Sans\">\n <sqm-portal-container\n direction=\"column\"\n padding=\"small\"\n gap=\"xxx-large\"\n display=\"grid\"\n max-width=\"100%\"\n background-color=\"#ffffff\"\n >\n <sqm-portal-container\n direction=\"column\"\n padding=\"none\"\n gap=\"xxx-large\"\n display=\"grid\"\n max-width=\"100%\"\n >\n <sqm-hero-image\n image-url=\"https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png\"\n header=\"MyCompany Rewards\"\n description=\"Refer a friend and earn up to $1200 in rewards\"\n layout=\"columns\"\n image-pos=\"right\"\n background-color=\"#F9F9F9\"\n >\n </sqm-hero-image>\n </sqm-portal-container>\n <sqm-portal-container\n direction=\"column\"\n padding=\"none\"\n gap=\"xxx-large\"\n max-width=\"770px\"\n center\n display=\"grid\"\n >\n <sqm-stat-container space=\"xxx-large\" display=\"flex\">\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/referralsCount\"\n >\n <p>Referrals</p>\n </sqm-big-stat>\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/integrationRewardsCountFiltered/AVAILABLE/global\"\n >\n <p>Giftcards</p>\n </sqm-big-stat>\n </sqm-stat-container>\n <sqm-portal-container\n gap=\"large\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <sqm-titled-section\n text-align=\"center\"\n label-margin=\"xxx-small\"\n padding=\"none\"\n >\n <h3 slot=\"label\">Get rewarded when your friend uses our product</h3>\n </sqm-titled-section>\n <sqm-referral-card vertical-alignment=\"start\">\n <sqm-portal-container\n gap=\"large\"\n slot=\"left\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <p>\n They’ll get a $50 credit towards a new account and you’ll get:\n </p>\n <sqm-timeline icon=\"circle\">\n <sqm-timeline-entry\n reward=\"$50\"\n unit=\"visa giftcard\"\n desc=\"Your friend purchases a Business plan\"\n icon=\"circle\"\n >\n </sqm-timeline-entry>\n <sqm-timeline-entry\n reward=\"$200\"\n unit=\"visa giftcard\"\n desc=\"Our sales team qualifies your friend as a good fit for our Enterprise plan\"\n icon=\"circle\"\n >\n </sqm-timeline-entry>\n <sqm-timeline-entry\n reward=\"$1000\"\n unit=\"visa giftcard\"\n desc=\"Your friend purchases an Enterprise plan\"\n icon=\"circle\"\n >\n </sqm-timeline-entry>\n </sqm-timeline>\n </sqm-portal-container>\n <sqm-referral-codes slot=\"right\">\n <sqm-pagination slot=\"pagination\"></sqm-pagination>\n <sqm-referral-code\n slot=\"shareCodes\"\n show-notification-text=\"true\"\n ></sqm-referral-code>\n <sqm-portal-container gap=\"small\" slot=\"shareButtons\">\n <sqm-share-button medium=\"email\"\n >Share via email</sqm-share-button\n >\n <sqm-share-button medium=\"fbmessenger\"\n >Share on Facebook</sqm-share-button\n >\n <sqm-share-button medium=\"whatsapp\"\n >Share on WhatsApp</sqm-share-button\n >\n </sqm-portal-container>\n </sqm-referral-codes>\n </sqm-referral-card>\n </sqm-portal-container>\n <sqm-portal-container\n gap=\"large\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <sqm-titled-section\n padding=\"none\"\n text-align=\"center\"\n label-margin=\"xx-small\"\n >\n <h3 slot=\"label\">Referral History</h3>\n </sqm-titled-section>\n <sqm-referral-table\n per-page=\"4\"\n hidden-columns=\"2\"\n more-label=\"Next\"\n prev-label=\"Prev\"\n sm-breakpoint=\"599\"\n md-breakpoint=\"799\"\n >\n <sqm-referral-table-user-column\n column-title=\"User\"\n anonymous-user=\"Anonymous User\"\n deleted-user=\"Deleted User\"\n >\n </sqm-referral-table-user-column>\n <sqm-referral-table-status-column\n column-title=\"Referral status\"\n converted-status-text=\"Converted\"\n in-progress-status-text=\"In Progress\"\n >\n </sqm-referral-table-status-column>\n <sqm-referral-table-rewards-column\n column-title=\"Rewards\"\n expiring-text=\"Expiring in\"\n fuel-tank-text=\"Your code is\"\n pending-for-text=\"{status} for {date}\"\n reward-received-text=\"Reward received on\"\n status-long-text=\"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} other {Not available} }\"\n status-text=\"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }\"\n >\n </sqm-referral-table-rewards-column>\n <sqm-referral-table-date-column\n column-title=\"Date referred\"\n date-shown=\"dateReferralStarted\"\n >\n </sqm-referral-table-date-column>\n <sqm-empty\n slot=\"empty\"\n empty-state-image=\"https://res.cloudinary.com/saasquatch/image/upload/v1644000223/squatch-assets/empty_referral2.png\"\n empty-state-header=\"View your referral details\"\n empty-state-text=\"Refer a friend to view the status of your referrals and rewards earned\"\n ></sqm-empty>\n </sqm-referral-table>\n </sqm-portal-container>\n <sqm-portal-footer\n support-email=\"support@example.com\"\n terms-link=\"https:\\/\\/example.com\"\n faq-link=\"https:\\/\\/example.com\"\n terms-text=\"Terms And Conditions\"\n faq-text=\"FAQ\"\n show-powered-by=\"true\"\n padding-bottom=\"none\"\n padding-left=\"none\"\n padding-right=\"none\"\n padding-top=\"none\"\n ></sqm-portal-footer>\n </sqm-portal-container>\n </sqm-portal-container>\n</sqm-brand>\n";
4084
-
4085
4069
  const loyaltyWidget = "<sqm-brand brand-color=\"#4225c4\" brand-font=\"Nunito Sans\">\n <sqm-portal-container\n direction=\"column\"\n padding=\"small\"\n gap=\"xxxx-large\"\n display=\"grid\"\n max-width=\"100%\"\n background-color=\"#ffffff\"\n >\n <sqm-portal-container\n direction=\"column\"\n padding=\"none\"\n gap=\"xxx-large\"\n display=\"grid\"\n max-width=\"100%\"\n >\n <sqm-hero-image\n image-url=\"https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png\"\n header=\"MyCompany Rewards\"\n description=\"Complete tasks to earn rewards\"\n layout=\"overlay\"\n padding-image=\"xxxx-large\"\n padding-text=\"xxx-large\"\n image-pos=\"center\"\n overlay-color=\"#5e5669\"\n overlay-opacity=\"0.9\"\n >\n </sqm-hero-image>\n <sqm-portal-container\n direction=\"column\"\n padding=\"none\"\n gap=\"xxx-large\"\n max-width=\"770px\"\n center\n display=\"grid\"\n >\n <sqm-program-explainer header=\"How it works\">\n <sqm-program-explainer-step\n description=\"Complete tasks like uploading your first video or sharing videos with friends\"\n header=\"Earn points for using our product\"\n icon=\"cash-stack\"\n text-color=\"#000000\"\n >\n </sqm-program-explainer-step>\n <sqm-program-explainer-step\n description=\"Redeem rewards like one free month of Enterprise or two plane tickets to anywhere in North America\"\n header=\"Redeem rewards with your points\"\n icon=\"people\"\n text-color=\"#000000\"\n >\n </sqm-program-explainer-step>\n </sqm-program-explainer>\n <sqm-portal-container\n center\n direction=\"row\"\n display=\"flex\"\n justify-content=\"space-between\"\n gap=\"xxx-large\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <sqm-stat-container space=\"xxx-large\" display=\"flex\">\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/rewardsRedeemed/CREDIT/POINTS\"\n >\n <p>Points Redeemed</p>\n </sqm-big-stat>\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/rewardBalance/CREDIT/POINT/value/global\"\n >\n <p>Points Balance</p>\n </sqm-big-stat>\n </sqm-stat-container>\n </sqm-portal-container>\n <sqm-portal-container\n direction=\"column\"\n padding=\"none\"\n gap=\"xx-large\"\n display=\"grid\"\n max-width=\"100%\"\n >\n <sqm-titled-section\n label-margin=\"small\"\n padding=\"none\"\n text-align=\"center\"\n >\n <h3 slot=\"label\">Earn points</h3>\n </sqm-titled-section>\n <sqm-card-feed gap=\"24\" width=\"347\">\n <sqm-task-card\n reward-amount=\"20\"\n goal=\"1\"\n card-title=\"Complete a Survey\"\n description=\"Fill out our NPS survey and get 20 points for giving us honest feedback.\"\n button-text=\"Take survey\"\n reward-unit=\"Points\"\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\n ended-message=\"Ended {endDate}\"\n expiry-message=\"Ends {endDate}\"\n finite=\"0\"\n starts-on-message=\"Starts {startDate}\"\n >\n </sqm-task-card>\n <sqm-task-card\n reward-amount=\"250\"\n goal=\"500\"\n show-progress-bar\n card-title=\"Spend $500\"\n description=\"Earn 250 points when you spend $500 or more.\"\n button-text=\"See plans\"\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\n ended-message=\"Ended {endDate}\"\n expiry-message=\"Ends {endDate}\"\n progress-bar-unit=\"$\"\n finite=\"0\"\n reward-unit=\"Points\"\n starts-on-message=\"Starts {startDate}\"\n >\n </sqm-task-card>\n <sqm-task-card\n goal=\"1\"\n reward-amount=\"50\"\n card-title=\"Follow Us on X\"\n description=\"Earn 50 points when you Follow Us on X!\"\n button-text=\"Follow\"\n button-link=\"https://twitter.com/\"\n open-new-tab=\"true\"\n event-key=\"socialFollow\"\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\n ended-message=\"Ended {endDate}\"\n expiry-message=\"Ends {endDate}\"\n finite=\"0\"\n reward-unit=\"Points\"\n starts-on-message=\"Starts {startDate}\"\n >\n </sqm-task-card>\n <sqm-task-card\n reward-amount=\"1\"\n reward-unit=\"Free Month\"\n goal=\"1\"\n card-title=\"Upgrade Your Plan\"\n description=\"Receive one free month for being a committed customer when you upgrade your plan.\"\n button-text=\"Upgrade\"\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\n ended-message=\"Ended {endDate}\"\n expiry-message=\"Ends {endDate}\"\n open-new-tab=\"false\"\n finite=\"0\"\n starts-on-message=\"Starts {startDate}\"\n >\n </sqm-task-card>\n </sqm-card-feed>\n <sqm-portal-container\n gap=\"large\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <sqm-titled-section\n padding=\"none\"\n text-align=\"center\"\n label-margin=\"xx-small\"\n >\n <h3 slot=\"label\">Reward History</h3>\n </sqm-titled-section>\n <sqm-rewards-table\n per-page=\"4\"\n hidden-columns=\"0\"\n more-label=\"Next\"\n prev-label=\"Prev\"\n sm-breakpoint=\"599\"\n md-breakpoint=\"799\"\n >\n <sqm-rewards-table-reward-column\n available-text=\"{availableAmount} remaining\"\n column-title=\"Reward\"\n copy-text=\"Copied!\"\n redeemed-text=\"{redeemedAmount} redeemed\"\n >\n </sqm-rewards-table-reward-column>\n <sqm-rewards-table-source-column\n anonymous-user=\"Anonymous User\"\n column-title=\"Source\"\n deleted-user=\"Deleted User\"\n referral-text=\"{rewardSource, select, FRIEND_SIGNUP {Referral to} REFERRED {Referred by} other {}}\"\n reward-exchange-text=\"Reward Exchange\"\n reward-source-text=\"{rewardSource, select, MANUAL {Manual} AUTOMATED {{programName}} other {}}\"\n >\n </sqm-rewards-table-source-column>\n <sqm-rewards-table-status-column\n column-title=\"Status\"\n expiry-text=\"Expires on \"\n status-text=\"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }\"\n >\n </sqm-rewards-table-status-column>\n <sqm-rewards-table-date-column\n column-title=\"Date received\"\n date-shown=\"dateGiven\"\n >\n </sqm-rewards-table-date-column>\n <sqm-empty\n slot=\"empty\"\n empty-state-image=\"https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_reward2.png\"\n empty-state-header=\"View your rewards\"\n empty-state-text=\"Refer friends and complete tasks to view the details of your rewards\"\n >\n </sqm-empty>\n </sqm-rewards-table>\n </sqm-portal-container>\n </sqm-portal-container>\n <sqm-portal-footer\n support-email=\"support@example.com\"\n terms-link=\"https:\\/\\/example.com\"\n faq-link=\"https:\\/\\/example.com\"\n terms-text=\"Terms And Conditions\"\n faq-text=\"FAQ\"\n show-powered-by=\"true\"\n padding-bottom=\"none\"\n padding-left=\"none\"\n padding-right=\"none\"\n padding-top=\"none\"\n ></sqm-portal-footer>\n </sqm-portal-container>\n </sqm-portal-container>\n </sqm-portal-container>\n</sqm-brand>\n";
4086
4070
 
4087
4071
  const instantAccessReferrerShareWidget = "<sqm-hero\n background=\"https://res.cloudinary.com/saasquatch/image/upload/v1683589933/Portal%20Assets/Screen-Shot-2022-01-06-at-3.23.58-AM.png\"\n columns=\"2\"\n padding-size=\"medium\"\n wrap-direction=\"wrap\"\n secondary-background=\"#FFFFFF\"\n min-height=\"200\"\n ><sqm-referral-card\n vertical-alignment=\"start\"\n slot=\"secondary-column\"\n padding-bottom=\"small\"\n padding-left=\"x-large\"\n padding-right=\"x-large\"\n padding-top=\"small\"\n >\n <sqm-titled-section\n text-align=\"center\"\n label-margin=\"none\"\n padding=\"none\"\n slot=\"header\"\n ><h1 slot=\"label\">Invite your friends to unlock rewards!</h1>\n <p slot=\"content\">\n They&#x2019;ll get a &#x24;50 credit towards a new account and\n you&#x2019;ll get a &#x24;50 in credit for each friend you refer.\n </p></sqm-titled-section\n >\n <sqm-portal-container\n gap=\"small\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n slot=\"left\"\n >\n <p style=\"margin: 0\">Choose how you want to share:</p>\n <sqm-share-link\n tooltip-text=\"Copied to Clipboard\"\n tooltip-lifespan=\"1000\"\n >\n </sqm-share-link>\n <sqm-share-button\n medium=\"email\"\n icon-slot=\"prefix\"\n size=\"medium\"\n type=\"default\"\n >\n Share via email\n </sqm-share-button>\n <sqm-share-button\n medium=\"linkedin\"\n icon-slot=\"prefix\"\n size=\"medium\"\n type=\"default\"\n >\n Share on LinkedIn\n </sqm-share-button>\n <sqm-share-button\n medium=\"twitter\"\n icon-slot=\"prefix\"\n size=\"medium\"\n type=\"default\"\n >\n Post about us on X\n </sqm-share-button> </sqm-portal-container\n ><sqm-portal-container\n display=\"flex\"\n slot=\"footer\"\n gap=\"small\"\n justify-content=\"center\"\n >\n <sqm-logout-current-user\n user-identification-text=\"{email}\"\n switch-user-link=\"#\"\n switch-user-text=\"not you?\"\n ></sqm-logout-current-user>\n <sqm-portal-footer\n support-email=\"support@example.com\"\n show-powered-by=\"true\"\n padding-bottom=\"x-small\"\n padding-left=\"none\"\n padding-right=\"none\"\n padding-top=\"none\"\n hide-support-text\n terms-text=\"Terms And Conditions\"\n terms-link=\"https://example.com\"\n ></sqm-portal-footer></sqm-portal-container\n ></sqm-referral-card>\n</sqm-hero>\n";
@@ -7138,10 +7122,6 @@ const Loyalty = createHookStory(() => {
7138
7122
  const { states, callbacks } = useTemplate$1(loyaltyWidget);
7139
7123
  return (h(DefaultTemplateView, { states: states, callbacks: callbacks, template: loyaltyWidget }));
7140
7124
  });
7141
- const PromoCodeReferralWidget = createHookStory(() => {
7142
- const { states, callbacks } = useTemplate$1(promoCodeReferralWidget);
7143
- return (h(DefaultTemplateView, { states: states, callbacks: callbacks, template: referralWidget }));
7144
- });
7145
7125
  const InstantAccessReferrerShareWidget = createHookStory(() => {
7146
7126
  const { states, callbacks } = useTemplate$1(instantAccessReferrerShareWidget);
7147
7127
  return h(TemplateView$1, { states: states, callbacks: callbacks });
@@ -7173,7 +7153,6 @@ const Widget = /*#__PURE__*/Object.freeze({
7173
7153
  ReferralWidget: ReferralWidget,
7174
7154
  MonoWidget: MonoWidget,
7175
7155
  Loyalty: Loyalty,
7176
- PromoCodeReferralWidget: PromoCodeReferralWidget,
7177
7156
  InstantAccessReferrerShareWidget: InstantAccessReferrerShareWidget,
7178
7157
  PaypalMonoWidget: PaypalMonoWidget,
7179
7158
  PaypalReferralWidget: PaypalReferralWidget,
@@ -7293,14 +7272,14 @@ const loadingProps = {
7293
7272
  },
7294
7273
  content: { pageLabel: "Sign in to your account" },
7295
7274
  };
7296
- const Default$3 = () => h(PortalLoginView, Object.assign({}, defaultProps$2));
7275
+ const Default$2 = () => h(PortalLoginView, Object.assign({}, defaultProps$2));
7297
7276
  const LoginWithError = () => h(PortalLoginView, Object.assign({}, errorProps));
7298
7277
  const LoginLoading = () => h(PortalLoginView, Object.assign({}, loadingProps));
7299
7278
 
7300
7279
  const PortalLogin = /*#__PURE__*/Object.freeze({
7301
7280
  __proto__: null,
7302
7281
  'default': PortalLogin_stories,
7303
- Default: Default$3,
7282
+ Default: Default$2,
7304
7283
  LoginWithError: LoginWithError,
7305
7284
  LoginLoading: LoginLoading
7306
7285
  });
@@ -7403,7 +7382,7 @@ const slottedProps = {
7403
7382
  h("sl-input", { exportparts: "label: input-label, base: input-base", label: "Slotted Input 2", required: true }))),
7404
7383
  },
7405
7384
  };
7406
- const Default$4 = () => h(PortalRegisterView, Object.assign({}, defaultProps$3));
7385
+ const Default$3 = () => h(PortalRegisterView, Object.assign({}, defaultProps$3));
7407
7386
  const RegisterWithError = () => h(PortalRegisterView, Object.assign({}, errorProps$1));
7408
7387
  const RegisterLoading = () => h(PortalRegisterView, Object.assign({}, loadingProps$1));
7409
7388
  const FieldsHidden = () => {
@@ -7430,7 +7409,7 @@ const TermsAndConditions = () => (h(PortalRegisterView, Object.assign({}, defaul
7430
7409
  const PortalRegister = /*#__PURE__*/Object.freeze({
7431
7410
  __proto__: null,
7432
7411
  'default': PortalRegister_stories,
7433
- Default: Default$4,
7412
+ Default: Default$3,
7434
7413
  RegisterWithError: RegisterWithError,
7435
7414
  RegisterLoading: RegisterLoading,
7436
7415
  FieldsHidden: FieldsHidden,
@@ -7506,7 +7485,7 @@ const successProps = {
7506
7485
  messageSlot: "Enter your email below to receive a password reset link.",
7507
7486
  },
7508
7487
  };
7509
- const Default$5 = () => h(PortalForgotPasswordView, Object.assign({}, defaultProps$4));
7488
+ const Default$4 = () => h(PortalForgotPasswordView, Object.assign({}, defaultProps$4));
7510
7489
  const ForgotPasswordWithError = () => (h(PortalForgotPasswordView, Object.assign({}, errorProps$2)));
7511
7490
  const ForgotPasswordLoading = () => (h(PortalForgotPasswordView, Object.assign({}, loadingProps$2)));
7512
7491
  const ForgotPasswordSuccess = () => (h(PortalForgotPasswordView, Object.assign({}, successProps)));
@@ -7514,7 +7493,7 @@ const ForgotPasswordSuccess = () => (h(PortalForgotPasswordView, Object.assign({
7514
7493
  const PortalForgotPassword = /*#__PURE__*/Object.freeze({
7515
7494
  __proto__: null,
7516
7495
  'default': PortalForgotPassword_stories,
7517
- Default: Default$5,
7496
+ Default: Default$4,
7518
7497
  ForgotPasswordWithError: ForgotPasswordWithError,
7519
7498
  ForgotPasswordLoading: ForgotPasswordLoading,
7520
7499
  ForgotPasswordSuccess: ForgotPasswordSuccess
@@ -7585,7 +7564,7 @@ const loadingVerificationProps = {
7585
7564
  callbacks: defaultCallbacks,
7586
7565
  content: defaultContent,
7587
7566
  };
7588
- const Default$6 = () => h(PortalEmailVerificationView, Object.assign({}, defaultProps$5));
7567
+ const Default$5 = () => h(PortalEmailVerificationView, Object.assign({}, defaultProps$5));
7589
7568
  const EmailVerificationWithError = () => (h(PortalEmailVerificationView, Object.assign({}, errorProps$3)));
7590
7569
  const EmailVerificationLoading = () => (h(PortalEmailVerificationView, Object.assign({}, loadingProps$3)));
7591
7570
  const EmailVerificationCheckingVerification = () => (h(PortalEmailVerificationView, Object.assign({}, loadingVerificationProps)));
@@ -7594,7 +7573,7 @@ const EmailVerificationSuccess = () => (h(PortalEmailVerificationView, Object.as
7594
7573
  const PortalEmailVerification = /*#__PURE__*/Object.freeze({
7595
7574
  __proto__: null,
7596
7575
  'default': PortalEmailVerification_stories,
7597
- Default: Default$6,
7576
+ Default: Default$5,
7598
7577
  EmailVerificationWithError: EmailVerificationWithError,
7599
7578
  EmailVerificationLoading: EmailVerificationLoading,
7600
7579
  EmailVerificationCheckingVerification: EmailVerificationCheckingVerification,
@@ -7747,7 +7726,7 @@ const validatingCodeProps = {
7747
7726
  failed: () => console.log("failed"),
7748
7727
  },
7749
7728
  };
7750
- const Default$7 = () => h(PortalResetPasswordView, Object.assign({}, defaultProps$6));
7729
+ const Default$6 = () => h(PortalResetPasswordView, Object.assign({}, defaultProps$6));
7751
7730
  const DefaultWithoutConfirmField = () => (h(PortalResetPasswordView, Object.assign({}, defaultPropsNoConfirm)));
7752
7731
  const ResetPasswordWithError = () => (h(PortalResetPasswordView, Object.assign({}, errorProps$4)));
7753
7732
  const ResetPasswordLoading = () => (h(PortalResetPasswordView, Object.assign({}, loadingProps$4)));
@@ -7757,7 +7736,7 @@ const CodeValidating = () => (h(PortalResetPasswordView, Object.assign({}, valid
7757
7736
  const PortalResetPassword = /*#__PURE__*/Object.freeze({
7758
7737
  __proto__: null,
7759
7738
  'default': PortalResetPassword_stories,
7760
- Default: Default$7,
7739
+ Default: Default$6,
7761
7740
  DefaultWithoutConfirmField: DefaultWithoutConfirmField,
7762
7741
  ResetPasswordWithError: ResetPasswordWithError,
7763
7742
  ResetPasswordLoading: ResetPasswordLoading,
@@ -7820,7 +7799,7 @@ const PortalVerifyEmail = /*#__PURE__*/Object.freeze({
7820
7799
  const AssetCard_stories = {
7821
7800
  title: "Components/Asset Card",
7822
7801
  };
7823
- const Default$8 = () => {
7802
+ const Default$7 = () => {
7824
7803
  const props = {
7825
7804
  text: { titleText: "Marketing Banner" },
7826
7805
  imgUrl: "https://res.cloudinary.com/saasquatch/image/upload/v1634255445/squatch-assets/Copy_of_saasquatch-logo-tree-large-horizontal.png",
@@ -7848,7 +7827,7 @@ const CardWithNoImg = () => {
7848
7827
  const AssetCard = /*#__PURE__*/Object.freeze({
7849
7828
  __proto__: null,
7850
7829
  'default': AssetCard_stories,
7851
- Default: Default$8,
7830
+ Default: Default$7,
7852
7831
  CardWithLongText: CardWithLongText,
7853
7832
  CardWithNoImg: CardWithNoImg
7854
7833
  });
@@ -8069,7 +8048,7 @@ const successProps$3 = {
8069
8048
  submit: (e) => console.log("Submit", e),
8070
8049
  },
8071
8050
  };
8072
- const Default$9 = () => h(PortalChangePasswordView, Object.assign({}, defaultProps$7));
8051
+ const Default$8 = () => h(PortalChangePasswordView, Object.assign({}, defaultProps$7));
8073
8052
  const Open = () => h(PortalChangePasswordView, Object.assign({}, openProps));
8074
8053
  const Error$2 = () => h(PortalChangePasswordView, Object.assign({}, errorProps$6));
8075
8054
  const PaswordError = () => (h(PortalChangePasswordView, Object.assign({}, passwordErrorProps)));
@@ -8079,7 +8058,7 @@ const Success = () => h(PortalChangePasswordView, Object.assign({}, successProps
8079
8058
  const ChangePassword = /*#__PURE__*/Object.freeze({
8080
8059
  __proto__: null,
8081
8060
  'default': ChangePassword_stories,
8082
- Default: Default$9,
8061
+ Default: Default$8,
8083
8062
  Open: Open,
8084
8063
  Error: Error$2,
8085
8064
  PaswordError: PaswordError,
@@ -8306,7 +8285,7 @@ const successProps$4 = {
8306
8285
  onChange: (e) => console.log(e),
8307
8286
  },
8308
8287
  };
8309
- const Default$a = () => h(PortalProfileView, Object.assign({}, defaultProps$8));
8288
+ const Default$9 = () => h(PortalProfileView, Object.assign({}, defaultProps$8));
8310
8289
  const DefaultNoCountry = () => h(PortalProfileView, Object.assign({}, noCountry));
8311
8290
  const Loading$2 = () => h(PortalProfileView, Object.assign({}, loadingProps$6));
8312
8291
  const Disabled$1 = () => h(PortalProfileView, Object.assign({}, disabledProps));
@@ -8316,7 +8295,7 @@ const Success$1 = () => h(PortalProfileView, Object.assign({}, successProps$4));
8316
8295
  const PortalProfile = /*#__PURE__*/Object.freeze({
8317
8296
  __proto__: null,
8318
8297
  'default': PortalProfile_stories,
8319
- Default: Default$a,
8298
+ Default: Default$9,
8320
8299
  DefaultNoCountry: DefaultNoCountry,
8321
8300
  Loading: Loading$2,
8322
8301
  Disabled: Disabled$1,
@@ -10276,7 +10255,7 @@ const ProgramMenu = /*#__PURE__*/Object.freeze({
10276
10255
  const PoweredByImg_stories = {
10277
10256
  title: "Powered By",
10278
10257
  };
10279
- const Default$b = () => {
10258
+ const Default$a = () => {
10280
10259
  return h(PoweredByImg$1, null);
10281
10260
  };
10282
10261
  const CustomColor = () => {
@@ -10289,7 +10268,7 @@ const CustomWidthAndHeight = () => {
10289
10268
  const PoweredByImg = /*#__PURE__*/Object.freeze({
10290
10269
  __proto__: null,
10291
10270
  'default': PoweredByImg_stories,
10292
- Default: Default$b,
10271
+ Default: Default$a,
10293
10272
  CustomColor: CustomColor,
10294
10273
  CustomWidthAndHeight: CustomWidthAndHeight
10295
10274
  });
@@ -10676,7 +10655,7 @@ const defaultRegisterProps = {
10676
10655
  invalidEmailErrorMessage: "Must be a valid email address",
10677
10656
  },
10678
10657
  };
10679
- const Default$c = createHookStory(() => (h(CheckboxFieldView, Object.assign({}, defaultProps$a))));
10658
+ const Default$b = createHookStory(() => (h(CheckboxFieldView, Object.assign({}, defaultProps$a))));
10680
10659
  const DefaultChecked = createHookStory(() => (h(CheckboxFieldView, Object.assign({}, defaultProps$a, { states: {
10681
10660
  ...defaultProps$a.states,
10682
10661
  checked: true,
@@ -10731,7 +10710,7 @@ const TermsAndConditionsLongCustomLabel = createHookStory(() => (h(PortalRegiste
10731
10710
  const CheckboxField = /*#__PURE__*/Object.freeze({
10732
10711
  __proto__: null,
10733
10712
  'default': CheckboxField_stories,
10734
- Default: Default$c,
10713
+ Default: Default$b,
10735
10714
  DefaultChecked: DefaultChecked,
10736
10715
  CustomLabel: CustomLabel,
10737
10716
  Error: Error$4,
@@ -10833,7 +10812,7 @@ const defaultProps$b = {
10833
10812
  ],
10834
10813
  },
10835
10814
  };
10836
- const Default$d = createHookStory(() => (h(DropdownFieldView, Object.assign({}, defaultProps$b))));
10815
+ const Default$c = createHookStory(() => (h(DropdownFieldView, Object.assign({}, defaultProps$b))));
10837
10816
  const CustomLabel$1 = createHookStory(() => (h(DropdownFieldView, Object.assign({}, defaultProps$b, { content: {
10838
10817
  ...defaultProps$b.content,
10839
10818
  dropdownLabel: "Pick your favorite",
@@ -10861,7 +10840,7 @@ const CustomError$1 = createHookStory(() => (h(DropdownFieldView, Object.assign(
10861
10840
  const DropdownField = /*#__PURE__*/Object.freeze({
10862
10841
  __proto__: null,
10863
10842
  'default': DropdownField_stories,
10864
- Default: Default$d,
10843
+ Default: Default$c,
10865
10844
  CustomLabel: CustomLabel$1,
10866
10845
  Error: Error$5,
10867
10846
  CustomError: CustomError$1
@@ -10971,7 +10950,7 @@ const defaultRegisterProps$1 = {
10971
10950
  invalidEmailErrorMessage: "Must be a valid email address",
10972
10951
  },
10973
10952
  };
10974
- const Default$e = () => h(InputFieldView, Object.assign({}, defaultProps$c));
10953
+ const Default$d = () => h(InputFieldView, Object.assign({}, defaultProps$c));
10975
10954
  const CustomLabel$2 = () => (h(InputFieldView, Object.assign({}, defaultProps$c, { content: { ...defaultProps$c.content, fieldLabel: "My Label" } })));
10976
10955
  const Error$6 = () => (h(InputFieldView, Object.assign({}, defaultProps$c, { states: {
10977
10956
  ...defaultProps$c.states,
@@ -11021,7 +11000,7 @@ const RegistrationFieldCustomLabel = () => (h(PortalRegisterView, Object.assign(
11021
11000
  const InputField = /*#__PURE__*/Object.freeze({
11022
11001
  __proto__: null,
11023
11002
  'default': InputField_stories,
11024
- Default: Default$e,
11003
+ Default: Default$d,
11025
11004
  CustomLabel: CustomLabel$2,
11026
11005
  Error: Error$6,
11027
11006
  CustomError: CustomError$2,
@@ -12644,21 +12623,6 @@ const sharebutton = (slot) => {
12644
12623
  h("sqm-share-button", { medium: "facebook" }, "Share on Facebook"),
12645
12624
  h("sqm-share-button", { medium: "twitter" }, "Post about us on X"))));
12646
12625
  };
12647
- const shareButtonsWithPromoCodes = (slot) => {
12648
- return (h("sqm-portal-container", { gap: "large", slot: slot },
12649
- h("sqm-text", null, "Choose how you want to share:"),
12650
- h("sqm-text", null,
12651
- h("sub", null, "Share with your friends:"),
12652
- h("sqm-share-code", null),
12653
- h("sqm-share-link", null)),
12654
- h("sqm-portal-container", { gap: "x-small" },
12655
- h("sqm-share-button", { medium: "email" }, "Share via email"),
12656
- h("sqm-share-button", { medium: "facebook" }, "Share on Facebook"),
12657
- h("sqm-share-button", { medium: "twitter" }, "Post about us on X"),
12658
- h("sqm-portal-container", { gap: "x-small" },
12659
- h("span", { style: { textAlign: "center", color: "var(--sl-color-gray-500)" } }, "You have copied this code before"),
12660
- h("sqm-pagination", null)))));
12661
- };
12662
12626
  const timeline = (slot, count) => {
12663
12627
  return (h("sqm-timeline", { slot: slot, icon: "circle" },
12664
12628
  count > 0 && (h("sqm-timeline-entry", { reward: "75", unit: "points", desc: "Your friends signs up for a free trial" })),
@@ -12681,11 +12645,6 @@ const TimelineAndShareButtons = () => {
12681
12645
  timeline("left", 3),
12682
12646
  sharebutton("right")));
12683
12647
  };
12684
- const OneTimeUsePromoCodes = () => {
12685
- return (h("sqm-referral-card", null,
12686
- timeline("left", 4),
12687
- shareButtonsWithPromoCodes("right")));
12688
- };
12689
12648
  const StartAlignment = () => {
12690
12649
  return (h("sqm-referral-card", { "vertical-alignment": "start" },
12691
12650
  timeline("left", 4),
@@ -12762,7 +12721,6 @@ const ReferralCard = /*#__PURE__*/Object.freeze({
12762
12721
  ImageAndShareButtons: ImageAndShareButtons,
12763
12722
  LimitWidth: LimitWidth,
12764
12723
  TimelineAndShareButtons: TimelineAndShareButtons,
12765
- OneTimeUsePromoCodes: OneTimeUsePromoCodes,
12766
12724
  StartAlignment: StartAlignment,
12767
12725
  CenterAlignment: CenterAlignment,
12768
12726
  EndAlignment: EndAlignment,
@@ -13864,82 +13822,6 @@ const ShareCode$1 = /*#__PURE__*/Object.freeze({
13864
13822
  Error: Error$7
13865
13823
  });
13866
13824
 
13867
- const scenario$A = "@author:sam\n@owner:sam\nFeature: Referral Code\n\n The referral code component is a box that allows users to see and copy their referral promo code for a given program\n\n Background: Environment\n Given there is a valid program ID in the environment\n And there is a valid user ID and account ID in the environment\n\n @motivating\n Scenario: A Users referral code can be copied to their clipboard\n Given tooltiptext is \"hello tooltip\"\n When the component renders\n Then there is a textbox with the user's referral code\n When the clipboard icon is clicked\n Then the code is copied to clipboard\n And a tooltip will appear for ~1 second\n\n @minutia\n Scenario: Tooltip lifespan can be customized\n Given the tooltip's lifespan is set to 2000\n And there is tooltip text\n When the component renders\n And the clipboard icon is clicked\n Then a tooltip will appear for ~2 seconds\n\n @minutia\n Scenario: Demo\n Given isDemo() returns true\n Then the share code is \"SHARECODE001\"\n And the component won't be interactive\n And the tooltip is hidden\n\n @minutia\n Scenario: Program ID can be sourced from prop\n Given the programId prop is set to \"program-a\"\n And window.widgetIdent.programId is set to \"program-b\"\n When the component renders\n Then the share code is for \"program-a\"\n\n @minutia\n Scenario: Program ID can be sourced from window\n Given the programId prop is unset\n And window.widgetIdent.programId is set to \"program-b\"\n When the component renders\n Then the share code is for \"program-b\"\n\n @minutia\n Scenario: An analytic event is fired when a user copies their code\n Given a user viewing the referral code component\n And the component is rendered for \"program-a\"\n When they click to copy their code\n Then an \"USER_REFERRAL_PROGRAM_ENGAGEMENT_EVENT\" analytic event is fired\n And it is for \"program-a\"\n And it has share medium \"DIRECT\"\n\n @ui\n Scenario Outline: user can edit the alignment of the share code text\n Given a user is editing the referral code component\n Then they see \"Align text\" props\n And the default value is \"left\"\n When they change the option to <option>\n Then they see the text in <position>\n Examples:\n | option | position |\n | left | left |\n | center | center |\n | right | right |\n\n @ui\n Scenario Outline: The position of the copy button can be changed\n Given a user is editing the referral code component\n Then they see \"Style\" props\n And the default value is \"icon\"\n When they change the option to <option>\n Then they see the copy button in <position>\n Examples:\n | option | position |\n | button outside | outside the input, on the right |\n | button below | outside the input, below |\n | icon | inside the input as an icon |\n";
13868
-
13869
- const ReferralCode_stories = {
13870
- title: "Components/Referral Code",
13871
- parameters: {
13872
- scenario: scenario$A,
13873
- },
13874
- };
13875
- const ReferralCode = () => {
13876
- return (h("sqm-referral-code", { tooltiptext: "Copied to Clipboard" }));
13877
- };
13878
- const ShowNotificationText = () => {
13879
- return (h("sqm-referral-code", { showNotificationText: true, notificationText: "You've copied this code before" }));
13880
- };
13881
- const ShowNotificationTextWithButton = () => {
13882
- return (h("sqm-referral-code", { showNotificationText: true, notificationText: "You've copied this code before", buttonStyle: "button-outside" }));
13883
- };
13884
- const ShowNotificationTextWithButtonBelow = () => {
13885
- return (h("sqm-referral-code", { showNotificationText: true, notificationText: "You've copied this code before", buttonStyle: "button-below" }));
13886
- };
13887
- const CustomTooltipText$1 = () => {
13888
- return (h("sqm-referral-code", { tooltiptext: "CUSTOM TOOLTIP TEXT" }));
13889
- };
13890
- const TextAlignCenter$2 = () => {
13891
- return h("sqm-referral-code", { textAlign: "center" });
13892
- };
13893
- const TextAlignRight$2 = () => {
13894
- return h("sqm-referral-code", { textAlign: "right" });
13895
- };
13896
- const CustomTooltipDuration$1 = () => {
13897
- return (h("sqm-referral-code", { tooltiplifespan: 5000, tooltiptext: "CUSTOM TOOLTIP TEXT" }));
13898
- };
13899
- const CopyButton$2 = () => {
13900
- return (h(CopyTextView, Object.assign({}, {
13901
- copyString: "https://noah.example.com",
13902
- open: false,
13903
- tooltiptext: "Copied!",
13904
- isCopyIcon: false,
13905
- buttonStyle: "button-outside",
13906
- })));
13907
- };
13908
- const CopyButtonBelow$2 = () => {
13909
- return (h(CopyTextView, Object.assign({}, {
13910
- copyString: "https://noah.example.com",
13911
- open: false,
13912
- tooltiptext: "Copied!",
13913
- buttonStyle: "button-below",
13914
- })));
13915
- };
13916
- const Error$8 = () => {
13917
- const props = {
13918
- copyString: "https://noah.example.com",
13919
- disabled: true,
13920
- open: true,
13921
- tooltiptext: "Copied!",
13922
- error: true,
13923
- };
13924
- return h(CopyTextView, Object.assign({}, props));
13925
- };
13926
-
13927
- const ReferralCode$1 = /*#__PURE__*/Object.freeze({
13928
- __proto__: null,
13929
- 'default': ReferralCode_stories,
13930
- ReferralCode: ReferralCode,
13931
- ShowNotificationText: ShowNotificationText,
13932
- ShowNotificationTextWithButton: ShowNotificationTextWithButton,
13933
- ShowNotificationTextWithButtonBelow: ShowNotificationTextWithButtonBelow,
13934
- CustomTooltipText: CustomTooltipText$1,
13935
- TextAlignCenter: TextAlignCenter$2,
13936
- TextAlignRight: TextAlignRight$2,
13937
- CustomTooltipDuration: CustomTooltipDuration$1,
13938
- CopyButton: CopyButton$2,
13939
- CopyButtonBelow: CopyButtonBelow$2,
13940
- Error: Error$8
13941
- });
13942
-
13943
13825
  // import scenario from "./ShareCode.feature";
13944
13826
  const EmailRegistration_stories = {
13945
13827
  title: "Components/Email Registration",
@@ -13966,7 +13848,7 @@ const defaultProps$d = {
13966
13848
  fraudErrorMessageTitle: "Looks like you tried referring yourself",
13967
13849
  },
13968
13850
  };
13969
- const Default$f = () => h(EmailRegistrationView, Object.assign({}, defaultProps$d));
13851
+ const Default$e = () => h(EmailRegistrationView, Object.assign({}, defaultProps$d));
13970
13852
  const HasFirstNameLastName = () => (h(EmailRegistrationView, Object.assign({}, {
13971
13853
  ...defaultProps$d,
13972
13854
  content: {
@@ -14003,7 +13885,7 @@ const Loading$4 = () => (h(EmailRegistrationView, Object.assign({}, {
14003
13885
  loading: true,
14004
13886
  },
14005
13887
  })));
14006
- const Error$9 = () => (h(EmailRegistrationView, Object.assign({}, {
13888
+ const Error$8 = () => (h(EmailRegistrationView, Object.assign({}, {
14007
13889
  ...defaultProps$d,
14008
13890
  states: {
14009
13891
  error: "Something went wrong. Please try again.",
@@ -14031,23 +13913,23 @@ const EmptyEmailError = () => (h(EmailRegistrationView, Object.assign({}, {
14031
13913
  const EmailRegistration = /*#__PURE__*/Object.freeze({
14032
13914
  __proto__: null,
14033
13915
  'default': EmailRegistration_stories,
14034
- Default: Default$f,
13916
+ Default: Default$e,
14035
13917
  HasFirstNameLastName: HasFirstNameLastName,
14036
13918
  WithSlots: WithSlots,
14037
13919
  NoBorder: NoBorder$1,
14038
13920
  BackgroundColor: BackgroundColor$2,
14039
13921
  Loading: Loading$4,
14040
- Error: Error$9,
13922
+ Error: Error$8,
14041
13923
  FraudError: FraudError,
14042
13924
  EmptyEmailError: EmptyEmailError
14043
13925
  });
14044
13926
 
14045
- const scenario$B = "@author:truman\n@owner:truman\nFeature: Coupon Code\n\n The coupon code component is a box that allows users to see and copy their coupon code for a given program\n\n @motivating\n Scenario: Component only fetches codes from current program\n Given a user has multiple rewards from various programs\n When the component is loaded\n Then it fetches the user's rewards from only the program associated with the widget\n\n @motivating\n Scenario: Component only looks at fueltank rewards\n Given a user has multiple rewards of different types\n When the component is loaded\n Then it filters the user's reward to only return FUELTANK rewards\n\n\n @motivating\n Scenario: The first (i.e. most recently received) reward is the reward that is displayed\n Given a user has at least one fueltank reward\n And the fueltank reward is available\n Then the coupon code component shows the first reward returned\n And this reward is the most recently received reward by the user\n\n @motivating\n Scenario Outline: Coupon code has multiple states depending on reward status\n Given a user has at least one fueltank reward\n And the reward has most recent status <status>\n And the dateScheduledFor field is <dateScheduledFor>\n Then the component's status is set to <componentStatus>\n And the <errorMessageTextProp> is displayed under the input field\n\n Examples:\n | status | dateScheduledFor | componentStatus | errorMessageTextProp |\n | AVAILABLE | null | AVAILABLE | N/A |\n | EXPIRED | null | EXPIRED | expiredErrorMessage |\n | REDEEMED | null | REDEEMED | redeemedMessage |\n | CANCELLED | null | CANCELLED | cancelledErrorMessage |\n | PENDING | null | EMPTY_TANK | fullfillmentErrorMessage |\n | PENDING | 123412341234 | PENDING | pendingErrorMessage |\n | null | null | ERROR | genericErrorMessage |\n\n Scenario Outline: Coupon code's error message text props are grouped\n Given an end user is viewing the coupon code component in the widget editor\n And they are looking at the component's properties\n Then they see <prop>\n And <prop> is grouped under \"Coupon code error\"\n Examples:\n | prop |\n | N/A |\n | expiredErrorMessage |\n | redeemedMessage |\n | cancelledErrorMessage |\n | fullfillmentErrorMessage |\n | pendingErrorMessage |\n | genericErrorMessage |\n\n @minutia\n Scenario: Tooltip lifespan defaults to 2000\n Given the tooltip's lifespan is set to 2000\n And there is tooltip text\n When the component renders\n And the clipboard icon is clicked\n Then a tooltip appears for ~2 seconds\n\n @ui\n Scenario: Component shows an error state when there is an error\n Given a user is viewing the coupon code component\n When there is an error in the coupon code\n Then in place of the coupon code is an alert banner\n And the alert banner gives information about the error to the user\n\n @ui\n Scenario: Component shows an loading state\n Given a user is viewing the coupon code component\n When the coupon code is loading in\n Then the text inside the input is \"Loading...\"\n And the coupon code input box has a gray background\n And the cursor is set to \"default\"\n And the user cannot copy the text\n\n @ui\n Scenario Outline: User can edit the alignment of the coupon code text\n Given a user is editing the coupon code component\n Then they see \"Align text\" props\n And the default value is \"left\"\n When they change the option to <option>\n Then they see the text in <position>\n Examples:\n | option | position |\n | left | left |\n | center | center |\n | right | right |\n\n @ui\n Scenario Outline: The position of the copy button can be changed\n Given a user is editing the coupon code component\n Then they see \"Style\" props\n And the default value is \"icon\"\n When they change the option to <option>\n Then they see the copy button in <position>\n Examples:\n | option | position |\n | button outside | outside the input, on the right |\n | button below | outside the input, below |\n | icon | inside the input as an icon |\n\n @minutia\n Scenario: ICU string converts to a date\n Given a user is viewing a live coupon code code component\n And the \"pendingErrorText\" has the \"{unpendDate}\" ICU string\n And the program is configured for rewards to be pending\n Then the user will see an info alert banner\n And the ICU string is converted to the unpend date\n";
13927
+ const scenario$A = "@author:truman\n@owner:truman\nFeature: Coupon Code\n\n The coupon code component is a box that allows users to see and copy their coupon code for a given program\n\n @motivating\n Scenario: Component only fetches codes from current program\n Given a user has multiple rewards from various programs\n When the component is loaded\n Then it fetches the user's rewards from only the program associated with the widget\n\n @motivating\n Scenario: Component only looks at fueltank rewards\n Given a user has multiple rewards of different types\n When the component is loaded\n Then it filters the user's reward to only return FUELTANK rewards\n\n\n @motivating\n Scenario: The first (i.e. most recently received) reward is the reward that is displayed\n Given a user has at least one fueltank reward\n And the fueltank reward is available\n Then the coupon code component shows the first reward returned\n And this reward is the most recently received reward by the user\n\n @motivating\n Scenario Outline: Coupon code has multiple states depending on reward status\n Given a user has at least one fueltank reward\n And the reward has most recent status <status>\n And the dateScheduledFor field is <dateScheduledFor>\n Then the component's status is set to <componentStatus>\n And the <errorMessageTextProp> is displayed under the input field\n\n Examples:\n | status | dateScheduledFor | componentStatus | errorMessageTextProp |\n | AVAILABLE | null | AVAILABLE | N/A |\n | EXPIRED | null | EXPIRED | expiredErrorMessage |\n | REDEEMED | null | REDEEMED | redeemedMessage |\n | CANCELLED | null | CANCELLED | cancelledErrorMessage |\n | PENDING | null | EMPTY_TANK | fullfillmentErrorMessage |\n | PENDING | 123412341234 | PENDING | pendingErrorMessage |\n | null | null | ERROR | genericErrorMessage |\n\n Scenario Outline: Coupon code's error message text props are grouped\n Given an end user is viewing the coupon code component in the widget editor\n And they are looking at the component's properties\n Then they see <prop>\n And <prop> is grouped under \"Coupon code error\"\n Examples:\n | prop |\n | N/A |\n | expiredErrorMessage |\n | redeemedMessage |\n | cancelledErrorMessage |\n | fullfillmentErrorMessage |\n | pendingErrorMessage |\n | genericErrorMessage |\n\n @minutia\n Scenario: Tooltip lifespan defaults to 2000\n Given the tooltip's lifespan is set to 2000\n And there is tooltip text\n When the component renders\n And the clipboard icon is clicked\n Then a tooltip appears for ~2 seconds\n\n @ui\n Scenario: Component shows an error state when there is an error\n Given a user is viewing the coupon code component\n When there is an error in the coupon code\n Then in place of the coupon code is an alert banner\n And the alert banner gives information about the error to the user\n\n @ui\n Scenario: Component shows an loading state\n Given a user is viewing the coupon code component\n When the coupon code is loading in\n Then the text inside the input is \"Loading...\"\n And the coupon code input box has a gray background\n And the cursor is set to \"default\"\n And the user cannot copy the text\n\n @ui\n Scenario Outline: User can edit the alignment of the coupon code text\n Given a user is editing the coupon code component\n Then they see \"Align text\" props\n And the default value is \"left\"\n When they change the option to <option>\n Then they see the text in <position>\n Examples:\n | option | position |\n | left | left |\n | center | center |\n | right | right |\n\n @ui\n Scenario Outline: The position of the copy button can be changed\n Given a user is editing the coupon code component\n Then they see \"Style\" props\n And the default value is \"icon\"\n When they change the option to <option>\n Then they see the copy button in <position>\n Examples:\n | option | position |\n | button outside | outside the input, on the right |\n | button below | outside the input, below |\n | icon | inside the input as an icon |\n\n @minutia\n Scenario: ICU string converts to a date\n Given a user is viewing a live coupon code code component\n And the \"pendingErrorText\" has the \"{unpendDate}\" ICU string\n And the program is configured for rewards to be pending\n Then the user will see an info alert banner\n And the ICU string is converted to the unpend date\n";
14046
13928
 
14047
13929
  const CouponCode_stories = {
14048
13930
  title: "Components/Coupon Code",
14049
13931
  parameters: {
14050
- scenario: scenario$B,
13932
+ scenario: scenario$A,
14051
13933
  },
14052
13934
  };
14053
13935
  const defaultProps$e = {
@@ -14062,25 +13944,25 @@ const defaultProps$e = {
14062
13944
  const CouponCode = () => {
14063
13945
  return h("sqm-coupon-code", { tooltiptext: "Copied to Clipboard" });
14064
13946
  };
14065
- const CustomTooltipText$2 = () => {
13947
+ const CustomTooltipText$1 = () => {
14066
13948
  return h("sqm-coupon-code", { tooltiptext: "CUSTOM TOOLTIP TEXT" });
14067
13949
  };
14068
- const CustomTooltipDuration$2 = () => {
13950
+ const CustomTooltipDuration$1 = () => {
14069
13951
  return (h("sqm-coupon-code", { tooltiplifespan: 5000, tooltiptext: "CUSTOM TOOLTIP TEXT" }));
14070
13952
  };
14071
- const TextAlignCenter$3 = () => {
13953
+ const TextAlignCenter$2 = () => {
14072
13954
  return h("sqm-coupon-code", { textAlign: "center" });
14073
13955
  };
14074
- const TextAlignRight$3 = () => {
13956
+ const TextAlignRight$2 = () => {
14075
13957
  return h("sqm-coupon-code", { textAlign: "right" });
14076
13958
  };
14077
- const CopyButton$3 = () => {
13959
+ const CopyButton$2 = () => {
14078
13960
  return (h("sqm-coupon-code", Object.assign({}, defaultProps$e, { buttonStyle: "button-outside" })));
14079
13961
  };
14080
13962
  const CopyButtonCustomLabel = () => {
14081
13963
  return (h("sqm-coupon-code", Object.assign({}, defaultProps$e, { buttonStyle: "button-outside", "copy-button-label": "test long custom label" })));
14082
13964
  };
14083
- const CopyButtonBelow$3 = () => {
13965
+ const CopyButtonBelow$2 = () => {
14084
13966
  return (h("sqm-coupon-code", Object.assign({}, defaultProps$e, { buttonStyle: "button-below" })));
14085
13967
  };
14086
13968
  const CopyButtonBelowCustomLabel = () => {
@@ -14118,13 +14000,13 @@ const CouponCode$1 = /*#__PURE__*/Object.freeze({
14118
14000
  __proto__: null,
14119
14001
  'default': CouponCode_stories,
14120
14002
  CouponCode: CouponCode,
14121
- CustomTooltipText: CustomTooltipText$2,
14122
- CustomTooltipDuration: CustomTooltipDuration$2,
14123
- TextAlignCenter: TextAlignCenter$3,
14124
- TextAlignRight: TextAlignRight$3,
14125
- CopyButton: CopyButton$3,
14003
+ CustomTooltipText: CustomTooltipText$1,
14004
+ CustomTooltipDuration: CustomTooltipDuration$1,
14005
+ TextAlignCenter: TextAlignCenter$2,
14006
+ TextAlignRight: TextAlignRight$2,
14007
+ CopyButton: CopyButton$2,
14126
14008
  CopyButtonCustomLabel: CopyButtonCustomLabel,
14127
- CopyButtonBelow: CopyButtonBelow$3,
14009
+ CopyButtonBelow: CopyButtonBelow$2,
14128
14010
  CopyButtonBelowCustomLabel: CopyButtonBelowCustomLabel,
14129
14011
  Loading: Loading$5,
14130
14012
  CopyButtonLoading: CopyButtonLoading,
@@ -14137,12 +14019,12 @@ const CouponCode$1 = /*#__PURE__*/Object.freeze({
14137
14019
  ErrorRedeemed: ErrorRedeemed
14138
14020
  });
14139
14021
 
14140
- const scenario$C = "@author:noah\n@owner:noah\n\nFeature: Logout Current User\n\n Background:\n Given a user viewing an instant access widget\n\n @motivating\n @ui\n Scenario: A user on an instant access widget\n Given the user is identified\n And the user is logged in\n Then the component identifies the user by displaying their email in an ICU string\n And the users email displayed in the ICU string using hte \"{email}\" variable\n\n @motivating\n @ui\n Scenario: Users can switch who they are identified as through a link\n Given the user is identified\n And the user is logged in\n When the user clicks the link in the component\n Then the saved user identity is emptied\n And they are sent back to the registration form to re-identify themselves\n\n @minutia\n Scenario: Logout link empties the saved User Identity\n Given a valid user identity\n And the user is viewing the \"logged-in\" template\n When they click the logout link\n Then the user identity is set to \"undefined\"\n And the user is returned to the \"logged-out\" template";
14022
+ const scenario$B = "@author:noah\n@owner:noah\n\nFeature: Logout Current User\n\n Background:\n Given a user viewing an instant access widget\n\n @motivating\n @ui\n Scenario: A user on an instant access widget\n Given the user is identified\n And the user is logged in\n Then the component identifies the user by displaying their email in an ICU string\n And the users email displayed in the ICU string using hte \"{email}\" variable\n\n @motivating\n @ui\n Scenario: Users can switch who they are identified as through a link\n Given the user is identified\n And the user is logged in\n When the user clicks the link in the component\n Then the saved user identity is emptied\n And they are sent back to the registration form to re-identify themselves\n\n @minutia\n Scenario: Logout link empties the saved User Identity\n Given a valid user identity\n And the user is viewing the \"logged-in\" template\n When they click the logout link\n Then the user identity is set to \"undefined\"\n And the user is returned to the \"logged-out\" template";
14141
14023
 
14142
14024
  const LogoutCurrentUser_stories = {
14143
14025
  title: "Components/Logout Current User",
14144
14026
  parameters: {
14145
- scenario: scenario$C,
14027
+ scenario: scenario$B,
14146
14028
  },
14147
14029
  };
14148
14030
  const defaultProps$f = {
@@ -14152,22 +14034,22 @@ const defaultProps$f = {
14152
14034
  loading: false,
14153
14035
  emailErrorText: "Error fetching email",
14154
14036
  };
14155
- const Default$g = () => {
14037
+ const Default$f = () => {
14156
14038
  return h(LogoutCurrentUserView, Object.assign({}, defaultProps$f));
14157
14039
  };
14158
14040
 
14159
14041
  const LogoutCurrentUser = /*#__PURE__*/Object.freeze({
14160
14042
  __proto__: null,
14161
14043
  'default': LogoutCurrentUser_stories,
14162
- Default: Default$g
14044
+ Default: Default$f
14163
14045
  });
14164
14046
 
14165
- const scenario$D = "@author:noah\n@owner:noah\n\nFeature: Link Button\n\n\t@ui\n\tScenario: Links can be opened in the same tab\n\t\tWhen a user clicks the button\n\t\tThen a link opens in the same tab\n\t\tAnd if the component is in an iFrame then the link is opened in the parent window not the iFrame\n\n\t@ui\n\tScenario: Links can be opened in a new tab\n\t\tWhen a user clicks the button\n\t\tThen a link opens in a new tab\n\t\tAnd if the component is in an iFrame then the link is still opened in a new tab\n\n\n\t@ui\n\tScenario: Props control the link and button text\n\t\tGiven the \"link\" prop is set to \"https://www.example.com\"\n\t\tAnd the \"buttonText\" prop is set to \"Click me!\"\n\t\tThen a button is shown with the text \"Click me!\"\n\t\tAnd when clicked the button opens https://www.example.com\n\n\t@ui\n\tScenario Outline: The button type can be set\n\t\tGiven the button type is set to <value>\n\t\tThen a <buttonType> is shown\n\t\tExamples:\n\t\t\t| value | buttonType |\n\t\t\t| <null> | primary |\n\t\t\t| default | default |\n\t\t\t| primary | primary |\n\t\t\t| success | success |\n\t\t\t| neutral | neutral |\n\t\t\t| warning | warning |\n\t\t\t| danger | danger |";
14047
+ const scenario$C = "@author:noah\n@owner:noah\n\nFeature: Link Button\n\n\t@ui\n\tScenario: Links can be opened in the same tab\n\t\tWhen a user clicks the button\n\t\tThen a link opens in the same tab\n\t\tAnd if the component is in an iFrame then the link is opened in the parent window not the iFrame\n\n\t@ui\n\tScenario: Links can be opened in a new tab\n\t\tWhen a user clicks the button\n\t\tThen a link opens in a new tab\n\t\tAnd if the component is in an iFrame then the link is still opened in a new tab\n\n\n\t@ui\n\tScenario: Props control the link and button text\n\t\tGiven the \"link\" prop is set to \"https://www.example.com\"\n\t\tAnd the \"buttonText\" prop is set to \"Click me!\"\n\t\tThen a button is shown with the text \"Click me!\"\n\t\tAnd when clicked the button opens https://www.example.com\n\n\t@ui\n\tScenario Outline: The button type can be set\n\t\tGiven the button type is set to <value>\n\t\tThen a <buttonType> is shown\n\t\tExamples:\n\t\t\t| value | buttonType |\n\t\t\t| <null> | primary |\n\t\t\t| default | default |\n\t\t\t| primary | primary |\n\t\t\t| success | success |\n\t\t\t| neutral | neutral |\n\t\t\t| warning | warning |\n\t\t\t| danger | danger |";
14166
14048
 
14167
14049
  const LinkButton_stories = {
14168
14050
  title: "Components/Link Button",
14169
14051
  parameters: {
14170
- scenario: scenario$D,
14052
+ scenario: scenario$C,
14171
14053
  },
14172
14054
  };
14173
14055
  const defaultProps$g = {
@@ -14175,7 +14057,7 @@ const defaultProps$g = {
14175
14057
  openInNewTab: false,
14176
14058
  buttonText: "Button Text",
14177
14059
  };
14178
- const Default$h = () => {
14060
+ const Default$g = () => {
14179
14061
  return h("sqm-link-button", Object.assign({}, defaultProps$g));
14180
14062
  };
14181
14063
  const OpenInNewTab = () => {
@@ -14185,7 +14067,7 @@ const OpenInNewTab = () => {
14185
14067
  const LinkButton = /*#__PURE__*/Object.freeze({
14186
14068
  __proto__: null,
14187
14069
  'default': LinkButton_stories,
14188
- Default: Default$h,
14070
+ Default: Default$g,
14189
14071
  OpenInNewTab: OpenInNewTab
14190
14072
  });
14191
14073
 
@@ -14203,7 +14085,7 @@ const containerStyles = {
14203
14085
  border: "1px solid black",
14204
14086
  padding: "25px",
14205
14087
  };
14206
- const Default$i = () => {
14088
+ const Default$h = () => {
14207
14089
  return h(CloseButtonView, Object.assign({}, defaultProps$h));
14208
14090
  };
14209
14091
  const InAContainer = () => {
@@ -14218,7 +14100,7 @@ const CustomColor$1 = () => {
14218
14100
  const CloseButton = /*#__PURE__*/Object.freeze({
14219
14101
  __proto__: null,
14220
14102
  'default': CloseButton_stories,
14221
- Default: Default$i,
14103
+ Default: Default$h,
14222
14104
  InAContainer: InAContainer,
14223
14105
  CustomColor: CustomColor$1
14224
14106
  });
@@ -14456,7 +14338,7 @@ const Loading$6 = () => {
14456
14338
  },
14457
14339
  } }));
14458
14340
  };
14459
- const Error$a = () => {
14341
+ const Error$9 = () => {
14460
14342
  return (h("sqm-payout-details-card", { demoData: {
14461
14343
  states: {
14462
14344
  error: true,
@@ -14497,7 +14379,7 @@ const PayoutDetailsCard = /*#__PURE__*/Object.freeze({
14497
14379
  __proto__: null,
14498
14380
  'default': PayoutDetailsCard_stories,
14499
14381
  Loading: Loading$6,
14500
- Error: Error$a,
14382
+ Error: Error$9,
14501
14383
  NextPayout: NextPayout,
14502
14384
  PayoutToday: PayoutToday,
14503
14385
  ThresholdPayout: ThresholdPayout,
@@ -15107,69 +14989,6 @@ const UseInvoiceTableCells = /*#__PURE__*/Object.freeze({
15107
14989
  InvoiceTableDemoHook: InvoiceTableDemoHook
15108
14990
  });
15109
14991
 
15110
- const scenario$E = "@author:sam\n@owner:sam\n\nFeature: Referral Codes Component\n\n A paginated display of available and used promo codes for the user to share with others\n\n @motivating\n Scenario: Promo code can be shared using various share mediums\n Given an authenticated user\n And the program has promo codes configured\n When the promo code section is loaded\n Then the promo code can be copied directly\n And the promo code can be shared using <shareMedium>\n Examples:\n | shareMedium |\n | DIRECT |\n | EMAIL |\n | FBMESSENGER |\n | WHATSAPP |\n\n @minutia\n Scenario: Clicking any of the share mediums sets the code as copied\n Given an authenticated user\n And the program has promo codes configured\n When the promo code section is loaded\n When clicking <shareMedium> button\n Then the code is marked as copied\n And the copied notification text is shown\n Examples:\n | shareMedium |\n | DIRECT |\n | EMAIL |\n | FBMESSENGER |\n | WHATSAPP |\n\n @minutia\n Scenario Outline: User is notified if the currently viewed promo code has been copied already\n Given an authenticated user\n And the program has promo codes configured\n When the promo code section is loaded\n And the code has not been copied already\n Then no notification text is displayed\n When the code is changed to one that has been copied\n Then the <notificationText> is displayed\n Examples:\n | notificationText |\n | You've copied this code before |\n | Previously Copied |\n | foo |\n\n @minutia\n Scenario Outline: Share buttons slots use the link from referral codes instead of the default query\n Given an authenticated user\n And the program has promo codes configured\n And a <shareMedium> button is a child of `<sqm-referral-codes>`\n Then the <shareMedium> button is shown\n And the link uses <promoCode>\n Examples:\n | propName | shareMedium | promoCode |\n | hideSharelink | DIRECT | PROMOCODE1 |\n | hideEmail | EMAIL | PROMOCODE1 |\n | hideFbMessenger | FBMESSENGER | PROMOCODE1 |\n | hideWhatsApp | WHATSAPP | PROMOCODE1 |\n\n @minutia\n Scenario Outline: Number of codes is displayed in the pagination component\n Given an authenticated user\n And the program has promo codes configured\n When the promo code section is loaded\n And the user has <numCodes> available\n And the user is on <currentPage>\n Then the pagination text is <paginationText>\n Examples:\n | numCodes | currentPage | paginationText |\n | 5 | 1 | 1 of 5 |\n | 5 | 2 | 2 of 5 |\n | 5 | 3 | 3 of 5 |\n | 5 | 4 | 4 of 5 |\n | 5 | 5 | 5 of 5 |\n | 1 | 1 | 1 of 1 |\n | 0 | 0 | 0 of 0 |\n\n @minutia\n Scenario: Loading state is shown when changing code page\n Given an authenticated user\n And the program has promo codes configured\n When the promo code section is loaded\n And the user has more than 1 available\n When the next button is clicked\n Then a loading state is shown\n\n\n";
15111
-
15112
- const ReferralCodes_stories = {
15113
- title: "Components/Referral Codes",
15114
- parameters: {
15115
- scenario: scenario$E,
15116
- },
15117
- };
15118
- const demoData = {
15119
- states: {
15120
- noCodes: false,
15121
- loading: false,
15122
- },
15123
- };
15124
- const pagination = (slot) => {
15125
- return h("sqm-pagination", { slot: slot });
15126
- };
15127
- const shareButtons = (slot) => {
15128
- return (h("sqm-portal-container", { gap: "small", slot: slot },
15129
- h("sqm-share-button", { medium: "email" }, "Share via email"),
15130
- h("sqm-share-button", { medium: "facebook" }, "Share on Facebook"),
15131
- h("sqm-share-button", { medium: "whatsapp" }, "Share on WhatsApp")));
15132
- };
15133
- const shareCodes = (slot) => {
15134
- return h("sqm-referral-code", { slot: slot });
15135
- };
15136
- const shareCodeWithPreviouslyCopied = (slot) => {
15137
- return (h("sqm-referral-code", { slot: slot, showNotificationText: true, notificationText: "You\u2019ve copied this before." }));
15138
- };
15139
- const ReferralCodes = () => {
15140
- return (h("sqm-referral-codes", null,
15141
- pagination("pagination"),
15142
- shareCodes("shareCodes"),
15143
- shareButtons("shareButtons")));
15144
- };
15145
- const WithPreviouslyCopiedCode = () => {
15146
- return (h("sqm-referral-codes", null,
15147
- pagination("pagination"),
15148
- shareCodeWithPreviouslyCopied("shareCodes"),
15149
- shareButtons("shareButtons")));
15150
- };
15151
- const Empty$3 = () => {
15152
- return (h("sqm-referral-codes", { demoData: { states: { ...demoData.states, noCodes: true } } },
15153
- pagination("pagination"),
15154
- shareCodes("shareCodes"),
15155
- shareButtons("shareButtons")));
15156
- };
15157
- const Loading$7 = () => {
15158
- return (h("sqm-referral-codes", { demoData: { states: { ...demoData.states, loading: true } } },
15159
- pagination("pagination"),
15160
- shareCodes("shareCodes"),
15161
- shareButtons("shareButtons")));
15162
- };
15163
-
15164
- const ReferralCodes$1 = /*#__PURE__*/Object.freeze({
15165
- __proto__: null,
15166
- 'default': ReferralCodes_stories,
15167
- ReferralCodes: ReferralCodes,
15168
- WithPreviouslyCopiedCode: WithPreviouslyCopiedCode,
15169
- Empty: Empty$3,
15170
- Loading: Loading$7
15171
- });
15172
-
15173
14992
  /**
15174
14993
  *
15175
14994
  * Themes
@@ -15182,7 +15001,7 @@ const ReferralCodes$1 = /*#__PURE__*/Object.freeze({
15182
15001
  *
15183
15002
  */
15184
15003
  //
15185
- const Default$j = `
15004
+ const Default$i = `
15186
15005
  // No CSS
15187
15006
  `;
15188
15007
  const Orangey = `
@@ -15216,7 +15035,7 @@ const Klip = `
15216
15035
 
15217
15036
  const Themes = /*#__PURE__*/Object.freeze({
15218
15037
  __proto__: null,
15219
- Default: Default$j,
15038
+ Default: Default$i,
15220
15039
  Orangey: Orangey,
15221
15040
  Netflix: Netflix,
15222
15041
  SaaSquatchCorporate: SaaSquatchCorporate,
@@ -17815,7 +17634,6 @@ const stories = [
17815
17634
  InvoiceTableCells,
17816
17635
  UseInvoiceTableCells,
17817
17636
  ShareButton,
17818
- Pagination,
17819
17637
  ShareLink,
17820
17638
  BigStat,
17821
17639
  Leaderboard,
@@ -17884,8 +17702,6 @@ const stories = [
17884
17702
  Tabs,
17885
17703
  ShareCode$1,
17886
17704
  CouponCode$1,
17887
- ReferralCode$1,
17888
- ReferralCodes$1,
17889
17705
  LogoutCurrentUser,
17890
17706
  LinkButton,
17891
17707
  EmailRegistration,