@saasquatch/mint-components 1.11.1-63 → 1.11.1-64

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 (427) hide show
  1. package/dist/cjs/{GenericTableView-80d7642e.js → GenericTableView-bb2fcd95.js} +2 -2
  2. package/dist/cjs/{ShadowViewAddon-c3e91cee.js → ShadowViewAddon-d714d857.js} +166 -224
  3. package/dist/cjs/copy-text-view-bb2d108f.js +229 -0
  4. package/dist/cjs/{email-registration-view-248652bb.js → email-registration-view-54cedb43.js} +2 -2
  5. package/dist/cjs/{global-02e50f09.js → global-e067aa06.js} +2 -2
  6. package/dist/cjs/{index-b0129cd6.js → index-ff72278c.js} +2 -0
  7. package/dist/cjs/{index.module-df530553.js → index.module-224d7b8d.js} +1 -1
  8. package/dist/cjs/loader.cjs.js +5 -5
  9. package/dist/cjs/{luxon-05098e19.js → luxon-45228ff5.js} +1 -1
  10. package/dist/cjs/mint-components.cjs.js +5 -5
  11. package/dist/cjs/{mockRewardData-4258e067.js → mockRewardData-d6be2267.js} +1 -1
  12. package/dist/cjs/raisins-plop-target.cjs.entry.js +1 -1
  13. package/dist/cjs/{re-render-1976e05e.js → re-render-cd2f8774.js} +2 -2
  14. package/dist/cjs/{sqm-asset-card-view-a0e33f21.js → sqm-asset-card-view-30ca5188.js} +1 -1
  15. package/dist/cjs/sqm-asset-card.cjs.entry.js +5 -5
  16. package/dist/cjs/sqm-banking-info-form_16.cjs.entry.js +12 -12
  17. package/dist/cjs/sqm-big-stat_38.cjs.entry.js +17 -16
  18. package/dist/cjs/{sqm-close-button-view-fd6e8f60.js → sqm-close-button-view-6a709e00.js} +2 -2
  19. package/dist/cjs/sqm-close-button.cjs.entry.js +5 -5
  20. package/dist/cjs/sqm-context-router.cjs.entry.js +3 -3
  21. package/dist/cjs/sqm-empty_4.cjs.entry.js +11 -7
  22. package/dist/cjs/sqm-form-message.cjs.entry.js +2 -2
  23. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +3 -3
  24. package/dist/cjs/sqm-header-logo.cjs.entry.js +2 -2
  25. package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +7 -7
  26. package/dist/cjs/{sqm-invoice-table-view-e3b03a00.js → sqm-invoice-table-view-2f4f426b.js} +2 -2
  27. package/dist/cjs/{sqm-leaderboard-rank-view-5a3d4a88.js → sqm-leaderboard-rank-view-317eb84f.js} +1 -1
  28. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +5 -5
  29. package/dist/cjs/{sqm-logout-current-user-view-c9f18d96.js → sqm-logout-current-user-view-1912b773.js} +1 -1
  30. package/dist/cjs/sqm-logout-current-user.cjs.entry.js +6 -6
  31. package/dist/cjs/{sqm-navigation-sidebar-item-view-a125ec5f.js → sqm-navigation-sidebar-item-view-010a81c7.js} +3 -3
  32. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +6 -6
  33. package/dist/cjs/{sqm-navigation-sidebar-view-921704fb.js → sqm-navigation-sidebar-view-215eba1d.js} +1 -1
  34. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +4 -4
  35. package/dist/cjs/sqm-pagination_3.cjs.entry.js +391 -0
  36. package/dist/cjs/sqm-password-field.cjs.entry.js +6 -6
  37. package/dist/cjs/sqm-popup-container.cjs.entry.js +3 -3
  38. package/dist/cjs/{sqm-portal-container-view-990a85a3.js → sqm-portal-container-view-976bf0f5.js} +1 -1
  39. package/dist/cjs/{sqm-portal-email-verification-view-292b5bf4.js → sqm-portal-email-verification-view-f8980d11.js} +4 -4
  40. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +7 -7
  41. package/dist/cjs/{sqm-portal-forgot-password-view-969c49ed.js → sqm-portal-forgot-password-view-24339191.js} +3 -3
  42. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +6 -6
  43. package/dist/cjs/sqm-portal-logout.cjs.entry.js +3 -3
  44. package/dist/cjs/{sqm-portal-profile-view-fde54e35.js → sqm-portal-profile-view-7c70d7f9.js} +3 -3
  45. package/dist/cjs/sqm-portal-profile.cjs.entry.js +9 -9
  46. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +3 -3
  47. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +6 -6
  48. package/dist/cjs/{sqm-portal-reset-password-view-96f329ed.js → sqm-portal-reset-password-view-1b85b8cf.js} +3 -3
  49. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +7 -7
  50. package/dist/cjs/{sqm-portal-verify-email-view-7ffcc0d4.js → sqm-portal-verify-email-view-cc3c87c3.js} +3 -3
  51. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +7 -7
  52. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +13 -13
  53. package/dist/cjs/sqm-referred-registration.cjs.entry.js +7 -7
  54. package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +3 -3
  55. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +4 -4
  56. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +12 -12
  57. package/dist/cjs/sqm-route.cjs.entry.js +1 -1
  58. package/dist/cjs/sqm-stencilbook.cjs.entry.js +296 -99
  59. package/dist/cjs/sqm-tab.cjs.entry.js +4 -4
  60. package/dist/cjs/sqm-tabs.cjs.entry.js +5 -5
  61. package/dist/cjs/{sqm-text-span-view-e1cd9bd3.js → sqm-text-span-view-38222836.js} +1 -1
  62. package/dist/cjs/sqm-text-span.cjs.entry.js +3 -3
  63. package/dist/cjs/{stencil-hooks.module-72742a0b.js → stencil-hooks.module-8f69ed33.js} +1 -1
  64. package/dist/cjs/{useChildElements-e0d44916.js → useChildElements-176ac928.js} +2 -2
  65. package/dist/cjs/{useInstantAccessRegistration-bbe746d1.js → useInstantAccessRegistration-151a3f4a.js} +3 -3
  66. package/dist/cjs/{useReferralTable-a76adb0d.js → useReferralTable-c91d9310.js} +5 -5
  67. package/dist/cjs/{useRegistrationFormState-876ed65d.js → useRegistrationFormState-49dd9295.js} +2 -2
  68. package/dist/cjs/{utilities-cec9dd36.js → utilities-719c980a.js} +2 -2
  69. package/dist/collection/collection-manifest.json +10 -0
  70. package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +1 -1
  71. package/dist/collection/components/sqm-empty/sqm-empty.js +10 -2
  72. package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user.js +1 -1
  73. package/dist/collection/components/sqm-pagination/Pagination.stories.js +12 -0
  74. package/dist/collection/components/sqm-pagination/sqm-pagination-view.js +30 -0
  75. package/dist/collection/components/sqm-pagination/sqm-pagination.js +108 -0
  76. package/dist/collection/components/sqm-pagination/usePagination.js +29 -0
  77. package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +0 -4
  78. package/dist/collection/components/sqm-referral-card/ReferralCard.stories.js +20 -0
  79. package/dist/collection/components/sqm-referral-code/ReferralCode.stories.js +60 -0
  80. package/dist/collection/components/sqm-referral-code/sqm-referral-code.js +317 -0
  81. package/dist/collection/components/sqm-referral-code/useReferralCode.js +62 -0
  82. package/dist/collection/components/sqm-referral-codes/ReferralCodes.stories.js +65 -0
  83. package/dist/collection/components/sqm-referral-codes/sqm-referral-codes-view.js +69 -0
  84. package/dist/collection/components/sqm-referral-codes/sqm-referral-codes.js +227 -0
  85. package/dist/collection/components/sqm-referral-codes/useReferralCodes.js +129 -0
  86. package/dist/collection/components/sqm-share-button/useShareButton.js +29 -18
  87. package/dist/collection/components/sqm-share-code/sqm-share-code.js +1 -1
  88. package/dist/collection/components/sqm-share-link/sqm-share-link.js +1 -1
  89. package/dist/collection/components/sqm-share-link/useShareLink.js +11 -4
  90. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +6 -0
  91. package/dist/collection/components/views/copy-text-view.js +18 -3
  92. package/dist/collection/stories/Widget.stories.js +5 -0
  93. package/dist/esm/{GenericTableView-d59d8ab4.js → GenericTableView-706f5b56.js} +2 -2
  94. package/dist/esm/{ShadowViewAddon-e012b2aa.js → ShadowViewAddon-bc74643a.js} +165 -222
  95. package/dist/esm/copy-text-view-32aad903.js +223 -0
  96. package/dist/esm/{email-registration-view-a89a88bf.js → email-registration-view-5ecee6f8.js} +2 -2
  97. package/dist/esm/{global-04c7d3b5.js → global-701bd5b0.js} +2 -2
  98. package/dist/esm/{index-17b4da69.js → index-014ddfa3.js} +2 -1
  99. package/dist/esm/{index.module-def4aec5.js → index.module-5eb0926c.js} +2 -2
  100. package/dist/esm/loader.js +5 -5
  101. package/dist/esm/{luxon-7600be8d.js → luxon-12195d94.js} +1 -1
  102. package/dist/esm/mint-components.js +5 -5
  103. package/dist/esm/{mockRewardData-0eb6e778.js → mockRewardData-133c20ca.js} +1 -1
  104. package/dist/esm/raisins-plop-target.entry.js +1 -1
  105. package/dist/esm/{re-render-12fd274a.js → re-render-b31d83d7.js} +2 -2
  106. package/dist/esm/{sqm-asset-card-view-9d93fbdd.js → sqm-asset-card-view-da88351a.js} +1 -1
  107. package/dist/esm/sqm-asset-card.entry.js +5 -5
  108. package/dist/esm/sqm-banking-info-form_16.entry.js +12 -12
  109. package/dist/esm/sqm-big-stat_38.entry.js +15 -14
  110. package/dist/esm/{sqm-close-button-view-dc65b4e3.js → sqm-close-button-view-8058642b.js} +2 -2
  111. package/dist/esm/sqm-close-button.entry.js +5 -5
  112. package/dist/esm/sqm-context-router.entry.js +3 -3
  113. package/dist/esm/sqm-empty_4.entry.js +11 -7
  114. package/dist/esm/sqm-form-message.entry.js +2 -2
  115. package/dist/esm/sqm-graphql-client-provider.entry.js +3 -3
  116. package/dist/esm/sqm-header-logo.entry.js +2 -2
  117. package/dist/esm/sqm-instant-access-registration.entry.js +7 -7
  118. package/dist/esm/{sqm-invoice-table-view-6e13a323.js → sqm-invoice-table-view-7d1aa71f.js} +2 -2
  119. package/dist/esm/{sqm-leaderboard-rank-view-10657658.js → sqm-leaderboard-rank-view-773a586f.js} +1 -1
  120. package/dist/esm/sqm-leaderboard-rank.entry.js +5 -5
  121. package/dist/esm/{sqm-logout-current-user-view-2c6122cd.js → sqm-logout-current-user-view-dfcd508a.js} +1 -1
  122. package/dist/esm/sqm-logout-current-user.entry.js +6 -6
  123. package/dist/esm/{sqm-navigation-sidebar-item-view-60ef06cc.js → sqm-navigation-sidebar-item-view-9fa7f5ea.js} +3 -3
  124. package/dist/esm/sqm-navigation-sidebar-item.entry.js +6 -6
  125. package/dist/esm/{sqm-navigation-sidebar-view-0312e073.js → sqm-navigation-sidebar-view-5f332ea1.js} +1 -1
  126. package/dist/esm/sqm-navigation-sidebar.entry.js +4 -4
  127. package/dist/esm/sqm-pagination_3.entry.js +385 -0
  128. package/dist/esm/sqm-password-field.entry.js +6 -6
  129. package/dist/esm/sqm-popup-container.entry.js +3 -3
  130. package/dist/esm/{sqm-portal-container-view-6c582684.js → sqm-portal-container-view-83df005d.js} +1 -1
  131. package/dist/esm/{sqm-portal-email-verification-view-4307c992.js → sqm-portal-email-verification-view-332e1339.js} +4 -4
  132. package/dist/esm/sqm-portal-email-verification.entry.js +7 -7
  133. package/dist/esm/{sqm-portal-forgot-password-view-c2ed8fed.js → sqm-portal-forgot-password-view-8629f753.js} +3 -3
  134. package/dist/esm/sqm-portal-forgot-password.entry.js +6 -6
  135. package/dist/esm/sqm-portal-logout.entry.js +3 -3
  136. package/dist/esm/{sqm-portal-profile-view-ffe955c8.js → sqm-portal-profile-view-847526a2.js} +3 -3
  137. package/dist/esm/sqm-portal-profile.entry.js +9 -9
  138. package/dist/esm/sqm-portal-protected-route.entry.js +3 -3
  139. package/dist/esm/sqm-portal-registration-form.entry.js +6 -6
  140. package/dist/esm/{sqm-portal-reset-password-view-79a85e02.js → sqm-portal-reset-password-view-865655da.js} +3 -3
  141. package/dist/esm/sqm-portal-reset-password.entry.js +7 -7
  142. package/dist/esm/{sqm-portal-verify-email-view-d7ea2c56.js → sqm-portal-verify-email-view-6c60df25.js} +3 -3
  143. package/dist/esm/sqm-portal-verify-email.entry.js +7 -7
  144. package/dist/esm/sqm-referral-table_11.entry.js +13 -13
  145. package/dist/esm/sqm-referred-registration.entry.js +7 -7
  146. package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +3 -3
  147. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +4 -4
  148. package/dist/esm/sqm-rewards-table_9.entry.js +12 -12
  149. package/dist/esm/sqm-route.entry.js +1 -1
  150. package/dist/esm/sqm-stencilbook.entry.js +283 -86
  151. package/dist/esm/sqm-tab.entry.js +4 -4
  152. package/dist/esm/sqm-tabs.entry.js +5 -5
  153. package/dist/esm/{sqm-text-span-view-8d140661.js → sqm-text-span-view-d6e03f93.js} +1 -1
  154. package/dist/esm/sqm-text-span.entry.js +3 -3
  155. package/dist/esm/{stencil-hooks.module-ac12ca1c.js → stencil-hooks.module-576d7f01.js} +1 -1
  156. package/dist/esm/{useChildElements-32e1bda1.js → useChildElements-ebcfbc19.js} +2 -2
  157. package/dist/esm/{useInstantAccessRegistration-46b89952.js → useInstantAccessRegistration-7b2ea2bd.js} +3 -3
  158. package/dist/esm/{useReferralTable-f4de0650.js → useReferralTable-df227f15.js} +5 -5
  159. package/dist/esm/{useRegistrationFormState-9fc1ac80.js → useRegistrationFormState-faea9402.js} +2 -2
  160. package/dist/esm/{utilities-3f5bba22.js → utilities-292b61b9.js} +2 -2
  161. package/dist/esm-es5/{GenericTableView-d59d8ab4.js → GenericTableView-706f5b56.js} +1 -1
  162. package/dist/esm-es5/ShadowViewAddon-bc74643a.js +1 -0
  163. package/dist/esm-es5/copy-text-view-32aad903.js +1 -0
  164. package/dist/esm-es5/{email-registration-view-a89a88bf.js → email-registration-view-5ecee6f8.js} +1 -1
  165. package/dist/esm-es5/{global-04c7d3b5.js → global-701bd5b0.js} +1 -1
  166. package/dist/esm-es5/{index-17b4da69.js → index-014ddfa3.js} +1 -1
  167. package/dist/esm-es5/{index.module-def4aec5.js → index.module-5eb0926c.js} +1 -1
  168. package/dist/esm-es5/loader.js +1 -1
  169. package/dist/esm-es5/{luxon-7600be8d.js → luxon-12195d94.js} +1 -1
  170. package/dist/esm-es5/mint-components.js +1 -1
  171. package/dist/esm-es5/{mockRewardData-0eb6e778.js → mockRewardData-133c20ca.js} +1 -1
  172. package/dist/esm-es5/raisins-plop-target.entry.js +1 -1
  173. package/dist/esm-es5/{re-render-12fd274a.js → re-render-b31d83d7.js} +1 -1
  174. package/dist/esm-es5/{sqm-asset-card-view-9d93fbdd.js → sqm-asset-card-view-da88351a.js} +1 -1
  175. package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
  176. package/dist/esm-es5/sqm-banking-info-form_16.entry.js +1 -1
  177. package/dist/esm-es5/sqm-big-stat_38.entry.js +1 -1
  178. package/dist/esm-es5/{sqm-close-button-view-dc65b4e3.js → sqm-close-button-view-8058642b.js} +1 -1
  179. package/dist/esm-es5/sqm-close-button.entry.js +1 -1
  180. package/dist/esm-es5/sqm-context-router.entry.js +1 -1
  181. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  182. package/dist/esm-es5/sqm-form-message.entry.js +1 -1
  183. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  184. package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
  185. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  186. package/dist/esm-es5/{sqm-invoice-table-view-6e13a323.js → sqm-invoice-table-view-7d1aa71f.js} +1 -1
  187. package/dist/esm-es5/sqm-leaderboard-rank-view-773a586f.js +1 -0
  188. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  189. package/dist/esm-es5/{sqm-logout-current-user-view-2c6122cd.js → sqm-logout-current-user-view-dfcd508a.js} +1 -1
  190. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  191. package/dist/esm-es5/sqm-navigation-sidebar-item-view-9fa7f5ea.js +1 -0
  192. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  193. package/dist/esm-es5/{sqm-navigation-sidebar-view-0312e073.js → sqm-navigation-sidebar-view-5f332ea1.js} +1 -1
  194. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  195. package/dist/esm-es5/sqm-pagination_3.entry.js +1 -0
  196. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  197. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  198. package/dist/esm-es5/{sqm-portal-container-view-6c582684.js → sqm-portal-container-view-83df005d.js} +1 -1
  199. package/dist/esm-es5/{sqm-portal-email-verification-view-4307c992.js → sqm-portal-email-verification-view-332e1339.js} +1 -1
  200. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  201. package/dist/esm-es5/{sqm-portal-forgot-password-view-c2ed8fed.js → sqm-portal-forgot-password-view-8629f753.js} +1 -1
  202. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  203. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  204. package/dist/esm-es5/{sqm-portal-profile-view-ffe955c8.js → sqm-portal-profile-view-847526a2.js} +1 -1
  205. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  206. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  207. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  208. package/dist/esm-es5/{sqm-portal-reset-password-view-79a85e02.js → sqm-portal-reset-password-view-865655da.js} +1 -1
  209. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  210. package/dist/esm-es5/{sqm-portal-verify-email-view-d7ea2c56.js → sqm-portal-verify-email-view-6c60df25.js} +1 -1
  211. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  212. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  213. package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
  214. package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  215. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  216. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  217. package/dist/esm-es5/sqm-route.entry.js +1 -1
  218. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  219. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  220. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  221. package/dist/esm-es5/{sqm-text-span-view-8d140661.js → sqm-text-span-view-d6e03f93.js} +1 -1
  222. package/dist/esm-es5/sqm-text-span.entry.js +1 -1
  223. package/dist/esm-es5/{stencil-hooks.module-ac12ca1c.js → stencil-hooks.module-576d7f01.js} +1 -1
  224. package/dist/esm-es5/useChildElements-ebcfbc19.js +1 -0
  225. package/dist/esm-es5/useInstantAccessRegistration-7b2ea2bd.js +1 -0
  226. package/dist/esm-es5/{useReferralTable-f4de0650.js → useReferralTable-df227f15.js} +1 -1
  227. package/dist/esm-es5/useRegistrationFormState-faea9402.js +1 -0
  228. package/dist/esm-es5/{utilities-3f5bba22.js → utilities-292b61b9.js} +1 -1
  229. package/dist/mint-components/mint-components.esm.js +1 -1
  230. package/dist/mint-components/mint-components.js +1 -1
  231. package/dist/mint-components/{p-fd2c5407.js → p-019506c4.js} +1 -1
  232. package/dist/mint-components/p-03e2a88c.js +1 -0
  233. package/dist/mint-components/p-062051ad.entry.js +1 -0
  234. package/dist/mint-components/{p-c5577dd7.system.js → p-06b8a582.system.js} +1 -1
  235. package/dist/mint-components/p-099b57de.system.js +1 -0
  236. package/dist/mint-components/p-0a26adee.js +1 -0
  237. package/dist/mint-components/{p-a51533cb.system.js → p-0dc18b5c.system.js} +1 -1
  238. package/dist/mint-components/p-0ebd104c.js +1 -0
  239. package/dist/mint-components/p-119e24fd.system.entry.js +1 -0
  240. package/dist/mint-components/{p-41a11a7f.js → p-134424df.js} +1 -1
  241. package/dist/mint-components/p-146c2a0e.js +1 -0
  242. package/dist/mint-components/p-16b9efe1.system.js +1 -0
  243. package/dist/mint-components/{p-2ee2ebba.js → p-195e306e.js} +1 -1
  244. package/dist/mint-components/{p-251e7567.js → p-1a4e5a3a.js} +1 -1
  245. package/dist/mint-components/p-1a5f4a13.system.entry.js +1 -0
  246. package/dist/mint-components/{p-56f14840.entry.js → p-1c45b7d0.entry.js} +1 -1
  247. package/dist/mint-components/{p-7d5e0645.system.js → p-1e03d640.system.js} +1 -1
  248. package/dist/mint-components/{p-b370fca8.system.js → p-1e68fa26.system.js} +1 -1
  249. package/dist/mint-components/p-20c6c73e.entry.js +1 -0
  250. package/dist/mint-components/{p-ff17b3a4.system.js → p-21d94eab.system.js} +1 -1
  251. package/dist/mint-components/p-2474c5c6.entry.js +1 -0
  252. package/dist/mint-components/p-2478ab2e.js +1 -0
  253. package/dist/mint-components/{p-ce621bcc.js → p-249798d3.js} +1 -1
  254. package/dist/mint-components/p-25ebf256.system.js +1 -0
  255. package/dist/mint-components/{p-a9050eb0.entry.js → p-26383fdd.entry.js} +1 -1
  256. package/dist/mint-components/{p-c1a47137.system.entry.js → p-29952a5b.system.entry.js} +1 -1
  257. package/dist/mint-components/{p-4f775e84.system.js → p-2be11651.system.js} +1 -1
  258. package/dist/mint-components/{p-674a64fe.system.js → p-2cb2401d.system.js} +1 -1
  259. package/dist/mint-components/{p-b4c52c5a.entry.js → p-2d688fe9.entry.js} +2 -2
  260. package/dist/mint-components/{p-22bb14d0.system.entry.js → p-34a6dea7.system.entry.js} +1 -1
  261. package/dist/mint-components/{p-86990110.entry.js → p-391b6274.entry.js} +1 -1
  262. package/dist/mint-components/{p-be4b748a.system.entry.js → p-3973cf23.system.entry.js} +1 -1
  263. package/dist/mint-components/{p-3ed71bef.system.js → p-3c6bc373.system.js} +1 -1
  264. package/dist/mint-components/p-3ee0a8af.entry.js +1 -0
  265. package/dist/mint-components/p-3f03a247.entry.js +13 -0
  266. package/dist/mint-components/{p-fb93c962.js → p-42390bcc.js} +1 -1
  267. package/dist/mint-components/{p-e546347e.system.js → p-4531488f.system.js} +1 -1
  268. package/dist/mint-components/{p-2a414b2e.system.js → p-45d71b2a.system.js} +1 -1
  269. package/dist/mint-components/{p-4edde470.entry.js → p-45f46e4c.entry.js} +1 -1
  270. package/dist/mint-components/{p-4ea58025.system.entry.js → p-48a72a05.system.entry.js} +1 -1
  271. package/dist/mint-components/{p-e5a0c50e.entry.js → p-4be053fb.entry.js} +2 -2
  272. package/dist/mint-components/{p-b6fc1227.system.entry.js → p-4c1b1914.system.entry.js} +1 -1
  273. package/dist/mint-components/{p-eba44835.system.entry.js → p-4ef2f4f6.system.entry.js} +1 -1
  274. package/dist/mint-components/{p-ec41d6a4.entry.js → p-5073b8c9.entry.js} +6 -6
  275. package/dist/mint-components/{p-bb00db59.js → p-517bcc71.js} +1 -1
  276. package/dist/mint-components/{p-a7c2ced2.system.entry.js → p-51dba12d.system.entry.js} +1 -1
  277. package/dist/mint-components/p-53e25b79.entry.js +1 -0
  278. package/dist/mint-components/{p-ce5afa40.entry.js → p-549139be.entry.js} +1 -1
  279. package/dist/mint-components/p-57f92fe0.entry.js +1 -0
  280. package/dist/mint-components/{p-afd366ae.system.entry.js → p-5922cd9e.system.entry.js} +1 -1
  281. package/dist/mint-components/{p-1b9e6fc6.js → p-59e310c8.js} +1 -1
  282. package/dist/mint-components/{p-92110eef.entry.js → p-5c70bc39.entry.js} +1 -1
  283. package/dist/mint-components/p-5dcd7fc9.system.entry.js +1 -0
  284. package/dist/mint-components/p-5fe660bb.system.entry.js +1 -0
  285. package/dist/mint-components/{p-64c3217a.js → p-61d5f26e.js} +1 -1
  286. package/dist/mint-components/p-61e74000.system.entry.js +1 -0
  287. package/dist/mint-components/{p-28ece826.entry.js → p-62cdc746.entry.js} +1 -1
  288. package/dist/mint-components/{p-4d233cd4.js → p-65535cf7.js} +1 -1
  289. package/dist/mint-components/{p-509e29e6.js → p-6568392b.js} +1 -1
  290. package/dist/mint-components/p-66aca488.entry.js +1 -0
  291. package/dist/mint-components/{p-8704937c.js → p-66c7b15c.js} +1 -1
  292. package/dist/mint-components/{p-4df8f1d2.system.js → p-66d9a540.system.js} +1 -1
  293. package/dist/mint-components/{p-79da7f18.js → p-6d164a9e.js} +1 -1
  294. package/dist/mint-components/{p-1c857edb.entry.js → p-6dab9a17.entry.js} +2 -2
  295. package/dist/mint-components/p-6dec87e3.js +52 -0
  296. package/dist/mint-components/{p-3d4656bb.system.js → p-71e0ca2b.system.js} +1 -1
  297. package/dist/mint-components/{p-3036cf58.system.js → p-752650b9.system.js} +1 -1
  298. package/dist/mint-components/{p-32d1d162.entry.js → p-752fd47b.entry.js} +1 -1
  299. package/dist/mint-components/{p-0d8c53ac.system.js → p-778b3774.system.js} +1 -1
  300. package/dist/mint-components/{p-f3053c61.js → p-7ae55645.js} +1 -1
  301. package/dist/mint-components/{p-3f385f47.entry.js → p-7d7084f0.entry.js} +9 -9
  302. package/dist/mint-components/p-7f43c280.system.entry.js +1 -0
  303. package/dist/mint-components/{p-370a1a73.system.js → p-81ed0e97.system.js} +1 -1
  304. package/dist/mint-components/{p-6b5e355c.system.js → p-842cbd05.system.js} +1 -1
  305. package/dist/mint-components/{p-e3735866.entry.js → p-87113437.entry.js} +2 -2
  306. package/dist/mint-components/p-8925f3c5.entry.js +1 -0
  307. package/dist/mint-components/{p-02424350.system.js → p-8b9408e5.system.js} +1 -1
  308. package/dist/mint-components/{p-a8f7cb95.js → p-8c765c81.js} +1 -1
  309. package/dist/mint-components/p-9041bce0.entry.js +13 -0
  310. package/dist/mint-components/{p-a1dba9a1.system.entry.js → p-9a1a4d71.system.entry.js} +1 -1
  311. package/dist/mint-components/p-9ed09b3a.system.js +1 -0
  312. package/dist/mint-components/p-9ee50200.entry.js +1 -0
  313. package/dist/mint-components/{p-6afb4f48.system.entry.js → p-9f9f851d.system.entry.js} +1 -1
  314. package/dist/mint-components/{p-4e48267b.system.js → p-9fc73ff8.system.js} +1 -1
  315. package/dist/mint-components/p-a13c83c5.entry.js +1 -0
  316. package/dist/mint-components/{p-e8dde8f4.system.js → p-a2aed0da.system.js} +1 -1
  317. package/dist/mint-components/{p-178d2d2e.entry.js → p-a3fdbfed.entry.js} +1 -1
  318. package/dist/mint-components/{p-fbdf0738.entry.js → p-a4c1b404.entry.js} +1 -1
  319. package/dist/mint-components/{p-c5d2e4ba.js → p-a9ff5495.js} +1 -1
  320. package/dist/mint-components/{p-9c310991.system.entry.js → p-af4cce6a.system.entry.js} +1 -1
  321. package/dist/mint-components/p-b08e9577.entry.js +1 -0
  322. package/dist/mint-components/{p-ce9e7c98.system.js → p-b210bcc2.system.js} +1 -1
  323. package/dist/mint-components/p-b3aaeb2f.system.entry.js +1 -0
  324. package/dist/mint-components/p-b3d193e3.system.entry.js +1 -0
  325. package/dist/mint-components/{p-770368bc.system.js → p-b3f02315.system.js} +1 -1
  326. package/dist/mint-components/{p-4502ed11.system.entry.js → p-b4448aec.system.entry.js} +1 -1
  327. package/dist/mint-components/{p-c8610d0c.js → p-b7705066.js} +1 -1
  328. package/dist/mint-components/{p-44787d6e.system.js → p-b8230f83.system.js} +1 -1
  329. package/dist/mint-components/p-bab29c11.entry.js +9 -0
  330. package/dist/mint-components/p-bd1975cb.system.entry.js +1 -0
  331. package/dist/mint-components/p-bd5cb4f3.system.js +1 -0
  332. package/dist/mint-components/{p-35d84041.system.entry.js → p-c134af86.system.entry.js} +1 -1
  333. package/dist/mint-components/{p-f0806232.system.entry.js → p-c2281e04.system.entry.js} +1 -1
  334. package/dist/mint-components/{p-5b333fa8.system.entry.js → p-c3188365.system.entry.js} +1 -1
  335. package/dist/mint-components/{p-8679ed9f.system.entry.js → p-c3b8765c.system.entry.js} +1 -1
  336. package/dist/mint-components/{p-10685090.js → p-c65f5d44.js} +23 -23
  337. package/dist/mint-components/{p-733825fa.system.entry.js → p-ca182259.system.entry.js} +1 -1
  338. package/dist/mint-components/{p-2dd67762.entry.js → p-cc1ffc0c.entry.js} +1 -1
  339. package/dist/mint-components/{p-e3e16c36.js → p-d25af377.js} +1 -1
  340. package/dist/mint-components/{p-c84659a3.system.js → p-d2abffc0.system.js} +1 -1
  341. package/dist/mint-components/p-d8d97ff5.js +1 -0
  342. package/dist/mint-components/{p-ac1bf045.js → p-e039ce2f.js} +1 -1
  343. package/dist/mint-components/{p-cf690d55.system.entry.js → p-e1e700b8.system.entry.js} +1 -1
  344. package/dist/mint-components/{p-fb20eb5e.system.entry.js → p-e3411b86.system.entry.js} +1 -1
  345. package/dist/mint-components/{p-88aac6a9.system.entry.js → p-e401cb44.system.entry.js} +1 -1
  346. package/dist/mint-components/{p-ed6ebd60.system.js → p-e479d77e.system.js} +1 -1
  347. package/dist/mint-components/{p-88a2e66e.system.entry.js → p-e53e95ce.system.entry.js} +1 -1
  348. package/dist/mint-components/{p-7f088154.entry.js → p-e909906f.entry.js} +1 -1
  349. package/dist/mint-components/{p-6cef104b.entry.js → p-e92f0fbb.entry.js} +1 -1
  350. package/dist/mint-components/{p-5d0c9424.js → p-ee343d0b.js} +1 -1
  351. package/dist/mint-components/{p-ed095674.system.js → p-ee474d4c.system.js} +1 -1
  352. package/dist/mint-components/{p-7731f793.system.entry.js → p-f246f7dd.system.entry.js} +1 -1
  353. package/dist/mint-components/{p-c7fd9e16.js → p-f29e62e1.js} +1 -1
  354. package/dist/mint-components/{p-5cac90e8.system.entry.js → p-f5c3a8cf.system.entry.js} +1 -1
  355. package/dist/mint-components/{p-b5861974.system.entry.js → p-f6712472.system.entry.js} +1 -1
  356. package/dist/mint-components/{p-59fe4ad1.system.js → p-f6c279d8.system.js} +1 -1
  357. package/dist/mint-components/{p-b3b5b4b7.system.entry.js → p-f9564398.system.entry.js} +1 -1
  358. package/dist/mint-components/{p-1dd69917.system.entry.js → p-f9680769.system.entry.js} +1 -1
  359. package/dist/mint-components/{p-3223ba7b.entry.js → p-f9b9be03.entry.js} +1 -1
  360. package/dist/mint-components/{p-eaada4da.js → p-fd04355d.js} +1 -1
  361. package/dist/mint-components/p-feace4a6.entry.js +1 -0
  362. package/dist/mint-components/{p-af062c8f.system.entry.js → p-fef83f2a.system.entry.js} +1 -1
  363. package/dist/mint-components/{p-aad11a68.entry.js → p-ffdb1310.entry.js} +1 -1
  364. package/dist/types/components/sqm-empty/sqm-empty.d.ts +1 -1
  365. package/dist/types/components/sqm-pagination/Pagination.stories.d.ts +5 -0
  366. package/dist/types/components/sqm-pagination/sqm-pagination-view.d.ts +15 -0
  367. package/dist/types/components/sqm-pagination/sqm-pagination.d.ts +22 -0
  368. package/dist/types/components/sqm-pagination/usePagination.d.ts +15 -0
  369. package/dist/types/components/sqm-portal-container/sqm-portal-container.d.ts +0 -1
  370. package/dist/types/components/sqm-referral-card/ReferralCard.stories.d.ts +1 -0
  371. package/dist/types/components/sqm-referral-code/ReferralCode.stories.d.ts +18 -0
  372. package/dist/types/components/sqm-referral-code/sqm-referral-code.d.ts +70 -0
  373. package/dist/types/components/sqm-referral-code/useReferralCode.d.ts +9 -0
  374. package/dist/types/components/sqm-referral-codes/ReferralCodes.stories.d.ts +12 -0
  375. package/dist/types/components/sqm-referral-codes/sqm-referral-codes-view.d.ts +16 -0
  376. package/dist/types/components/sqm-referral-codes/sqm-referral-codes.d.ts +41 -0
  377. package/dist/types/components/sqm-referral-codes/useReferralCodes.d.ts +51 -0
  378. package/dist/types/components/sqm-share-link/useShareLink.d.ts +1 -0
  379. package/dist/types/components/views/copy-text-view.d.ts +3 -0
  380. package/dist/types/components.d.ts +217 -3
  381. package/dist/types/stories/Widget.stories.d.ts +6 -0
  382. package/docs/docs.docx +0 -0
  383. package/docs/raisins.json +1 -1
  384. package/grapesjs/grapesjs.js +1 -1
  385. package/package.json +1 -1
  386. package/dist/esm-es5/ShadowViewAddon-e012b2aa.js +0 -1
  387. package/dist/esm-es5/sqm-leaderboard-rank-view-10657658.js +0 -1
  388. package/dist/esm-es5/sqm-navigation-sidebar-item-view-60ef06cc.js +0 -1
  389. package/dist/esm-es5/useChildElements-32e1bda1.js +0 -1
  390. package/dist/esm-es5/useInstantAccessRegistration-46b89952.js +0 -1
  391. package/dist/esm-es5/useRegistrationFormState-9fc1ac80.js +0 -1
  392. package/dist/mint-components/p-021a735d.entry.js +0 -1
  393. package/dist/mint-components/p-03494732.entry.js +0 -1
  394. package/dist/mint-components/p-07f675ab.system.entry.js +0 -1
  395. package/dist/mint-components/p-0a898ab1.js +0 -1
  396. package/dist/mint-components/p-0b9fa97f.js +0 -1
  397. package/dist/mint-components/p-10e89d0a.entry.js +0 -1
  398. package/dist/mint-components/p-137ea86e.entry.js +0 -1
  399. package/dist/mint-components/p-3ec16698.entry.js +0 -13
  400. package/dist/mint-components/p-51f517a2.js +0 -1
  401. package/dist/mint-components/p-58ef25d3.system.entry.js +0 -1
  402. package/dist/mint-components/p-5be235f9.entry.js +0 -1
  403. package/dist/mint-components/p-5f1c4160.system.entry.js +0 -1
  404. package/dist/mint-components/p-61eab172.js +0 -1
  405. package/dist/mint-components/p-639d3dd3.entry.js +0 -1
  406. package/dist/mint-components/p-711ba77e.system.entry.js +0 -1
  407. package/dist/mint-components/p-76b2506e.system.entry.js +0 -1
  408. package/dist/mint-components/p-79191f88.entry.js +0 -1
  409. package/dist/mint-components/p-8b5b78ca.entry.js +0 -1
  410. package/dist/mint-components/p-8e907ac7.system.entry.js +0 -1
  411. package/dist/mint-components/p-91669312.entry.js +0 -1
  412. package/dist/mint-components/p-95771f79.system.js +0 -1
  413. package/dist/mint-components/p-9dcfa187.system.js +0 -1
  414. package/dist/mint-components/p-9df2fe24.entry.js +0 -9
  415. package/dist/mint-components/p-9f0629ba.system.entry.js +0 -1
  416. package/dist/mint-components/p-a6a7dcaa.js +0 -1
  417. package/dist/mint-components/p-c8878e79.entry.js +0 -1
  418. package/dist/mint-components/p-d495896f.system.entry.js +0 -1
  419. package/dist/mint-components/p-d49e2f7a.js +0 -1
  420. package/dist/mint-components/p-d8d2de11.entry.js +0 -1
  421. package/dist/mint-components/p-dd0d79bf.entry.js +0 -1
  422. package/dist/mint-components/p-dd7ee007.system.js +0 -1
  423. package/dist/mint-components/p-ed17e637.system.js +0 -1
  424. package/dist/types/global/android.d.ts +0 -7
  425. package/dist/types/global/demo.d.ts +0 -2
  426. package/dist/types/stories/features.d.ts +0 -4
  427. package/dist/types/stories/templates.d.ts +0 -4
