@saasquatch/mint-components 1.11.0-8 → 1.11.1-0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (302) hide show
  1. package/dist/cjs/{ShadowViewAddon-c3e91cee.js → ShadowViewAddon-2c6026c3.js} +137 -212
  2. package/dist/cjs/copy-text-view-a22ad7e7.js +173 -0
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/mint-components.cjs.js +1 -1
  5. package/dist/cjs/sqm-asset-card.cjs.entry.js +1 -1
  6. package/dist/cjs/sqm-banking-info-form_16.cjs.entry.js +3 -3
  7. package/dist/cjs/sqm-big-stat_38.cjs.entry.js +6 -5
  8. package/dist/cjs/sqm-close-button.cjs.entry.js +2 -2
  9. package/dist/cjs/sqm-empty_4.cjs.entry.js +1 -1
  10. package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +2 -2
  11. package/dist/cjs/sqm-logout-current-user.cjs.entry.js +2 -2
  12. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +3 -3
  13. package/dist/cjs/sqm-pagination_3.cjs.entry.js +313 -0
  14. package/dist/cjs/sqm-password-field.cjs.entry.js +2 -2
  15. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +2 -2
  16. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +2 -2
  17. package/dist/cjs/sqm-portal-profile.cjs.entry.js +2 -2
  18. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +1 -1
  19. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +3 -3
  20. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +3 -3
  21. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +3 -3
  22. package/dist/cjs/sqm-referred-registration.cjs.entry.js +2 -2
  23. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +3 -3
  24. package/dist/cjs/sqm-stencilbook.cjs.entry.js +241 -84
  25. package/dist/cjs/sqm-tabs.cjs.entry.js +1 -1
  26. package/dist/collection/collection-manifest.json +10 -0
  27. package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +1 -1
  28. package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user.js +1 -1
  29. package/dist/collection/components/sqm-pagination/Pagination.stories.js +12 -0
  30. package/dist/collection/components/sqm-pagination/sqm-pagination-view.js +30 -0
  31. package/dist/collection/components/sqm-pagination/sqm-pagination.js +85 -0
  32. package/dist/collection/components/sqm-pagination/usePagination.js +8 -0
  33. package/dist/collection/components/sqm-referral-card/ReferralCard.stories.js +20 -0
  34. package/dist/collection/components/sqm-referral-code/ReferralCode.stories.js +60 -0
  35. package/dist/collection/components/sqm-referral-code/sqm-referral-code.js +315 -0
  36. package/dist/collection/components/sqm-referral-code/useReferralCode.js +51 -0
  37. package/dist/collection/components/sqm-referral-codes/ReferralCodes.stories.js +35 -0
  38. package/dist/collection/components/sqm-referral-codes/sqm-referral-codes-view.js +59 -0
  39. package/dist/collection/components/sqm-referral-codes/sqm-referral-codes.js +93 -0
  40. package/dist/collection/components/sqm-referral-codes/useReferralCodes.js +75 -0
  41. package/dist/collection/components/sqm-share-button/useShareButton.js +15 -16
  42. package/dist/collection/components/sqm-share-code/sqm-share-code.js +1 -1
  43. package/dist/collection/components/sqm-share-link/sqm-share-link.js +1 -1
  44. package/dist/collection/components/sqm-share-link/useShareLink.js +5 -3
  45. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +6 -0
  46. package/dist/collection/components/views/copy-text-view.js +16 -2
  47. package/dist/esm/{ShadowViewAddon-e012b2aa.js → ShadowViewAddon-5bb2b69a.js} +140 -214
  48. package/dist/esm/copy-text-view-bf55abeb.js +168 -0
  49. package/dist/esm/{global-04c7d3b5.js → global-b89b6edc.js} +1 -1
  50. package/dist/esm/{index.module-def4aec5.js → index.module-f122af7b.js} +1 -1
  51. package/dist/esm/loader.js +3 -3
  52. package/dist/esm/mint-components.js +3 -3
  53. package/dist/esm/{re-render-12fd274a.js → re-render-c64289f3.js} +1 -1
  54. package/dist/esm/sqm-asset-card.entry.js +2 -2
  55. package/dist/esm/sqm-banking-info-form_16.entry.js +9 -9
  56. package/dist/esm/sqm-big-stat_38.entry.js +10 -9
  57. package/dist/esm/sqm-close-button.entry.js +3 -3
  58. package/dist/esm/sqm-context-router.entry.js +1 -1
  59. package/dist/esm/sqm-empty_4.entry.js +3 -3
  60. package/dist/esm/sqm-graphql-client-provider.entry.js +1 -1
  61. package/dist/esm/sqm-instant-access-registration.entry.js +5 -5
  62. package/dist/esm/{sqm-invoice-table-view-6e13a323.js → sqm-invoice-table-view-09cc28d6.js} +1 -1
  63. package/dist/esm/sqm-leaderboard-rank.entry.js +2 -2
  64. package/dist/esm/sqm-logout-current-user.entry.js +3 -3
  65. package/dist/esm/{sqm-navigation-sidebar-item-view-60ef06cc.js → sqm-navigation-sidebar-item-view-14114804.js} +2 -2
  66. package/dist/esm/sqm-navigation-sidebar-item.entry.js +4 -4
  67. package/dist/esm/sqm-navigation-sidebar.entry.js +1 -1
  68. package/dist/esm/sqm-pagination_3.entry.js +307 -0
  69. package/dist/esm/sqm-password-field.entry.js +4 -4
  70. package/dist/esm/sqm-popup-container.entry.js +1 -1
  71. package/dist/esm/{sqm-portal-email-verification-view-4307c992.js → sqm-portal-email-verification-view-ced567c9.js} +2 -2
  72. package/dist/esm/sqm-portal-email-verification.entry.js +4 -4
  73. package/dist/esm/sqm-portal-forgot-password.entry.js +3 -3
  74. package/dist/esm/sqm-portal-logout.entry.js +1 -1
  75. package/dist/esm/{sqm-portal-profile-view-ffe955c8.js → sqm-portal-profile-view-d72dd5ac.js} +1 -1
  76. package/dist/esm/sqm-portal-profile.entry.js +6 -6
  77. package/dist/esm/sqm-portal-protected-route.entry.js +1 -1
  78. package/dist/esm/sqm-portal-registration-form.entry.js +3 -3
  79. package/dist/esm/sqm-portal-reset-password.entry.js +4 -4
  80. package/dist/esm/sqm-portal-verify-email.entry.js +4 -4
  81. package/dist/esm/sqm-referral-table_11.entry.js +8 -8
  82. package/dist/esm/sqm-referred-registration.entry.js +5 -5
  83. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +2 -2
  84. package/dist/esm/sqm-rewards-table_9.entry.js +8 -8
  85. package/dist/esm/sqm-stencilbook.entry.js +234 -77
  86. package/dist/esm/sqm-tab.entry.js +2 -2
  87. package/dist/esm/sqm-tabs.entry.js +3 -3
  88. package/dist/esm/{useChildElements-32e1bda1.js → useChildElements-37daf533.js} +1 -1
  89. package/dist/esm/{useInstantAccessRegistration-46b89952.js → useInstantAccessRegistration-9d4cb797.js} +2 -2
  90. package/dist/esm/{useReferralTable-f4de0650.js → useReferralTable-42f99ea2.js} +3 -3
  91. package/dist/esm/{useRegistrationFormState-9fc1ac80.js → useRegistrationFormState-53c71782.js} +1 -1
  92. package/dist/esm/{utilities-3f5bba22.js → utilities-18d10876.js} +1 -1
  93. package/dist/esm-es5/{GenericTableView-d59d8ab4.js → GenericTableView-bf154727.js} +1 -1
  94. package/dist/esm-es5/ShadowViewAddon-5bb2b69a.js +1 -0
  95. package/dist/esm-es5/copy-text-view-bf55abeb.js +1 -0
  96. package/dist/esm-es5/{email-registration-view-a89a88bf.js → email-registration-view-12793040.js} +1 -1
  97. package/dist/esm-es5/{global-04c7d3b5.js → global-b89b6edc.js} +1 -1
  98. package/dist/esm-es5/{index.module-def4aec5.js → index.module-f122af7b.js} +1 -1
  99. package/dist/esm-es5/loader.js +1 -1
  100. package/dist/esm-es5/mint-components.js +1 -1
  101. package/dist/esm-es5/{re-render-12fd274a.js → re-render-c64289f3.js} +1 -1
  102. package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
  103. package/dist/esm-es5/sqm-banking-info-form_16.entry.js +1 -1
  104. package/dist/esm-es5/sqm-big-stat_38.entry.js +1 -1
  105. package/dist/esm-es5/{sqm-close-button-view-dc65b4e3.js → sqm-close-button-view-b24c708b.js} +1 -1
  106. package/dist/esm-es5/sqm-close-button.entry.js +1 -1
  107. package/dist/esm-es5/sqm-context-router.entry.js +1 -1
  108. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  109. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  110. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  111. package/dist/esm-es5/{sqm-invoice-table-view-6e13a323.js → sqm-invoice-table-view-09cc28d6.js} +1 -1
  112. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  113. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  114. package/dist/esm-es5/sqm-navigation-sidebar-item-view-14114804.js +1 -0
  115. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  116. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  117. package/dist/esm-es5/sqm-pagination_3.entry.js +1 -0
  118. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  119. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  120. package/dist/esm-es5/{sqm-portal-email-verification-view-4307c992.js → sqm-portal-email-verification-view-ced567c9.js} +1 -1
  121. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  122. package/dist/esm-es5/{sqm-portal-forgot-password-view-c2ed8fed.js → sqm-portal-forgot-password-view-95cd454f.js} +1 -1
  123. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  124. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  125. package/dist/esm-es5/{sqm-portal-profile-view-ffe955c8.js → sqm-portal-profile-view-d72dd5ac.js} +1 -1
  126. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  127. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  128. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  129. package/dist/esm-es5/{sqm-portal-reset-password-view-79a85e02.js → sqm-portal-reset-password-view-f1454d43.js} +1 -1
  130. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  131. package/dist/esm-es5/{sqm-portal-verify-email-view-d7ea2c56.js → sqm-portal-verify-email-view-3739f523.js} +1 -1
  132. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  133. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  134. package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
  135. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  136. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  137. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  138. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  139. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  140. package/dist/esm-es5/{useChildElements-32e1bda1.js → useChildElements-37daf533.js} +1 -1
  141. package/dist/esm-es5/{useInstantAccessRegistration-46b89952.js → useInstantAccessRegistration-9d4cb797.js} +1 -1
  142. package/dist/esm-es5/{useReferralTable-f4de0650.js → useReferralTable-42f99ea2.js} +1 -1
  143. package/dist/esm-es5/useRegistrationFormState-53c71782.js +1 -0
  144. package/dist/esm-es5/{utilities-3f5bba22.js → utilities-18d10876.js} +1 -1
  145. package/dist/mint-components/mint-components.esm.js +1 -1
  146. package/dist/mint-components/mint-components.js +1 -1
  147. package/dist/mint-components/{p-a8f7cb95.js → p-00be5090.js} +1 -1
  148. package/dist/mint-components/{p-7049e9b0.entry.js → p-01434e4a.entry.js} +1 -1
  149. package/dist/mint-components/{p-c5d2e4ba.js → p-02f6cda4.js} +1 -1
  150. package/dist/mint-components/{p-4e48267b.system.js → p-03a647c2.system.js} +1 -1
  151. package/dist/mint-components/{p-509e29e6.js → p-0806343b.js} +1 -1
  152. package/dist/mint-components/{p-3d4656bb.system.js → p-0f028514.system.js} +1 -1
  153. package/dist/mint-components/{p-b370fca8.system.js → p-1099290c.system.js} +1 -1
  154. package/dist/mint-components/{p-d8d2de11.entry.js → p-110dddfe.entry.js} +1 -1
  155. package/dist/mint-components/{p-137ea86e.entry.js → p-12c56ba6.entry.js} +1 -1
  156. package/dist/mint-components/{p-5cac90e8.system.entry.js → p-14dac608.system.entry.js} +1 -1
  157. package/dist/mint-components/p-1537b6ef.system.entry.js +1 -0
  158. package/dist/mint-components/{p-d49e2f7a.js → p-15dee492.js} +1 -1
  159. package/dist/mint-components/{p-c5577dd7.system.js → p-18a19cb5.system.js} +1 -1
  160. package/dist/mint-components/{p-711ba77e.system.entry.js → p-18a7f543.system.entry.js} +1 -1
  161. package/dist/mint-components/{p-a9050eb0.entry.js → p-1b1d10e5.entry.js} +1 -1
  162. package/dist/mint-components/{p-3ec16698.entry.js → p-1c6e4a5f.entry.js} +2 -2
  163. package/dist/mint-components/{p-32d1d162.entry.js → p-1c710e16.entry.js} +1 -1
  164. package/dist/mint-components/{p-01cfff8a.system.entry.js → p-1ce4fa30.system.entry.js} +1 -1
  165. package/dist/mint-components/{p-eaada4da.js → p-1df19ea2.js} +1 -1
  166. package/dist/mint-components/{p-02424350.system.js → p-21d4f6ce.system.js} +1 -1
  167. package/dist/mint-components/{p-733825fa.system.entry.js → p-22de9f73.system.entry.js} +1 -1
  168. package/dist/mint-components/{p-b4c52c5a.entry.js → p-246a2827.entry.js} +2 -2
  169. package/dist/mint-components/{p-8e907ac7.system.entry.js → p-26306ac4.system.entry.js} +1 -1
  170. package/dist/mint-components/p-2e16db11.entry.js +1 -0
  171. package/dist/mint-components/{p-1b9e6fc6.js → p-32cf8417.js} +1 -1
  172. package/dist/mint-components/{p-ce621bcc.js → p-3373d84e.js} +1 -1
  173. package/dist/mint-components/{p-56f14840.entry.js → p-3cc5474d.entry.js} +1 -1
  174. package/dist/mint-components/{p-7f088154.entry.js → p-41499327.entry.js} +1 -1
  175. package/dist/mint-components/{p-44787d6e.system.js → p-43a990b6.system.js} +1 -1
  176. package/dist/mint-components/{p-59fe4ad1.system.js → p-46ca288c.system.js} +1 -1
  177. package/dist/mint-components/{p-9f0629ba.system.entry.js → p-476182e7.system.entry.js} +1 -1
  178. package/dist/mint-components/p-4856b234.system.entry.js +1 -0
  179. package/dist/mint-components/{p-ec41d6a4.entry.js → p-48b7d703.entry.js} +6 -6
  180. package/dist/mint-components/p-494e407e.entry.js +1 -0
  181. package/dist/mint-components/{p-a51533cb.system.js → p-523ed056.system.js} +1 -1
  182. package/dist/mint-components/{p-eba44835.system.entry.js → p-53ff8bd0.system.entry.js} +1 -1
  183. package/dist/mint-components/{p-0d8c53ac.system.js → p-55588b46.system.js} +1 -1
  184. package/dist/mint-components/{p-3ed71bef.system.js → p-59c141a2.system.js} +1 -1
  185. package/dist/mint-components/p-5b7e2d53.entry.js +1 -0
  186. package/dist/mint-components/p-5c845bc2.system.entry.js +1 -0
  187. package/dist/mint-components/p-5d37482d.entry.js +1 -0
  188. package/dist/mint-components/p-5fc8d87c.system.js +1 -0
  189. package/dist/mint-components/p-646d302a.system.js +1 -0
  190. package/dist/mint-components/p-6628bc0e.system.js +1 -0
  191. package/dist/mint-components/p-66aac0fb.entry.js +13 -0
  192. package/dist/mint-components/{p-4502ed11.system.entry.js → p-67846dce.system.entry.js} +1 -1
  193. package/dist/mint-components/p-6b0e6a6c.js +1 -0
  194. package/dist/mint-components/{p-6cef104b.entry.js → p-6e62f207.entry.js} +1 -1
  195. package/dist/mint-components/{p-770368bc.system.js → p-6e7e8af6.system.js} +1 -1
  196. package/dist/mint-components/{p-3f385f47.entry.js → p-73c6b26d.entry.js} +9 -9
  197. package/dist/mint-components/{p-c84659a3.system.js → p-73decce7.system.js} +1 -1
  198. package/dist/mint-components/{p-58ef25d3.system.entry.js → p-7962ab58.system.entry.js} +1 -1
  199. package/dist/mint-components/{p-4edde470.entry.js → p-798ed3a2.entry.js} +1 -1
  200. package/dist/mint-components/{p-41a11a7f.js → p-8077e9c6.js} +1 -1
  201. package/dist/mint-components/{p-cf690d55.system.entry.js → p-82e09b8d.system.entry.js} +1 -1
  202. package/dist/mint-components/{p-fb93c962.js → p-855ae1b5.js} +1 -1
  203. package/dist/mint-components/p-89a760ea.js +1 -0
  204. package/dist/mint-components/{p-af062c8f.system.entry.js → p-8c97bfb1.system.entry.js} +1 -1
  205. package/dist/mint-components/{p-a7c2ced2.system.entry.js → p-9288cca6.system.entry.js} +1 -1
  206. package/dist/mint-components/{p-1c857edb.entry.js → p-942d1c22.entry.js} +2 -2
  207. package/dist/mint-components/{p-86990110.entry.js → p-96cb9c17.entry.js} +1 -1
  208. package/dist/mint-components/{p-2ee2ebba.js → p-991c9787.js} +2 -2
  209. package/dist/mint-components/{p-8704937c.js → p-9c3d78e9.js} +1 -1
  210. package/dist/mint-components/{p-674a64fe.system.js → p-9deac406.system.js} +1 -1
  211. package/dist/mint-components/{p-1dd69917.system.entry.js → p-a1150633.system.entry.js} +1 -1
  212. package/dist/mint-components/{p-b5861974.system.entry.js → p-a474b0ec.system.entry.js} +1 -1
  213. package/dist/mint-components/{p-9c310991.system.entry.js → p-acc93caa.system.entry.js} +1 -1
  214. package/dist/mint-components/{p-9df2fe24.entry.js → p-b0ce005d.entry.js} +2 -2
  215. package/dist/mint-components/{p-e5a0c50e.entry.js → p-b334bde8.entry.js} +2 -2
  216. package/dist/mint-components/p-b4eb9c46.entry.js +11 -0
  217. package/dist/mint-components/p-b5176703.entry.js +1 -0
  218. package/dist/mint-components/p-b71c0e2d.system.entry.js +1 -0
  219. package/dist/mint-components/{p-7d5e0645.system.js → p-bb6f6681.system.js} +1 -1
  220. package/dist/mint-components/p-bd4e9c2b.js +1 -0
  221. package/dist/mint-components/{p-ed095674.system.js → p-bf834367.system.js} +1 -1
  222. package/dist/mint-components/{p-07f675ab.system.entry.js → p-c1ba2ad0.system.entry.js} +1 -1
  223. package/dist/mint-components/p-c37137cd.js +2 -0
  224. package/dist/mint-components/{p-be4b748a.system.entry.js → p-c39f9dc1.system.entry.js} +1 -1
  225. package/dist/mint-components/p-c7ce2c1e.system.js +1 -0
  226. package/dist/mint-components/p-ca17d998.entry.js +1 -0
  227. package/dist/mint-components/{p-e8dde8f4.system.js → p-ce746af8.system.js} +1 -1
  228. package/dist/mint-components/{p-2dd67762.entry.js → p-cfbe2f86.entry.js} +1 -1
  229. package/dist/mint-components/{p-3223ba7b.entry.js → p-d3d281ff.entry.js} +1 -1
  230. package/dist/mint-components/p-d666b326.js +1 -0
  231. package/dist/mint-components/{p-a1dba9a1.system.entry.js → p-d68ed4a6.system.entry.js} +1 -1
  232. package/dist/mint-components/{p-4ea58025.system.entry.js → p-daba8cd2.system.entry.js} +1 -1
  233. package/dist/mint-components/p-dc41ff27.entry.js +1 -0
  234. package/dist/mint-components/{p-afd366ae.system.entry.js → p-de2a8fae.system.entry.js} +1 -1
  235. package/dist/mint-components/{p-8679ed9f.system.entry.js → p-e2bb72eb.system.entry.js} +1 -1
  236. package/dist/mint-components/{p-4d233cd4.js → p-e41cb11f.js} +1 -1
  237. package/dist/mint-components/{p-bb00db59.js → p-ea88142c.js} +1 -1
  238. package/dist/mint-components/{p-b6fc1227.system.entry.js → p-ec8a9e91.system.entry.js} +1 -1
  239. package/dist/mint-components/{p-5b333fa8.system.entry.js → p-ecefeaa9.system.entry.js} +1 -1
  240. package/dist/mint-components/{p-c8610d0c.js → p-ed161025.js} +1 -1
  241. package/dist/mint-components/p-f1ec1180.entry.js +1 -0
  242. package/dist/mint-components/{p-4df8f1d2.system.js → p-f44d88fa.system.js} +1 -1
  243. package/dist/mint-components/{p-35d84041.system.entry.js → p-f52c3aec.system.entry.js} +1 -1
  244. package/dist/mint-components/{p-aad11a68.entry.js → p-fae82751.entry.js} +1 -1
  245. package/dist/mint-components/{p-fb20eb5e.system.entry.js → p-fb2c0ce4.system.entry.js} +1 -1
  246. package/dist/mint-components/{p-10685090.js → p-fec0ac31.js} +24 -24
  247. package/dist/mint-components/{p-7731f793.system.entry.js → p-ff41c804.system.entry.js} +1 -1
  248. package/dist/types/components/sqm-pagination/Pagination.stories.d.ts +5 -0
  249. package/dist/types/components/sqm-pagination/sqm-pagination-view.d.ts +7 -0
  250. package/dist/types/components/sqm-pagination/sqm-pagination.d.ts +17 -0
  251. package/dist/types/components/sqm-pagination/usePagination.d.ts +15 -0
  252. package/dist/types/components/sqm-referral-card/ReferralCard.stories.d.ts +1 -0
  253. package/dist/types/components/sqm-referral-code/ReferralCode.stories.d.ts +18 -0
  254. package/dist/types/components/sqm-referral-code/sqm-referral-code.d.ts +70 -0
  255. package/dist/types/components/sqm-referral-code/useReferralCode.d.ts +9 -0
  256. package/dist/types/components/sqm-referral-codes/ReferralCodes.stories.d.ts +9 -0
  257. package/dist/types/components/sqm-referral-codes/sqm-referral-codes-view.d.ts +10 -0
  258. package/dist/types/components/sqm-referral-codes/sqm-referral-codes.d.ts +18 -0
  259. package/dist/types/components/sqm-referral-codes/useReferralCodes.d.ts +59 -0
  260. package/dist/types/components/sqm-share-link/useShareLink.d.ts +1 -0
  261. package/dist/types/components/views/copy-text-view.d.ts +2 -0
  262. package/dist/types/components.d.ts +164 -0
  263. package/docs/docs.docx +0 -0
  264. package/docs/raisins.json +1 -1
  265. package/grapesjs/grapesjs.js +1 -1
  266. package/package.json +1 -1
  267. package/dist/esm-es5/ShadowViewAddon-e012b2aa.js +0 -1
  268. package/dist/esm-es5/sqm-navigation-sidebar-item-view-60ef06cc.js +0 -1
  269. package/dist/esm-es5/useRegistrationFormState-9fc1ac80.js +0 -1
  270. package/dist/mint-components/p-021a735d.entry.js +0 -1
  271. package/dist/mint-components/p-03494732.entry.js +0 -1
  272. package/dist/mint-components/p-0b9fa97f.js +0 -1
  273. package/dist/mint-components/p-10e89d0a.entry.js +0 -1
  274. package/dist/mint-components/p-51f517a2.js +0 -1
  275. package/dist/mint-components/p-5be235f9.entry.js +0 -1
  276. package/dist/mint-components/p-5f1c4160.system.entry.js +0 -1
  277. package/dist/mint-components/p-61eab172.js +0 -1
  278. package/dist/mint-components/p-76b2506e.system.entry.js +0 -1
  279. package/dist/mint-components/p-79191f88.entry.js +0 -1
  280. package/dist/mint-components/p-8b5b78ca.entry.js +0 -1
  281. package/dist/mint-components/p-91669312.entry.js +0 -1
  282. package/dist/mint-components/p-95771f79.system.js +0 -1
  283. package/dist/mint-components/p-a6a7dcaa.js +0 -1
  284. package/dist/mint-components/p-ce5afa40.entry.js +0 -1
  285. package/dist/mint-components/p-d495896f.system.entry.js +0 -1
  286. package/dist/mint-components/p-dd7ee007.system.js +0 -1
  287. package/dist/mint-components/p-e3735866.entry.js +0 -11
  288. package/dist/mint-components/p-ed17e637.system.js +0 -1
  289. package/dist/cjs/{GenericTableView-80d7642e.js → GenericTableView-a3f48e15.js} +1 -1
  290. package/dist/cjs/{email-registration-view-248652bb.js → email-registration-view-4c5d9379.js} +1 -1
  291. package/dist/cjs/{sqm-close-button-view-fd6e8f60.js → sqm-close-button-view-217239b7.js} +1 -1
  292. package/dist/cjs/{sqm-navigation-sidebar-item-view-a125ec5f.js → sqm-navigation-sidebar-item-view-4e90b6f5.js} +1 -1
  293. package/dist/cjs/{sqm-portal-email-verification-view-292b5bf4.js → sqm-portal-email-verification-view-bff9783d.js} +1 -1
  294. package/dist/cjs/{sqm-portal-forgot-password-view-969c49ed.js → sqm-portal-forgot-password-view-3cd69fe7.js} +1 -1
  295. package/dist/cjs/{sqm-portal-reset-password-view-96f329ed.js → sqm-portal-reset-password-view-34771d2c.js} +1 -1
  296. package/dist/cjs/{sqm-portal-verify-email-view-7ffcc0d4.js → sqm-portal-verify-email-view-c8f91506.js} +1 -1
  297. package/dist/esm/{GenericTableView-d59d8ab4.js → GenericTableView-bf154727.js} +1 -1
  298. package/dist/esm/{email-registration-view-a89a88bf.js → email-registration-view-12793040.js} +1 -1
  299. package/dist/esm/{sqm-close-button-view-dc65b4e3.js → sqm-close-button-view-b24c708b.js} +1 -1
  300. package/dist/esm/{sqm-portal-forgot-password-view-c2ed8fed.js → sqm-portal-forgot-password-view-95cd454f.js} +1 -1
  301. package/dist/esm/{sqm-portal-reset-password-view-79a85e02.js → sqm-portal-reset-password-view-f1454d43.js} +1 -1
  302. package/dist/esm/{sqm-portal-verify-email-view-d7ea2c56.js → sqm-portal-verify-email-view-3739f523.js} +1 -1
