@saasquatch/mint-components 1.5.0-49 → 1.5.0-52

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 (421) hide show
  1. package/dist/cjs/{AutoColor-a489ed67.js → AutoColor-db901e98.js} +101 -105
  2. package/dist/cjs/{GenericTableView-f9bd3b19.js → GenericTableView-34662639.js} +5 -6
  3. package/dist/cjs/{JSS-24a85193.js → JSS-c65a40f1.js} +39 -39
  4. package/dist/cjs/{global-32bf222f.js → global-08276663.js} +589 -589
  5. package/dist/cjs/{index-d8fa5d8e.js → index-b0129cd6.js} +104 -181
  6. package/dist/cjs/{index.module-0f10a4c4.js → index.module-54724339.js} +6392 -6392
  7. package/dist/cjs/loader.cjs.js +7 -7
  8. package/dist/cjs/{luxon-751f2e1c.js → luxon-59ca7d19.js} +2 -2
  9. package/dist/cjs/mint-components.cjs.js +9 -9
  10. package/dist/cjs/{sqm-asset-card-view-0764beab.js → sqm-asset-card-view-d9ac6a95.js} +2 -2
  11. package/dist/cjs/sqm-asset-card.cjs.entry.js +9 -9
  12. package/dist/cjs/{sqm-big-stat-view-37e341c1.js → sqm-big-stat-view-e5dc0877.js} +2 -2
  13. package/dist/cjs/sqm-big-stat.cjs.entry.js +9 -9
  14. package/dist/cjs/{sqm-brand_26.cjs.entry.js → sqm-brand_27.cjs.entry.js} +328 -251
  15. package/dist/cjs/sqm-form-message.cjs.entry.js +3 -3
  16. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +10 -10
  17. package/dist/cjs/{sqm-hero-view-6706134d.js → sqm-hero-view-a13795c0.js} +4 -4
  18. package/dist/cjs/sqm-hero.cjs.entry.js +7 -7
  19. package/dist/cjs/{sqm-leaderboard-rank-view-5e2bcad9.js → sqm-leaderboard-rank-view-35015d30.js} +1 -1
  20. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +14 -15
  21. package/dist/cjs/sqm-leaderboard.cjs.entry.js +9 -9
  22. package/dist/cjs/{sqm-name-fields-view-c684114f.js → sqm-name-fields-view-c95e4768.js} +10 -12
  23. package/dist/cjs/sqm-name-fields.cjs.entry.js +9 -9
  24. package/dist/cjs/{sqm-navigation-sidebar-item-view-7f69e118.js → sqm-navigation-sidebar-item-view-da648fbc.js} +4 -4
  25. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +11 -11
  26. package/dist/cjs/{sqm-navigation-sidebar-view-b53fad32.js → sqm-navigation-sidebar-view-36632c96.js} +2 -2
  27. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +5 -5
  28. package/dist/cjs/sqm-password-field.cjs.entry.js +26 -27
  29. package/dist/cjs/sqm-popup-container.cjs.entry.js +9 -9
  30. package/dist/cjs/{sqm-portal-container-view-a78ab7ca.js → sqm-portal-container-view-185b4bd0.js} +2 -2
  31. package/dist/cjs/{sqm-portal-email-verification-view-2a783b13.js → sqm-portal-email-verification-view-991a6739.js} +4 -4
  32. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +13 -13
  33. package/dist/cjs/{sqm-portal-footer-view-ff16e344.js → sqm-portal-footer-view-266e5a7d.js} +3 -3
  34. package/dist/cjs/sqm-portal-footer.cjs.entry.js +9 -9
  35. package/dist/cjs/{sqm-portal-forgot-password-view-036e5d76.js → sqm-portal-forgot-password-view-10c0b54f.js} +3 -3
  36. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +13 -13
  37. package/dist/cjs/sqm-portal-logout.cjs.entry.js +8 -8
  38. package/dist/cjs/{sqm-portal-profile-view-0c31ff46.js → sqm-portal-profile-view-fda5946f.js} +10 -13
  39. package/dist/cjs/sqm-portal-profile.cjs.entry.js +16 -16
  40. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +11 -11
  41. package/dist/cjs/{sqm-portal-reset-password-view-c2ca03ef.js → sqm-portal-reset-password-view-1fdc957e.js} +3 -3
  42. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +15 -15
  43. package/dist/cjs/{sqm-portal-section-view-073d9dda.js → sqm-portal-section-view-3b6c990e.js} +2 -2
  44. package/dist/cjs/{sqm-portal-verify-email-view-1fa62a17.js → sqm-portal-verify-email-view-4c78e231.js} +3 -3
  45. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +14 -14
  46. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +31 -31
  47. package/dist/cjs/sqm-refresh-button.cjs.entry.js +7 -7
  48. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +26 -27
  49. package/dist/cjs/sqm-route.cjs.entry.js +2 -2
  50. package/dist/cjs/{sqm-stat-container-view-fd6e8f8d.js → sqm-stat-container-view-5b2db929.js} +2 -18
  51. package/dist/cjs/sqm-stat-container.cjs.entry.js +6 -6
  52. package/dist/cjs/sqm-stencilbook.cjs.entry.js +642 -599
  53. package/dist/cjs/sqm-table-cell_3.cjs.entry.js +5 -5
  54. package/dist/cjs/{sqm-text-span-view-dd99633a.js → sqm-text-span-view-f101dedf.js} +2 -2
  55. package/dist/cjs/sqm-text-span.cjs.entry.js +5 -5
  56. package/dist/cjs/sqm-titled-section.cjs.entry.js +6 -6
  57. package/dist/{esm/stencil-hooks.module-1bcbec4f.js → cjs/stencil-hooks.module-87a1f4f7.js} +58 -40
  58. package/dist/cjs/{use-callback-867e51f6.js → use-callback-e754042f.js} +1 -1
  59. package/dist/cjs/{useChildElements-6f8aa7de.js → useChildElements-4bc9b219.js} +3 -3
  60. package/dist/cjs/{useDemoBigStat-1fa1ca6a.js → useDemoBigStat-42fa7a69.js} +5 -5
  61. package/dist/cjs/{useLeaderboard-b712d583.js → useLeaderboard-6110cd94.js} +5 -5
  62. package/dist/collection/collection-manifest.json +4 -3
  63. package/dist/collection/components/sqm-edit-profile/useEditProfile.js +3 -4
  64. package/dist/collection/components/sqm-image/Image.stories.js +25 -0
  65. package/dist/collection/components/sqm-image/sqm-image-view.js +32 -0
  66. package/dist/collection/components/sqm-image/sqm-image.js +137 -0
  67. package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +1 -1
  68. package/dist/collection/components/sqm-leaderboard-rank/useLeaderboardRank.js +3 -4
  69. package/dist/collection/components/sqm-media/HeroImage.stories.js +37 -0
  70. package/dist/collection/components/sqm-media/{sqm-media-view.js → sqm-hero-image-view.js} +26 -18
  71. package/dist/collection/components/sqm-media/{sqm-media.js → sqm-hero-image.js} +77 -38
  72. package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +8 -10
  73. package/dist/collection/components/sqm-password-field/sqm-password-field-view.js +4 -5
  74. package/dist/collection/components/sqm-portal-profile/sqm-portal-profile-view.js +5 -8
  75. package/dist/collection/components/sqm-portal-register/sqm-portal-register-view.js +10 -12
  76. package/dist/collection/components/sqm-referral-card/ReferralCard.stories.js +1 -1
  77. package/dist/collection/components/sqm-referral-card/sqm-timeline-entry.js +47 -16
  78. package/dist/collection/components/sqm-referral-card/sqm-timeline.js +21 -16
  79. package/dist/collection/components/sqm-referral-table/UseReferralTable.stories.js +0 -2
  80. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-date-column.js +2 -2
  81. package/dist/collection/components/sqm-refresh-button/sqm-refresh-button.js +1 -3
  82. package/dist/collection/components/sqm-reward-exchange-list/UseRewardExchangeList.stories.js +0 -3
  83. package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +1 -2
  84. package/dist/collection/components/sqm-rewards-table/UseRewardsTable.stories.js +0 -2
  85. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-source-cell.js +0 -1
  86. package/dist/collection/components/sqm-rewards-table/sqm-rewards-table-view.js +3 -4
  87. package/dist/collection/components/sqm-share-button/useShareButton.js +1 -2
  88. package/dist/collection/components/sqm-stat-container/sqm-stat-container-view.js +0 -16
  89. package/dist/collection/components/sqm-stencilbook/AutoColor.js +1 -1
  90. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +4 -2
  91. package/dist/collection/components/sqm-task-card/TaskCard.stories.js +2 -2
  92. package/dist/collection/tables/GenericTableView.js +3 -4
  93. package/dist/esm/{AutoColor-9281c94b.js → AutoColor-5d891803.js} +101 -105
  94. package/dist/esm/{GenericTableView-e4257466.js → GenericTableView-5de898c3.js} +5 -6
  95. package/dist/esm/{JSS-df9ea8a0.js → JSS-96eeab98.js} +39 -39
  96. package/dist/esm/{global-cc738e38.js → global-6bd9287e.js} +589 -589
  97. package/dist/esm/{index-2c5a6587.js → index-17b4da69.js} +104 -181
  98. package/dist/esm/{index.module-983975d9.js → index.module-ec3dcc82.js} +6374 -6374
  99. package/dist/esm/loader.js +7 -7
  100. package/dist/esm/{luxon-afa282c2.js → luxon-5fa22651.js} +2 -2
  101. package/dist/esm/mint-components.js +9 -9
  102. package/dist/esm/{sqm-asset-card-view-809b35ce.js → sqm-asset-card-view-f9ca5345.js} +2 -2
  103. package/dist/esm/sqm-asset-card.entry.js +9 -9
  104. package/dist/esm/{sqm-big-stat-view-3adf4ef2.js → sqm-big-stat-view-309f7c1f.js} +2 -2
  105. package/dist/esm/sqm-big-stat.entry.js +9 -9
  106. package/dist/esm/{sqm-brand_26.entry.js → sqm-brand_27.entry.js} +327 -251
  107. package/dist/esm/sqm-form-message.entry.js +3 -3
  108. package/dist/esm/sqm-graphql-client-provider.entry.js +10 -10
  109. package/dist/esm/{sqm-hero-view-b30e42f0.js → sqm-hero-view-190bc812.js} +4 -4
  110. package/dist/esm/sqm-hero.entry.js +7 -7
  111. package/dist/esm/{sqm-leaderboard-rank-view-91a35c42.js → sqm-leaderboard-rank-view-da91f5f3.js} +1 -1
  112. package/dist/esm/sqm-leaderboard-rank.entry.js +14 -15
  113. package/dist/esm/sqm-leaderboard.entry.js +9 -9
  114. package/dist/esm/{sqm-name-fields-view-77895fa8.js → sqm-name-fields-view-69b1583f.js} +10 -12
  115. package/dist/esm/sqm-name-fields.entry.js +9 -9
  116. package/dist/esm/{sqm-navigation-sidebar-item-view-3c21b3ee.js → sqm-navigation-sidebar-item-view-a6f7f96c.js} +4 -4
  117. package/dist/esm/sqm-navigation-sidebar-item.entry.js +11 -11
  118. package/dist/esm/{sqm-navigation-sidebar-view-1c50483e.js → sqm-navigation-sidebar-view-816558e3.js} +2 -2
  119. package/dist/esm/sqm-navigation-sidebar.entry.js +5 -5
  120. package/dist/esm/sqm-password-field.entry.js +26 -27
  121. package/dist/esm/sqm-popup-container.entry.js +9 -9
  122. package/dist/esm/{sqm-portal-container-view-72c8b457.js → sqm-portal-container-view-cf79ed90.js} +2 -2
  123. package/dist/esm/{sqm-portal-email-verification-view-7685db9c.js → sqm-portal-email-verification-view-96c1f91b.js} +4 -4
  124. package/dist/esm/sqm-portal-email-verification.entry.js +13 -13
  125. package/dist/esm/{sqm-portal-footer-view-b344a6ad.js → sqm-portal-footer-view-3a7dfbfc.js} +3 -3
  126. package/dist/esm/sqm-portal-footer.entry.js +9 -9
  127. package/dist/esm/{sqm-portal-forgot-password-view-f7f24742.js → sqm-portal-forgot-password-view-fa088f83.js} +3 -3
  128. package/dist/esm/sqm-portal-forgot-password.entry.js +13 -13
  129. package/dist/esm/sqm-portal-logout.entry.js +8 -8
  130. package/dist/esm/{sqm-portal-profile-view-3da23184.js → sqm-portal-profile-view-36488558.js} +10 -13
  131. package/dist/esm/sqm-portal-profile.entry.js +16 -16
  132. package/dist/esm/sqm-portal-protected-route.entry.js +11 -11
  133. package/dist/esm/{sqm-portal-reset-password-view-f3017d72.js → sqm-portal-reset-password-view-73e14282.js} +3 -3
  134. package/dist/esm/sqm-portal-reset-password.entry.js +15 -15
  135. package/dist/esm/{sqm-portal-section-view-5a3d3829.js → sqm-portal-section-view-d3098f7f.js} +2 -2
  136. package/dist/esm/{sqm-portal-verify-email-view-329fdc3b.js → sqm-portal-verify-email-view-cbf1cfdc.js} +3 -3
  137. package/dist/esm/sqm-portal-verify-email.entry.js +14 -14
  138. package/dist/esm/sqm-referral-table_11.entry.js +31 -31
  139. package/dist/esm/sqm-refresh-button.entry.js +7 -7
  140. package/dist/esm/sqm-rewards-table_9.entry.js +26 -27
  141. package/dist/esm/sqm-route.entry.js +2 -2
  142. package/dist/esm/{sqm-stat-container-view-02b82222.js → sqm-stat-container-view-8a565c5a.js} +2 -18
  143. package/dist/esm/sqm-stat-container.entry.js +6 -6
  144. package/dist/esm/sqm-stencilbook.entry.js +642 -599
  145. package/dist/esm/sqm-table-cell_3.entry.js +5 -5
  146. package/dist/esm/{sqm-text-span-view-be532a94.js → sqm-text-span-view-7e61c95c.js} +2 -2
  147. package/dist/esm/sqm-text-span.entry.js +5 -5
  148. package/dist/esm/sqm-titled-section.entry.js +6 -6
  149. package/dist/{cjs/stencil-hooks.module-23a5a83a.js → esm/stencil-hooks.module-2f159754.js} +40 -58
  150. package/dist/esm/{use-callback-cfeaefe1.js → use-callback-d8ef4b5d.js} +1 -1
  151. package/dist/esm/{useChildElements-9936fb9a.js → useChildElements-c11d6189.js} +3 -3
  152. package/dist/esm/{useDemoBigStat-5450ce4c.js → useDemoBigStat-e2295035.js} +5 -5
  153. package/dist/esm/{useLeaderboard-c0017437.js → useLeaderboard-5d875f53.js} +5 -5
  154. package/dist/esm-es5/AutoColor-5d891803.js +1 -0
  155. package/dist/esm-es5/{GenericTableView-e4257466.js → GenericTableView-5de898c3.js} +1 -1
  156. package/dist/esm-es5/JSS-96eeab98.js +8 -0
  157. package/dist/esm-es5/global-6bd9287e.js +285 -0
  158. package/dist/esm-es5/index-17b4da69.js +1 -0
  159. package/dist/esm-es5/index.module-ec3dcc82.js +1 -0
  160. package/dist/esm-es5/loader.js +1 -1
  161. package/dist/esm-es5/{luxon-afa282c2.js → luxon-5fa22651.js} +1 -1
  162. package/dist/esm-es5/mint-components.js +1 -1
  163. package/dist/esm-es5/{sqm-asset-card-view-809b35ce.js → sqm-asset-card-view-f9ca5345.js} +1 -1
  164. package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
  165. package/dist/esm-es5/{sqm-big-stat-view-3adf4ef2.js → sqm-big-stat-view-309f7c1f.js} +1 -1
  166. package/dist/esm-es5/sqm-big-stat.entry.js +1 -1
  167. package/dist/esm-es5/sqm-brand_27.entry.js +1 -0
  168. package/dist/esm-es5/sqm-form-message.entry.js +1 -1
  169. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  170. package/dist/esm-es5/{sqm-hero-view-b30e42f0.js → sqm-hero-view-190bc812.js} +1 -1
  171. package/dist/esm-es5/sqm-hero.entry.js +1 -1
  172. package/dist/esm-es5/sqm-leaderboard-rank-view-da91f5f3.js +1 -0
  173. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  174. package/dist/esm-es5/sqm-leaderboard.entry.js +1 -1
  175. package/dist/esm-es5/{sqm-name-fields-view-77895fa8.js → sqm-name-fields-view-69b1583f.js} +1 -1
  176. package/dist/esm-es5/sqm-name-fields.entry.js +1 -1
  177. package/dist/esm-es5/{sqm-navigation-sidebar-item-view-3c21b3ee.js → sqm-navigation-sidebar-item-view-a6f7f96c.js} +1 -1
  178. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  179. package/dist/esm-es5/{sqm-navigation-sidebar-view-1c50483e.js → sqm-navigation-sidebar-view-816558e3.js} +1 -1
  180. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  181. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  182. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  183. package/dist/esm-es5/{sqm-portal-container-view-72c8b457.js → sqm-portal-container-view-cf79ed90.js} +1 -1
  184. package/dist/esm-es5/{sqm-portal-email-verification-view-7685db9c.js → sqm-portal-email-verification-view-96c1f91b.js} +1 -1
  185. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  186. package/dist/esm-es5/{sqm-portal-footer-view-b344a6ad.js → sqm-portal-footer-view-3a7dfbfc.js} +1 -1
  187. package/dist/esm-es5/sqm-portal-footer.entry.js +1 -1
  188. package/dist/esm-es5/{sqm-portal-forgot-password-view-f7f24742.js → sqm-portal-forgot-password-view-fa088f83.js} +1 -1
  189. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  190. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  191. package/dist/esm-es5/{sqm-portal-profile-view-3da23184.js → sqm-portal-profile-view-36488558.js} +1 -1
  192. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  193. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  194. package/dist/esm-es5/{sqm-portal-reset-password-view-f3017d72.js → sqm-portal-reset-password-view-73e14282.js} +1 -1
  195. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  196. package/dist/esm-es5/{sqm-portal-section-view-5a3d3829.js → sqm-portal-section-view-d3098f7f.js} +1 -1
  197. package/dist/esm-es5/{sqm-portal-verify-email-view-329fdc3b.js → sqm-portal-verify-email-view-cbf1cfdc.js} +1 -1
  198. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  199. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  200. package/dist/esm-es5/sqm-refresh-button.entry.js +1 -1
  201. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  202. package/dist/esm-es5/sqm-route.entry.js +1 -1
  203. package/dist/esm-es5/{sqm-stat-container-view-02b82222.js → sqm-stat-container-view-8a565c5a.js} +1 -1
  204. package/dist/esm-es5/sqm-stat-container.entry.js +1 -1
  205. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  206. package/dist/esm-es5/sqm-table-cell_3.entry.js +1 -1
  207. package/dist/esm-es5/{sqm-text-span-view-be532a94.js → sqm-text-span-view-7e61c95c.js} +1 -1
  208. package/dist/esm-es5/sqm-text-span.entry.js +1 -1
  209. package/dist/esm-es5/sqm-titled-section.entry.js +1 -1
  210. package/dist/esm-es5/stencil-hooks.module-2f159754.js +53 -0
  211. package/dist/esm-es5/use-callback-d8ef4b5d.js +1 -0
  212. package/dist/esm-es5/useChildElements-c11d6189.js +1 -0
  213. package/dist/esm-es5/useDemoBigStat-e2295035.js +1 -0
  214. package/dist/esm-es5/useLeaderboard-5d875f53.js +1 -0
  215. package/dist/loader/index.d.ts +1 -0
  216. package/dist/mint-components/mint-components.esm.js +1 -1
  217. package/dist/mint-components/mint-components.js +1 -1
  218. package/dist/mint-components/{p-09357f10.system.entry.js → p-01748c80.system.entry.js} +1 -1
  219. package/dist/mint-components/p-023dcaee.js +1 -0
  220. package/dist/mint-components/{p-64d2bfb1.system.entry.js → p-067cf6da.system.entry.js} +1 -1
  221. package/dist/mint-components/p-0c19f830.entry.js +1 -0
  222. package/dist/mint-components/{p-0e97beb3.js → p-0e7e10b6.js} +1 -1
  223. package/dist/mint-components/p-1288be55.entry.js +1 -0
  224. package/dist/mint-components/{p-c4cedfef.system.entry.js → p-136e2028.system.entry.js} +1 -1
  225. package/dist/mint-components/{p-b138c9e4.system.js → p-16effd39.system.js} +1 -1
  226. package/dist/mint-components/{p-740a45df.js → p-179988b5.js} +1 -1
  227. package/dist/mint-components/{p-38045cb3.system.js → p-1959da16.system.js} +1 -1
  228. package/dist/mint-components/{p-408f48ec.system.entry.js → p-197d1027.system.entry.js} +1 -1
  229. package/dist/mint-components/{p-6e2e549a.js → p-1d1e9197.js} +1 -1
  230. package/dist/mint-components/p-204fd08c.js +1 -0
  231. package/dist/mint-components/p-220181cd.system.entry.js +1 -0
  232. package/dist/mint-components/p-232db563.system.entry.js +1 -0
  233. package/dist/mint-components/{p-ef4e8230.system.entry.js → p-2454f30a.system.entry.js} +1 -1
  234. package/dist/mint-components/p-24724b6b.entry.js +13 -0
  235. package/dist/mint-components/p-27e04aaf.entry.js +1 -0
  236. package/dist/mint-components/{p-96103ab1.system.js → p-2c49c7a8.system.js} +1 -1
  237. package/dist/mint-components/p-348461ec.system.entry.js +1 -0
  238. package/dist/mint-components/{p-747dc08d.js → p-373fa002.js} +1 -1
  239. package/dist/mint-components/p-3b184c32.js +1 -0
  240. package/dist/mint-components/{p-1ef9bc8f.system.js → p-3bbb90a9.system.js} +1 -1
  241. package/dist/mint-components/{p-4c5581b9.js → p-3dc2850c.js} +1 -1
  242. package/dist/mint-components/{p-e52d6c0f.js → p-3e556042.js} +1 -1
  243. package/dist/mint-components/{p-65d669e7.system.entry.js → p-4275c957.system.entry.js} +1 -1
  244. package/dist/mint-components/{p-c5d104d8.system.js → p-4279da4b.system.js} +1 -1
  245. package/dist/mint-components/{p-fc103049.system.js → p-443c133e.system.js} +1 -1
  246. package/dist/mint-components/p-48abcb89.entry.js +86 -0
  247. package/dist/mint-components/p-49c9ff69.entry.js +1 -0
  248. package/dist/mint-components/{p-eba0f8b5.js → p-4a1b7d35.js} +1 -1
  249. package/dist/mint-components/p-4c21835b.entry.js +1 -0
  250. package/dist/mint-components/p-4e0b9201.system.js +1 -0
  251. package/dist/mint-components/{p-159a0455.system.entry.js → p-4e8e99bc.system.entry.js} +1 -1
  252. package/dist/mint-components/{p-79b96b7c.js → p-509e6dc9.js} +4 -4
  253. package/dist/mint-components/p-5289072a.js +1 -0
  254. package/dist/mint-components/p-54986541.entry.js +1 -0
  255. package/dist/mint-components/{p-754c90b6.js → p-54e855a1.js} +1 -1
  256. package/dist/mint-components/{p-6d1fd7ef.js → p-591de129.js} +1 -1
  257. package/dist/mint-components/{p-2cf031e5.js → p-5c75acad.js} +1 -1
  258. package/dist/mint-components/{p-feb4ccf1.system.js → p-5df1d9ae.system.js} +1 -1
  259. package/dist/mint-components/{p-b094bf1f.system.entry.js → p-5e2b006a.system.entry.js} +1 -1
  260. package/dist/mint-components/{p-39ba54b0.js → p-61a542ec.js} +1 -1
  261. package/dist/mint-components/p-62625e22.entry.js +1 -0
  262. package/dist/mint-components/p-62e49806.system.entry.js +1 -0
  263. package/dist/mint-components/p-639d3dd3.entry.js +1 -0
  264. package/dist/mint-components/p-63a6475a.system.entry.js +1 -0
  265. package/dist/mint-components/{p-73246c5e.js → p-64c3217a.js} +1 -1
  266. package/dist/mint-components/{p-feea807c.system.js → p-6b43e4cc.system.js} +1 -1
  267. package/dist/mint-components/{p-a6940c14.system.entry.js → p-6e70be1c.system.entry.js} +1 -1
  268. package/dist/mint-components/p-6f88ea09.system.js +1 -0
  269. package/dist/mint-components/p-72a978c8.entry.js +1 -0
  270. package/dist/mint-components/{p-637a01d0.system.js → p-72c87c04.system.js} +1 -1
  271. package/dist/mint-components/{p-071fdcfa.js → p-73d5306f.js} +1 -1
  272. package/dist/mint-components/p-76325d9c.system.entry.js +1 -0
  273. package/dist/mint-components/{p-80eb9f8a.js → p-7a1ebc00.js} +15 -15
  274. package/dist/mint-components/{p-720d9f1a.system.entry.js → p-81681ebd.system.entry.js} +1 -1
  275. package/dist/mint-components/p-871536c7.entry.js +1 -0
  276. package/dist/mint-components/{p-9fa1fb4e.system.js → p-8bcaafaf.system.js} +1 -1
  277. package/dist/mint-components/{p-a6a9d6b7.system.entry.js → p-91ab2b0d.system.entry.js} +1 -1
  278. package/dist/mint-components/{p-efb82cfc.system.js → p-91d119ad.system.js} +1 -1
  279. package/dist/mint-components/p-9580888c.system.js +53 -0
  280. package/dist/mint-components/p-96c971fa.entry.js +1 -0
  281. package/dist/mint-components/p-97f843f9.system.entry.js +1 -0
  282. package/dist/mint-components/p-98393bf0.entry.js +1 -0
  283. package/dist/mint-components/{p-e46a4dc4.js → p-9b48d01e.js} +1 -1
  284. package/dist/mint-components/p-9f215c7f.entry.js +161 -0
  285. package/dist/mint-components/p-9f65904f.entry.js +1 -0
  286. package/dist/mint-components/{p-5cc0dc12.system.js → p-a09e3176.system.js} +1 -1
  287. package/dist/mint-components/p-a674c833.system.entry.js +1 -0
  288. package/dist/mint-components/p-ac5f63b1.entry.js +33 -0
  289. package/dist/mint-components/p-ac65007d.js +1 -0
  290. package/dist/mint-components/p-af5673c4.entry.js +1 -0
  291. package/dist/mint-components/p-b0c32d15.system.js +1 -0
  292. package/dist/mint-components/p-b0d6a380.system.js +1 -0
  293. package/dist/mint-components/p-b0e8c584.system.entry.js +1 -0
  294. package/dist/mint-components/p-b3201e4c.entry.js +1 -0
  295. package/dist/mint-components/p-b3735eaf.entry.js +9 -0
  296. package/dist/mint-components/p-b3af1c6f.js +1 -0
  297. package/dist/mint-components/p-b69365f5.entry.js +1 -0
  298. package/dist/mint-components/p-b77bb179.system.js +285 -0
  299. package/dist/mint-components/p-b7da9a8a.js +42 -0
  300. package/dist/mint-components/{p-e29935f9.system.js → p-b8434fc0.system.js} +1 -1
  301. package/dist/mint-components/p-b9974b87.entry.js +1 -0
  302. package/dist/mint-components/{p-86372145.system.entry.js → p-ba41fde8.system.entry.js} +1 -1
  303. package/dist/mint-components/{p-80493415.system.entry.js → p-bd0475a2.system.entry.js} +1 -1
  304. package/dist/mint-components/{p-0ef64931.system.js → p-bf055b6c.system.js} +1 -1
  305. package/dist/mint-components/{p-1b2b1ba2.js → p-c157f510.js} +3 -3
  306. package/dist/mint-components/{p-16db729c.system.entry.js → p-c1a47137.system.entry.js} +1 -1
  307. package/dist/mint-components/{p-1ca5b819.js → p-c2e84199.js} +1 -1
  308. package/dist/mint-components/p-cb93f2c8.entry.js +1 -0
  309. package/dist/mint-components/p-cd4037d1.entry.js +1 -0
  310. package/dist/mint-components/{p-d8e97fb7.system.js → p-ce0ec1c4.system.js} +1 -1
  311. package/dist/mint-components/p-d10efde1.system.js +1 -0
  312. package/dist/mint-components/p-d1520098.js +1 -0
  313. package/dist/mint-components/p-d312db42.entry.js +1 -0
  314. package/dist/mint-components/{p-d27c4eb5.js → p-d33eb961.js} +1 -1
  315. package/dist/mint-components/{p-5c4dec0c.system.entry.js → p-d6ef4765.system.entry.js} +1 -1
  316. package/dist/mint-components/p-dc17de12.entry.js +119 -0
  317. package/dist/mint-components/p-dcff1a85.entry.js +1 -0
  318. package/dist/mint-components/{p-6d6791b6.system.js → p-df466813.system.js} +1 -1
  319. package/dist/mint-components/{p-b81b4ebf.system.js → p-e00e11b1.system.js} +1 -1
  320. package/dist/mint-components/{p-35a8858e.system.js → p-e0be39d0.system.js} +1 -1
  321. package/dist/mint-components/{p-83e18382.system.entry.js → p-e1166d9b.system.entry.js} +1 -1
  322. package/dist/mint-components/{p-6353bf11.entry.js → p-e7b20665.entry.js} +1 -1
  323. package/dist/mint-components/{p-bb2bc191.system.js → p-ea110693.system.js} +1 -1
  324. package/dist/mint-components/p-ea197664.js +1 -0
  325. package/dist/mint-components/p-eb23e1b9.system.entry.js +1 -0
  326. package/dist/mint-components/{p-8c5bf8ee.system.js → p-eba2e455.system.js} +1 -1
  327. package/dist/mint-components/p-ef99c411.system.entry.js +1 -0
  328. package/dist/mint-components/p-f143117c.entry.js +1 -0
  329. package/dist/mint-components/p-f241ee8a.system.entry.js +1 -0
  330. package/dist/mint-components/p-f372c8d8.entry.js +1 -0
  331. package/dist/mint-components/p-f5cba1f7.system.entry.js +1 -0
  332. package/dist/mint-components/{p-82a02b17.system.js → p-f8d95abc.system.js} +1 -1
  333. package/dist/mint-components/{p-af859f26.js → p-f9008f86.js} +153 -153
  334. package/dist/mint-components/{p-4479f753.system.entry.js → p-fb8a587b.system.entry.js} +1 -1
  335. package/dist/mint-components/p-fe4d9531.system.js +1 -0
  336. package/dist/mint-components/p-ff17b3a4.system.js +1 -0
  337. package/dist/types/components/sqm-image/Image.stories.d.ts +11 -0
  338. package/dist/types/components/sqm-image/sqm-image-view.d.ts +8 -0
  339. package/dist/types/components/sqm-image/sqm-image.d.ts +31 -0
  340. package/dist/types/components/sqm-media/HeroImage.stories.d.ts +15 -0
  341. package/dist/types/components/sqm-media/{sqm-media-view.d.ts → sqm-hero-image-view.d.ts} +6 -3
  342. package/dist/types/components/sqm-media/{sqm-media.d.ts → sqm-hero-image.d.ts} +16 -9
  343. package/dist/types/components/sqm-referral-card/sqm-timeline-entry.d.ts +4 -0
  344. package/dist/types/components.d.ts +215 -138
  345. package/dist/types/stencil-public-runtime.d.ts +182 -190
  346. package/grapesjs/grapesjs.js +1 -1
  347. package/package.json +1 -1
  348. package/dist/collection/components/sqm-media/Media.stories.js +0 -28
  349. package/dist/esm-es5/AutoColor-9281c94b.js +0 -1
  350. package/dist/esm-es5/JSS-df9ea8a0.js +0 -8
  351. package/dist/esm-es5/global-cc738e38.js +0 -285
  352. package/dist/esm-es5/index-2c5a6587.js +0 -1
  353. package/dist/esm-es5/index.module-983975d9.js +0 -1
  354. package/dist/esm-es5/sqm-brand_26.entry.js +0 -1
  355. package/dist/esm-es5/sqm-leaderboard-rank-view-91a35c42.js +0 -1
  356. package/dist/esm-es5/stencil-hooks.module-1bcbec4f.js +0 -53
  357. package/dist/esm-es5/use-callback-cfeaefe1.js +0 -1
  358. package/dist/esm-es5/useChildElements-9936fb9a.js +0 -1
  359. package/dist/esm-es5/useDemoBigStat-5450ce4c.js +0 -1
  360. package/dist/esm-es5/useLeaderboard-c0017437.js +0 -1
  361. package/dist/mint-components/p-00894968.system.js +0 -1
  362. package/dist/mint-components/p-0449904d.system.entry.js +0 -1
  363. package/dist/mint-components/p-050bd4c1.entry.js +0 -1
  364. package/dist/mint-components/p-073c0485.system.js +0 -1
  365. package/dist/mint-components/p-09ae771c.system.entry.js +0 -1
  366. package/dist/mint-components/p-12557b30.js +0 -1
  367. package/dist/mint-components/p-15932a6d.entry.js +0 -1
  368. package/dist/mint-components/p-18e9e739.system.entry.js +0 -1
  369. package/dist/mint-components/p-1c0fac18.system.js +0 -1
  370. package/dist/mint-components/p-2012b3eb.entry.js +0 -1
  371. package/dist/mint-components/p-21bf87e9.system.js +0 -1
  372. package/dist/mint-components/p-2673d322.entry.js +0 -1
  373. package/dist/mint-components/p-32ec3994.entry.js +0 -161
  374. package/dist/mint-components/p-33bd2ff9.entry.js +0 -1
  375. package/dist/mint-components/p-3beda015.js +0 -1
  376. package/dist/mint-components/p-40849586.entry.js +0 -1
  377. package/dist/mint-components/p-40b91bd2.entry.js +0 -1
  378. package/dist/mint-components/p-40d9f8f3.entry.js +0 -1
  379. package/dist/mint-components/p-425ea70b.entry.js +0 -1
  380. package/dist/mint-components/p-46adc2cf.system.entry.js +0 -1
  381. package/dist/mint-components/p-4ac07db9.system.js +0 -1
  382. package/dist/mint-components/p-673d1d37.system.entry.js +0 -1
  383. package/dist/mint-components/p-6f2ab381.system.entry.js +0 -1
  384. package/dist/mint-components/p-71775f38.entry.js +0 -1
  385. package/dist/mint-components/p-746fa1fa.entry.js +0 -1
  386. package/dist/mint-components/p-77bf2413.entry.js +0 -1
  387. package/dist/mint-components/p-79339d1d.entry.js +0 -33
  388. package/dist/mint-components/p-7a24a7a4.system.entry.js +0 -1
  389. package/dist/mint-components/p-860513de.system.js +0 -53
  390. package/dist/mint-components/p-8873b8b0.system.entry.js +0 -1
  391. package/dist/mint-components/p-8b5f9502.system.entry.js +0 -1
  392. package/dist/mint-components/p-8f900354.system.entry.js +0 -1
  393. package/dist/mint-components/p-95b5aa14.system.js +0 -1
  394. package/dist/mint-components/p-a2c12d31.system.entry.js +0 -1
  395. package/dist/mint-components/p-a716fa21.entry.js +0 -1
  396. package/dist/mint-components/p-aa926a92.entry.js +0 -86
  397. package/dist/mint-components/p-adabc223.js +0 -1
  398. package/dist/mint-components/p-ae9a75d7.entry.js +0 -1
  399. package/dist/mint-components/p-aeaf1171.js +0 -1
  400. package/dist/mint-components/p-af8a82a5.entry.js +0 -1
  401. package/dist/mint-components/p-b094b800.js +0 -1
  402. package/dist/mint-components/p-c1509151.system.entry.js +0 -1
  403. package/dist/mint-components/p-c154b16e.system.entry.js +0 -1
  404. package/dist/mint-components/p-c164d3fe.js +0 -1
  405. package/dist/mint-components/p-c358211f.js +0 -1
  406. package/dist/mint-components/p-c824c2e5.system.js +0 -285
  407. package/dist/mint-components/p-ce5a08d0.entry.js +0 -119
  408. package/dist/mint-components/p-cfe598c1.js +0 -1
  409. package/dist/mint-components/p-cfe65695.entry.js +0 -1
  410. package/dist/mint-components/p-d2a2c424.js +0 -56
  411. package/dist/mint-components/p-d4c1b8e9.entry.js +0 -1
  412. package/dist/mint-components/p-d9bf4d77.entry.js +0 -1
  413. package/dist/mint-components/p-e341556f.entry.js +0 -13
  414. package/dist/mint-components/p-e551074e.system.js +0 -1
  415. package/dist/mint-components/p-e9a8a8f3.entry.js +0 -9
  416. package/dist/mint-components/p-eb3ce654.entry.js +0 -1
  417. package/dist/mint-components/p-eb4f3c85.entry.js +0 -1
  418. package/dist/mint-components/p-f0c38e7a.entry.js +0 -1
  419. package/dist/mint-components/p-f17cd500.entry.js +0 -1
  420. package/dist/mint-components/p-f39b5f6b.entry.js +0 -1
  421. package/dist/types/components/sqm-media/Media.stories.d.ts +0 -12