@@ -2,35 +2,36 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-b0129cd6.js');
6
- const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
7
- require('./global-02e50f09.js');
8
- const index_module = require('./index.module-df530553.js');
5
+ const index = require('./index-ff72278c.js');
6
+ const stencilHooks_module = require('./stencil-hooks.module-8f69ed33.js');
7
+ require('./global-e067aa06.js');
8
+ const index_module = require('./index.module-224d7b8d.js');
9
+ require('./utils-6847bc06.js');
10
+ const JSS = require('./JSS-8503a151.js');
11
+ const copyTextView = require('./copy-text-view-bb2d108f.js');
9
12
  require('./cjs-1066ec21.js');
10
13
  require('./mixins-fe9d4112.js');
11
- const JSS = require('./JSS-8503a151.js');
12
- const GenericTableView = require('./GenericTableView-80d7642e.js');
13
- require('./useChildElements-e0d44916.js');
14
- const luxon = require('./luxon-05098e19.js');
15
- require('./utils-6847bc06.js');
16
- require('./sqm-text-span-view-e1cd9bd3.js');
17
- const sqmAssetCardView = require('./sqm-asset-card-view-a0e33f21.js');
18
- const sqmCloseButtonView = require('./sqm-close-button-view-fd6e8f60.js');
14
+ const GenericTableView = require('./GenericTableView-bb2fcd95.js');
15
+ require('./useChildElements-176ac928.js');
16
+ const luxon = require('./luxon-45228ff5.js');
17
+ require('./sqm-text-span-view-38222836.js');
18
+ const sqmAssetCardView = require('./sqm-asset-card-view-30ca5188.js');
19
+ const sqmCloseButtonView = require('./sqm-close-button-view-6a709e00.js');
19
20
  require('./index-8c6255f5.js');