@@ -6,29 +6,30 @@ const index = require('./index-b0129cd6.js');
6
6
  const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
7
7
  require('./global-02e50f09.js');
8
8
  const index_module = require('./index.module-df530553.js');
9
+ require('./utils-6847bc06.js');
10
+ const JSS = require('./JSS-8503a151.js');
11
+ const copyTextView = require('./copy-text-view-a22ad7e7.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');
14
+ const GenericTableView = require('./GenericTableView-a3f48e15.js');
13
15
  require('./useChildElements-e0d44916.js');
14
16
  const luxon = require('./luxon-05098e19.js');
15
- require('./utils-6847bc06.js');
16
17
  require('./sqm-text-span-view-e1cd9bd3.js');
17
18
  const sqmAssetCardView = require('./sqm-asset-card-view-a0e33f21.js');
18
- const sqmCloseButtonView = require('./sqm-close-button-view-fd6e8f60.js');
19
+ const sqmCloseButtonView = require('./sqm-close-button-view-217239b7.js');
19
20
  require('./index-8c6255f5.js');
20
- const emailRegistrationView = require('./email-registration-view-248652bb.js');
21
+ const emailRegistrationView = require('./email-registration-view-4c5d9379.js');
21
22
  const sqmLeaderboardRankView = require('./sqm-leaderboard-rank-view-5a3d4a88.js');