@@ -324,7 +324,7 @@ function useLeaderboardDemo(props) {
324
324
  usersheading: props.usersheading
325
325
  ? props.usersheading
326
326
  : "TOP REFERRERS",
327
- statsheading: props.statsheading ? props.statsheading : "NEW TITANS",
327
+ statsheading: props.statsheading ? props.statsheading : "NEW CUSTOMERS",
328
328
  },
329
329
  },
330
330
  data: {
@@ -26,10 +26,9 @@ export function useLeaderboardRank(props) {
26
26
  rankVariables.filter["interval"] = props.interval;
27
27
  }
28
28
  const { data: rankData } = useQuery(GET_RANK, rankVariables, !(user === null || user === void 0 ? void 0 : user.jwt));
29
- const fullRankText = ((_a = rankData === null || rankData === void 0 ? void 0 : rankData.viewer) === null || _a === void 0 ? void 0 : _a.leaderboardRank)
30
- ? intl.formatMessage({ id: "rankText", defaultMessage: props.rankText }, {
31
- rank: (_c = (_b = rankData === null || rankData === void 0 ? void 0 : rankData.viewer) === null || _b === void 0 ? void 0 : _b.leaderboardRank) === null || _c === void 0 ? void 0 : _c[props.rankType],
32
- })
29
+ const fullRankText = ((_a = rankData === null || rankData === void 0 ? void 0 : rankData.viewer) === null || _a === void 0 ? void 0 : _a.leaderboardRank) ? intl.formatMessage({ id: "rankText", defaultMessage: props.rankText }, {
30
+ rank: (_c = (_b = rankData === null || rankData === void 0 ? void 0 : rankData.viewer) === null || _b === void 0 ? void 0 : _b.leaderboardRank) === null || _c === void 0 ? void 0 : _c[props.rankType],
31
+ })
33
32
  : props.unrankedText || "unranked";
34
33
  return {
35
34
  data: {
@@ -0,0 +1,37 @@
1
+ import { h } from "@stencil/core";
2
+ export default {
3
+ title: "Components/Hero Image",
4
+ };
5
+ export const OverlayHeader = () => {
6
+ return (h("sqm-hero-image", { "image-url": "https://i.imgur.com/bTwu1Um.png", header: "Klip Rewards", layout: "overlay" }));
7
+ };
8
+ export const OverlayDescription = () => {
9
+ return (h("sqm-hero-image", { "image-url": "https://i.imgur.com/bTwu1Um.png", header: "Klip Rewards", description: "Refer friends or complete tasks while using Klip to earn rewards", layout: "overlay" }));
10
+ };
11
+ export const OverlayButton = () => {
12
+ return (h("sqm-hero-image", { "image-url": "https://i.imgur.com/bTwu1Um.png", header: "Klip Rewards", description: "Refer friends or complete tasks while using Klip to earn rewards", "button-text": "Start earning", layout: "overlay" }));
13
+ };
14
+ export const OverlayLong = () => {
15
+ return (h("sqm-hero-image", { "image-url": "https://i.imgur.com/bTwu1Um.png", header: "Klip Rewards", description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum", "button-text": "Start earning", layout: "overlay" }));
16
+ };
17
+ export const OverlayLeft = () => {
18
+ return (h("sqm-hero-image", { "image-url": "https://i.imgur.com/bTwu1Um.png", header: "Klip Rewards", description: "Refer friends or complete tasks while using Klip to earn rewards", "button-text": "Start earning", layout: "overlay", "image-pos": "left" }));
19
+ };
20
+ export const OverlayCenter = () => {
21
+ return (h("sqm-hero-image", { "image-url": "https://i.imgur.com/bTwu1Um.png", header: "Klip Rewards", description: "Refer friends or complete tasks while using Klip to earn rewards", "button-text": "Start earning", layout: "overlay", "image-pos": "center" }));
22
+ };
23
+ export const OverlayRight = () => {
24
+ return (h("sqm-hero-image", { "image-url": "https://i.imgur.com/bTwu1Um.png", header: "Klip Rewards", description: "Refer friends or complete tasks while using Klip to earn rewards", "button-text": "Start earning", layout: "overlay", "image-pos": "right" }));
25
+ };
26
+ export const OverlayCustom = () => {
27
+ return (h("sqm-hero-image", { "image-url": "https://i.imgur.com/bTwu1Um.png", header: "Klip Rewards", description: "Refer friends or complete tasks while using Klip to earn rewards", "button-text": "Start earning", "text-color": "#fffc4b", "overlay-color": "#ff7f7f", "overlay-opacity": "0.9", layout: "overlay" }));
28
+ };
29
+ export const Columns = () => {
30
+ return (h("sqm-hero-image", { "image-url": "https://i.imgur.com/yr6ER3R.png", header: "Klip Rewards", description: "Refer friends or complete tasks while using Klip to earn rewards", "button-text": "Start earning", layout: "columns" }));
31
+ };
32
+ export const ColumnsReverse = () => {
33
+ return (h("sqm-hero-image", { "image-url": "https://i.imgur.com/yr6ER3R.png", header: "Klip Rewards", description: "Refer friends or complete tasks while using Klip to earn rewards", "button-text": "Start earning", layout: "columns", imagePos: "right", imageMobilePos: "bottom" }));
34
+ };
35
+ export const ColumnsCustom = () => {
36
+ return (h("sqm-hero-image", { "image-url": "https://i.imgur.com/yr6ER3R.png", header: "Klip Rewards", description: "Refer friends or complete tasks while using Klip to earn rewards", "button-text": "Start earning", layout: "columns", "text-color": "#fffc4b", "background-color": "#ff7f7f" }));
37
+ };
@@ -1,6 +1,6 @@
1
1
  import { h } from "@stencil/core";
2
2
  import { createStyleSheet } from "../../styling/JSS";
3
- export function MediaView(props) {
3
+ export function HeroImageView(props, children) {
4
4
  const overlay = Boolean((props.header || props.description || props.buttonText) &&
5
5
  props.layout === "overlay");
6
6
  const style = {
@@ -23,13 +23,19 @@ export function MediaView(props) {
23
23
  objectFit: "cover",
24
24
  margin: "auto",
25
25
  },
26
+ Background: {
27
+ minHeight: props.minHeight,
28
+ backgroundImage: `url(${props.imageUrl})`,
29
+ backgroundSize: "cover",
30
+ backgroundPosition: props.imagePos || "center",
31
+ display: "flex",
32
+ justifyContent: "center",
33
+ alignItems: "center",
34
+ },
26
35
  Overlay: {
27
- position: "absolute",
28
- width: "90%",
29
- top: "50%",
30
- left: "50%",
36
+ zIndex: "1",
37
+ padding: "var(--sl-spacing-" + props.padding + ")",
31
38
  textAlign: "center",
32
- transform: "translate(-50%, -50%)",
33
39
  color: props.textColor || "var(--sl-color-neutral-0)",
34
40
  lineHeight: "var(--sl-line-height-dense)",
35
41
  },
@@ -41,35 +47,37 @@ export function MediaView(props) {
41
47
  color: props.textColor || "var(--sl-color-neutral-900)",
42
48
  "& .image-area": {
43
49
  width: "50%",
44
- "@media (max-width: 499px)": {
50
+ boxSizing: "border-box",
51
+ "@media (max-width: 599px)": {
45
52
  width: "100%",
46
53
  },
47
54
  },
48
55
  "& .text-area": {
49
56
  width: "50%",
50
- padding: "calc(2*var(--sl-spacing-xx-large))",
57
+ padding: "calc(2*var(--sl-spacing-" + props.padding + "))",
51
58
  alignSelf: "center",
52
- "@media (max-width: 499px)": {
53
- width: "90%",
59
+ boxSizing: "border-box",
60
+ "@media (max-width: 599px)": {
61
+ width: "100%",
54
62
  textAlign: "center",
55
- padding: "var(--sl-spacing-xx-large)",
63
+ padding: "var(--sl-spacing-" + props.padding + ")",
56
64
  },
57
65
  },
58
- "@media (max-width: 499px)": {
66
+ "@media (max-width: 599px)": {
59
67
  flexDirection: props.imageMobilePos === "bottom" ? "column-reverse" : "column",
60
68
  },
61
69
  },
62
70
  Header: {
63
71
  fontSize: "var(--sl-font-size-xxx-large)",
64
72
  fontWeight: "var(--sl-font-weight-bold)",
65
- "@media (max-width: 499px)": {
73
+ "@media (max-width: 599px)": {
66
74
  fontSize: "var(--sl-font-size-xx-large)",
67
75
  },
68
76
  },
69
77
  Description: {
70
78
  fontSize: "var(--sl-font-size-x-large)",
71
79
  margin: "var(--sl-spacing-small) 0",
72
- "@media (max-width: 499px)": {
80
+ "@media (max-width: 599px)": {
73
81
  fontSize: "var(--sl-font-size-large)",
74
82
  },
75
83
  },
@@ -78,7 +86,7 @@ export function MediaView(props) {
78
86
  "&::part(base)": {
79
87
  padding: "0 var(--sl-spacing-x-large)",
80
88
  },
81
- "@media (max-width: 499px)": {
89
+ "@media (max-width: 599px)": {
82
90
  width: "100%",
83
91
  },
84
92
  },
@@ -96,14 +104,14 @@ export function MediaView(props) {
96
104
  props.layout === "overlay" && OverlayView(),
97
105
  props.layout === "columns" && ColumnView()));
98
106
  function OverlayView() {
99
- return (h("div", null,
100
- props.imageUrl && (h("img", { class: sheet.classes.Image, src: props.imageUrl })),
107
+ return (h("div", { class: sheet.classes.Background },
101
108
  h("div", { class: sheet.classes.Overlay },
102
109
  props.header && (h("div", { class: sheet.classes.Header }, props.header)),
103
110
  props.description && (h("div", { class: sheet.classes.Description }, props.description)),
104
111
  props.buttonText && (h("sl-button", { class: sheet.classes.Button, type: "primary", onClick: () => props.buttonNewTab
105
112
  ? window.open(props.buttonLink)
106
- : window.open(props.buttonLink, "_parent") }, props.buttonText)))));
113
+ : window.open(props.buttonLink, "_parent") }, props.buttonText)),
114
+ children && children)));
107
115
  }
108
116
  function ColumnView() {
109
117
  return (h("div", null,
@@ -1,12 +1,16 @@
1
1
  import { withHooks } from "@saasquatch/stencil-hooks";
2
2
  import { Component, h, Prop } from "@stencil/core";
3
3
  import { getProps } from "../../utils/utils";
4
- import { MediaView } from "./sqm-media-view";
4
+ import { HeroImageView } from "./sqm-hero-image-view";
5
5
  /**
6
- * @uiName Media
6
+ * @uiName Hero Image
7
7
  */
8
- export class Media {
8
+ export class HeroImage {
9
9
  constructor() {
10
+ /**
11
+ * @uiName Minimum Image Height
12
+ */
13
+ this.minHeight = "300px";
10
14
  /**
11
15
  * @uiName Overlay Color
12
16
  */
@@ -15,10 +19,6 @@ export class Media {
15
19
  * @uiName Overlay Opacity
16
20
  */
17
21
  this.overlayOpacity = "0.75";
18
- /**
19
- * @uiName Minimum Image Height
20
- */
21
- this.minHeight = "300px";
22
22
  /**
23
23
  * @uiName Image Link
24
24
  * @uiType string
@@ -28,26 +28,33 @@ export class Media {
28
28
  /**
29
29
  * @uiName Image Position
30
30
  * @uiType string
31
- * @uiEnum ["left", "right"]
31
+ * @uiEnum ["left", "center", "right"]
32
32
  */
33
- this.imagePos = "left";
33
+ this.imagePos = "center";
34
34
  /**
35
35
  * @uiName Image Mobile Position
36
36
  * @uiType string
37
- * @uiEnum ["top", "bottom" ]
37
+ * @uiEnum ["top", "bottom"]
38
38
  */
39
39
  this.imageMobilePos = "top";
40
40
  /**
41
41
  * @uiName CTA Button Link Open in New Tab
42
42
  */
43
43
  this.buttonNewTab = false;
44
+ /**
45
+ * @uiName Padding
46
+ * @uiType string
47
+ * @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
48
+ */
49
+ this.padding = "xx-large";
44
50
  withHooks(this);
45
51
  }
46
52
  disconnectedCallback() { }
47
53
  render() {
48
- return h(MediaView, Object.assign({}, getProps(this)));
54
+ return (h(HeroImageView, Object.assign({}, getProps(this)),
55
+ h("slot", null)));
49
56
  }
50
- static get is() { return "sqm-media"; }
57
+ static get is() { return "sqm-hero-image"; }
51
58
  static get encapsulation() { return "shadow"; }
52
59
  static get properties() { return {
53
60
  "imageUrl": {
@@ -70,6 +77,27 @@ export class Media {
70
77
  "attribute": "image-url",
71
78
  "reflect": false
72
79
  },
80
+ "minHeight": {
81
+ "type": "string",
82
+ "mutable": false,
83
+ "complexType": {
84
+ "original": "string",
85
+ "resolved": "string",
86
+ "references": {}
87
+ },
88
+ "required": false,
89
+ "optional": false,
90
+ "docs": {
91
+ "tags": [{
92
+ "text": "Minimum Image Height",
93
+ "name": "uiName"
94
+ }],
95
+ "text": ""
96
+ },
97
+ "attribute": "min-height",
98
+ "reflect": false,
99
+ "defaultValue": "\"300px\""
100
+ },
73
101
  "overlayColor": {
74
102
  "type": "string",
75
103
  "mutable": false,
@@ -152,27 +180,6 @@ export class Media {
152
180
  "attribute": "background-color",
153
181
  "reflect": false
154
182
  },
155
- "minHeight": {
156
- "type": "string",
157
- "mutable": false,
158
- "complexType": {
159
- "original": "string",
160
- "resolved": "string",
161
- "references": {}
162
- },
163
- "required": false,
164
- "optional": false,
165
- "docs": {
166
- "tags": [{
167
- "text": "Minimum Image Height",
168
- "name": "uiName"
169
- }],
170
- "text": ""
171
- },
172
- "attribute": "min-height",
173
- "reflect": false,
174
- "defaultValue": "\"300px\""
175
- },
176
183
  "layout": {
177
184
  "type": "string",
178
185
  "mutable": false,
@@ -204,8 +211,8 @@ export class Media {
204
211
  "type": "string",
205
212
  "mutable": false,
206
213
  "complexType": {
207
- "original": "\"left\" | \"right\"",
208
- "resolved": "\"left\" | \"right\"",
214
+ "original": "\"left\" | \"center\" | \"right\"",
215
+ "resolved": "\"center\" | \"left\" | \"right\"",
209
216
  "references": {}
210
217
  },
211
218
  "required": false,
@@ -218,14 +225,14 @@ export class Media {
218
225
  "text": "string",
219
226
  "name": "uiType"
220
227
  }, {
221
- "text": "[\"left\", \"right\"]",
228
+ "text": "[\"left\", \"center\", \"right\"]",
222
229
  "name": "uiEnum"
223
230
  }],
224
231
  "text": ""
225
232
  },
226
233
  "attribute": "image-pos",
227
234
  "reflect": false,
228
- "defaultValue": "\"left\""
235
+ "defaultValue": "\"center\""
229
236
  },
230
237
  "imageMobilePos": {
231
238
  "type": "string",
@@ -245,7 +252,7 @@ export class Media {
245
252
  "text": "string",
246
253
  "name": "uiType"
247
254
  }, {
248
- "text": "[\"top\", \"bottom\" ]",
255
+ "text": "[\"top\", \"bottom\"]",
249
256
  "name": "uiEnum"
250
257
  }],
251
258
  "text": ""
@@ -354,6 +361,38 @@ export class Media {
354
361
  "attribute": "button-new-tab",
355
362
  "reflect": false,
356
363
  "defaultValue": "false"
364
+ },
365
+ "padding": {
366
+ "type": "string",
367
+ "mutable": false,
368
+ "complexType": {
369
+ "original": "Spacing",
370
+ "resolved": "\"large\" | \"medium\" | \"none\" | \"small\" | \"x-large\" | \"x-small\" | \"xx-large\" | \"xx-small\" | \"xxx-large\" | \"xxx-small\" | \"xxxx-large\"",
371
+ "references": {
372
+ "Spacing": {
373
+ "location": "import",
374
+ "path": "../../global/mixins"
375
+ }
376
+ }
377
+ },
378
+ "required": false,
379
+ "optional": false,
380
+ "docs": {
381
+ "tags": [{
382
+ "text": "Padding",
383
+ "name": "uiName"
384
+ }, {
385
+ "text": "string",
386
+ "name": "uiType"
387
+ }, {
388
+ "text": "[\"none\", \"xxx-small\", \"xx-small\", \"x-small\", \"small\", \"medium\", \"large\", \"x-large\", \"xx-large\", \"xxx-large\", \"xxxx-large\"]",
389
+ "name": "uiEnum"
390
+ }],
391
+ "text": ""
392
+ },
393
+ "attribute": "padding",
394
+ "reflect": false,
395
+ "defaultValue": "\"xx-large\""
357
396
  }
358
397
  }; }
359
398
  }
@@ -35,16 +35,14 @@ export function NameFieldsView(props) {
35
35
  h("style", { type: "text/css" },
36
36
  vanillaStyle,
37
37
  styleString),
38
- h("sl-input", Object.assign({ exportparts: "label: input-label", name: "/firstName", type: "text", label: states.content.firstNameLabel, required: true }, ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName)
39
- ? {
40
- class: sheet.classes.ErrorStyle,
41
- helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) || "Cannot be empty",
42
- }
38
+ h("sl-input", Object.assign({ exportparts: "label: input-label", name: "/firstName", type: "text", label: states.content.firstNameLabel, required: true }, ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) ? {
39
+ class: sheet.classes.ErrorStyle,
40
+ helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) || "Cannot be empty",
41
+ }
43
42
  : []))),
44
- h("sl-input", Object.assign({ exportparts: "label: input-label", name: "/lastName", type: "text", label: states.content.lastNameLabel, required: true }, ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName)
45
- ? {
46
- class: sheet.classes.ErrorStyle,
47
- helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) || "Cannot be empty",
48
- }
43
+ h("sl-input", Object.assign({ exportparts: "label: input-label", name: "/lastName", type: "text", label: states.content.lastNameLabel, required: true }, ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) ? {
44
+ class: sheet.classes.ErrorStyle,
45
+ helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) || "Cannot be empty",
46
+ }
49
47
  : [])))));
50
48
  }
@@ -32,11 +32,10 @@ export function PortalResetPasswordView(props) {
32
32
  if (!value) {
33
33
  return "Cannot be empty";
34
34
  }
35
- } }, (((_a = states.validationErrors) === null || _a === void 0 ? void 0 : _a.password)
36
- ? {
37
- class: sheet.classes.ErrorStyle,
38
- helpText: ((_b = states.validationErrors) === null || _b === void 0 ? void 0 : _b.password) || "Cannot be empty",
39
- }
35
+ } }, (((_a = states.validationErrors) === null || _a === void 0 ? void 0 : _a.password) ? {
36
+ class: sheet.classes.ErrorStyle,
37
+ helpText: ((_b = states.validationErrors) === null || _b === void 0 ? void 0 : _b.password) || "Cannot be empty",
38
+ }
40
39
  : []), { onInput: (input) => states.enableValidation && callbacks.onInput(input) })),
41
40
  states.dynamicValidation));
42
41
  }
@@ -27,10 +27,9 @@ export function PortalProfileView(props) {
27
27
  };
28
28
  const sheet = createStyleSheet(style);
29
29
  const styleString = sheet.toString();
30
- const country = ((_a = states.user) === null || _a === void 0 ? void 0 : _a.countryCode)
31
- ? intl.formatDisplayName((_b = states.user) === null || _b === void 0 ? void 0 : _b.countryCode, {
32
- type: "region",
33
- })
30
+ const country = ((_a = states.user) === null || _a === void 0 ? void 0 : _a.countryCode) ? intl.formatDisplayName((_b = states.user) === null || _b === void 0 ? void 0 : _b.countryCode, {
31
+ type: "region",
32
+ })
34
33
  : "";
35
34
  return (h(PortalContainerView, Object.assign({}, {
36
35
  direction: "row",
@@ -55,13 +54,11 @@ export function PortalProfileView(props) {
55
54
  h("sl-input", Object.assign({ class: sheet.classes.NameInputStyle, exportparts: "label: input-label", value: (_c = states.user) === null || _c === void 0 ? void 0 : _c.firstName, onInput: callbacks.onChange, label: text.firstnametext, disabled: states.loading }, ((errors === null || errors === void 0 ? void 0 : errors.firstName) && (errors === null || errors === void 0 ? void 0 : errors.firstName.status) !== "valid"
56
55
  ? { class: "ErrorStyles", helpText: "Cannot be empty" }
57
56
  : []), { id: "firstName", name: "firstName", error: (errors === null || errors === void 0 ? void 0 : errors.firstName) && (errors === null || errors === void 0 ? void 0 : errors.firstName.status) !== "valid"
58
- ? errors === null || errors === void 0 ? void 0 : errors.firstName.message
59
- : undefined })),
57
+ ? errors === null || errors === void 0 ? void 0 : errors.firstName.message : undefined })),
60
58
  h("sl-input", Object.assign({ class: sheet.classes.NameInputStyle, exportparts: "label: input-label", value: (_d = states.user) === null || _d === void 0 ? void 0 : _d.lastName, onInput: callbacks.onChange, label: text.lastnametext, disabled: states.loading, id: "lastName", name: "lastName" }, ((errors === null || errors === void 0 ? void 0 : errors.lastName) && (errors === null || errors === void 0 ? void 0 : errors.lastName.status) !== "valid"
61
59
  ? { class: "ErrorStyles", helpText: "Cannot be empty" }
62
60
  : []), { error: (errors === null || errors === void 0 ? void 0 : errors.lastName) && (errors === null || errors === void 0 ? void 0 : errors.lastName.status) !== "valid"
63
- ? errors === null || errors === void 0 ? void 0 : errors.lastName.message
64
- : undefined }))),
61
+ ? errors === null || errors === void 0 ? void 0 : errors.lastName.message : undefined }))),
65
62
  h("sl-input", { label: text.emailtext, value: (_e = states.user) === null || _e === void 0 ? void 0 : _e.email, exportparts: "label: input-label", disabled: true }),
