@saasquatch/mint-components 1.15.0-4 → 1.15.0-6

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 (251) hide show
  1. package/dist/cjs/{GenericTableView-a9f4ba75.js → GenericTableView-f0e9c531.js} +2 -2
  2. package/dist/cjs/{ShadowViewAddon-9e7916d8.js → ShadowViewAddon-e666dc8b.js} +302 -318
  3. package/dist/cjs/{copy-text-view-c85acaaa.js → copy-text-view-7441206d.js} +53 -38
  4. package/dist/cjs/{global-0cf6d295.js → global-124aec2c.js} +67 -10
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/mint-components.cjs.js +2 -2
  7. package/dist/cjs/sqm-banking-info-form_17.cjs.entry.js +7 -44
  8. package/dist/cjs/{sqm-base-registration-form-view-8a2c8763.js → sqm-base-registration-form-view-1b2440c3.js} +1 -1
  9. package/dist/cjs/sqm-big-stat_41.cjs.entry.js +48 -9
  10. package/dist/cjs/sqm-email-verification.cjs.entry.js +2 -2
  11. package/dist/cjs/sqm-empty_4.cjs.entry.js +1 -1
  12. package/dist/cjs/{sqm-invoice-table-view-dbf7a907.js → sqm-invoice-table-view-f369b0a6.js} +1 -1
  13. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +2 -2
  14. package/dist/cjs/sqm-pagination_3.cjs.entry.js +2 -2
  15. package/dist/cjs/{sqm-portal-email-verification-view-ab0fb983.js → sqm-portal-email-verification-view-f5ce25cc.js} +2 -2
  16. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +3 -3
  17. package/dist/cjs/{sqm-portal-forgot-password-view-78f19ef9.js → sqm-portal-forgot-password-view-b986086e.js} +1 -1
  18. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +2 -2
  19. package/dist/cjs/sqm-portal-google-login.cjs.entry.js +2 -2
  20. package/dist/cjs/sqm-portal-google-registration-form.cjs.entry.js +3 -3
  21. package/dist/cjs/{sqm-portal-login-view-761a4d8e.js → sqm-portal-login-view-84e99287.js} +1 -1
  22. package/dist/cjs/{sqm-portal-profile-view-e3026b53.js → sqm-portal-profile-view-07d13061.js} +2 -2
  23. package/dist/cjs/sqm-portal-profile.cjs.entry.js +3 -3
  24. package/dist/cjs/{sqm-portal-registration-form-view-637a4bf4.js → sqm-portal-registration-form-view-4377d849.js} +1 -1
  25. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +2 -2
  26. package/dist/cjs/{sqm-portal-reset-password-view-fe602822.js → sqm-portal-reset-password-view-52fc50fe.js} +1 -1
  27. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +2 -2
  28. package/dist/cjs/{sqm-portal-verify-email-view-7b678f34.js → sqm-portal-verify-email-view-4f837226.js} +1 -1
  29. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +2 -2
  30. package/dist/cjs/{sqm-qr-code-view-15dfc0b6.js → sqm-qr-code-view-3da9ed28.js} +2 -7
  31. package/dist/cjs/sqm-qr-code.cjs.entry.js +1 -1
  32. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +3 -5
  33. package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +1 -1
  34. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +4 -4
  35. package/dist/cjs/sqm-stencilbook.cjs.entry.js +29 -16
  36. package/dist/cjs/{sqm-text-span-view-0aa82125.js → sqm-text-span-view-56e48a78.js} +6 -6
  37. package/dist/cjs/sqm-text-span.cjs.entry.js +1 -1
  38. package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +1 -1
  39. package/dist/collection/components/sqm-edit-profile/sqm-edit-profile-view.js +1 -1
  40. package/dist/collection/components/sqm-form-message/FormMessage.stories.js +1 -1
  41. package/dist/collection/components/sqm-hero-image/sqm-hero-image-view.js +1 -1
  42. package/dist/collection/components/sqm-leaderboard/sqm-leaderboard-view.js +54 -54
  43. package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +25 -1
  44. package/dist/collection/components/sqm-leaderboard-rank/sqm-leaderboard-rank.css +2 -2
  45. package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user.js +1 -1
  46. package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step-view.js +6 -2
  47. package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step.js +77 -2
  48. package/dist/collection/components/sqm-qr-code/sqm-qr-code-view.js +2 -7
  49. package/dist/collection/components/sqm-referral-code/sqm-referral-code.js +1 -1
  50. package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +0 -2
  51. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-reward-cell.js +2 -2
  52. package/dist/collection/components/sqm-share-button/sqm-share-button.js +1 -1
  53. package/dist/collection/components/sqm-share-code/sqm-share-code.js +1 -1
  54. package/dist/collection/components/sqm-share-link/ShareLink.stories.js +12 -0
  55. package/dist/collection/components/sqm-share-link/sqm-share-link.js +54 -3
  56. package/dist/collection/components/sqm-task-card/DetailsView.js +1 -1
  57. package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +139 -155
  58. package/dist/collection/components/sqm-task-card/sqm-task-card.js +146 -0
  59. package/dist/collection/components/sqm-task-card/useTaskCard.js +10 -0
  60. package/dist/collection/components/sqm-text-span/sqm-text-span-view.js +6 -6
  61. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +1 -12
  62. package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.js +0 -15
  63. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +1 -11
  64. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +1 -2
  65. package/dist/collection/components/views/copy-text-view.js +53 -38
  66. package/dist/collection/global/mixins.js +2 -2
  67. package/dist/collection/global/styles.js +67 -10
  68. package/dist/collection/global/styles.ts +67 -10
  69. package/dist/collection/tables/GenericTableView.js +2 -2
  70. package/dist/esm/{GenericTableView-7b9087af.js → GenericTableView-e7addb2b.js} +2 -2
  71. package/dist/esm/{ShadowViewAddon-e350d540.js → ShadowViewAddon-7c10e0ee.js} +302 -318
  72. package/dist/esm/{copy-text-view-782137ba.js → copy-text-view-717050d5.js} +53 -38
  73. package/dist/esm/{global-1d207c9e.js → global-6dc825bc.js} +67 -10
  74. package/dist/esm/loader.js +2 -2
  75. package/dist/esm/mint-components.js +2 -2
  76. package/dist/esm/sqm-banking-info-form_17.entry.js +7 -44
  77. package/dist/esm/{sqm-base-registration-form-view-593d4ac3.js → sqm-base-registration-form-view-31f1cb87.js} +1 -1
  78. package/dist/esm/sqm-big-stat_41.entry.js +48 -9
  79. package/dist/esm/sqm-email-verification.entry.js +2 -2
  80. package/dist/esm/sqm-empty_4.entry.js +1 -1
  81. package/dist/esm/{sqm-invoice-table-view-e0c9772a.js → sqm-invoice-table-view-1bd8afaa.js} +1 -1
  82. package/dist/esm/sqm-leaderboard-rank.entry.js +2 -2
  83. package/dist/esm/sqm-pagination_3.entry.js +2 -2
  84. package/dist/esm/{sqm-portal-email-verification-view-6c8bad0b.js → sqm-portal-email-verification-view-d96d6c43.js} +2 -2
  85. package/dist/esm/sqm-portal-email-verification.entry.js +3 -3
  86. package/dist/esm/{sqm-portal-forgot-password-view-3d3182f1.js → sqm-portal-forgot-password-view-50444a7c.js} +1 -1
  87. package/dist/esm/sqm-portal-forgot-password.entry.js +2 -2
  88. package/dist/esm/sqm-portal-google-login.entry.js +2 -2
  89. package/dist/esm/sqm-portal-google-registration-form.entry.js +3 -3
  90. package/dist/esm/{sqm-portal-login-view-7e49609a.js → sqm-portal-login-view-37c85d04.js} +1 -1
  91. package/dist/esm/{sqm-portal-profile-view-cbdeec1f.js → sqm-portal-profile-view-4ce1c7c3.js} +2 -2
  92. package/dist/esm/sqm-portal-profile.entry.js +3 -3
  93. package/dist/esm/{sqm-portal-registration-form-view-3c1f6000.js → sqm-portal-registration-form-view-21d57492.js} +1 -1
  94. package/dist/esm/sqm-portal-registration-form.entry.js +2 -2
  95. package/dist/esm/{sqm-portal-reset-password-view-54a8651f.js → sqm-portal-reset-password-view-b000ffc5.js} +1 -1
  96. package/dist/esm/sqm-portal-reset-password.entry.js +2 -2
  97. package/dist/esm/{sqm-portal-verify-email-view-b12cb894.js → sqm-portal-verify-email-view-2983ba9b.js} +1 -1
  98. package/dist/esm/sqm-portal-verify-email.entry.js +2 -2
  99. package/dist/esm/{sqm-qr-code-view-f1d0763b.js → sqm-qr-code-view-10b8b4cb.js} +2 -7
  100. package/dist/esm/sqm-qr-code.entry.js +1 -1
  101. package/dist/esm/sqm-referral-table_11.entry.js +3 -5
  102. package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  103. package/dist/esm/sqm-rewards-table_9.entry.js +4 -4
  104. package/dist/esm/sqm-stencilbook.entry.js +29 -16
  105. package/dist/esm/{sqm-text-span-view-ca32495e.js → sqm-text-span-view-c577cc60.js} +6 -6
  106. package/dist/esm/sqm-text-span.entry.js +1 -1
  107. package/dist/esm-es5/{GenericTableView-7b9087af.js → GenericTableView-e7addb2b.js} +1 -1
  108. package/dist/esm-es5/ShadowViewAddon-7c10e0ee.js +1 -0
  109. package/dist/esm-es5/copy-text-view-717050d5.js +1 -0
  110. package/dist/esm-es5/{global-1d207c9e.js → global-6dc825bc.js} +4 -4
  111. package/dist/esm-es5/loader.js +1 -1
  112. package/dist/esm-es5/mint-components.js +1 -1
  113. package/dist/esm-es5/sqm-banking-info-form_17.entry.js +1 -1
  114. package/dist/esm-es5/{sqm-base-registration-form-view-593d4ac3.js → sqm-base-registration-form-view-31f1cb87.js} +1 -1
  115. package/dist/esm-es5/sqm-big-stat_41.entry.js +1 -1
  116. package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
  117. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  118. package/dist/esm-es5/{sqm-invoice-table-view-e0c9772a.js → sqm-invoice-table-view-1bd8afaa.js} +1 -1
  119. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  120. package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
  121. package/dist/esm-es5/{sqm-portal-email-verification-view-6c8bad0b.js → sqm-portal-email-verification-view-d96d6c43.js} +1 -1
  122. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  123. package/dist/esm-es5/{sqm-portal-forgot-password-view-3d3182f1.js → sqm-portal-forgot-password-view-50444a7c.js} +1 -1
  124. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  125. package/dist/esm-es5/sqm-portal-google-login.entry.js +1 -1
  126. package/dist/esm-es5/sqm-portal-google-registration-form.entry.js +1 -1
  127. package/dist/esm-es5/{sqm-portal-login-view-7e49609a.js → sqm-portal-login-view-37c85d04.js} +1 -1
  128. package/dist/esm-es5/{sqm-portal-profile-view-cbdeec1f.js → sqm-portal-profile-view-4ce1c7c3.js} +1 -1
  129. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  130. package/dist/esm-es5/{sqm-portal-registration-form-view-3c1f6000.js → sqm-portal-registration-form-view-21d57492.js} +1 -1
  131. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  132. package/dist/esm-es5/{sqm-portal-reset-password-view-54a8651f.js → sqm-portal-reset-password-view-b000ffc5.js} +1 -1
  133. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  134. package/dist/esm-es5/{sqm-portal-verify-email-view-b12cb894.js → sqm-portal-verify-email-view-2983ba9b.js} +1 -1
  135. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  136. package/dist/esm-es5/{sqm-qr-code-view-f1d0763b.js → sqm-qr-code-view-10b8b4cb.js} +1 -1
  137. package/dist/esm-es5/sqm-qr-code.entry.js +1 -1
  138. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  139. package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  140. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  141. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  142. package/dist/esm-es5/sqm-text-span-view-c577cc60.js +1 -0
  143. package/dist/esm-es5/sqm-text-span.entry.js +1 -1
  144. package/dist/mint-components/global/styles.ts +67 -10
  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-2f101bae.entry.js → p-0559d880.entry.js} +1 -1
  148. package/dist/mint-components/{p-d929b9d5.system.js → p-11519322.system.js} +1 -1
  149. package/dist/mint-components/p-11542862.system.entry.js +1 -0
  150. package/dist/mint-components/{p-7a9290ba.js → p-20245645.js} +1 -1
  151. package/dist/mint-components/{p-9cb06082.system.entry.js → p-208d8d75.system.entry.js} +1 -1
  152. package/dist/mint-components/{p-4794641c.system.js → p-217514ac.system.js} +1 -1
  153. package/dist/mint-components/{p-19bc3406.system.entry.js → p-2b462e4f.system.entry.js} +1 -1
  154. package/dist/mint-components/p-2c07df76.entry.js +144 -0
  155. package/dist/mint-components/p-2e110002.system.js +1 -0
  156. package/dist/mint-components/{p-9bfd9bed.system.entry.js → p-345fd28e.system.entry.js} +1 -1
  157. package/dist/mint-components/{p-aad32fb6.system.js → p-38de17fa.system.js} +1 -1
  158. package/dist/mint-components/{p-c8147def.js → p-3a49811c.js} +1 -1
  159. package/dist/mint-components/{p-a2fde301.entry.js → p-3af1ec4c.entry.js} +1 -1
  160. package/dist/mint-components/{p-475245d1.system.js → p-44a82cf3.system.js} +1 -1
  161. package/dist/mint-components/p-4874193a.system.js +1 -0
  162. package/dist/mint-components/p-49206a9c.entry.js +1 -0
  163. package/dist/mint-components/{p-9db71c84.entry.js → p-49deb225.entry.js} +1 -1
  164. package/dist/mint-components/{p-90fc6774.system.entry.js → p-4b6f2eca.system.entry.js} +1 -1
  165. package/dist/mint-components/{p-15d77d0b.entry.js → p-4dbe2d08.entry.js} +1 -1
  166. package/dist/mint-components/{p-3a31cc83.entry.js → p-51495bc3.entry.js} +1 -1
  167. package/dist/mint-components/{p-e5d0375e.system.js → p-571e1427.system.js} +1 -1
  168. package/dist/mint-components/p-5ca8959a.system.entry.js +1 -0
  169. package/dist/mint-components/{p-492b70db.system.js → p-5dbe8b0a.system.js} +1 -1
  170. package/dist/mint-components/{p-9386ad84.system.entry.js → p-605c2904.system.entry.js} +1 -1
  171. package/dist/mint-components/{p-f1e72435.entry.js → p-619c2aa3.entry.js} +2 -2
  172. package/dist/mint-components/{p-91959fbe.js → p-69ac09d4.js} +1 -1
  173. package/dist/mint-components/p-6f34c2c2.entry.js +13 -0
  174. package/dist/mint-components/{p-99ad7d56.system.js → p-71d7c2a0.system.js} +1 -1
  175. package/dist/mint-components/{p-f87ae19e.entry.js → p-734695a0.entry.js} +6 -6
  176. package/dist/mint-components/{p-0c78815e.system.entry.js → p-7cbec088.system.entry.js} +1 -1
  177. package/dist/mint-components/{p-dbcb5359.js → p-7e3a84bc.js} +1 -1
  178. package/dist/mint-components/{p-b2bf509e.entry.js → p-7f1e10d3.entry.js} +2 -2
  179. package/dist/mint-components/{p-2da21ba4.entry.js → p-802b9f7e.entry.js} +1 -1
  180. package/dist/mint-components/{p-85671c3d.system.entry.js → p-8053366e.system.entry.js} +1 -1
  181. package/dist/mint-components/{p-5bdafc7e.system.entry.js → p-837dbf90.system.entry.js} +1 -1
  182. package/dist/mint-components/{p-d07f3090.entry.js → p-87c21535.entry.js} +1 -1
  183. package/dist/mint-components/p-893d7ab4.js +1 -0
  184. package/dist/mint-components/{p-c3bfb9c3.entry.js → p-8b36fe4f.entry.js} +5 -5
  185. package/dist/mint-components/p-8c12078e.js +394 -0
  186. package/dist/mint-components/{p-837a0fdd.js → p-8c494bf1.js} +1 -1
  187. package/dist/mint-components/{p-904ebcf6.system.entry.js → p-90421929.system.entry.js} +1 -1
  188. package/dist/mint-components/{p-709e1799.system.entry.js → p-9209a016.system.entry.js} +1 -1
  189. package/dist/mint-components/{p-b33b7eb5.system.js → p-93fed35b.system.js} +1 -1
  190. package/dist/mint-components/{p-9d3d4098.system.js → p-95ae4ab9.system.js} +1 -1
  191. package/dist/mint-components/{p-1673fae9.system.entry.js → p-a37541ae.system.entry.js} +1 -1
  192. package/dist/mint-components/{p-53730ffe.entry.js → p-a81b507f.entry.js} +3 -3
  193. package/dist/mint-components/{p-0d2d0b6d.entry.js → p-aaff68dc.entry.js} +1 -1
  194. package/dist/mint-components/{p-fbac722b.js → p-abefb7cc.js} +1 -1
  195. package/dist/mint-components/{p-f0772618.system.entry.js → p-ac9f4085.system.entry.js} +1 -1
  196. package/dist/mint-components/{p-6df88590.system.entry.js → p-ad985d37.system.entry.js} +1 -1
  197. package/dist/mint-components/{p-b75bb6e3.system.js → p-b5fb3826.system.js} +1 -1
  198. package/dist/mint-components/{p-0ebab63e.system.js → p-bd2a2546.system.js} +1 -1
  199. package/dist/mint-components/p-bdbbc673.system.entry.js +1 -0
  200. package/dist/mint-components/p-c3680c02.js +1 -0
  201. package/dist/mint-components/{p-441b60ac.system.entry.js → p-c6841ab8.system.entry.js} +1 -1
  202. package/dist/mint-components/{p-626e9e84.js → p-ccb5699b.js} +1 -1
  203. package/dist/mint-components/{p-7f80a9d7.entry.js → p-ccf8c9aa.entry.js} +1 -1
  204. package/dist/mint-components/p-cd63a965.system.entry.js +1 -0
  205. package/dist/mint-components/{p-e41aac34.js → p-cf8677ea.js} +1 -1
  206. package/dist/mint-components/{p-9b894557.entry.js → p-d3e5704c.entry.js} +1 -1
  207. package/dist/mint-components/p-d8cf46ba.system.js +1 -0
  208. package/dist/mint-components/{p-91ab3da1.js → p-dc52c36a.js} +1 -1
  209. package/dist/mint-components/{p-f7c99803.system.js → p-df89186f.system.js} +1 -1
  210. package/dist/mint-components/{p-6d4a313f.js → p-e01fe915.js} +19 -19
  211. package/dist/mint-components/{p-f940190a.js → p-e145e4f8.js} +1 -1
  212. package/dist/mint-components/{p-5c28406d.system.entry.js → p-e21a1cb8.system.entry.js} +1 -1
  213. package/dist/mint-components/p-eab1c9f3.js +1 -0
  214. package/dist/mint-components/{p-3ba1ab43.system.js → p-ed11966d.system.js} +1 -1
  215. package/dist/mint-components/p-eda5e82c.entry.js +1 -0
  216. package/dist/mint-components/{p-3f6e0197.system.entry.js → p-f2228da3.system.entry.js} +1 -1
  217. package/dist/mint-components/{p-380bfde1.entry.js → p-fd0a013f.entry.js} +1 -1
  218. package/dist/types/components/sqm-leaderboard/sqm-leaderboard-view.d.ts +1 -0
  219. package/dist/types/components/sqm-leaderboard/sqm-leaderboard.d.ts +5 -0
  220. package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step-view.d.ts +3 -0
  221. package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step.d.ts +19 -2
  222. package/dist/types/components/sqm-share-link/ShareLink.stories.d.ts +1 -0
  223. package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +30 -1
  224. package/dist/types/components/sqm-task-card/sqm-task-card-view.d.ts +5 -0
  225. package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +32 -0
  226. package/dist/types/components/sqm-task-card/useTaskCard.d.ts +9 -0
  227. package/dist/types/components/views/copy-text-view.d.ts +5 -0
  228. package/dist/types/components.d.ts +132 -4
  229. package/dist/types/global/styles.d.ts +1 -1
  230. package/docs/docs.docx +0 -0
  231. package/docs/raisins.json +1 -1
  232. package/grapesjs/grapesjs.js +1 -1
  233. package/package.json +1 -1
  234. package/dist/esm-es5/ShadowViewAddon-e350d540.js +0 -1
  235. package/dist/esm-es5/copy-text-view-782137ba.js +0 -1
  236. package/dist/esm-es5/sqm-text-span-view-ca32495e.js +0 -1
  237. package/dist/mint-components/p-091e7ca2.system.entry.js +0 -1
  238. package/dist/mint-components/p-23379b5b.entry.js +0 -144
  239. package/dist/mint-components/p-2bcd406c.system.js +0 -1
  240. package/dist/mint-components/p-31015791.js +0 -1
  241. package/dist/mint-components/p-342bc70c.system.entry.js +0 -1
  242. package/dist/mint-components/p-3b90e01b.system.js +0 -1
  243. package/dist/mint-components/p-6a97b51d.entry.js +0 -13
  244. package/dist/mint-components/p-716d0275.entry.js +0 -1
  245. package/dist/mint-components/p-b207beeb.entry.js +0 -1
  246. package/dist/mint-components/p-babcdb1f.system.entry.js +0 -1
  247. package/dist/mint-components/p-c9f1dde7.js +0 -1
  248. package/dist/mint-components/p-e07bc6c4.system.js +0 -1
  249. package/dist/mint-components/p-f3e2098c.js +0 -394
  250. package/dist/mint-components/p-f56bedd5.js +0 -1
  251. package/dist/mint-components/p-f71ae358.system.entry.js +0 -1