22
23
  const sqmLogoutCurrentUserView = require('./sqm-logout-current-user-view-c9f18d96.js');
23
24
  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');
25
+ const sqmNavigationSidebarItemView = require('./sqm-navigation-sidebar-item-view-4e90b6f5.js');
26
+ const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-bff9783d.js');
27
+ const sqmPortalForgotPasswordView = require('./sqm-portal-forgot-password-view-3cd69fe7.js');
27
28
  const sqmPortalProfileView = require('./sqm-portal-profile-view-fde54e35.js');
28
29
  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');
30
+ const sqmPortalResetPasswordView = require('./sqm-portal-reset-password-view-34771d2c.js');
31
+ const sqmPortalVerifyEmailView = require('./sqm-portal-verify-email-view-c8f91506.js');
32
+ const ShadowViewAddon = require('./ShadowViewAddon-2c6026c3.js');
32
33
  const sqmPortalContainerView = require('./sqm-portal-container-view-990a85a3.js');
33
34
  const sqmInvoiceTableView = require('./sqm-invoice-table-view-e3b03a00.js');
34
35
 
@@ -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",
@@ -7276,14 +7290,14 @@ const loadingProps = {
7276
7290
  },
7277
7291
  content: { pageLabel: "Sign in to your account" },
7278
7292
  };