66
63
  states.showCountry && (h("sl-input", { label: text.countrytext, value: country, exportparts: "label: input-label", disabled: true })),
67
64
  h("sl-button", { type: "primary", loading: states.loading, disabled: states.submitDisabled, onClick: (e) => {
@@ -53,21 +53,19 @@ export function PortalRegisterView(props) {
53
53
  if (!value.includes("@")) {
54
54
  return "Must be a valid email address";
55
55
  }
56
- } }, (((_b = (_a = states.validationState) === null || _a === void 0 ? void 0 : _a.validationErrors) === null || _b === void 0 ? void 0 : _b.email)
57
- ? {
58
- class: sheet.classes.ErrorStyle,
59
- helpText: ((_d = (_c = states.validationState) === null || _c === void 0 ? void 0 : _c.validationErrors) === null || _d === void 0 ? void 0 : _d.email) ||
60
- "Cannot be empty",
61
- }
56
+ } }, (((_b = (_a = states.validationState) === null || _a === void 0 ? void 0 : _a.validationErrors) === null || _b === void 0 ? void 0 : _b.email) ? {
57
+ class: sheet.classes.ErrorStyle,
58
+ helpText: ((_d = (_c = states.validationState) === null || _c === void 0 ? void 0 : _c.validationErrors) === null || _d === void 0 ? void 0 : _d.email) ||
59
+ "Cannot be empty",
60
+ }
62
61
  : [])))),