@@ -7,37 +7,37 @@ const style = {
7
7
  p: {
8
8
  "font-size": "var(--sl-font-size-small)",
9
9
  "font-weight": "400",
10
- color: "var(--sl-color-gray-800)",
10
+ color: "var(--sq-text)",
11
11
  margin: "0",
12
12
  },
13
13
  subtext: {
14
14
  "font-size": "var(--sl-font-size-x-small)",
15
15
  "font-weight": "400",
16
- color: "var(--sl-color-gray-600)",
16
+ color: "var(--sqm-text-subdued)",
17
17
  margin: "0",
18
18
  },
19
19
  h1: {
20
20
  "font-size": "var(--sl-font-size-xx-large)",
21
21
  "font-weight": "600",
22
- color: "var(--sl-color-gray-800)",
22
+ color: "var(--sq-text)",
23
23
  margin: "0",
24
24
  },
25
25
  h2: {
26
26
  "font-size": "var(--sl-font-size-x-large)",
27
27
  "font-weight": "600",
28
- color: "var(--sl-color-gray-800)",
28
+ color: "var(--sq-text)",
29
29
  margin: "0",
30
30
  },
31
31
  h3: {
32
32
  "font-size": "var(--sl-font-size-large)",
33
33
  "font-weight": "600",
34
- color: "var(--sl-color-gray-800)",
34
+ color: "var(--sq-text)",
35
35
  margin: "0",
36
36
  },
37
37
  h4: {
38
38
  "font-size": "13px",
39
39
  "font-weight": "600",
40
- color: "var(--sl-color-gray-800)",
40
+ color: "var(--sq-text)",
41
41
  margin: "0",
42
42
  },
43
43
  };
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-a29c60ef.js');
6
6
  const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