7279
- const Default$2 = () => index.h(ShadowViewAddon.PortalLoginView, Object.assign({}, defaultProps$2));
7293
+ const Default$3 = () => index.h(ShadowViewAddon.PortalLoginView, Object.assign({}, defaultProps$2));
7280
7294
  const LoginWithError = () => index.h(ShadowViewAddon.PortalLoginView, Object.assign({}, errorProps));
7281
7295
  const LoginLoading = () => index.h(ShadowViewAddon.PortalLoginView, Object.assign({}, loadingProps));
7282
7296
 
7283
7297
  const PortalLogin = /*#__PURE__*/Object.freeze({
7284
7298
  __proto__: null,
7285
7299
  'default': PortalLogin_stories,
7286
- Default: Default$2,
7300
+ Default: Default$3,
7287
7301
  LoginWithError: LoginWithError,
7288
7302
  LoginLoading: LoginLoading
7289
7303
  });
@@ -7386,7 +7400,7 @@ const slottedProps = {
7386
7400
  index.h("sl-input", { exportparts: "label: input-label, base: input-base", label: "Slotted Input 2", required: true }))),
7387
7401
  },
7388
7402
  };
7389
- const Default$3 = () => index.h(ShadowViewAddon.PortalRegisterView, Object.assign({}, defaultProps$3));
7403
+ const Default$4 = () => index.h(ShadowViewAddon.PortalRegisterView, Object.assign({}, defaultProps$3));
7390
7404
  const RegisterWithError = () => index.h(ShadowViewAddon.PortalRegisterView, Object.assign({}, errorProps$1));
7391
7405
  const RegisterLoading = () => index.h(ShadowViewAddon.PortalRegisterView, Object.assign({}, loadingProps$1));