20
- const emailRegistrationView = require('./email-registration-view-248652bb.js');
21
- const sqmLeaderboardRankView = require('./sqm-leaderboard-rank-view-5a3d4a88.js');
22
- const sqmLogoutCurrentUserView = require('./sqm-logout-current-user-view-c9f18d96.js');
23
- const sqmNavigationSidebarView = require('./sqm-navigation-sidebar-view-921704fb.js');
24
- const sqmNavigationSidebarItemView = require('./sqm-navigation-sidebar-item-view-a125ec5f.js');
25
- const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-292b5bf4.js');
26
- const sqmPortalForgotPasswordView = require('./sqm-portal-forgot-password-view-969c49ed.js');
27
- const sqmPortalProfileView = require('./sqm-portal-profile-view-fde54e35.js');
28
- require('./utilities-cec9dd36.js');
29
- const sqmPortalResetPasswordView = require('./sqm-portal-reset-password-view-96f329ed.js');
30
- const sqmPortalVerifyEmailView = require('./sqm-portal-verify-email-view-7ffcc0d4.js');
31
- const ShadowViewAddon = require('./ShadowViewAddon-c3e91cee.js');
32
- const sqmPortalContainerView = require('./sqm-portal-container-view-990a85a3.js');
33
- const sqmInvoiceTableView = require('./sqm-invoice-table-view-e3b03a00.js');
21
+ const emailRegistrationView = require('./email-registration-view-54cedb43.js');
22
+ const sqmLeaderboardRankView = require('./sqm-leaderboard-rank-view-317eb84f.js');
23
+ const sqmLogoutCurrentUserView = require('./sqm-logout-current-user-view-1912b773.js');
24
+ const sqmNavigationSidebarView = require('./sqm-navigation-sidebar-view-215eba1d.js');
25
+ const sqmNavigationSidebarItemView = require('./sqm-navigation-sidebar-item-view-010a81c7.js');
26
+ const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-f8980d11.js');
27
+ const sqmPortalForgotPasswordView = require('./sqm-portal-forgot-password-view-24339191.js');
28
+ const sqmPortalProfileView = require('./sqm-portal-profile-view-7c70d7f9.js');
29
+ require('./utilities-719c980a.js');
30
+ const sqmPortalResetPasswordView = require('./sqm-portal-reset-password-view-1b85b8cf.js');
31
+ const sqmPortalVerifyEmailView = require('./sqm-portal-verify-email-view-cc3c87c3.js');
32
+ const ShadowViewAddon = require('./ShadowViewAddon-d714d857.js');
33
+ const sqmPortalContainerView = require('./sqm-portal-container-view-976bf0f5.js');
34
+ const sqmInvoiceTableView = require('./sqm-invoice-table-view-2f4f426b.js');
34
35
 