63
62
  !states.hideInputs && (h("sqm-password-field", { fieldLabel: content.passwordLabel, "enable-validation": states.enablePasswordValidation })),
64
63
  content.passwordField,
65
- !states.hideInputs && states.confirmPassword && (h("sl-input", Object.assign({ exportparts: "label: input-label", type: "password", name: "/confirmPassword", label: content.confirmPasswordLabel, disabled: states.loading, required: true }, (((_f = (_e = states.validationState) === null || _e === void 0 ? void 0 : _e.validationErrors) === null || _f === void 0 ? void 0 : _f.confirmPassword)
66
- ? {
67
- class: sheet.classes.ErrorStyle,
68
- helpText: ((_h = (_g = states.validationState) === null || _g === void 0 ? void 0 : _g.validationErrors) === null || _h === void 0 ? void 0 : _h.confirmPassword) ||
69
- "Cannot be empty",
70
- }
64
+ !states.hideInputs && states.confirmPassword && (h("sl-input", Object.assign({ exportparts: "label: input-label", type: "password", name: "/confirmPassword", label: content.confirmPasswordLabel, disabled: states.loading, required: true }, (((_f = (_e = states.validationState) === null || _e === void 0 ? void 0 : _e.validationErrors) === null || _f === void 0 ? void 0 : _f.confirmPassword) ? {
65
+ class: sheet.classes.ErrorStyle,
66
+ helpText: ((_h = (_g = states.validationState) === null || _g === void 0 ? void 0 : _g.validationErrors) === null || _h === void 0 ? void 0 : _h.confirmPassword) ||
67
+ "Cannot be empty",
68
+ }
71
69
  : [])))),
72
70
  content.terms,
73
71
  h("div", { class: sheet.classes.ButtonsContainer },
@@ -5,7 +5,7 @@ export default {
5
5
  const media = (slot) => {
6
6
  return (h("sqm-portal-container", { gap: "large", slot: slot },
7
7
  "Get rewarded when your friend uses Klip",
8
- h("sqm-media", { "image-url": "https://i.imgur.com/L3aRMde.png", "min-height": "0" })));
8
+ h("sqm-image", { "image-url": "https://i.imgur.com/IqB7GeS.png" })));
9
9
  };
10
10
  const sharebutton = (slot) => {
11
11
  return (h("sqm-portal-container", { gap: "large", slot: slot },
@@ -23,6 +23,21 @@ export class TimelineReward {
23
23
  TimelineReward: {
24
24
  color: "var(--sl-color-neutral-900)",
25
25
  lineHeight: "var(--sl-line-height-dense)",
26
+ "& .container": {
27
+ display: "flex",
28
+ },
29
+ "& .line": {
30
+ color: "transparent",
31
+ userSelect: "none",
32
+ background: "var(--sl-color-primary-300)",
33
+ width: "4px",
34
+ borderRadius: "4px",
35
+ margin: "-2px",
36
+ position: "relative",
37
+ left: "12px",
38
+ transform: "scaleY(0.95)",
39
+ top: "16px",
40
+ },
26
41
  "& .step": {
27
42
  display: "flex",
28
43
  minHeight: "100px",
@@ -45,13 +60,7 @@ export class TimelineReward {
45
60
  },
46
61
  "& .description": {
47
62
  fontSize: "var(--sl-font-size-large)",
48
- },
49
- "& .line": {
50
- height: "50px",
51
- position: "relative",
52
- left: "10px",
53
- top: "-32px",
54
- color: "var(--sl-color-primary-300)",
63
+ marginBottom: "var(--sl-spacing-xx-large)",
55
64
  },
56
65
  },
57
66
  };
@@ -67,16 +76,18 @@ export class TimelineReward {
67
76
  h("style", { type: "text/css" },
68
77
  styleString,
69
78
  vanillaStyle),
70
- h("div", { class: "step" },
71
- this.icon === "gift" && (h("div", { class: "icon" },
72
- h(Gift, null))),
73
- this.icon === "circle" && (h("div", { class: "icon" },
74
- h(Circle, null))),
75
- h("div", null,
79
+ h("div", { class: "container" },
80
+ this.line && h("div", { class: "line" }, "."),
81
+ h("div", { class: "step" },
82
+ this.icon === "gift" && (h("div", { class: "icon" },
83
+ h(Gift, null))),
84
+ this.icon === "circle" && (h("div", { class: "icon" },
85
+ h(Circle, null))),
76
86
  h("div", null,
77
- h("span", { class: "reward" }, this.reward),
78
- h("span", { class: "unit" }, this.unit)),
79
- h("div", { class: "description" }, this.desc)))));
87
+ h("div", null,
88
+ h("span", { class: "reward" }, this.reward),
89
+ h("span", { class: "unit" }, this.unit)),
90
+ h("div", { class: "description" }, this.desc))))));
80
91
  }
81
92
  static get is() { return "sqm-timeline-entry"; }
82
93
  static get encapsulation() { return "shadow"; }
@@ -141,6 +152,26 @@ export class TimelineReward {
141
152
  "attribute": "desc",
142
153
  "reflect": false
143
154
  },
155
+ "line": {
156
+ "type": "boolean",
157
+ "mutable": false,
158
+ "complexType": {
159
+ "original": "boolean",
160
+ "resolved": "boolean",
161
+ "references": {}
162
+ },
163
+ "required": false,
164
+ "optional": true,
165
+ "docs": {
166
+ "tags": [{
167
+ "text": undefined,
168
+ "name": "undocumented"
169
+ }],
170
+ "text": ""
171
+ },
172
+ "attribute": "line",
173
+ "reflect": false
174
+ },
144
175
  "icon": {
145
176
  "type": "string",
146
177
  "mutable": false,
@@ -19,7 +19,12 @@ export class Timeline {
19
19
  render() {
20
20
  //@ts-ignore
21
21
  const rewards = useChildElements();
22
- rewards.forEach((reward) => (reward.icon = this.icon));
22
+ rewards.forEach((reward, idx) => {
23
+ if (rewards.length > 1 && idx != rewards.length - 1) {
24
+ reward.line = true;
25
+ }
26
+ reward.icon = this.icon;
27
+ });
23
28
  const vanillaStyle = `
24
29
  :host{
25
30
  display: block;
@@ -28,7 +33,7 @@ export class Timeline {
28
33
  // ::slotted(*:not(:only-child):not(:last-child)) {
29
34
  // margin-bottom: var(--sl-spacing-xx-large);
30
35
  // }
31
-
36
+
32
37
  // ::slotted(*:not(:only-child):not(:last-child))::before {
33
38
  // display: block;
34
39
  // content: "";
@@ -52,20 +57,20 @@ export class Timeline {
52
57
 
53
58
 
54
59
  // ZH: Temporary Patch fix
55
- ::slotted(*:not(:first-child))::before {
56
- display: block;
57
- position: relative;
58
- content: "";
59
- background: var(--sl-color-primary-300);
60
- min-height: 150px;
61
- max-height: 300px;
62
- width: 4px;
63
- top: 12px;
64
- left: 10px;
65
- margin-top: -85px;
66
- margin-bottom: 8px;
67
- border-radius: 4px;
68
- }
60
+ // ::slotted(*:not(:first-child))::before {
61
+ // display: block;
62
+ // position: relative;
63
+ // content: "";
64
+ // background: var(--sl-color-primary-300);
65
+ // min-height: 150px;
66
+ // max-height: 300px;
67
+ // width: 4px;
68
+ // top: 12px;
69
+ // left: 10px;
70
+ // margin-top: -85px;
71
+ // margin-bottom: 8px;
72
+ // border-radius: 4px;
73
+ // }
69
74
  `;
70
75
  return (h("div", null,
71
76
  h("style", { type: "text/css" }, vanillaStyle),