7392
7406
  const FieldsHidden = () => {
@@ -7413,7 +7427,7 @@ const TermsAndConditions = () => (index.h(ShadowViewAddon.PortalRegisterView, Ob
7413
7427
  const PortalRegister = /*#__PURE__*/Object.freeze({
7414
7428
  __proto__: null,
7415
7429
  'default': PortalRegister_stories,
7416
- Default: Default$3,
7430
+ Default: Default$4,
7417
7431
  RegisterWithError: RegisterWithError,
7418
7432
  RegisterLoading: RegisterLoading,
7419
7433
  FieldsHidden: FieldsHidden,
@@ -7489,7 +7503,7 @@ const successProps = {
7489
7503
  messageSlot: "Enter your email below to receive a password reset link.",
7490
7504
  },
7491
7505
  };
7492
- const Default$4 = () => index.h(sqmPortalForgotPasswordView.PortalForgotPasswordView, Object.assign({}, defaultProps$4));
7506
+ const Default$5 = () => index.h(sqmPortalForgotPasswordView.PortalForgotPasswordView, Object.assign({}, defaultProps$4));
7493
7507
  const ForgotPasswordWithError = () => (index.h(sqmPortalForgotPasswordView.PortalForgotPasswordView, Object.assign({}, errorProps$2)));
7494
7508
  const ForgotPasswordLoading = () => (index.h(sqmPortalForgotPasswordView.PortalForgotPasswordView, Object.assign({}, loadingProps$2)));
7495
7509
  const ForgotPasswordSuccess = () => (index.h(sqmPortalForgotPasswordView.PortalForgotPasswordView, Object.assign({}, successProps)));
@@ -7497,7 +7511,7 @@ const ForgotPasswordSuccess = () => (index.h(sqmPortalForgotPasswordView.PortalF
7497
7511
  const PortalForgotPassword = /*#__PURE__*/Object.freeze({
7498
7512
  __proto__: null,
7499
7513
  'default': PortalForgotPassword_stories,
7500
- Default: Default$4,
7514
+ Default: Default$5,
7501
7515
  ForgotPasswordWithError: ForgotPasswordWithError,
7502
7516
  ForgotPasswordLoading: ForgotPasswordLoading,
7503
7517
  ForgotPasswordSuccess: ForgotPasswordSuccess
@@ -7568,7 +7582,7 @@ const loadingVerificationProps = {
7568
7582
  callbacks: defaultCallbacks,
7569
7583
  content: defaultContent,
7570
7584
  };
7571
- const Default$5 = () => index.h(sqmPortalEmailVerificationView.PortalEmailVerificationView, Object.assign({}, defaultProps$5));
7585
+ const Default$6 = () => index.h(sqmPortalEmailVerificationView.PortalEmailVerificationView, Object.assign({}, defaultProps$5));
7572
7586
  const EmailVerificationWithError = () => (index.h(sqmPortalEmailVerificationView.PortalEmailVerificationView, Object.assign({}, errorProps$3)));
7573
7587
  const EmailVerificationLoading = () => (index.h(sqmPortalEmailVerificationView.PortalEmailVerificationView, Object.assign({}, loadingProps$3)));
7574
7588
  const EmailVerificationCheckingVerification = () => (index.h(sqmPortalEmailVerificationView.PortalEmailVerificationView, Object.assign({}, loadingVerificationProps)));
@@ -7577,7 +7591,7 @@ const EmailVerificationSuccess = () => (index.h(sqmPortalEmailVerificationView.P
7577
7591
  const PortalEmailVerification = /*#__PURE__*/Object.freeze({
7578
7592
  __proto__: null,
7579
7593
  'default': PortalEmailVerification_stories,
7580
- Default: Default$5,
7594
+ Default: Default$6,
7581
7595
  EmailVerificationWithError: EmailVerificationWithError,
7582
7596
  EmailVerificationLoading: EmailVerificationLoading,
7583
7597
  EmailVerificationCheckingVerification: EmailVerificationCheckingVerification,
@@ -7730,7 +7744,7 @@ const validatingCodeProps = {
7730
7744
  failed: () => console.log("failed"),
7731
7745
  },
7732
7746
  };
7733
- const Default$6 = () => index.h(sqmPortalResetPasswordView.PortalResetPasswordView, Object.assign({}, defaultProps$6));
7747
+ const Default$7 = () => index.h(sqmPortalResetPasswordView.PortalResetPasswordView, Object.assign({}, defaultProps$6));
7734
7748
  const DefaultWithoutConfirmField = () => (index.h(sqmPortalResetPasswordView.PortalResetPasswordView, Object.assign({}, defaultPropsNoConfirm)));
7735
7749
  const ResetPasswordWithError = () => (index.h(sqmPortalResetPasswordView.PortalResetPasswordView, Object.assign({}, errorProps$4)));
7736
7750
  const ResetPasswordLoading = () => (index.h(sqmPortalResetPasswordView.PortalResetPasswordView, Object.assign({}, loadingProps$4)));
@@ -7740,7 +7754,7 @@ const CodeValidating = () => (index.h(sqmPortalResetPasswordView.PortalResetPass
7740
7754
  const PortalResetPassword = /*#__PURE__*/Object.freeze({
7741
7755
  __proto__: null,
7742
7756
  'default': PortalResetPassword_stories,
7743
- Default: Default$6,
7757
+ Default: Default$7,
7744
7758
  DefaultWithoutConfirmField: DefaultWithoutConfirmField,
7745
7759
  ResetPasswordWithError: ResetPasswordWithError,
7746
7760
  ResetPasswordLoading: ResetPasswordLoading,
@@ -7803,7 +7817,7 @@ const PortalVerifyEmail = /*#__PURE__*/Object.freeze({
7803
7817
  const AssetCard_stories = {
7804
7818
  title: "Components/Asset Card",
7805
7819
  };
7806
- const Default$7 = () => {
7820
+ const Default$8 = () => {
7807
7821
  const props = {
7808
7822
  text: { titleText: "Marketing Banner" },
7809
7823
  imgUrl: "https://res.cloudinary.com/saasquatch/image/upload/v1634255445/squatch-assets/Copy_of_saasquatch-logo-tree-large-horizontal.png",
@@ -7831,7 +7845,7 @@ const CardWithNoImg = () => {
7831
7845
  const AssetCard = /*#__PURE__*/Object.freeze({
7832
7846
  __proto__: null,
7833
7847
  'default': AssetCard_stories,
7834
- Default: Default$7,
7848
+ Default: Default$8,
7835
7849
  CardWithLongText: CardWithLongText,
7836
7850
  CardWithNoImg: CardWithNoImg
7837
7851
  });
@@ -8052,7 +8066,7 @@ const successProps$3 = {
8052
8066
  submit: (e) => console.log("Submit", e),
8053
8067
  },
8054
8068
  };
8055
- const Default$8 = () => index.h(ShadowViewAddon.PortalChangePasswordView, Object.assign({}, defaultProps$7));
8069
+ const Default$9 = () => index.h(ShadowViewAddon.PortalChangePasswordView, Object.assign({}, defaultProps$7));
8056
8070
  const Open = () => index.h(ShadowViewAddon.PortalChangePasswordView, Object.assign({}, openProps));
8057
8071
  const Error$2 = () => index.h(ShadowViewAddon.PortalChangePasswordView, Object.assign({}, errorProps$6));
8058
8072
  const PaswordError = () => (index.h(ShadowViewAddon.PortalChangePasswordView, Object.assign({}, passwordErrorProps)));
@@ -8062,7 +8076,7 @@ const Success = () => index.h(ShadowViewAddon.PortalChangePasswordView, Object.a
8062
8076
  const ChangePassword = /*#__PURE__*/Object.freeze({
8063
8077
  __proto__: null,
8064
8078
  'default': ChangePassword_stories,
8065
- Default: Default$8,
8079
+ Default: Default$9,
8066
8080
  Open: Open,
8067
8081
  Error: Error$2,
8068
8082
  PaswordError: PaswordError,
@@ -8289,7 +8303,7 @@ const successProps$4 = {
8289
8303
  onChange: (e) => console.log(e),
8290
8304
  },
8291
8305
  };
8292
- const Default$9 = () => index.h(sqmPortalProfileView.PortalProfileView, Object.assign({}, defaultProps$8));
8306
+ const Default$a = () => index.h(sqmPortalProfileView.PortalProfileView, Object.assign({}, defaultProps$8));
8293
8307
  const DefaultNoCountry = () => index.h(sqmPortalProfileView.PortalProfileView, Object.assign({}, noCountry));
8294
8308
  const Loading$2 = () => index.h(sqmPortalProfileView.PortalProfileView, Object.assign({}, loadingProps$6));
8295
8309
  const Disabled$1 = () => index.h(sqmPortalProfileView.PortalProfileView, Object.assign({}, disabledProps));
@@ -8299,7 +8313,7 @@ const Success$1 = () => index.h(sqmPortalProfileView.PortalProfileView, Object.a
8299
8313
  const PortalProfile = /*#__PURE__*/Object.freeze({
8300
8314
  __proto__: null,
8301
8315
  'default': PortalProfile_stories,
8302
- Default: Default$9,
8316
+ Default: Default$a,
8303
8317
  DefaultNoCountry: DefaultNoCountry,
8304
8318
  Loading: Loading$2,
8305
8319
  Disabled: Disabled$1,
@@ -10259,7 +10273,7 @@ const ProgramMenu = /*#__PURE__*/Object.freeze({
10259
10273
  const PoweredByImg_stories = {
10260
10274
  title: "Powered By",
10261
10275
  };
10262
- const Default$a = () => {
10276
+ const Default$b = () => {
10263
10277
  return index.h(ShadowViewAddon.PoweredByImg, null);
10264
10278
  };
10265
10279
  const CustomColor = () => {
@@ -10272,7 +10286,7 @@ const CustomWidthAndHeight = () => {
10272
10286
  const PoweredByImg = /*#__PURE__*/Object.freeze({
10273
10287
  __proto__: null,
10274
10288
  'default': PoweredByImg_stories,
10275
- Default: Default$a,
10289
+ Default: Default$b,
10276
10290
  CustomColor: CustomColor,
10277
10291
  CustomWidthAndHeight: CustomWidthAndHeight
10278
10292
  });
@@ -10659,7 +10673,7 @@ const defaultRegisterProps = {
10659
10673
  invalidEmailErrorMessage: "Must be a valid email address",
10660
10674
  },
10661
10675
  };
10662
- const Default$b = createHookStory(() => (index.h(ShadowViewAddon.CheckboxFieldView, Object.assign({}, defaultProps$a))));
10676
+ const Default$c = createHookStory(() => (index.h(ShadowViewAddon.CheckboxFieldView, Object.assign({}, defaultProps$a))));
10663
10677
  const DefaultChecked = createHookStory(() => (index.h(ShadowViewAddon.CheckboxFieldView, Object.assign({}, defaultProps$a, { states: {
10664
10678
  ...defaultProps$a.states,
10665
10679
  checked: true,
@@ -10714,7 +10728,7 @@ const TermsAndConditionsLongCustomLabel = createHookStory(() => (index.h(ShadowV
10714
10728
  const CheckboxField = /*#__PURE__*/Object.freeze({
10715
10729
  __proto__: null,
10716
10730
  'default': CheckboxField_stories,
10717
- Default: Default$b,
10731
+ Default: Default$c,
10718
10732
  DefaultChecked: DefaultChecked,
10719
10733
  CustomLabel: CustomLabel,
10720
10734
  Error: Error$4,
@@ -10816,7 +10830,7 @@ const defaultProps$b = {
10816
10830
  ],
10817
10831
  },
10818
10832
  };
10819
- const Default$c = createHookStory(() => (index.h(ShadowViewAddon.DropdownFieldView, Object.assign({}, defaultProps$b))));
10833
+ const Default$d = createHookStory(() => (index.h(ShadowViewAddon.DropdownFieldView, Object.assign({}, defaultProps$b))));
10820
10834
  const CustomLabel$1 = createHookStory(() => (index.h(ShadowViewAddon.DropdownFieldView, Object.assign({}, defaultProps$b, { content: {
10821
10835
  ...defaultProps$b.content,
10822
10836
  dropdownLabel: "Pick your favorite",
@@ -10844,7 +10858,7 @@ const CustomError$1 = createHookStory(() => (index.h(ShadowViewAddon.DropdownFie
10844
10858
  const DropdownField = /*#__PURE__*/Object.freeze({
10845
10859
  __proto__: null,
10846
10860
  'default': DropdownField_stories,
10847
- Default: Default$c,
10861
+ Default: Default$d,
10848
10862
  CustomLabel: CustomLabel$1,
10849
10863
  Error: Error$5,
10850
10864
  CustomError: CustomError$1
@@ -10954,7 +10968,7 @@ const defaultRegisterProps$1 = {
10954
10968
  invalidEmailErrorMessage: "Must be a valid email address",
10955
10969
  },
10956
10970
  };
10957
- const Default$d = () => index.h(ShadowViewAddon.InputFieldView, Object.assign({}, defaultProps$c));
10971
+ const Default$e = () => index.h(ShadowViewAddon.InputFieldView, Object.assign({}, defaultProps$c));
10958
10972
  const CustomLabel$2 = () => (index.h(ShadowViewAddon.InputFieldView, Object.assign({}, defaultProps$c, { content: { ...defaultProps$c.content, fieldLabel: "My Label" } })));
10959
10973
  const Error$6 = () => (index.h(ShadowViewAddon.InputFieldView, Object.assign({}, defaultProps$c, { states: {
10960
10974
  ...defaultProps$c.states,
@@ -11004,7 +11018,7 @@ const RegistrationFieldCustomLabel = () => (index.h(ShadowViewAddon.PortalRegist
11004
11018
  const InputField = /*#__PURE__*/Object.freeze({
11005
11019
  __proto__: null,
11006
11020
  'default': InputField_stories,
11007
- Default: Default$d,
11021
+ Default: Default$e,
11008
11022
  CustomLabel: CustomLabel$2,
11009
11023
  Error: Error$6,
11010
11024
  CustomError: CustomError$2,
@@ -12627,6 +12641,21 @@ const sharebutton = (slot) => {
12627
12641
  index.h("sqm-share-button", { medium: "facebook" }, "Share on Facebook"),
12628
12642
  index.h("sqm-share-button", { medium: "twitter" }, "Post about us on X"))));
12629
12643
  };
12644
+ const shareButtonsWithPromoCodes = (slot) => {
12645
+ return (index.h("sqm-portal-container", { gap: "large", slot: slot },
12646
+ index.h("sqm-text", null, "Choose how you want to share:"),
12647
+ index.h("sqm-text", null,
12648
+ index.h("sub", null, "Share with your friends:"),
12649
+ index.h("sqm-share-code", null),
12650
+ index.h("sqm-share-link", null)),
12651
+ index.h("sqm-portal-container", { gap: "x-small" },
12652
+ index.h("sqm-share-button", { medium: "email" }, "Share via email"),
12653
+ index.h("sqm-share-button", { medium: "facebook" }, "Share on Facebook"),
12654
+ index.h("sqm-share-button", { medium: "twitter" }, "Post about us on X"),
12655
+ index.h("sqm-portal-container", { gap: "x-small" },
12656
+ index.h("span", { style: { textAlign: "center", color: "var(--sl-color-gray-500)" } }, "You have copied this code before"),
12657
+ index.h("sqm-pagination", null)))));
12658
+ };
12630
12659
  const timeline = (slot, count) => {
12631
12660
  return (index.h("sqm-timeline", { slot: slot, icon: "circle" },
12632
12661
  count > 0 && (index.h("sqm-timeline-entry", { reward: "75", unit: "points", desc: "Your friends signs up for a free trial" })),
@@ -12649,6 +12678,11 @@ const TimelineAndShareButtons = () => {
12649
12678
  timeline("left", 3),
12650
12679
  sharebutton("right")));
12651
12680
  };
12681
+ const OneTimeUsePromoCodes = () => {
12682
+ return (index.h("sqm-referral-card", null,
12683
+ timeline("left", 4),
12684
+ shareButtonsWithPromoCodes("right")));
12685
+ };
12652
12686
  const StartAlignment = () => {
12653
12687
  return (index.h("sqm-referral-card", { "vertical-alignment": "start" },
12654
12688
  timeline("left", 4),
@@ -12725,6 +12759,7 @@ const ReferralCard = /*#__PURE__*/Object.freeze({
12725
12759
  ImageAndShareButtons: ImageAndShareButtons,
12726
12760
  LimitWidth: LimitWidth,
12727
12761
  TimelineAndShareButtons: TimelineAndShareButtons,
12762
+ OneTimeUsePromoCodes: OneTimeUsePromoCodes,
12728
12763
  StartAlignment: StartAlignment,
12729
12764
  CenterAlignment: CenterAlignment,
12730
12765
  EndAlignment: EndAlignment,
@@ -13787,7 +13822,7 @@ const CustomTooltipDuration = () => {
13787
13822
  return (index.h("sqm-share-code", { tooltiplifespan: 5000, tooltiptext: "CUSTOM TOOLTIP TEXT" }));
13788
13823
  };
13789
13824
  const CopyButton$1 = () => {
13790
- return (index.h(ShadowViewAddon.CopyTextView, Object.assign({}, {
13825
+ return (index.h(copyTextView.CopyTextView, Object.assign({}, {
13791
13826
  copyString: "https://noah.example.com",
13792
13827
  open: false,
13793
13828
  tooltiptext: "Copied!",
@@ -13795,7 +13830,7 @@ const CopyButton$1 = () => {
13795
13830
  })));
13796
13831
  };
13797
13832
  const CopyButtonBelow$1 = () => {
13798
- return (index.h(ShadowViewAddon.CopyTextView, Object.assign({}, {
13833
+ return (index.h(copyTextView.CopyTextView, Object.assign({}, {
13799
13834
  copyString: "https://noah.example.com",
13800
13835
  open: false,
13801
13836
  tooltiptext: "Copied!",
@@ -13810,7 +13845,7 @@ const Error$7 = () => {
13810
13845
  tooltiptext: "Copied!",
13811
13846
  error: true,
13812
13847
  };
13813
- return index.h(ShadowViewAddon.CopyTextView, Object.assign({}, props));
13848
+ return index.h(copyTextView.CopyTextView, Object.assign({}, props));
13814
13849
  };
13815
13850
 
13816
13851
  const ShareCode$1 = /*#__PURE__*/Object.freeze({
@@ -13826,6 +13861,82 @@ const ShareCode$1 = /*#__PURE__*/Object.freeze({
13826
13861
  Error: Error$7
13827
13862
  });
13828
13863
 
13864
+ 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 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 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\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";
13865
+
13866
+ const ReferralCode_stories = {
13867
+ title: "Components/Referral Code",
13868
+ parameters: {
13869
+ scenario: scenario$A,
13870
+ },
13871
+ };
13872
+ const ReferralCode = () => {
13873
+ return (index.h("sqm-referral-code", { tooltiptext: "Copied to Clipboard" }));
13874
+ };
13875
+ const ShowNotificationText = () => {
13876
+ return (index.h("sqm-referral-code", { showNotificationText: true, notificationText: "You've copied this code before" }));
13877
+ };
13878
+ const ShowNotificationTextWithButton = () => {
13879
+ return (index.h("sqm-referral-code", { showNotificationText: true, notificationText: "You've copied this code before", buttonStyle: "button-outside" }));
13880
+ };
13881
+ const ShowNotificationTextWithButtonBelow = () => {
13882
+ return (index.h("sqm-referral-code", { showNotificationText: true, notificationText: "You've copied this code before", buttonStyle: "button-below" }));
13883
+ };
13884
+ const CustomTooltipText$1 = () => {
13885
+ return (index.h("sqm-referral-code", { tooltiptext: "CUSTOM TOOLTIP TEXT" }));
13886
+ };
13887
+ const TextAlignCenter$2 = () => {
13888
+ return index.h("sqm-referral-code", { textAlign: "center" });
13889
+ };
13890
+ const TextAlignRight$2 = () => {
13891
+ return index.h("sqm-referral-code", { textAlign: "right" });
13892
+ };
13893
+ const CustomTooltipDuration$1 = () => {
13894
+ return (index.h("sqm-referral-code", { tooltiplifespan: 5000, tooltiptext: "CUSTOM TOOLTIP TEXT" }));
13895
+ };
13896
+ const CopyButton$2 = () => {
13897
+ return (index.h(copyTextView.CopyTextView, Object.assign({}, {
13898
+ copyString: "https://noah.example.com",
13899
+ open: false,
13900
+ tooltiptext: "Copied!",
13901
+ isCopyIcon: false,
13902
+ buttonStyle: "button-outside",
13903
+ })));
13904
+ };
13905
+ const CopyButtonBelow$2 = () => {
13906
+ return (index.h(copyTextView.CopyTextView, Object.assign({}, {
13907
+ copyString: "https://noah.example.com",
13908
+ open: false,
13909
+ tooltiptext: "Copied!",
13910
+ buttonStyle: "button-below",
13911
+ })));
13912
+ };
13913
+ const Error$8 = () => {
13914
+ const props = {
13915
+ copyString: "https://noah.example.com",
13916
+ disabled: true,
13917
+ open: true,
13918
+ tooltiptext: "Copied!",
13919
+ error: true,
13920
+ };
13921
+ return index.h(copyTextView.CopyTextView, Object.assign({}, props));
13922
+ };
13923
+
13924
+ const ReferralCode$1 = /*#__PURE__*/Object.freeze({
13925
+ __proto__: null,
13926
+ 'default': ReferralCode_stories,
13927
+ ReferralCode: ReferralCode,
13928
+ ShowNotificationText: ShowNotificationText,
13929
+ ShowNotificationTextWithButton: ShowNotificationTextWithButton,
13930
+ ShowNotificationTextWithButtonBelow: ShowNotificationTextWithButtonBelow,
13931
+ CustomTooltipText: CustomTooltipText$1,
13932
+ TextAlignCenter: TextAlignCenter$2,
13933
+ TextAlignRight: TextAlignRight$2,
13934
+ CustomTooltipDuration: CustomTooltipDuration$1,
13935
+ CopyButton: CopyButton$2,
13936
+ CopyButtonBelow: CopyButtonBelow$2,
13937
+ Error: Error$8
13938
+ });
13939
+
13829
13940
  // import scenario from "./ShareCode.feature";
13830
13941
  const EmailRegistration_stories = {
13831
13942
  title: "Components/Email Registration",
@@ -13852,7 +13963,7 @@ const defaultProps$d = {
13852
13963
  fraudErrorMessageTitle: "Looks like you tried referring yourself",
13853
13964
  },
13854
13965
  };
13855
- const Default$e = () => index.h(emailRegistrationView.EmailRegistrationView, Object.assign({}, defaultProps$d));
13966
+ const Default$f = () => index.h(emailRegistrationView.EmailRegistrationView, Object.assign({}, defaultProps$d));
13856
13967
  const HasFirstNameLastName = () => (index.h(emailRegistrationView.EmailRegistrationView, Object.assign({}, {
13857
13968
  ...defaultProps$d,
13858
13969
  content: {
@@ -13889,7 +14000,7 @@ const Loading$4 = () => (index.h(emailRegistrationView.EmailRegistrationView, Ob
13889
14000
  loading: true,
13890
14001
  },
13891
14002
  })));
13892
- const Error$8 = () => (index.h(emailRegistrationView.EmailRegistrationView, Object.assign({}, {
14003
+ const Error$9 = () => (index.h(emailRegistrationView.EmailRegistrationView, Object.assign({}, {
13893
14004
  ...defaultProps$d,
13894
14005
  states: {
13895
14006
  error: "Something went wrong. Please try again.",
@@ -13917,23 +14028,23 @@ const EmptyEmailError = () => (index.h(emailRegistrationView.EmailRegistrationVi
13917
14028
  const EmailRegistration = /*#__PURE__*/Object.freeze({
13918
14029
  __proto__: null,
13919
14030
  'default': EmailRegistration_stories,
13920
- Default: Default$e,
14031
+ Default: Default$f,
13921
14032
  HasFirstNameLastName: HasFirstNameLastName,
13922
14033
  WithSlots: WithSlots,
13923
14034
  NoBorder: NoBorder$1,
13924
14035
  BackgroundColor: BackgroundColor$2,
13925
14036
  Loading: Loading$4,
13926
- Error: Error$8,
14037
+ Error: Error$9,
13927
14038
  FraudError: FraudError,
13928
14039
  EmptyEmailError: EmptyEmailError
13929
14040
  });
13930
14041
 
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";
14042
+ 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
14043
 
13933
14044
  const CouponCode_stories = {
13934
14045
  title: "Components/Coupon Code",
13935
14046
  parameters: {
13936
- scenario: scenario$A,
14047
+ scenario: scenario$B,
13937
14048
  },
13938
14049
  };
13939
14050
  const defaultProps$e = {
@@ -13948,25 +14059,25 @@ const defaultProps$e = {
13948
14059
  const CouponCode = () => {
13949
14060
  return index.h("sqm-coupon-code", { tooltiptext: "Copied to Clipboard" });
13950
14061
  };
13951
- const CustomTooltipText$1 = () => {
14062
+ const CustomTooltipText$2 = () => {
13952
14063
  return index.h("sqm-coupon-code", { tooltiptext: "CUSTOM TOOLTIP TEXT" });
13953
14064
  };
13954
- const CustomTooltipDuration$1 = () => {
14065
+ const CustomTooltipDuration$2 = () => {
13955
14066
  return (index.h("sqm-coupon-code", { tooltiplifespan: 5000, tooltiptext: "CUSTOM TOOLTIP TEXT" }));
13956
14067
  };
13957
- const TextAlignCenter$2 = () => {
14068
+ const TextAlignCenter$3 = () => {
13958
14069
  return index.h("sqm-coupon-code", { textAlign: "center" });
13959
14070
  };
13960
- const TextAlignRight$2 = () => {
14071
+ const TextAlignRight$3 = () => {
13961
14072
  return index.h("sqm-coupon-code", { textAlign: "right" });
13962
14073
  };
13963
- const CopyButton$2 = () => {
14074
+ const CopyButton$3 = () => {
13964
14075
  return (index.h("sqm-coupon-code", Object.assign({}, defaultProps$e, { buttonStyle: "button-outside" })));
13965
14076
  };
13966
14077
  const CopyButtonCustomLabel = () => {
13967
14078
  return (index.h("sqm-coupon-code", Object.assign({}, defaultProps$e, { buttonStyle: "button-outside", "copy-button-label": "test long custom label" })));
13968
14079
  };
13969
- const CopyButtonBelow$2 = () => {
14080
+ const CopyButtonBelow$3 = () => {
13970
14081
  return (index.h("sqm-coupon-code", Object.assign({}, defaultProps$e, { buttonStyle: "button-below" })));
13971
14082
  };
13972
14083
  const CopyButtonBelowCustomLabel = () => {
@@ -14004,13 +14115,13 @@ const CouponCode$1 = /*#__PURE__*/Object.freeze({
14004
14115
  __proto__: null,
14005
14116
  'default': CouponCode_stories,
14006
14117
  CouponCode: CouponCode,
14007
- CustomTooltipText: CustomTooltipText$1,
14008
- CustomTooltipDuration: CustomTooltipDuration$1,
14009
- TextAlignCenter: TextAlignCenter$2,
14010
- TextAlignRight: TextAlignRight$2,
14011
- CopyButton: CopyButton$2,
14118
+ CustomTooltipText: CustomTooltipText$2,
14119
+ CustomTooltipDuration: CustomTooltipDuration$2,
14120
+ TextAlignCenter: TextAlignCenter$3,
14121
+ TextAlignRight: TextAlignRight$3,
14122
+ CopyButton: CopyButton$3,
14012
14123
  CopyButtonCustomLabel: CopyButtonCustomLabel,
14013
- CopyButtonBelow: CopyButtonBelow$2,
14124
+ CopyButtonBelow: CopyButtonBelow$3,
14014
14125
  CopyButtonBelowCustomLabel: CopyButtonBelowCustomLabel,
14015
14126
  Loading: Loading$5,
14016
14127
  CopyButtonLoading: CopyButtonLoading,
@@ -14023,12 +14134,12 @@ const CouponCode$1 = /*#__PURE__*/Object.freeze({
14023
14134
  ErrorRedeemed: ErrorRedeemed
14024
14135
  });
14025
14136
 
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";
14137
+ 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
14138
 
14028
14139
  const LogoutCurrentUser_stories = {
14029
14140
  title: "Components/Logout Current User",
14030
14141
  parameters: {
14031
- scenario: scenario$B,
14142
+ scenario: scenario$C,
14032
14143
  },
14033
14144
  };
14034
14145
  const defaultProps$f = {
@@ -14038,22 +14149,22 @@ const defaultProps$f = {
14038
14149
  loading: false,
14039
14150
  emailErrorText: "Error fetching email",
14040
14151
  };
14041
- const Default$f = () => {
14152
+ const Default$g = () => {
14042
14153
  return index.h(sqmLogoutCurrentUserView.LogoutCurrentUserView, Object.assign({}, defaultProps$f));
14043
14154
  };
14044
14155
 
14045
14156
  const LogoutCurrentUser = /*#__PURE__*/Object.freeze({
14046
14157
  __proto__: null,
14047
14158
  'default': LogoutCurrentUser_stories,
14048
- Default: Default$f
14159
+ Default: Default$g
14049
14160
  });
14050
14161
 
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 |";
14162
+ 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
14163
 
14053
14164
  const LinkButton_stories = {
14054
14165
  title: "Components/Link Button",
14055
14166
  parameters: {
14056
- scenario: scenario$C,
14167
+ scenario: scenario$D,
14057
14168
  },
14058
14169
  };
14059
14170
  const defaultProps$g = {
@@ -14061,7 +14172,7 @@ const defaultProps$g = {
14061
14172
  openInNewTab: false,
14062
14173
  buttonText: "Button Text",
14063
14174
  };
14064
- const Default$g = () => {
14175
+ const Default$h = () => {
14065
14176
  return index.h("sqm-link-button", Object.assign({}, defaultProps$g));
14066
14177
  };
14067
14178
  const OpenInNewTab = () => {
@@ -14071,7 +14182,7 @@ const OpenInNewTab = () => {
14071
14182
  const LinkButton = /*#__PURE__*/Object.freeze({
14072
14183
  __proto__: null,
14073
14184
  'default': LinkButton_stories,
14074
- Default: Default$g,
14185
+ Default: Default$h,
14075
14186
  OpenInNewTab: OpenInNewTab
14076
14187
  });
14077
14188
 
@@ -14089,7 +14200,7 @@ const containerStyles = {
14089
14200
  border: "1px solid black",
14090
14201
  padding: "25px",
14091
14202
  };
14092
- const Default$h = () => {
14203
+ const Default$i = () => {
14093
14204
  return index.h(sqmCloseButtonView.CloseButtonView, Object.assign({}, defaultProps$h));
14094
14205
  };
14095
14206
  const InAContainer = () => {
@@ -14104,7 +14215,7 @@ const CustomColor$1 = () => {
14104
14215
  const CloseButton = /*#__PURE__*/Object.freeze({
14105
14216
  __proto__: null,
14106
14217
  'default': CloseButton_stories,
14107
- Default: Default$h,
14218
+ Default: Default$i,
14108
14219
  InAContainer: InAContainer,
14109
14220
  CustomColor: CustomColor$1
14110
14221
  });
@@ -14342,7 +14453,7 @@ const Loading$6 = () => {
14342
14453
  },
14343
14454
  } }));
14344
14455
  };
14345
- const Error$9 = () => {
14456
+ const Error$a = () => {
14346
14457
  return (index.h("sqm-payout-details-card", { demoData: {
14347
14458
  states: {
14348
14459
  error: true,
@@ -14383,7 +14494,7 @@ const PayoutDetailsCard = /*#__PURE__*/Object.freeze({
14383
14494
  __proto__: null,
14384
14495
  'default': PayoutDetailsCard_stories,
14385
14496
  Loading: Loading$6,
14386
- Error: Error$9,
14497
+ Error: Error$a,
14387
14498
  NextPayout: NextPayout,
14388
14499
  PayoutToday: PayoutToday,
14389
14500
  ThresholdPayout: ThresholdPayout,
@@ -14993,6 +15104,49 @@ const UseInvoiceTableCells = /*#__PURE__*/Object.freeze({
14993
15104
  InvoiceTableDemoHook: InvoiceTableDemoHook
14994
15105
  });
14995
15106
 
15107
+ 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\n Examples:\n | shareMedium |\n | DIRECT |\n | EMAIL |\n | FBMESSENGER |\n | WHATSAPP |\n\n @minutia\n Scenario: User is notified if the currently viewed promo code has been used 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 used already\n Then no notification text is displayed\n When the code is changed to one that has been used\n Then the notification text is displayed\n\n @minutia\n Scenario Outline: Share mediums can be optionally displayed\n Given an authenticated user\n And the program has promo codes configured\n And <propName> is true\n Then the <shareMedium> is hidden\n Examples:\n | propName | shareMedium |\n | hideSharelink | DIRECT |\n | hideEmail | EMAIL |\n | hideFbMessenger | FBMESSENGER |\n | hideWhatsApp | WHATSAPP |\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";
15108
+
15109
+ const ReferralCodes_stories = {
15110
+ title: "Components/Referral Codes",
15111
+ parameters: {
15112
+ scenario: scenario$E,
15113
+ },
15114
+ };
15115
+ const pagination = (slot) => {
15116
+ return index.h("sqm-pagination", { slot: slot });
15117
+ };
15118
+ const shareButtons = (slot) => {
15119
+ return (index.h("sqm-portal-container", { gap: "small", slot: slot },
15120
+ index.h("sqm-share-button", { medium: "email" }, "Share via email"),
15121
+ index.h("sqm-share-button", { medium: "facebook" }, "Share on Facebook"),
15122
+ index.h("sqm-share-button", { medium: "whatsapp" }, "Share on WhatsApp")));
15123
+ };
15124
+ const shareCodes = (slot) => {
15125
+ return index.h("sqm-referral-code", { slot: slot });
15126
+ };
15127
+ const shareCodeWithPreviouslyCopied = (slot) => {
15128
+ return (index.h("sqm-referral-code", { slot: slot, showNotificationText: true, notificationText: "You\u2019ve copied this before." }));
15129
+ };
15130
+ const ReferralCodes = () => {
15131
+ return (index.h("sqm-referral-codes", null,
15132
+ pagination("pagination"),
15133
+ shareCodes("shareCodes"),
15134
+ shareButtons("shareButtons")));
15135
+ };
15136
+ const WithPreviouslyCopiedCode = () => {
15137
+ return (index.h("sqm-referral-codes", null,
15138
+ pagination("pagination"),
15139
+ shareCodeWithPreviouslyCopied("shareCodes"),
15140
+ shareButtons("shareButtons")));
15141
+ };
15142
+
15143
+ const ReferralCodes$1 = /*#__PURE__*/Object.freeze({
15144
+ __proto__: null,
15145
+ 'default': ReferralCodes_stories,
15146
+ ReferralCodes: ReferralCodes,
15147
+ WithPreviouslyCopiedCode: WithPreviouslyCopiedCode
15148
+ });
15149
+
14996
15150
  /**
14997
15151
  *
14998
15152
  * Themes
@@ -15005,7 +15159,7 @@ const UseInvoiceTableCells = /*#__PURE__*/Object.freeze({
15005
15159
  *
15006
15160
  */
15007
15161
  //
15008
- const Default$i = `
15162
+ const Default$j = `
15009
15163
  // No CSS
15010
15164
  `;
15011
15165
  const Orangey = `
@@ -15039,7 +15193,7 @@ const Klip = `
15039
15193
 
15040
15194
  const Themes = /*#__PURE__*/Object.freeze({
15041
15195
  __proto__: null,
15042
- Default: Default$i,
15196
+ Default: Default$j,
15043
15197
  Orangey: Orangey,
15044
15198
  Netflix: Netflix,
15045
15199
  SaaSquatchCorporate: SaaSquatchCorporate,
@@ -17638,6 +17792,7 @@ const stories = [
17638
17792
  InvoiceTableCells,
17639
17793
  UseInvoiceTableCells,
17640
17794
  ShareButton,
17795
+ Pagination,
17641
17796
  ShareLink,
17642
17797
  BigStat,
17643
17798
  Leaderboard,
@@ -17706,6 +17861,8 @@ const stories = [
17706
17861
  Tabs,
17707
17862
  ShareCode$1,
17708
17863
  CouponCode$1,
17864
+ ReferralCode$1,
17865
+ ReferralCodes$1,
17709
17866
  LogoutCurrentUser,
17710
17867
  LinkButton,
17711
17868
  EmailRegistration,