7
7
  require('./JSS-8503a151.js');
8
- const sqmTextSpanView = require('./sqm-text-span-view-0aa82125.js');
8
+ const sqmTextSpanView = require('./sqm-text-span-view-56e48a78.js');
9
9
 
10
10
  const Text = class {
11
11
  constructor(hostRef) {
@@ -476,7 +476,7 @@ export class CouponCode {
476
476
  "mutable": false,
477
477
  "complexType": {
478
478
  "original": "DemoData<CouponCodeViewProps>",
479
- "resolved": "{ loading?: boolean; errorType?: \"error\" | \"warning\" | \"info\" | \"success\"; couponCodeLabel?: string; copyString?: string; tooltiptext?: string; open?: boolean; copyButtonLabel?: string; disabled?: boolean; textAlign?: \"left\" | \"right\" | \"center\"; buttonStyle?: \"icon\" | \"button-outside\" | \"button-below\"; error?: boolean; errorText?: string; notificationText?: string; showNotificationText?: boolean; inputPlaceholderText?: string; dateAvailable?: string; isCopied?: boolean; onClick?: () => void; }",
479
+ "resolved": "{ loading?: boolean; errorType?: \"error\" | \"warning\" | \"info\" | \"success\"; couponCodeLabel?: string; copyString?: string; tooltiptext?: string; open?: boolean; copyButtonLabel?: string; disabled?: boolean; textAlign?: \"left\" | \"right\" | \"center\"; buttonStyle?: \"icon\" | \"button-outside\" | \"button-below\"; error?: boolean; errorText?: string; notificationText?: string; showNotificationText?: boolean; inputPlaceholderText?: string; dateAvailable?: string; isCopied?: boolean; backgroundColor?: string; textColor?: string; borderRadius?: string; buttonType?: \"primary\" | \"secondary\"; borderColor?: string; onClick?: () => void; }",
480
480
  "references": {
481
481
  "DemoData": {
482
482
  "location": "import",
@@ -32,7 +32,7 @@ const EditProfileView = (props) => {
32
32
  }, submit: true, exportparts: "base: primarybutton-base" }, text.updatetext),
33
33
  h("sl-button", { onClick: () => {
34
34
  callbacks.setShowEdit(false);
35
- }, exportparts: "base: defaultbutton-base" }, text.canceltext)))));
35
+ }, exportparts: "base: secondarybutton-base" }, text.canceltext)))));
36
36
  }