35
36
  /**
36
37
  * lodash (Custom Build) <https://lodash.com/>
@@ -1628,6 +1629,19 @@ const EmptyState = /*#__PURE__*/Object.freeze({
1628
1629
  SlottedIntoComponent: SlottedIntoComponent
1629
1630
  });
1630
1631
 
1632
+ const Pagination_stories = {
1633
+ title: "Components/Link Button",
1634
+ };
1635
+ const Default = () => {
1636
+ return index.h("sqm-pagination", null);
1637
+ };
1638
+
1639
+ const Pagination = /*#__PURE__*/Object.freeze({
1640
+ __proto__: null,
1641
+ 'default': Pagination_stories,
1642
+ Default: Default
1643
+ });
1644
+
1631
1645
  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";
1632
1646
 
1633
1647
  const ShareLink_stories = {
@@ -1636,13 +1650,13 @@ const ShareLink_stories = {
1636
1650
  scenario: scenario$2,
1637
1651
  },
1638
1652
  };
1639
- const Default = () => {
1653
+ const Default$1 = () => {
1640
1654
  const props = {
1641
1655
  copyString: "https://noah.example.com",
1642
1656
  open: false,
1643
1657
  tooltiptext: "Copied!",
1644
1658
  };
1645
- return index.h(ShadowViewAddon.CopyTextView, Object.assign({}, props));
1659
+ return index.h(copyTextView.CopyTextView, Object.assign({}, props));
1646
1660
  };
1647
1661
  const Tooltip = () => {
1648
1662
  const props = {
@@ -1650,7 +1664,7 @@ const Tooltip = () => {
1650
1664
  tooltiptext: "Some text for the tooltip",
1651
1665
  open: true,
1652
1666
  };
1653
- return index.h(ShadowViewAddon.CopyTextView, Object.assign({}, props));
1667
+ return index.h(copyTextView.CopyTextView, Object.assign({}, props));
1654
1668
  };
1655
1669
  const Disabled = () => {
1656
1670
  const props = {
@@ -1659,7 +1673,7 @@ const Disabled = () => {
1659
1673
  open: true,
1660
1674
  tooltiptext: "Copied!",
1661
1675
  };
1662
- return index.h(ShadowViewAddon.CopyTextView, Object.assign({}, props));
1676
+ return index.h(copyTextView.CopyTextView, Object.assign({}, props));
1663
1677
  };
1664
1678
  const Error$1 = () => {
1665
1679
  const props = {
@@ -1669,7 +1683,7 @@ const Error$1 = () => {
1669
1683
  tooltiptext: "Copied!",
1670
1684
  error: true,
1671
1685
  };
1672
- return index.h(ShadowViewAddon.CopyTextView, Object.assign({}, props));
1686
+ return index.h(copyTextView.CopyTextView, Object.assign({}, props));
1673
1687
  };
1674
1688
  const TextAlignCenter = () => {
1675
1689
  return index.h("sqm-share-link", { textAlign: "center" });
@@ -1678,7 +1692,7 @@ const TextAlignRight = () => {
1678
1692
  return index.h("sqm-share-link", { textAlign: "right" });
1679
1693
  };
1680
1694
  const CopyButton = () => {
1681
- return (index.h(ShadowViewAddon.CopyTextView, Object.assign({}, {
1695
+ return (index.h(copyTextView.CopyTextView, Object.assign({}, {
1682
1696
  copyString: "https://noah.example.com",
1683
1697
  open: false,
1684
1698
  tooltiptext: "Copied!",
@@ -1686,7 +1700,7 @@ const CopyButton = () => {
1686
1700
  })));
1687
1701
  };
1688
1702
  const CopyButtonBelow = () => {
1689
- return (index.h(ShadowViewAddon.CopyTextView, Object.assign({}, {
1703
+ return (index.h(copyTextView.CopyTextView, Object.assign({}, {
1690
1704
  copyString: "https://noah.example.com",
1691
1705
  open: false,
1692
1706
  tooltiptext: "Copied!",
@@ -1700,7 +1714,7 @@ const FullStack = () => {
1700
1714
  const ShareLink = /*#__PURE__*/Object.freeze({
1701
1715
  __proto__: null,
1702
1716
  'default': ShareLink_stories,
1703
- Default: Default,
1717
+ Default: Default$1,
1704
1718
  Tooltip: Tooltip,
1705
1719
  Disabled: Disabled,
1706
1720
  Error: Error$1,
@@ -1719,7 +1733,7 @@ const BigStat_stories = {
1719
1733
  scenario: scenario$3,
1720
1734
  },
1721
1735
  };
1722
- const Default$1 = () => {
1736
+ const Default$2 = () => {
1723
1737
  const props = { value: 990000, statvalue: "9.900,00", loading: false };
1724
1738
  return index.h(ShadowViewAddon.BigStatView, Object.assign({}, props), "Big stat");
1725
1739
  };
@@ -1802,7 +1816,7 @@ const MultipleStats = () => {
1802
1816
  const BigStat = /*#__PURE__*/Object.freeze({
1803
1817
  __proto__: null,
1804
1818
  'default': BigStat_stories,
1805
- Default: Default$1,
1819
+ Default: Default$2,
1806
1820
  LeftAlign: LeftAlign,
1807
1821
  RightAlign: RightAlign,
1808
1822
  FlexReverse: FlexReverse,
@@ -2891,7 +2905,7 @@ const BareBonesView = createHookStory(() => {
2891
2905
  });
2892
2906
  const RegularView = createHookStory(() => {
2893
2907
  setupGraphQL$1();
2894
- return (index.h(ShadowViewAddon.CopyTextView, Object.assign({}, ShadowViewAddon.useShareLink({
2908
+ return (index.h(copyTextView.CopyTextView, Object.assign({}, ShadowViewAddon.useShareLink({
2895
2909
  programId: "klip-referral-program",
2896
2910
  tooltiptext: "Copied to clipboard",
2897
2911
  tooltiplifespan: 1000,
@@ -2899,7 +2913,7 @@ const RegularView = createHookStory(() => {
2899
2913
  });
2900
2914
  const FastTooltip = createHookStory(() => {
2901
2915
  setupGraphQL$1();
2902
- return (index.h(ShadowViewAddon.CopyTextView, Object.assign({}, ShadowViewAddon.useShareLink({
2916
+ return (index.h(copyTextView.CopyTextView, Object.assign({}, ShadowViewAddon.useShareLink({
2903
2917
  programId: "klip-referral-program",
2904
2918
  tooltiptext: "⠀⠀⠀⠀⠀⠀⠀⠀⠀HELLO THERE!!!\n⠀⠀⠀⡯⡯⡾⠝⠘⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢊⠘⡮⣣⠪⠢⡑⡌\n⠀⠀⠀⠟⠝⠈⠀⠀⠀⠡⠀⠠⢈⠠⢐⢠⢂⢔⣐⢄⡂⢔⠀⡁⢉⠸⢨⢑⠕⡌\n⠀⠀⡀⠁⠀⠀⠀⡀⢂⠡⠈⡔⣕⢮⣳⢯⣿⣻⣟⣯⣯⢷⣫⣆⡂⠀⠀⢐⠑⡌\n⢀⠠⠐⠈⠀⢀⢂⠢⡂⠕⡁⣝⢮⣳⢽⡽⣾⣻⣿⣯⡯⣟⣞⢾⢜⢆⠀⡀⠀⠪\n⣬⠂⠀⠀⢀⢂⢪⠨⢂⠥⣺⡪⣗⢗⣽⢽⡯⣿⣽⣷⢿⡽⡾⡽⣝⢎⠀⠀⠀⢡\n⣿⠀⠀⠀⢂⠢⢂⢥⢱⡹⣪⢞⡵⣻⡪⡯⡯⣟⡾⣿⣻⡽⣯⡻⣪⠧⠑⠀⠁⢐\n⣿⠀⠀⠀⠢⢑⠠⠑⠕⡝⡎⡗⡝⡎⣞⢽⡹⣕⢯⢻⠹⡹⢚⠝⡷⡽⡨⠀⠀⢔\n⣿⡯⠀⢈⠈⢄⠂⠂⠐⠀⠌⠠⢑⠱⡱⡱⡑⢔⠁⠀⡀⠐⠐⠐⡡⡹⣪⠀⠀⢘\n⣿⣽⠀⡀⡊⠀⠐⠨⠈⡁⠂⢈⠠⡱⡽⣷⡑⠁⠠⠑⠀⢉⢇⣤⢘⣪⢽⠀⢌⢎\n⣿⢾⠀⢌⠌⠀⡁⠢⠂⠐⡀⠀⢀⢳⢽⣽⡺⣨⢄⣑⢉⢃⢭⡲⣕⡭⣹⠠⢐⢗\n⣿⡗⠀⠢⠡⡱⡸⣔⢵⢱⢸⠈⠀⡪⣳⣳⢹⢜⡵⣱⢱⡱⣳⡹⣵⣻⢔⢅⢬⡷\n⣷⡇⡂⠡⡑⢕⢕⠕⡑⠡⢂⢊⢐⢕⡝⡮⡧⡳⣝⢴⡐⣁⠃⡫⡒⣕⢏⡮⣷⡟\n⣷⣻⣅⠑⢌⠢⠁⢐⠠⠑⡐⠐⠌⡪⠮⡫⠪⡪⡪⣺⢸⠰⠡⠠⠐⢱⠨⡪⡪⡰\n⣯⢷⣟⣇⡂⡂⡌⡀⠀⠁⡂⠅⠂⠀⡑⡄⢇⠇⢝⡨⡠⡁⢐⠠⢀⢪⡐⡜⡪⡊\n⣿⢽⡾⢹⡄⠕⡅⢇⠂⠑⣴⡬⣬⣬⣆⢮⣦⣷⣵⣷⡗⢃⢮⠱⡸⢰⢱⢸⢨⢌\n⣯⢯⣟⠸⣳⡅⠜⠔⡌⡐⠈⠻⠟⣿⢿⣿⣿⠿⡻⣃⠢⣱⡳⡱⡩⢢⠣⡃⠢⠁\n⡯⣟⣞⡇⡿⣽⡪⡘⡰⠨⢐⢀⠢⢢⢄⢤⣰⠼⡾⢕⢕⡵⣝⠎⢌⢪⠪⡘⡌⠀\n⡯⣳⠯⠚⢊⠡⡂⢂⠨⠊⠔⡑⠬⡸⣘⢬⢪⣪⡺⡼⣕⢯⢞⢕⢝⠎⢻⢼⣀⠀\n⠁⡂⠔⡁⡢⠣⢀⠢⠀⠅⠱⡐⡱⡘⡔⡕⡕⣲⡹⣎⡮⡏⡑⢜⢼⡱⢩⣗⣯⣟\n⢀⢂⢑⠀⡂⡃⠅⠊⢄⢑⠠⠑⢕⢕⢝⢮⢺⢕⢟⢮⢊⢢⢱⢄⠃⣇⣞⢞⣞⢾\n⢀⠢⡑⡀⢂⢊⠠⠁⡂⡐⠀⠅⡈⠪⠪⠪⠣⠫⠑⡁⢔⠕⣜⣜⢦⡰⡎⡯⡾⡽",
2905
2919
  tooltiplifespan: 500,
@@ -3901,14 +3915,14 @@ const Dashboard = () => {
3901
3915
  padding: "none",
3902
3916
  label: (index.h("sqm-text", null,
3903
3917
  index.h("h3", null, "Share your referral link"))),
3904
- content: index.h(ShadowViewAddon.CopyTextView, Object.assign({}, sharelinkProps)),
3918
+ content: index.h(copyTextView.CopyTextView, Object.assign({}, sharelinkProps)),
3905
3919
  })),
3906
3920
  index.h(sqmPortalContainerView.PortalSectionView, Object.assign({}, {
3907
3921
  labelMargin: "small",
3908
3922
  padding: "none",
3909
3923
  label: (index.h("sqm-text", null,
3910
3924
  index.h("h3", null, "Share your referral code"))),
3911
- content: index.h(ShadowViewAddon.CopyTextView, Object.assign({}, sharecodeProps)),
3925
+ content: index.h(copyTextView.CopyTextView, Object.assign({}, sharecodeProps)),
3912
3926
  })),
3913
3927
  index.h(sqmPortalContainerView.PortalSectionView, Object.assign({}, {
3914
3928
  labelMargin: "small",
@@ -4070,6 +4084,8 @@ const referralWidget = "<sqm-brand brand-color=\"#4225c4\" brand-font=\"Nunito S
4070
4084
 
4071
4085
  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";
4072
4086
 
4087
+ 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";
4088
+
4073
4089
  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";
4074
4090
 
4075
4091
  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";
@@ -7126,6 +7142,10 @@ const Loyalty = createHookStory(() => {
7126
7142
  const { states, callbacks } = useTemplate$1(loyaltyWidget);
7127
7143
  return (index.h(DefaultTemplateView, { states: states, callbacks: callbacks, template: loyaltyWidget }));
7128
7144
  });
7145
+ const PromoCodeReferralWidget = createHookStory(() => {
7146
+ const { states, callbacks } = useTemplate$1(promoCodeReferralWidget);
7147
+ return (index.h(DefaultTemplateView, { states: states, callbacks: callbacks, template: referralWidget }));
7148
+ });
7129
7149
  const InstantAccessReferrerShareWidget = createHookStory(() => {
7130
7150
  const { states, callbacks } = useTemplate$1(instantAccessReferrerShareWidget);
7131
7151
  return index.h(TemplateView$1, { states: states, callbacks: callbacks });
@@ -7157,6 +7177,7 @@ const Widget = /*#__PURE__*/Object.freeze({
7157
7177
  ReferralWidget: ReferralWidget,
7158
7178
  MonoWidget: MonoWidget,
7159
7179
  Loyalty: Loyalty,
7180
+ PromoCodeReferralWidget: PromoCodeReferralWidget,
7160
7181
  InstantAccessReferrerShareWidget: InstantAccessReferrerShareWidget,
7161
7182
  PaypalMonoWidget: PaypalMonoWidget,
7162
7183
  PaypalReferralWidget: PaypalReferralWidget,
@@ -7276,14 +7297,14 @@ const loadingProps = {
7276
7297
  },
7277
7298
  content: { pageLabel: "Sign in to your account" },
7278
7299
  };
7279
- const Default$2 = () => index.h(ShadowViewAddon.PortalLoginView, Object.assign({}, defaultProps$2));
7300
+ const Default$3 = () => index.h(ShadowViewAddon.PortalLoginView, Object.assign({}, defaultProps$2));
7280
7301
  const LoginWithError = () => index.h(ShadowViewAddon.PortalLoginView, Object.assign({}, errorProps));
7281
7302
  const LoginLoading = () => index.h(ShadowViewAddon.PortalLoginView, Object.assign({}, loadingProps));
7282
7303
 
7283
7304
  const PortalLogin = /*#__PURE__*/Object.freeze({
7284
7305
  __proto__: null,
7285
7306
  'default': PortalLogin_stories,
7286
- Default: Default$2,
7307
+ Default: Default$3,
7287
7308
  LoginWithError: LoginWithError,
7288
7309
  LoginLoading: LoginLoading
7289
7310
  });
@@ -7386,7 +7407,7 @@ const slottedProps = {
7386
7407
  index.h("sl-input", { exportparts: "label: input-label, base: input-base", label: "Slotted Input 2", required: true }))),
7387
7408
  },
7388
7409
  };
7389
- const Default$3 = () => index.h(ShadowViewAddon.PortalRegisterView, Object.assign({}, defaultProps$3));
7410
+ const Default$4 = () => index.h(ShadowViewAddon.PortalRegisterView, Object.assign({}, defaultProps$3));
7390
7411
  const RegisterWithError = () => index.h(ShadowViewAddon.PortalRegisterView, Object.assign({}, errorProps$1));
7391
7412
  const RegisterLoading = () => index.h(ShadowViewAddon.PortalRegisterView, Object.assign({}, loadingProps$1));
7392
7413
  const FieldsHidden = () => {
@@ -7413,7 +7434,7 @@ const TermsAndConditions = () => (index.h(ShadowViewAddon.PortalRegisterView, Ob
7413
7434
  const PortalRegister = /*#__PURE__*/Object.freeze({
7414
7435
  __proto__: null,
7415
7436
  'default': PortalRegister_stories,
7416
- Default: Default$3,
7437
+ Default: Default$4,
7417
7438
  RegisterWithError: RegisterWithError,
7418
7439
  RegisterLoading: RegisterLoading,
7419
7440
  FieldsHidden: FieldsHidden,
@@ -7489,7 +7510,7 @@ const successProps = {
7489
7510
  messageSlot: "Enter your email below to receive a password reset link.",
7490
7511
  },
7491
7512
  };
7492
- const Default$4 = () => index.h(sqmPortalForgotPasswordView.PortalForgotPasswordView, Object.assign({}, defaultProps$4));
7513
+ const Default$5 = () => index.h(sqmPortalForgotPasswordView.PortalForgotPasswordView, Object.assign({}, defaultProps$4));
7493
7514
  const ForgotPasswordWithError = () => (index.h(sqmPortalForgotPasswordView.PortalForgotPasswordView, Object.assign({}, errorProps$2)));
7494
7515
  const ForgotPasswordLoading = () => (index.h(sqmPortalForgotPasswordView.PortalForgotPasswordView, Object.assign({}, loadingProps$2)));
7495
7516
  const ForgotPasswordSuccess = () => (index.h(sqmPortalForgotPasswordView.PortalForgotPasswordView, Object.assign({}, successProps)));
@@ -7497,7 +7518,7 @@ const ForgotPasswordSuccess = () => (index.h(sqmPortalForgotPasswordView.PortalF
7497
7518
  const PortalForgotPassword = /*#__PURE__*/Object.freeze({
7498
7519
  __proto__: null,
7499
7520
  'default': PortalForgotPassword_stories,
7500
- Default: Default$4,
7521
+ Default: Default$5,
7501
7522
  ForgotPasswordWithError: ForgotPasswordWithError,
7502
7523
  ForgotPasswordLoading: ForgotPasswordLoading,
7503
7524
  ForgotPasswordSuccess: ForgotPasswordSuccess
@@ -7568,7 +7589,7 @@ const loadingVerificationProps = {
7568
7589
  callbacks: defaultCallbacks,
7569
7590
  content: defaultContent,
7570
7591
  };
7571
- const Default$5 = () => index.h(sqmPortalEmailVerificationView.PortalEmailVerificationView, Object.assign({}, defaultProps$5));
7592
+ const Default$6 = () => index.h(sqmPortalEmailVerificationView.PortalEmailVerificationView, Object.assign({}, defaultProps$5));
7572
7593
  const EmailVerificationWithError = () => (index.h(sqmPortalEmailVerificationView.PortalEmailVerificationView, Object.assign({}, errorProps$3)));
7573
7594
  const EmailVerificationLoading = () => (index.h(sqmPortalEmailVerificationView.PortalEmailVerificationView, Object.assign({}, loadingProps$3)));
7574
7595
  const EmailVerificationCheckingVerification = () => (index.h(sqmPortalEmailVerificationView.PortalEmailVerificationView, Object.assign({}, loadingVerificationProps)));
@@ -7577,7 +7598,7 @@ const EmailVerificationSuccess = () => (index.h(sqmPortalEmailVerificationView.P
7577
7598
  const PortalEmailVerification = /*#__PURE__*/Object.freeze({
7578
7599
  __proto__: null,
7579
7600
  'default': PortalEmailVerification_stories,
7580
- Default: Default$5,
7601
+ Default: Default$6,
7581
7602
  EmailVerificationWithError: EmailVerificationWithError,
7582
7603
  EmailVerificationLoading: EmailVerificationLoading,
7583
7604
  EmailVerificationCheckingVerification: EmailVerificationCheckingVerification,
@@ -7730,7 +7751,7 @@ const validatingCodeProps = {
7730
7751
  failed: () => console.log("failed"),
7731
7752
  },
7732
7753
  };
7733
- const Default$6 = () => index.h(sqmPortalResetPasswordView.PortalResetPasswordView, Object.assign({}, defaultProps$6));
7754
+ const Default$7 = () => index.h(sqmPortalResetPasswordView.PortalResetPasswordView, Object.assign({}, defaultProps$6));
7734
7755
  const DefaultWithoutConfirmField = () => (index.h(sqmPortalResetPasswordView.PortalResetPasswordView, Object.assign({}, defaultPropsNoConfirm)));
7735
7756
  const ResetPasswordWithError = () => (index.h(sqmPortalResetPasswordView.PortalResetPasswordView, Object.assign({}, errorProps$4)));
7736
7757
  const ResetPasswordLoading = () => (index.h(sqmPortalResetPasswordView.PortalResetPasswordView, Object.assign({}, loadingProps$4)));
@@ -7740,7 +7761,7 @@ const CodeValidating = () => (index.h(sqmPortalResetPasswordView.PortalResetPass
7740
7761
  const PortalResetPassword = /*#__PURE__*/Object.freeze({
7741
7762
  __proto__: null,
7742
7763
  'default': PortalResetPassword_stories,
7743
- Default: Default$6,
7764
+ Default: Default$7,
7744
7765
  DefaultWithoutConfirmField: DefaultWithoutConfirmField,
7745
7766
  ResetPasswordWithError: ResetPasswordWithError,
7746
7767
  ResetPasswordLoading: ResetPasswordLoading,
@@ -7803,7 +7824,7 @@ const PortalVerifyEmail = /*#__PURE__*/Object.freeze({
7803
7824
  const AssetCard_stories = {
7804
7825
  title: "Components/Asset Card",
7805
7826
  };
7806
- const Default$7 = () => {
7827
+ const Default$8 = () => {
7807
7828
  const props = {
7808
7829
  text: { titleText: "Marketing Banner" },
7809
7830
  imgUrl: "https://res.cloudinary.com/saasquatch/image/upload/v1634255445/squatch-assets/Copy_of_saasquatch-logo-tree-large-horizontal.png",
@@ -7831,7 +7852,7 @@ const CardWithNoImg = () => {
7831
7852
  const AssetCard = /*#__PURE__*/Object.freeze({
7832
7853
  __proto__: null,
7833
7854
  'default': AssetCard_stories,
7834
- Default: Default$7,
7855
+ Default: Default$8,
7835
7856
  CardWithLongText: CardWithLongText,
7836
7857
  CardWithNoImg: CardWithNoImg
7837
7858
  });
@@ -8052,7 +8073,7 @@ const successProps$3 = {
8052
8073
  submit: (e) => console.log("Submit", e),
8053
8074
  },
8054
8075
  };
8055
- const Default$8 = () => index.h(ShadowViewAddon.PortalChangePasswordView, Object.assign({}, defaultProps$7));
8076
+ const Default$9 = () => index.h(ShadowViewAddon.PortalChangePasswordView, Object.assign({}, defaultProps$7));
8056
8077
  const Open = () => index.h(ShadowViewAddon.PortalChangePasswordView, Object.assign({}, openProps));
8057
8078
  const Error$2 = () => index.h(ShadowViewAddon.PortalChangePasswordView, Object.assign({}, errorProps$6));
8058
8079
  const PaswordError = () => (index.h(ShadowViewAddon.PortalChangePasswordView, Object.assign({}, passwordErrorProps)));
@@ -8062,7 +8083,7 @@ const Success = () => index.h(ShadowViewAddon.PortalChangePasswordView, Object.a
8062
8083
  const ChangePassword = /*#__PURE__*/Object.freeze({
8063
8084
  __proto__: null,
8064
8085
  'default': ChangePassword_stories,
8065
- Default: Default$8,
8086
+ Default: Default$9,
8066
8087
  Open: Open,
8067
8088
  Error: Error$2,
8068
8089
  PaswordError: PaswordError,
@@ -8289,7 +8310,7 @@ const successProps$4 = {
8289
8310
  onChange: (e) => console.log(e),
8290
8311
  },
8291
8312
  };
8292
- const Default$9 = () => index.h(sqmPortalProfileView.PortalProfileView, Object.assign({}, defaultProps$8));
8313
+ const Default$a = () => index.h(sqmPortalProfileView.PortalProfileView, Object.assign({}, defaultProps$8));
8293
8314
  const DefaultNoCountry = () => index.h(sqmPortalProfileView.PortalProfileView, Object.assign({}, noCountry));
8294
8315
  const Loading$2 = () => index.h(sqmPortalProfileView.PortalProfileView, Object.assign({}, loadingProps$6));
8295
8316
  const Disabled$1 = () => index.h(sqmPortalProfileView.PortalProfileView, Object.assign({}, disabledProps));
@@ -8299,7 +8320,7 @@ const Success$1 = () => index.h(sqmPortalProfileView.PortalProfileView, Object.a
8299
8320
  const PortalProfile = /*#__PURE__*/Object.freeze({
8300
8321
  __proto__: null,
8301
8322
  'default': PortalProfile_stories,
8302
- Default: Default$9,
8323
+ Default: Default$a,
8303
8324
  DefaultNoCountry: DefaultNoCountry,
8304
8325
  Loading: Loading$2,
8305
8326
  Disabled: Disabled$1,
@@ -10259,7 +10280,7 @@ const ProgramMenu = /*#__PURE__*/Object.freeze({
10259
10280
  const PoweredByImg_stories = {
10260
10281
  title: "Powered By",
10261
10282
  };
10262
- const Default$a = () => {
10283
+ const Default$b = () => {
10263
10284
  return index.h(ShadowViewAddon.PoweredByImg, null);
10264
10285
  };
10265
10286
  const CustomColor = () => {
@@ -10272,7 +10293,7 @@ const CustomWidthAndHeight = () => {
10272
10293
  const PoweredByImg = /*#__PURE__*/Object.freeze({
10273
10294
  __proto__: null,
10274
10295
  'default': PoweredByImg_stories,
10275
- Default: Default$a,
10296
+ Default: Default$b,
10276
10297
  CustomColor: CustomColor,
10277
10298
  CustomWidthAndHeight: CustomWidthAndHeight
10278
10299
  });
@@ -10659,7 +10680,7 @@ const defaultRegisterProps = {
10659
10680
  invalidEmailErrorMessage: "Must be a valid email address",
10660
10681
  },
10661
10682
  };
10662
- const Default$b = createHookStory(() => (index.h(ShadowViewAddon.CheckboxFieldView, Object.assign({}, defaultProps$a))));
10683
+ const Default$c = createHookStory(() => (index.h(ShadowViewAddon.CheckboxFieldView, Object.assign({}, defaultProps$a))));
10663
10684
  const DefaultChecked = createHookStory(() => (index.h(ShadowViewAddon.CheckboxFieldView, Object.assign({}, defaultProps$a, { states: {
10664
10685
  ...defaultProps$a.states,
10665
10686
  checked: true,
@@ -10714,7 +10735,7 @@ const TermsAndConditionsLongCustomLabel = createHookStory(() => (index.h(ShadowV
10714
10735
  const CheckboxField = /*#__PURE__*/Object.freeze({
10715
10736
  __proto__: null,
10716
10737
  'default': CheckboxField_stories,
10717
- Default: Default$b,
10738
+ Default: Default$c,
10718
10739
  DefaultChecked: DefaultChecked,
10719
10740
  CustomLabel: CustomLabel,
10720
10741
  Error: Error$4,
@@ -10816,7 +10837,7 @@ const defaultProps$b = {
10816
10837
  ],
10817
10838
  },
10818
10839
  };
10819
- const Default$c = createHookStory(() => (index.h(ShadowViewAddon.DropdownFieldView, Object.assign({}, defaultProps$b))));
10840
+ const Default$d = createHookStory(() => (index.h(ShadowViewAddon.DropdownFieldView, Object.assign({}, defaultProps$b))));
10820
10841
  const CustomLabel$1 = createHookStory(() => (index.h(ShadowViewAddon.DropdownFieldView, Object.assign({}, defaultProps$b, { content: {
10821
10842
  ...defaultProps$b.content,
10822
10843
  dropdownLabel: "Pick your favorite",
@@ -10844,7 +10865,7 @@ const CustomError$1 = createHookStory(() => (index.h(ShadowViewAddon.DropdownFie
10844
10865
  const DropdownField = /*#__PURE__*/Object.freeze({
10845
10866
  __proto__: null,
10846
10867
  'default': DropdownField_stories,
10847
- Default: Default$c,
10868
+ Default: Default$d,
10848
10869
  CustomLabel: CustomLabel$1,
10849
10870
  Error: Error$5,
10850
10871
  CustomError: CustomError$1
@@ -10954,7 +10975,7 @@ const defaultRegisterProps$1 = {
10954
10975
  invalidEmailErrorMessage: "Must be a valid email address",
10955
10976
  },
10956
10977
  };
10957
- const Default$d = () => index.h(ShadowViewAddon.InputFieldView, Object.assign({}, defaultProps$c));
10978
+ const Default$e = () => index.h(ShadowViewAddon.InputFieldView, Object.assign({}, defaultProps$c));
10958
10979
  const CustomLabel$2 = () => (index.h(ShadowViewAddon.InputFieldView, Object.assign({}, defaultProps$c, { content: { ...defaultProps$c.content, fieldLabel: "My Label" } })));
10959
10980
  const Error$6 = () => (index.h(ShadowViewAddon.InputFieldView, Object.assign({}, defaultProps$c, { states: {
10960
10981
  ...defaultProps$c.states,
@@ -11004,7 +11025,7 @@ const RegistrationFieldCustomLabel = () => (index.h(ShadowViewAddon.PortalRegist
11004
11025
  const InputField = /*#__PURE__*/Object.freeze({
11005
11026
  __proto__: null,
11006
11027
  'default': InputField_stories,
11007
- Default: Default$d,
11028
+ Default: Default$e,
11008
11029
  CustomLabel: CustomLabel$2,
11009
11030
  Error: Error$6,
11010
11031
  CustomError: CustomError$2,
@@ -12627,6 +12648,21 @@ const sharebutton = (slot) => {
12627
12648
  index.h("sqm-share-button", { medium: "facebook" }, "Share on Facebook"),
12628
12649
  index.h("sqm-share-button", { medium: "twitter" }, "Post about us on X"))));
12629
12650
  };
12651
+ const shareButtonsWithPromoCodes = (slot) => {
12652
+ return (index.h("sqm-portal-container", { gap: "large", slot: slot },
12653
+ index.h("sqm-text", null, "Choose how you want to share:"),
12654
+ index.h("sqm-text", null,
12655
+ index.h("sub", null, "Share with your friends:"),
12656
+ index.h("sqm-share-code", null),
12657
+ index.h("sqm-share-link", null)),
12658
+ index.h("sqm-portal-container", { gap: "x-small" },
12659
+ index.h("sqm-share-button", { medium: "email" }, "Share via email"),
12660
+ index.h("sqm-share-button", { medium: "facebook" }, "Share on Facebook"),
12661
+ index.h("sqm-share-button", { medium: "twitter" }, "Post about us on X"),
12662
+ index.h("sqm-portal-container", { gap: "x-small" },
12663
+ index.h("span", { style: { textAlign: "center", color: "var(--sl-color-gray-500)" } }, "You have copied this code before"),
12664
+ index.h("sqm-pagination", null)))));
12665
+ };
12630
12666
  const timeline = (slot, count) => {
12631
12667
  return (index.h("sqm-timeline", { slot: slot, icon: "circle" },
12632
12668
  count > 0 && (index.h("sqm-timeline-entry", { reward: "75", unit: "points", desc: "Your friends signs up for a free trial" })),
@@ -12649,6 +12685,11 @@ const TimelineAndShareButtons = () => {
12649
12685
  timeline("left", 3),
12650
12686
  sharebutton("right")));
12651
12687
  };
12688
+ const OneTimeUsePromoCodes = () => {
12689
+ return (index.h("sqm-referral-card", null,
12690
+ timeline("left", 4),
12691
+ shareButtonsWithPromoCodes("right")));
12692
+ };
12652
12693
  const StartAlignment = () => {
12653
12694
  return (index.h("sqm-referral-card", { "vertical-alignment": "start" },
12654
12695
  timeline("left", 4),
@@ -12725,6 +12766,7 @@ const ReferralCard = /*#__PURE__*/Object.freeze({
12725
12766
  ImageAndShareButtons: ImageAndShareButtons,
12726
12767
  LimitWidth: LimitWidth,
12727
12768
  TimelineAndShareButtons: TimelineAndShareButtons,
12769
+ OneTimeUsePromoCodes: OneTimeUsePromoCodes,
12728
12770
  StartAlignment: StartAlignment,
12729
12771
  CenterAlignment: CenterAlignment,
12730
12772
  EndAlignment: EndAlignment,
@@ -13787,7 +13829,7 @@ const CustomTooltipDuration = () => {
13787
13829
  return (index.h("sqm-share-code", { tooltiplifespan: 5000, tooltiptext: "CUSTOM TOOLTIP TEXT" }));
13788
13830
  };
13789
13831
  const CopyButton$1 = () => {
13790
- return (index.h(ShadowViewAddon.CopyTextView, Object.assign({}, {
13832
+ return (index.h(copyTextView.CopyTextView, Object.assign({}, {
13791
13833
  copyString: "https://noah.example.com",
13792
13834
  open: false,
13793
13835
  tooltiptext: "Copied!",
@@ -13795,7 +13837,7 @@ const CopyButton$1 = () => {
13795
13837
  })));
13796
13838
  };
13797
13839
  const CopyButtonBelow$1 = () => {
13798
- return (index.h(ShadowViewAddon.CopyTextView, Object.assign({}, {
13840
+ return (index.h(copyTextView.CopyTextView, Object.assign({}, {
13799
13841
  copyString: "https://noah.example.com",
13800
13842
  open: false,
13801
13843
  tooltiptext: "Copied!",
@@ -13810,7 +13852,7 @@ const Error$7 = () => {
13810
13852
  tooltiptext: "Copied!",
13811
13853
  error: true,
13812
13854
  };
13813
- return index.h(ShadowViewAddon.CopyTextView, Object.assign({}, props));
13855
+ return index.h(copyTextView.CopyTextView, Object.assign({}, props));
13814
13856
  };
13815
13857
 
13816
13858
  const ShareCode$1 = /*#__PURE__*/Object.freeze({
@@ -13826,6 +13868,82 @@ const ShareCode$1 = /*#__PURE__*/Object.freeze({
13826
13868
  Error: Error$7
13827
13869
  });
13828
13870
 
13871
+ 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";
13872
+
13873
+ const ReferralCode_stories = {
13874
+ title: "Components/Referral Code",
13875
+ parameters: {
13876
+ scenario: scenario$A,
13877
+ },
13878
+ };
13879
+ const ReferralCode = () => {
13880
+ return (index.h("sqm-referral-code", { tooltiptext: "Copied to Clipboard" }));
13881
+ };
13882
+ const ShowNotificationText = () => {
13883
+ return (index.h("sqm-referral-code", { showNotificationText: true, notificationText: "You've copied this code before" }));
13884
+ };
13885
+ const ShowNotificationTextWithButton = () => {
13886
+ return (index.h("sqm-referral-code", { showNotificationText: true, notificationText: "You've copied this code before", buttonStyle: "button-outside" }));
13887
+ };
13888
+ const ShowNotificationTextWithButtonBelow = () => {
13889
+ return (index.h("sqm-referral-code", { showNotificationText: true, notificationText: "You've copied this code before", buttonStyle: "button-below" }));
13890
+ };
13891
+ const CustomTooltipText$1 = () => {
13892
+ return (index.h("sqm-referral-code", { tooltiptext: "CUSTOM TOOLTIP TEXT" }));
13893
+ };
13894
+ const TextAlignCenter$2 = () => {
13895
+ return index.h("sqm-referral-code", { textAlign: "center" });
13896
+ };
13897
+ const TextAlignRight$2 = () => {
13898
+ return index.h("sqm-referral-code", { textAlign: "right" });
13899
+ };
13900
+ const CustomTooltipDuration$1 = () => {
13901
+ return (index.h("sqm-referral-code", { tooltiplifespan: 5000, tooltiptext: "CUSTOM TOOLTIP TEXT" }));
13902
+ };
13903
+ const CopyButton$2 = () => {
13904
+ return (index.h(copyTextView.CopyTextView, Object.assign({}, {
13905
+ copyString: "https://noah.example.com",
13906
+ open: false,
13907
+ tooltiptext: "Copied!",
13908
+ isCopyIcon: false,
13909
+ buttonStyle: "button-outside",
13910
+ })));
13911
+ };
13912
+ const CopyButtonBelow$2 = () => {
13913
+ return (index.h(copyTextView.CopyTextView, Object.assign({}, {
13914
+ copyString: "https://noah.example.com",
13915
+ open: false,
13916
+ tooltiptext: "Copied!",
13917
+ buttonStyle: "button-below",
13918
+ })));
13919
+ };
13920
+ const Error$8 = () => {
13921
+ const props = {
13922
+ copyString: "https://noah.example.com",
13923
+ disabled: true,
13924
+ open: true,
13925
+ tooltiptext: "Copied!",
13926
+ error: true,
13927
+ };
13928
+ return index.h(copyTextView.CopyTextView, Object.assign({}, props));
13929
+ };
13930
+
13931
+ const ReferralCode$1 = /*#__PURE__*/Object.freeze({
13932
+ __proto__: null,
13933
+ 'default': ReferralCode_stories,
13934
+ ReferralCode: ReferralCode,
13935
+ ShowNotificationText: ShowNotificationText,
13936
+ ShowNotificationTextWithButton: ShowNotificationTextWithButton,
13937
+ ShowNotificationTextWithButtonBelow: ShowNotificationTextWithButtonBelow,
13938
+ CustomTooltipText: CustomTooltipText$1,
13939
+ TextAlignCenter: TextAlignCenter$2,
13940
+ TextAlignRight: TextAlignRight$2,
13941
+ CustomTooltipDuration: CustomTooltipDuration$1,
13942
+ CopyButton: CopyButton$2,
13943
+ CopyButtonBelow: CopyButtonBelow$2,
13944
+ Error: Error$8
13945
+ });
13946
+
13829
13947
  // import scenario from "./ShareCode.feature";
13830
13948
  const EmailRegistration_stories = {
13831
13949
  title: "Components/Email Registration",
@@ -13852,7 +13970,7 @@ const defaultProps$d = {
13852
13970
  fraudErrorMessageTitle: "Looks like you tried referring yourself",
13853
13971
  },
13854
13972
  };
13855
- const Default$e = () => index.h(emailRegistrationView.EmailRegistrationView, Object.assign({}, defaultProps$d));
13973
+ const Default$f = () => index.h(emailRegistrationView.EmailRegistrationView, Object.assign({}, defaultProps$d));
13856
13974
  const HasFirstNameLastName = () => (index.h(emailRegistrationView.EmailRegistrationView, Object.assign({}, {
13857
13975
  ...defaultProps$d,
13858
13976
  content: {
@@ -13889,7 +14007,7 @@ const Loading$4 = () => (index.h(emailRegistrationView.EmailRegistrationView, Ob
13889
14007
  loading: true,
13890
14008
  },
13891
14009
  })));
13892
- const Error$8 = () => (index.h(emailRegistrationView.EmailRegistrationView, Object.assign({}, {
14010
+ const Error$9 = () => (index.h(emailRegistrationView.EmailRegistrationView, Object.assign({}, {
13893
14011
  ...defaultProps$d,
13894
14012
  states: {
13895
14013
  error: "Something went wrong. Please try again.",
@@ -13917,23 +14035,23 @@ const EmptyEmailError = () => (index.h(emailRegistrationView.EmailRegistrationVi
13917
14035
  const EmailRegistration = /*#__PURE__*/Object.freeze({
13918
14036
  __proto__: null,
13919
14037
  'default': EmailRegistration_stories,
13920
- Default: Default$e,
14038
+ Default: Default$f,
13921
14039
  HasFirstNameLastName: HasFirstNameLastName,
13922
14040
  WithSlots: WithSlots,
13923
14041
  NoBorder: NoBorder$1,
13924
14042
  BackgroundColor: BackgroundColor$2,
13925
14043
  Loading: Loading$4,
13926
- Error: Error$8,
14044
+ Error: Error$9,
13927
14045
  FraudError: FraudError,
13928
14046
  EmptyEmailError: EmptyEmailError
13929
14047
  });
13930
14048
 
13931
- 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";
14049
+ 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";
13932
14050
 
13933
14051
  const CouponCode_stories = {
13934
14052
  title: "Components/Coupon Code",
13935
14053
  parameters: {
13936
- scenario: scenario$A,
14054
+ scenario: scenario$B,
13937
14055
  },
13938
14056
  };
13939
14057
  const defaultProps$e = {
@@ -13948,25 +14066,25 @@ const defaultProps$e = {
13948
14066
  const CouponCode = () => {
13949
14067
  return index.h("sqm-coupon-code", { tooltiptext: "Copied to Clipboard" });
13950
14068
  };
13951
- const CustomTooltipText$1 = () => {
14069
+ const CustomTooltipText$2 = () => {
13952
14070
  return index.h("sqm-coupon-code", { tooltiptext: "CUSTOM TOOLTIP TEXT" });
13953
14071
  };
13954
- const CustomTooltipDuration$1 = () => {
14072
+ const CustomTooltipDuration$2 = () => {
13955
14073
  return (index.h("sqm-coupon-code", { tooltiplifespan: 5000, tooltiptext: "CUSTOM TOOLTIP TEXT" }));
13956
14074
  };
13957
- const TextAlignCenter$2 = () => {
14075
+ const TextAlignCenter$3 = () => {
13958
14076
  return index.h("sqm-coupon-code", { textAlign: "center" });
13959
14077
  };
13960
- const TextAlignRight$2 = () => {
14078
+ const TextAlignRight$3 = () => {
13961
14079
  return index.h("sqm-coupon-code", { textAlign: "right" });
13962
14080
  };
13963
- const CopyButton$2 = () => {
14081
+ const CopyButton$3 = () => {
13964
14082
  return (index.h("sqm-coupon-code", Object.assign({}, defaultProps$e, { buttonStyle: "button-outside" })));
13965
14083
  };
13966
14084
  const CopyButtonCustomLabel = () => {
13967
14085
  return (index.h("sqm-coupon-code", Object.assign({}, defaultProps$e, { buttonStyle: "button-outside", "copy-button-label": "test long custom label" })));
13968
14086
  };
13969
- const CopyButtonBelow$2 = () => {
14087
+ const CopyButtonBelow$3 = () => {
13970
14088
  return (index.h("sqm-coupon-code", Object.assign({}, defaultProps$e, { buttonStyle: "button-below" })));
13971
14089
  };
13972
14090
  const CopyButtonBelowCustomLabel = () => {
@@ -14004,13 +14122,13 @@ const CouponCode$1 = /*#__PURE__*/Object.freeze({
14004
14122
  __proto__: null,
14005
14123
  'default': CouponCode_stories,
14006
14124
  CouponCode: CouponCode,
14007
- CustomTooltipText: CustomTooltipText$1,
14008
- CustomTooltipDuration: CustomTooltipDuration$1,
14009
- TextAlignCenter: TextAlignCenter$2,
14010
- TextAlignRight: TextAlignRight$2,
14011
- CopyButton: CopyButton$2,
14125
+ CustomTooltipText: CustomTooltipText$2,
14126
+ CustomTooltipDuration: CustomTooltipDuration$2,
14127
+ TextAlignCenter: TextAlignCenter$3,
14128
+ TextAlignRight: TextAlignRight$3,
14129
+ CopyButton: CopyButton$3,
14012
14130
  CopyButtonCustomLabel: CopyButtonCustomLabel,
14013
- CopyButtonBelow: CopyButtonBelow$2,
14131
+ CopyButtonBelow: CopyButtonBelow$3,
14014
14132
  CopyButtonBelowCustomLabel: CopyButtonBelowCustomLabel,
14015
14133
  Loading: Loading$5,
14016
14134
  CopyButtonLoading: CopyButtonLoading,
@@ -14023,12 +14141,12 @@ const CouponCode$1 = /*#__PURE__*/Object.freeze({
14023
14141
  ErrorRedeemed: ErrorRedeemed
14024
14142
  });
14025
14143
 
14026
- 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";
14144
+ 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";
14027
14145
 
14028
14146
  const LogoutCurrentUser_stories = {
14029
14147
  title: "Components/Logout Current User",
14030
14148
  parameters: {
14031
- scenario: scenario$B,
14149
+ scenario: scenario$C,
14032
14150
  },
14033
14151
  };
14034
14152
  const defaultProps$f = {
@@ -14038,22 +14156,22 @@ const defaultProps$f = {
14038
14156
  loading: false,
14039
14157
  emailErrorText: "Error fetching email",
14040
14158
  };
14041
- const Default$f = () => {
14159
+ const Default$g = () => {
14042
14160
  return index.h(sqmLogoutCurrentUserView.LogoutCurrentUserView, Object.assign({}, defaultProps$f));
14043
14161
  };
14044
14162
 
14045
14163
  const LogoutCurrentUser = /*#__PURE__*/Object.freeze({
14046
14164
  __proto__: null,
14047
14165
  'default': LogoutCurrentUser_stories,
14048
- Default: Default$f
14166
+ Default: Default$g
14049
14167
  });
14050
14168
 
14051
- 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 |";
14169
+ 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 |";
14052
14170
 
14053
14171
  const LinkButton_stories = {
14054
14172
  title: "Components/Link Button",
14055
14173
  parameters: {
14056
- scenario: scenario$C,
14174
+ scenario: scenario$D,
14057
14175
  },
14058
14176
  };
14059
14177
  const defaultProps$g = {
@@ -14061,7 +14179,7 @@ const defaultProps$g = {
14061
14179
  openInNewTab: false,
14062
14180
  buttonText: "Button Text",
14063
14181
  };
14064
- const Default$g = () => {
14182
+ const Default$h = () => {
14065
14183
  return index.h("sqm-link-button", Object.assign({}, defaultProps$g));
14066
14184
  };
14067
14185
  const OpenInNewTab = () => {
@@ -14071,7 +14189,7 @@ const OpenInNewTab = () => {
14071
14189
  const LinkButton = /*#__PURE__*/Object.freeze({
14072
14190
  __proto__: null,
14073
14191
  'default': LinkButton_stories,
14074
- Default: Default$g,
14192
+ Default: Default$h,
14075
14193
  OpenInNewTab: OpenInNewTab
14076
14194
  });
14077
14195
 
@@ -14089,7 +14207,7 @@ const containerStyles = {
14089
14207
  border: "1px solid black",
14090
14208
  padding: "25px",
14091
14209
  };
14092
- const Default$h = () => {
14210
+ const Default$i = () => {
14093
14211
  return index.h(sqmCloseButtonView.CloseButtonView, Object.assign({}, defaultProps$h));
14094
14212
  };
14095
14213
  const InAContainer = () => {
@@ -14104,7 +14222,7 @@ const CustomColor$1 = () => {
14104
14222
  const CloseButton = /*#__PURE__*/Object.freeze({
14105
14223
  __proto__: null,
14106
14224
  'default': CloseButton_stories,
14107
- Default: Default$h,
14225
+ Default: Default$i,
14108
14226
  InAContainer: InAContainer,
14109
14227
  CustomColor: CustomColor$1
14110
14228
  });
@@ -14342,7 +14460,7 @@ const Loading$6 = () => {
14342
14460
  },
14343
14461
  } }));
14344
14462
  };
14345
- const Error$9 = () => {
14463
+ const Error$a = () => {
14346
14464
  return (index.h("sqm-payout-details-card", { demoData: {
14347
14465
  states: {
14348
14466
  error: true,
@@ -14383,7 +14501,7 @@ const PayoutDetailsCard = /*#__PURE__*/Object.freeze({
14383
14501
  __proto__: null,
14384
14502
  'default': PayoutDetailsCard_stories,
14385
14503
  Loading: Loading$6,
14386
- Error: Error$9,
14504
+ Error: Error$a,
14387
14505
  NextPayout: NextPayout,
14388
14506
  PayoutToday: PayoutToday,
14389
14507
  ThresholdPayout: ThresholdPayout,
@@ -14993,6 +15111,82 @@ const UseInvoiceTableCells = /*#__PURE__*/Object.freeze({
14993
15111
  InvoiceTableDemoHook: InvoiceTableDemoHook
14994
15112
  });
14995
15113
 
15114
+ 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";
15115
+
15116
+ const ReferralCodes_stories = {
15117
+ title: "Components/Referral Codes",
15118
+ parameters: {
15119
+ scenario: scenario$E,
15120
+ },
15121
+ };
15122
+ const demoData = {
15123
+ titleText: "Start sharing",
15124
+ emptyStateHeaderText: "Your new codes and links aren’t ready yet",
15125
+ emptyStateDescriptionText: "Please contact our program support team to let them know you’re out of codes.",
15126
+ emptyStateImageUrl: "https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_leaderboard2.png",
15127
+ states: {
15128
+ noCodes: false,
15129
+ loading: false,
15130
+ },
15131
+ };
15132
+ const pagination = (slot) => {
15133
+ return index.h("sqm-pagination", { slot: slot });
15134
+ };
15135
+ const shareButtons = (slot) => {
15136
+ return (index.h("sqm-portal-container", { gap: "small", slot: slot },
15137
+ index.h("sqm-share-button", { medium: "email" }, "Share via email"),
15138
+ index.h("sqm-share-button", { medium: "facebook" }, "Share on Facebook"),
15139
+ index.h("sqm-share-button", { medium: "whatsapp" }, "Share on WhatsApp")));
15140
+ };
15141
+ const shareCodes = (slot) => {
15142
+ return index.h("sqm-referral-code", { slot: slot });
15143
+ };
15144
+ const shareCodeWithPreviouslyCopied = (slot) => {
15145
+ return (index.h("sqm-referral-code", { slot: slot, showNotificationText: true, notificationText: "You\u2019ve copied this before." }));
15146
+ };
15147
+ const ReferralCodes = () => {
15148
+ return (index.h("sqm-referral-codes", null,
15149
+ pagination("pagination"),
15150
+ shareCodes("shareCodes"),
15151
+ shareButtons("shareButtons")));
15152
+ };
15153
+ const WithPreviouslyCopiedCode = () => {
15154
+ return (index.h("sqm-referral-codes", null,
15155
+ pagination("pagination"),
15156
+ shareCodeWithPreviouslyCopied("shareCodes"),
15157
+ shareButtons("shareButtons")));
15158
+ };
15159
+ const Empty$3 = () => {
15160
+ return (index.h("sqm-referral-codes", { demoData: { states: { ...demoData.states, noCodes: true } } },
15161
+ pagination("pagination"),
15162
+ shareCodes("shareCodes"),
15163
+ shareButtons("shareButtons")));
15164
+ };
15165
+ const EmptyWithCustomTextAndImage = () => {
15166
+ return (index.h("sqm-referral-codes", { emptyStateHeaderText: "Tus nuevos c\u00F3digos y enlaces a\u00FAn no est\u00E1n listos", emptyStateDescriptionText: "Comun\u00EDquese con nuestro equipo de soporte del programa para informarles que no tiene c\u00F3digos.", emptyStateImageUrl: "https://img.freepik.com/free-vector/hand-drawn-no-data-concept_52683-127829.jpg?t=st=1738890457~exp=1738894057~hmac=2f0f32c1f0fc051f47d772a4517e2e4c4f38af5069fb855edc96d8331d9d1329&w=826", demoData: {
15167
+ states: { ...demoData.states, noCodes: true },
15168
+ } },
15169
+ pagination("pagination"),
15170
+ shareCodes("shareCodes"),
15171
+ shareButtons("shareButtons")));
15172
+ };
15173
+ const Loading$7 = () => {
15174
+ return (index.h("sqm-referral-codes", { demoData: { states: { ...demoData.states, loading: true } } },
15175
+ pagination("pagination"),
15176
+ shareCodes("shareCodes"),
15177
+ shareButtons("shareButtons")));
15178
+ };
15179
+
15180
+ const ReferralCodes$1 = /*#__PURE__*/Object.freeze({
15181
+ __proto__: null,
15182
+ 'default': ReferralCodes_stories,
15183
+ ReferralCodes: ReferralCodes,
15184
+ WithPreviouslyCopiedCode: WithPreviouslyCopiedCode,
15185
+ Empty: Empty$3,
15186
+ EmptyWithCustomTextAndImage: EmptyWithCustomTextAndImage,
15187
+ Loading: Loading$7
15188
+ });
15189
+
14996
15190
  /**
14997
15191
  *
14998
15192
  * Themes
@@ -15005,7 +15199,7 @@ const UseInvoiceTableCells = /*#__PURE__*/Object.freeze({
15005
15199
  *
15006
15200
  */
15007
15201
  //
15008
- const Default$i = `
15202
+ const Default$j = `
15009
15203
  // No CSS
15010
15204
  `;
15011
15205
  const Orangey = `
@@ -15039,7 +15233,7 @@ const Klip = `
15039
15233
 
15040
15234
  const Themes = /*#__PURE__*/Object.freeze({
15041
15235
  __proto__: null,
15042
- Default: Default$i,
15236
+ Default: Default$j,
15043
15237
  Orangey: Orangey,
15044
15238
  Netflix: Netflix,
15045
15239
  SaaSquatchCorporate: SaaSquatchCorporate,
@@ -17638,6 +17832,7 @@ const stories = [
17638
17832
  InvoiceTableCells,
17639
17833
  UseInvoiceTableCells,
17640
17834
  ShareButton,
17835
+ Pagination,
17641
17836
  ShareLink,
17642
17837
  BigStat,
17643
17838
  Leaderboard,
@@ -17706,6 +17901,8 @@ const stories = [
17706
17901
  Tabs,
17707
17902
  ShareCode$1,
17708
17903
  CouponCode$1,
17904
+ ReferralCode$1,
17905
+ ReferralCodes$1,
17709
17906
  LogoutCurrentUser,
17710
17907
  LinkButton,
17711
17908
  EmailRegistration,