37
37
  return (h("div", { class: `CardWrapper FormWrapper ${!states.showEdit && "ShowEdit"}`, part: "sqm-base" },
38
38
  h("div", { class: "FormSection" },
@@ -23,7 +23,7 @@ export const FullStackSuccess = () => {
23
23
  h("div", { class: "AlertContent" },
24
24
  h("div", { part: "successalert-text" }, "Title"),
25
25
  h("div", { part: "successalert-subtext" }, "Body text."),
26
- h("sl-button", { type: "default", exportparts: "base: defaultbutton-base", onClick: () => {
26
+ h("sl-button", { type: "primary", exportparts: "base: primarybutton-base", onClick: () => {
27
27
  console.log("click");
28
28
  } }, "Primary Action"),
29
29
  h("sl-button", { class: "SecondaryTextButton", type: "text", onClick: () => {
@@ -119,7 +119,7 @@ export function HeroImageView(props, children) {
119
119
  h("div", { class: sheet.classes.Overlay, part: "sqm-overlay" },
120
120
  props.header && (h("div", { class: sheet.classes.Header }, props.header)),
121
121
  props.description && (h("div", { class: sheet.classes.Description }, props.description)),
122
- props.buttonText && (h("sl-button", { class: sheet.classes.Button, type: "primary", onClick: () => props.buttonNewTab
122
+ props.buttonText && (h("sl-button", { class: sheet.classes.Button, type: "primary", exportparts: "base: primarybutton-base", onClick: () => props.buttonNewTab
123
123
  ? window.open(props.buttonLink)
124
124
  : window.open(props.buttonLink, "_parent") }, props.buttonText)),
125
125
  children && children)));
@@ -1,65 +1,65 @@
1
1
  import { h } from "@stencil/core";
2
2
  import { createStyleSheet } from "../../styling/JSS";
3
3
  import { intl } from "../../global/global";
4
- const style = {
5
- Leaderboard: {
6
- "& table": {
7
- width: "100%",
8
- borderCollapse: "collapse",
9
- },
10
- "& th": {
11
- textAlign: "left",
12
- padding: "var(--sl-spacing-medium)",
13
- paddingTop: "0",
14
- fontSize: "var(--sl-font-size-medium)",
15
- fontWeight: "var(--sl-font-weight-semibold)",
16
- },
17
- "& tr:not(:first-child)": {
18
- borderTop: "1px solid var(--sl-color-neutral-200)",
19
- },
20
- "& td": {
21
- fontSize: "var(--sl-font-size-medium)",
22
- fontWeight: "var(--sl-font-weight-normal)",
23
- },
24
- "& .ellipses": {
25
- textAlign: "left",
26
- padding: "0",
27
- color: "var(--sqm-text)",
28
- paddingLeft: "25%",
29
- },
30
- "& .highlight": {
31
- background: "var(--sl-color-primary-50)",
32
- },
33
- "& td, th": {
34
- color: "var(--sqm-text)",
35
- padding: "var(--sl-spacing-medium)",
36
- },
37
- "& .User": {
38
- width: "100%",
39
- },
40
- "& .Score": {
41
- width: "auto",
42
- whiteSpace: "nowrap",
43
- },
44
- "& .Rank": {
45
- whiteSpace: "nowrap",
46
- },
47
- "& .fullWidth": {
48
- width: "100%",
4
+ export function LeaderboardView(props) {
5
+ var _a, _b, _c;
6
+ const { states, data, elements } = props;
7
+ const { styles } = states;
8
+ const style = {
9
+ Leaderboard: {
10
+ "& table": {
11
+ width: "100%",
12
+ borderCollapse: "collapse",
13
+ },
14
+ "& th": {
15
+ textAlign: "left",
16
+ padding: "var(--sl-spacing-medium)",
17
+ paddingTop: "0",
18
+ fontSize: "var(--sl-font-size-medium)",
19
+ fontWeight: "var(--sl-font-weight-semibold)",
20
+ },
21
+ "& tr:not(:first-child)": {
22
+ borderTop: "1px solid var(--sl-color-neutral-200)",
23
+ },
24
+ "& td": {
25
+ fontSize: "var(--sl-font-size-medium)",
26
+ fontWeight: "var(--sl-font-weight-normal)",
27
+ },
28
+ "& .ellipses": {
29
+ textAlign: "left",
30
+ padding: "0",
31
+ color: "var(--sqm-text)",
32
+ paddingLeft: "25%",
33
+ },
34
+ "& .highlight": {
35
+ background: styles.viewingUserhighlightColor || "var(--sl-color-primary-100)",
36
+ },
37
+ "& td, th": {
38
+ color: "var(--sqm-text)",
39
+ padding: "var(--sl-spacing-medium)",
40
+ },
41
+ "& .User": {
42
+ width: "100%",
43
+ },
44
+ "& .Score": {
45
+ width: "auto",
46
+ whiteSpace: "nowrap",
47
+ },
48
+ "& .Rank": {
49
+ whiteSpace: "nowrap",
50
+ },
51
+ "& .fullWidth": {
52
+ width: "100%",
53
+ },
49
54
  },
50
- },
51
- };
52
- const sheet = createStyleSheet(style);
53
- const styleString = sheet.toString();
54
- const vanillaStyle = `
55
+ };
56
+ const sheet = createStyleSheet(style);
57
+ const styleString = sheet.toString();
58
+ const vanillaStyle = `
55
59
  :host{
56
60
  display: block;
57
61
  }
58
62
  `;
59
- export function LeaderboardView(props) {
60
- var _a, _b, _c;
61
- const { states, data, elements } = props;
62
- const { styles } = states;
63
63
  if (states.isEssentials) {
64
64
  return (h("sqm-empty", { "empty-state-image": "https://res.cloudinary.com/saasquatch/image/upload/v1715360191/squatch-assets/Leaderboard_Not_Available.svg", "empty-state-header": "Leaderboards aren\u2019t available on your plan", "empty-state-text": "Contact {supportText} to upgrade your plan and start leveraging gamification in your program.", "support-text": "Support" }));
65
65
  }
@@ -276,6 +276,29 @@ export class Leaderboard {
276
276
  "reflect": false,
277
277
  "defaultValue": "\"You\""
278
278
  },
279
+ "viewingUserHighlightColor": {
280
+ "type": "string",
281
+ "mutable": false,
282
+ "complexType": {
283
+ "original": "string",
284
+ "resolved": "string",
285
+ "references": {}
286
+ },
287
+ "required": false,
288
+ "optional": false,
289
+ "docs": {
290
+ "tags": [{
291
+ "text": "color",
292
+ "name": "uiWidget"
293
+ }, {
294
+ "text": "Viewing user highlight color",
295
+ "name": "uiName"
296
+ }],
297
+ "text": ""
298
+ },
299
+ "attribute": "viewing-user-highlight-color",
300
+ "reflect": false
301
+ },
279
302
  "hideNames": {
280
303
  "type": "boolean",
281
304
  "mutable": false,
@@ -434,7 +457,7 @@ export class Leaderboard {
434
457
  "mutable": false,
435
458
  "complexType": {
436
459
  "original": "DemoData<LeaderboardViewProps>",
437
- "resolved": "{ states?: { loading: boolean; hasLeaders: boolean; isEssentials?: boolean; styles: { usersheading: string; statsheading: string; rankheading?: string; showRank?: boolean; hideViewer?: boolean; viewingUserText?: string; hideNames?: boolean; anonymousUser?: string; rankSuffix?: string; width?: string; }; }; data?: { rankType: string; leaderboard: { textValue: string; rank: number; firstName: string; lastInitial: string; rowNumber: number; }[]; viewerRank?: { textValue: string; rank: number; firstName?: string; lastInitial?: string; rowNumber: number; }; }; elements?: { empty: VNode; }; }",
460
+ "resolved": "{ states?: { loading: boolean; hasLeaders: boolean; isEssentials?: boolean; styles: { usersheading: string; statsheading: string; rankheading?: string; showRank?: boolean; hideViewer?: boolean; viewingUserText?: string; viewingUserhighlightColor?: string; hideNames?: boolean; anonymousUser?: string; rankSuffix?: string; width?: string; }; }; data?: { rankType: string; leaderboard: { textValue: string; rank: number; firstName: string; lastInitial: string; rowNumber: number; }[]; viewerRank?: { textValue: string; rank: number; firstName?: string; lastInitial?: string; rowNumber: number; }; }; elements?: { empty: VNode; }; }",
438
461
  "references": {
439
462
  "DemoData": {
440
463
  "location": "import",
@@ -511,6 +534,7 @@ function useLeaderboardDemo(props) {
511
534
  hasLeaders: true,
512
535
  isEssentials: false,
513
536
  styles: {
537
+ // viewingUserHighlightColor: props.viewingUserHighlightColor,
514
538
  usersheading: props.usersheading
515
539
  ? props.usersheading
516
540
  : "Top referrers",
@@ -1,11 +1,11 @@
1
1
  p,
2
2
  .P {
3
3
  font-size: var(--sl-font-size-small);
4
- color: var(--sl-color-gray-800);
4
+ color: var(--sqm-text);
5
5
  margin-top: 0px;
6
6
  }
7
7
  p.Subtitle,
8
8
  .P.Subtitle {
9
- color: var(--sl-color-gray-500);
9
+ color: var(--sqm-text-subdued);
10
10
  margin: 0px;
11
11
  }
@@ -122,7 +122,7 @@ export class LogoutCurrentUser {
122
122
  "mutable": false,
123
123
  "complexType": {
124
124
  "original": "DemoData<CopyTextViewProps>",
125
- "resolved": "{ loading?: boolean; copyString?: string; tooltiptext?: string; open?: boolean; copyButtonLabel?: string; disabled?: boolean; textAlign?: \"left\" | \"right\" | \"center\"; buttonStyle?: \"icon\" | \"button-outside\" | \"button-below\"; error?: boolean; errorText?: string; notificationText?: string; showNotificationText?: boolean; inputPlaceholderText?: string; dateAvailable?: string; isCopied?: boolean; onClick?: () => void; }",
125
+ "resolved": "{ loading?: boolean; copyString?: string; tooltiptext?: string; open?: boolean; copyButtonLabel?: string; disabled?: boolean; textAlign?: \"left\" | \"right\" | \"center\"; buttonStyle?: \"icon\" | \"button-outside\" | \"button-below\"; error?: boolean; errorText?: string; notificationText?: string; showNotificationText?: boolean; inputPlaceholderText?: string; dateAvailable?: string; isCopied?: boolean; backgroundColor?: string; textColor?: string; borderRadius?: string; buttonType?: \"primary\" | \"secondary\"; borderColor?: string; onClick?: () => void; }",
126
126
  "references": {
127
127
  "DemoData": {
128
128
  "location": "import",
@@ -8,6 +8,7 @@ export function ProgramExplainerStepView(props) {
8
8
  width: "100%",
9
9
  padding: "var(--sl-spacing-x-large)",
10
10
  lineHeight: "var(--sl-line-height-dense)",
11
+ borderRadius: props.borderRadius || "var(--sl-border-radius-large)",
11
12
  color: props.textColor || "var(--sqm-text)",
12
13
  background: props.backgroundColor || "var(--sl-color-primary-50)",
13
14
  "@media (max-width: 499px)": {
@@ -44,11 +45,14 @@ export function ProgramExplainerStepView(props) {
44
45
  borderRadius: "100%",
45
46
  objectFit: "cover",
46
47
  userSelect: "none",
47
- background: "#FFF",
48
- color: "var(--sl-color-primary-300)",
48
+ background: props.iconBackgroundColor || "var(--sl-color-white)",
49
+ color: props.iconColor || "var(--sl-color-primary-500)",
49
50
  fontSize: "26px",
50
51
  textAlign: "center",
51
52
  lineHeight: "72px",
53
+ display: "flex",
54
+ alignItems: "center",
55
+ justifyContent: "center",
52
56
  },
53
57
  };
54
58
  const sheet = createStyleSheet(style);
@@ -71,7 +71,7 @@ export class ProgramExplainerStep {
71
71
  "references": {}
72
72
  },
73
73
  "required": false,
74
- "optional": false,
74
+ "optional": true,
75
75
  "docs": {
76
76
  "tags": [{
77
77
  "text": "Text color",
@@ -97,7 +97,7 @@ export class ProgramExplainerStep {
97
97
  "references": {}
98
98
  },
99
99
  "required": false,
100
- "optional": false,
100
+ "optional": true,
101
101
  "docs": {
102
102
  "tags": [{
103
103
  "text": "Background color",
@@ -114,6 +114,81 @@ export class ProgramExplainerStep {
114
114
  "attribute": "background-color",
115
115
  "reflect": false
116
116
  },
117
+ "borderRadius": {
118
+ "type": "string",
119
+ "mutable": false,
120
+ "complexType": {
121
+ "original": "string",
122
+ "resolved": "string",
123
+ "references": {}
124
+ },
125
+ "required": false,
126
+ "optional": true,
127
+ "docs": {
128
+ "tags": [{
129
+ "text": "Border radius",
130
+ "name": "uiName"
131
+ }, {
132
+ "text": "number",
133
+ "name": "type"
134
+ }],
135
+ "text": ""
136
+ },
137
+ "attribute": "border-radius",
138
+ "reflect": false
139
+ },
140
+ "iconBackgroundColor": {
141
+ "type": "string",
142
+ "mutable": false,
143
+ "complexType": {
144
+ "original": "string",
145
+ "resolved": "string",
146
+ "references": {}
147
+ },
148
+ "required": false,
149
+ "optional": true,
150
+ "docs": {
151
+ "tags": [{
152
+ "text": "Icon Background color",
153
+ "name": "uiName"
154
+ }, {
155
+ "text": "color",
156
+ "name": "uiWidget"
157
+ }, {
158
+ "text": "color",
159
+ "name": "format"
160
+ }],
161
+ "text": ""
162
+ },
163
+ "attribute": "icon-background-color",
164
+ "reflect": false
165
+ },
166
+ "iconColor": {
167
+ "type": "string",
168
+ "mutable": false,
169
+ "complexType": {
170
+ "original": "string",
171
+ "resolved": "string",
172
+ "references": {}
173
+ },
174
+ "required": false,
175
+ "optional": true,
176
+ "docs": {
177
+ "tags": [{
178
+ "text": "Icon color",
179
+ "name": "uiName"
180
+ }, {
181
+ "text": "color",
182
+ "name": "uiWidget"
183
+ }, {
184
+ "text": "color",
185
+ "name": "format"
186
+ }],
187
+ "text": ""
188
+ },
189
+ "attribute": "icon-color",
190
+ "reflect": false
191
+ },
117
192
  "imageUrl": {
118
193
  "type": "string",
119
194
  "mutable": false,
@@ -38,11 +38,6 @@ const style = {
38
38
  height: "100%",
39
39
  maxWidth: "335px",
40
40
  },
41
- TextButton: {
42
- "&::part(base)": {
43
- color: "var(--sl-color-gray-600)",
44
- },
45
- },
46
41
  LoadingSkeleton: {
47
42
  "&::part(indicator)": {
48
43
  borderRadius: "0px !important",
@@ -93,6 +88,6 @@ export function QrCodeView({ error, qrLink, titleText, downloadCodeText, printCo
93
88
  !hideTitle && h("span", { part: "sqm-title" }, titleText),
94
89
  codeContent,
95
90
  h("div", { class: sheet.classes.ButtonContainer },
96
- h("sl-button", { size: "small", exportparts: "base: defaultbutton-base", type: "default", onClick: createDownloadable }, downloadCodeText),
97
- h("sl-button", { size: "small", exportparts: "base: textbutton-base", type: "text", onClick: createPrintable, class: sheet.classes.TextButton }, printCodeText)))));
91
+ h("sl-button", { size: "small", exportparts: "base: primarybutton-base", type: "primary", onClick: createDownloadable }, downloadCodeText),
92
+ h("sl-button", { size: "small", exportparts: "base: textbutton-base", type: "text", onClick: createPrintable }, printCodeText)))));
98
93
  }
@@ -265,7 +265,7 @@ export class ReferralCode {
265
265
  "mutable": false,
266
266
  "complexType": {
267
267
  "original": "DemoData<CopyTextViewProps>",
268
- "resolved": "{ loading?: boolean; copyString?: string; tooltiptext?: string; open?: boolean; copyButtonLabel?: string; disabled?: boolean; textAlign?: \"left\" | \"right\" | \"center\"; buttonStyle?: \"icon\" | \"button-outside\" | \"button-below\"; error?: boolean; errorText?: string; notificationText?: string; showNotificationText?: boolean; inputPlaceholderText?: string; dateAvailable?: string; isCopied?: boolean; onClick?: () => void; }",
268
+ "resolved": "{ loading?: boolean; copyString?: string; tooltiptext?: string; open?: boolean; copyButtonLabel?: string; disabled?: boolean; textAlign?: \"left\" | \"right\" | \"center\"; buttonStyle?: \"icon\" | \"button-outside\" | \"button-below\"; error?: boolean; errorText?: string; notificationText?: string; showNotificationText?: boolean; inputPlaceholderText?: string; dateAvailable?: string; isCopied?: boolean; backgroundColor?: string; textColor?: string; borderRadius?: string; buttonType?: \"primary\" | \"secondary\"; borderColor?: string; onClick?: () => void; }",
269
269
  "references": {
270
270
  "DemoData": {
271
271
  "location": "import",
@@ -27,9 +27,7 @@ export class ReferralTableRewardsCell {
27
27
  "flex-wrap": "wrap",
28
28
  },
29
29
  Details: {
30
- "padding-bottom": "var(--sl-spacing-small)",
31
30
  "max-width": "500px",
32
- // "padding-right": "var(--sl-spacing-x-small)",
33
31
  "&::part(header)": {
34
32
  padding: "var(--sl-spacing-x-small)",
35
33
  cursor: `${this.hideDetails ? "default" : "pointer"}`,
@@ -135,11 +135,11 @@ export class RewardTableRewardsCell {
135
135
  },
136
136
  Text: {
137
137
  fontSize: "var(--sl-font-size-medium)",
138
- color: "var(--sl-color-gray-800)",
138
+ color: "var(--sqm-text)",
139
139
  },
140
140
  Subtext: {
141
141
  fontSize: "var(--sl-font-size-small)",
142
- color: "var(--sl-color-neutral-500)",
142
+ color: "var(--sqm-text-subdued)",
143
143
  },
144
144
  };
145
145
  const sheet = createStyleSheet(style);
@@ -490,7 +490,7 @@ export class ShareButton {
490
490
  "mutable": false,
491
491
  "complexType": {
492
492
  "original": "DemoData<ShareButtonViewProps>",
493
- "resolved": "{ loading?: boolean; icon?: string; disabled?: boolean; onClick?: () => void; medium?: \"facebook\" | \"twitter\" | \"email\" | \"direct\" | \"linkedin\" | \"sms\" | \"fbmessenger\" | \"whatsapp\" | \"linemessenger\" | \"pinterest\" | \"reminder\" | \"unknown\"; pill?: boolean; type?: \"text\" | \"warning\" | \"info\" | \"success\" | \"default\" | \"primary\" | \"danger\"; size?: \"small\" | \"medium\" | \"large\"; hideicon?: boolean; hidetext?: boolean; iconslot?: \"prefix\" | \"suffix\"; hide?: boolean; borderradius?: number; backgroundcolor?: string; textcolor?: string; messageLink?: string; openInSameTab?: boolean; isPlainLink?: boolean; }",
493
+ "resolved": "{ loading?: boolean; icon?: string; disabled?: boolean; onClick?: () => void; medium?: \"facebook\" | \"twitter\" | \"email\" | \"direct\" | \"linkedin\" | \"sms\" | \"fbmessenger\" | \"whatsapp\" | \"linemessenger\" | \"pinterest\" | \"reminder\" | \"unknown\"; pill?: boolean; type?: \"text\" | \"warning\" | \"info\" | \"success\" | \"primary\" | \"default\" | \"danger\"; size?: \"small\" | \"medium\" | \"large\"; hideicon?: boolean; hidetext?: boolean; iconslot?: \"prefix\" | \"suffix\"; hide?: boolean; borderradius?: number; backgroundcolor?: string; textcolor?: string; messageLink?: string; openInSameTab?: boolean; isPlainLink?: boolean; }",
494
494
  "references": {
495
495
  "DemoData": {
496
496
  "location": "import",
@@ -211,7 +211,7 @@ export class ShareCode {
211
211
  "mutable": false,
212
212
  "complexType": {
213
213
  "original": "DemoData<CopyTextViewProps>",
214
- "resolved": "{ loading?: boolean; copyString?: string; tooltiptext?: string; open?: boolean; copyButtonLabel?: string; disabled?: boolean; textAlign?: \"left\" | \"right\" | \"center\"; buttonStyle?: \"icon\" | \"button-outside\" | \"button-below\"; error?: boolean; errorText?: string; notificationText?: string; showNotificationText?: boolean; inputPlaceholderText?: string; dateAvailable?: string; isCopied?: boolean; onClick?: () => void; }",
214
+ "resolved": "{ loading?: boolean; copyString?: string; tooltiptext?: string; open?: boolean; copyButtonLabel?: string; disabled?: boolean; textAlign?: \"left\" | \"right\" | \"center\"; buttonStyle?: \"icon\" | \"button-outside\" | \"button-below\"; error?: boolean; errorText?: string; notificationText?: string; showNotificationText?: boolean; inputPlaceholderText?: string; dateAvailable?: string; isCopied?: boolean; backgroundColor?: string; textColor?: string; borderRadius?: string; buttonType?: \"primary\" | \"secondary\"; borderColor?: string; onClick?: () => void; }",
215
215
  "references": {
216
216
  "DemoData": {
217
217
  "location": "import",
@@ -64,6 +64,18 @@ export const CopyButtonBelow = () => {
64
64
  buttonStyle: "button-below",
65
65
  })));
66
66
  };
67
+ export const CustomStyles = () => {
68
+ const props = {
69
+ copyString: "https://noah.example.com",
70
+ open: false,
71
+ tooltiptext: "Copied!",
72
+ backgroundColor: "#1ed760",
73
+ borderRadius: "30px",
74
+ textColor: "#121212",
75
+ buttonType: "primary",
76
+ };
77
+ return h(CopyTextView, Object.assign({}, props));
78
+ };
67
79
  export const FullStack = () => {
68
80
  return h("sqm-share-link", null);
69
81
  };
@@ -37,13 +37,23 @@ export class ShareLink {
37
37
  * @uiName Copy button label
38
38
  */
39
39
  this.copyButtonLabel = "Copy Link";
40
+ /**
41
+ * The type of the button (primary or secondary) that will be used to copy the link.
42
+ * @uiName Button Type
43
+ * @uiType string
44
+ * @uiEnum ["primary", "secondary"]
45
+ * @uiEnumNames ["Primary", "Secondary"]
46
+ * @uiGroup Style
47
+ */
48
+ this.buttonType = "primary";
40
49
  /**
41
50
  * Set the copy button style and placement
42
51
  *
43
- * @uiName Style
52
+ * @uiName Button style
44
53
  * @uiType string
45
54
  * @uiEnum ["icon", "button-outside", "button-below"]
46
55
  * @uiEnumNames ["Icon", "Button outside", "Button below"]
56
+ * @uiGroup Style
47
57
  */
48
58
  this.buttonStyle = "icon";
49
59
  withHooks(this);
@@ -175,6 +185,39 @@ export class ShareLink {
175
185
  "reflect": false,
176
186
  "defaultValue": "\"Copy Link\""
177
187
  },
188
+ "buttonType": {
189
+ "type": "string",
190
+ "mutable": false,
191
+ "complexType": {
192
+ "original": "\"primary\" | \"secondary\"",
193
+ "resolved": "\"primary\" | \"secondary\"",
194
+ "references": {}
195
+ },
196
+ "required": false,
197
+ "optional": true,
198
+ "docs": {
199
+ "tags": [{
200
+ "text": "Button Type",
201
+ "name": "uiName"
202
+ }, {
203
+ "text": "string",
204
+ "name": "uiType"
205
+ }, {
206
+ "text": "[\"primary\", \"secondary\"]",
207
+ "name": "uiEnum"
208
+ }, {
209
+ "text": "[\"Primary\", \"Secondary\"]",
210
+ "name": "uiEnumNames"
211
+ }, {
212
+ "text": "Style",
213
+ "name": "uiGroup"
214
+ }],
215
+ "text": "The type of the button (primary or secondary) that will be used to copy the link."
216
+ },
217
+ "attribute": "button-type",
218
+ "reflect": false,
219
+ "defaultValue": "\"primary\""
220
+ },
178
221
  "buttonStyle": {
179
222
  "type": "string",
180
223
  "mutable": false,
@@ -187,7 +230,7 @@ export class ShareLink {
187
230
  "optional": true,
188
231
  "docs": {
189
232
  "tags": [{
190
- "text": "Style",
233
+ "text": "Button style",
191
234
  "name": "uiName"
192
235
  }, {
193
236
  "text": "string",
@@ -198,6 +241,9 @@ export class ShareLink {
198
241
  }, {
199
242
  "text": "[\"Icon\", \"Button outside\", \"Button below\"]",
200
243
  "name": "uiEnumNames"
244
+ }, {
245
+ "text": "Style",
246
+ "name": "uiGroup"
201
247
  }],
202
248
  "text": "Set the copy button style and placement"
203
249
  },
@@ -210,7 +256,7 @@ export class ShareLink {
210
256
  "mutable": false,
211
257
  "complexType": {
212
258
  "original": "DemoData<CopyTextViewProps>",
213
- "resolved": "{ loading?: boolean; copyString?: string; tooltiptext?: string; open?: boolean; copyButtonLabel?: string; disabled?: boolean; textAlign?: \"left\" | \"right\" | \"center\"; buttonStyle?: \"icon\" | \"button-outside\" | \"button-below\"; error?: boolean; errorText?: string; notificationText?: string; showNotificationText?: boolean; inputPlaceholderText?: string; dateAvailable?: string; isCopied?: boolean; onClick?: () => void; }",
259
+ "resolved": "{ loading?: boolean; copyString?: string; tooltiptext?: string; open?: boolean; copyButtonLabel?: string; disabled?: boolean; textAlign?: \"left\" | \"right\" | \"center\"; buttonStyle?: \"icon\" | \"button-outside\" | \"button-below\"; error?: boolean; errorText?: string; notificationText?: string; showNotificationText?: boolean; inputPlaceholderText?: string; dateAvailable?: string; isCopied?: boolean; backgroundColor?: string; textColor?: string; borderRadius?: string; buttonType?: \"primary\" | \"secondary\"; borderColor?: string; onClick?: () => void; }",
214
260
  "references": {
215
261
  "DemoData": {
216
262
  "location": "import",
@@ -245,7 +291,12 @@ function useDemoShareLink(props) {
245
291
  tooltiptext: props.tooltiptext,
246
292
  textAlign: props.textAlign,
247
293
  buttonStyle: props.buttonStyle,
294
+ backgroundColor: props.backgroundColor,
295
+ textColor: props.textColor,
296
+ borderRadius: props.borderRadius,
297
+ buttonType: props.buttonType,
248
298
  copyButtonLabel: props.copyButtonLabel,
299
+ // borderColor: props.borderColor,
249
300
  rewardStatus: "AVAILABLE",
250
301
  open,
251
302
  onClick: () => {
@@ -12,7 +12,7 @@ export const style = {
12
12
  position: "absolute",
13
13
  top: "var(--sl-spacing-medium)",
14
14
  right: "var(--sl-spacing-medium)",
15
- color: "var(--sl-color-neutral-700)",
15
+ color: "var(--sqm-text)",
16
16
  fontSize: "var(--sl-font-size-large)",
17
17
  "& :hover": {
18
18
  color: "var(--sl-color-primary-700)",