@saasquatch/mint-components 1.6.8-2 → 1.6.8-4

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 (259) hide show
  1. package/dist/cjs/{ShadowViewAddon-7a412c0b.js → ShadowViewAddon-937f11d0.js} +20 -11
  2. package/dist/cjs/{global-ea52ea30.js → global-48c25606.js} +1 -1
  3. package/dist/cjs/{index.module-bd6e817a.js → index.module-f6afc139.js} +21 -2
  4. package/dist/cjs/loader.cjs.js +3 -3
  5. package/dist/cjs/mint-components.cjs.js +3 -3
  6. package/dist/cjs/{re-render-1d12dfdd.js → re-render-552514cb.js} +1 -1
  7. package/dist/cjs/sqm-asset-card.cjs.entry.js +1 -1
  8. package/dist/cjs/sqm-big-stat_37.cjs.entry.js +22 -18
  9. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +1 -1
  10. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +2 -2
  11. package/dist/cjs/sqm-link-button.cjs.entry.js +2 -2
  12. package/dist/cjs/{sqm-navigation-sidebar-item-view-91d9d7b5.js → sqm-navigation-sidebar-item-view-c39b695c.js} +1 -1
  13. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +2 -2
  14. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +1 -1
  15. package/dist/cjs/sqm-password-field.cjs.entry.js +2 -2
  16. package/dist/cjs/sqm-passwordless-registration.cjs.entry.js +2 -10
  17. package/dist/cjs/sqm-popup-container.cjs.entry.js +1 -1
  18. package/dist/cjs/{sqm-portal-email-verification-view-7e795920.js → sqm-portal-email-verification-view-2e646897.js} +1 -1
  19. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +3 -3
  20. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +1 -1
  21. package/dist/cjs/sqm-portal-logout.cjs.entry.js +1 -1
  22. package/dist/cjs/{sqm-portal-profile-view-7c290eed.js → sqm-portal-profile-view-52bc73ad.js} +1 -1
  23. package/dist/cjs/sqm-portal-profile.cjs.entry.js +3 -3
  24. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +1 -1
  25. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +2 -2
  26. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +1 -1
  27. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +1 -1
  28. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +5 -5
  29. package/dist/cjs/sqm-referred-registration.cjs.entry.js +10 -12
  30. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +2 -2
  31. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +5 -5
  32. package/dist/cjs/sqm-stencilbook.cjs.entry.js +43 -21
  33. package/dist/cjs/sqm-tab.cjs.entry.js +2 -2
  34. package/dist/cjs/sqm-tabs.cjs.entry.js +3 -3
  35. package/dist/cjs/{sqm-user-identifier-view-69b42b84.js → sqm-user-identifier-view-90b36758.js} +10 -3
  36. package/dist/cjs/sqm-user-identifier.cjs.entry.js +28 -5
  37. package/dist/cjs/{useChildElements-0a6ccd0f.js → useChildElements-a8f7f5ca.js} +1 -1
  38. package/dist/cjs/{usePasswordlessRegistration-9105faa4.js → usePasswordlessRegistration-b10e325f.js} +1 -1
  39. package/dist/cjs/{useReferralTable-259fc04d.js → useReferralTable-f53a9a1b.js} +3 -3
  40. package/dist/cjs/{useRegistrationFormState-ed30c0e6.js → useRegistrationFormState-99160dad.js} +1 -1
  41. package/dist/collection/components/sqm-coupon-code/CouponCode.stories.js +4 -1
  42. package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +13 -13
  43. package/dist/collection/components/sqm-link-button/LinkButton.stories.js +1 -1
  44. package/dist/collection/components/sqm-link-button/sqm-link-button.js +3 -3
  45. package/dist/collection/components/sqm-passwordless-registration/sqm-passwordless-registration.js +0 -32
  46. package/dist/collection/components/sqm-portal-footer/PortalFooter.stories.js +1 -0
  47. package/dist/collection/components/sqm-portal-footer/sqm-portal-footer-view.js +4 -2
  48. package/dist/collection/components/sqm-portal-footer/sqm-portal-footer.js +25 -0
  49. package/dist/collection/components/sqm-referred-registration/sqm-referred-registration.js +9 -35
  50. package/dist/collection/components/sqm-share-code/ShareCode.stories.js +1 -1
  51. package/dist/collection/components/sqm-share-code/sqm-share-code.js +13 -13
  52. package/dist/collection/components/sqm-share-link/ShareLink.stories.js +1 -1
  53. package/dist/collection/components/sqm-share-link/sqm-share-link.js +13 -13
  54. package/dist/collection/components/sqm-user-identifier/sqm-user-identifier-view.js +10 -3
  55. package/dist/collection/components/sqm-user-identifier/sqm-user-identifier.js +50 -7
  56. package/dist/collection/components/sqm-user-identifier/useUserIdentifer.js +7 -0
  57. package/dist/collection/components/views/EmailRegistration.stories.js +14 -0
  58. package/dist/collection/components/views/copy-text-view.js +13 -6
  59. package/dist/esm/{ShadowViewAddon-ca765d5e.js → ShadowViewAddon-751a6b84.js} +20 -11
  60. package/dist/esm/{global-0f137e54.js → global-170c4499.js} +1 -1
  61. package/dist/esm/{index.module-787e5d35.js → index.module-0ba0774e.js} +21 -2
  62. package/dist/esm/loader.js +3 -3
  63. package/dist/esm/mint-components.js +3 -3
  64. package/dist/esm/{re-render-54bb3e32.js → re-render-22de5b23.js} +1 -1
  65. package/dist/esm/sqm-asset-card.entry.js +1 -1
  66. package/dist/esm/sqm-big-stat_37.entry.js +22 -18
  67. package/dist/esm/sqm-graphql-client-provider.entry.js +1 -1
  68. package/dist/esm/sqm-leaderboard-rank.entry.js +2 -2
  69. package/dist/esm/sqm-link-button.entry.js +2 -2
  70. package/dist/esm/{sqm-navigation-sidebar-item-view-ee402e54.js → sqm-navigation-sidebar-item-view-5a4ac267.js} +1 -1
  71. package/dist/esm/sqm-navigation-sidebar-item.entry.js +2 -2
  72. package/dist/esm/sqm-navigation-sidebar.entry.js +1 -1
  73. package/dist/esm/sqm-password-field.entry.js +2 -2
  74. package/dist/esm/sqm-passwordless-registration.entry.js +2 -10
  75. package/dist/esm/sqm-popup-container.entry.js +1 -1
  76. package/dist/esm/{sqm-portal-email-verification-view-727bbfd9.js → sqm-portal-email-verification-view-889fcc01.js} +1 -1
  77. package/dist/esm/sqm-portal-email-verification.entry.js +3 -3
  78. package/dist/esm/sqm-portal-forgot-password.entry.js +1 -1
  79. package/dist/esm/sqm-portal-logout.entry.js +1 -1
  80. package/dist/esm/{sqm-portal-profile-view-1f2b6063.js → sqm-portal-profile-view-ac955752.js} +1 -1
  81. package/dist/esm/sqm-portal-profile.entry.js +3 -3
  82. package/dist/esm/sqm-portal-protected-route.entry.js +1 -1
  83. package/dist/esm/sqm-portal-registration-form.entry.js +2 -2
  84. package/dist/esm/sqm-portal-reset-password.entry.js +1 -1
  85. package/dist/esm/sqm-portal-verify-email.entry.js +1 -1
  86. package/dist/esm/sqm-referral-table_11.entry.js +5 -5
  87. package/dist/esm/sqm-referred-registration.entry.js +10 -12
  88. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +2 -2
  89. package/dist/esm/sqm-rewards-table_9.entry.js +5 -5
  90. package/dist/esm/sqm-stencilbook.entry.js +43 -21
  91. package/dist/esm/sqm-tab.entry.js +2 -2
  92. package/dist/esm/sqm-tabs.entry.js +3 -3
  93. package/dist/esm/{sqm-user-identifier-view-379c773f.js → sqm-user-identifier-view-dbf71a5e.js} +10 -3
  94. package/dist/esm/sqm-user-identifier.entry.js +28 -5
  95. package/dist/esm/{useChildElements-0124b1a9.js → useChildElements-fd458906.js} +1 -1
  96. package/dist/esm/{usePasswordlessRegistration-2381025b.js → usePasswordlessRegistration-ad9a05d5.js} +1 -1
  97. package/dist/esm/{useReferralTable-3024490c.js → useReferralTable-a3d6051e.js} +3 -3
  98. package/dist/esm/{useRegistrationFormState-3c2c2f1b.js → useRegistrationFormState-29e30121.js} +1 -1
  99. package/dist/esm-es5/ShadowViewAddon-751a6b84.js +1 -0
  100. package/dist/esm-es5/{global-0f137e54.js → global-170c4499.js} +1 -1
  101. package/dist/esm-es5/index.module-0ba0774e.js +1 -0
  102. package/dist/esm-es5/loader.js +1 -1
  103. package/dist/esm-es5/mint-components.js +1 -1
  104. package/dist/esm-es5/{re-render-54bb3e32.js → re-render-22de5b23.js} +1 -1
  105. package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
  106. package/dist/esm-es5/sqm-big-stat_37.entry.js +1 -1
  107. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  108. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  109. package/dist/esm-es5/sqm-link-button.entry.js +1 -1
  110. package/dist/esm-es5/{sqm-navigation-sidebar-item-view-ee402e54.js → sqm-navigation-sidebar-item-view-5a4ac267.js} +1 -1
  111. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  112. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  113. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  114. package/dist/esm-es5/sqm-passwordless-registration.entry.js +1 -1
  115. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  116. package/dist/esm-es5/{sqm-portal-email-verification-view-727bbfd9.js → sqm-portal-email-verification-view-889fcc01.js} +1 -1
  117. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  118. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  119. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  120. package/dist/esm-es5/{sqm-portal-profile-view-1f2b6063.js → sqm-portal-profile-view-ac955752.js} +1 -1
  121. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  122. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  123. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  124. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  125. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  126. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  127. package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
  128. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  129. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  130. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  131. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  132. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  133. package/dist/esm-es5/sqm-user-identifier-view-dbf71a5e.js +1 -0
  134. package/dist/esm-es5/sqm-user-identifier.entry.js +1 -1
  135. package/dist/esm-es5/{useChildElements-0124b1a9.js → useChildElements-fd458906.js} +1 -1
  136. package/dist/esm-es5/{usePasswordlessRegistration-2381025b.js → usePasswordlessRegistration-ad9a05d5.js} +1 -1
  137. package/dist/esm-es5/{useReferralTable-3024490c.js → useReferralTable-a3d6051e.js} +1 -1
  138. package/dist/esm-es5/{useRegistrationFormState-3c2c2f1b.js → useRegistrationFormState-29e30121.js} +1 -1
  139. package/dist/mint-components/mint-components.esm.js +1 -1
  140. package/dist/mint-components/mint-components.js +1 -1
  141. package/dist/mint-components/{p-32b28506.system.entry.js → p-045af9fb.system.entry.js} +1 -1
  142. package/dist/mint-components/p-0597b64f.js +1 -0
  143. package/dist/mint-components/p-0a410d79.entry.js +1 -0
  144. package/dist/mint-components/{p-25ce265e.entry.js → p-0b6ee047.entry.js} +2 -2
  145. package/dist/mint-components/{p-a9467e3e.system.entry.js → p-0c5aadd5.system.entry.js} +1 -1
  146. package/dist/mint-components/{p-838e5560.system.entry.js → p-0c7a3116.system.entry.js} +1 -1
  147. package/dist/mint-components/{p-82f341ec.system.entry.js → p-0d395b4f.system.entry.js} +1 -1
  148. package/dist/mint-components/{p-3ad8c79f.entry.js → p-135c3cef.entry.js} +1 -1
  149. package/dist/mint-components/{p-05abfc50.system.entry.js → p-16dda971.system.entry.js} +1 -1
  150. package/dist/mint-components/{p-92002bbb.system.entry.js → p-18e7d7c6.system.entry.js} +1 -1
  151. package/dist/mint-components/{p-aaff2c88.system.entry.js → p-19244318.system.entry.js} +1 -1
  152. package/dist/mint-components/{p-3855a6e0.entry.js → p-1d9cb344.entry.js} +1 -1
  153. package/dist/mint-components/{p-f96d239a.entry.js → p-221878e3.entry.js} +1 -1
  154. package/dist/mint-components/p-35d6d322.system.js +1 -0
  155. package/dist/mint-components/p-390b1f99.entry.js +1 -0
  156. package/dist/mint-components/{p-56494499.js → p-3d339fa9.js} +1 -1
  157. package/dist/mint-components/p-4120758d.system.entry.js +1 -0
  158. package/dist/mint-components/{p-ba7feba5.js → p-494829ff.js} +1 -1
  159. package/dist/mint-components/{p-95cc44c3.system.js → p-4994b24c.system.js} +1 -1
  160. package/dist/mint-components/p-515eac9c.system.entry.js +1 -0
  161. package/dist/mint-components/{p-3a6a59f2.system.js → p-517a5669.system.js} +1 -1
  162. package/dist/mint-components/{p-db297fa3.system.entry.js → p-58362d80.system.entry.js} +1 -1
  163. package/dist/mint-components/{p-52468c89.system.js → p-59ca1d2c.system.js} +1 -1
  164. package/dist/mint-components/{p-af00c9b0.entry.js → p-62306484.entry.js} +1 -1
  165. package/dist/mint-components/p-6332cdb6.entry.js +1 -0
  166. package/dist/mint-components/{p-ae00aec4.system.js → p-64242338.system.js} +1 -1
  167. package/dist/mint-components/p-653131de.entry.js +9 -0
  168. package/dist/mint-components/{p-555123c5.system.js → p-657acf81.system.js} +1 -1
  169. package/dist/mint-components/p-66a0332f.system.entry.js +1 -0
  170. package/dist/mint-components/p-689d022a.js +1 -0
  171. package/dist/mint-components/{p-332448db.system.entry.js → p-6c0409fe.system.entry.js} +1 -1
  172. package/dist/mint-components/p-6ddc2a08.js +1 -0
  173. package/dist/mint-components/{p-36b5b564.entry.js → p-6e9cfc74.entry.js} +1 -1
  174. package/dist/mint-components/{p-15cfd2cf.system.js → p-70263662.system.js} +1 -1
  175. package/dist/mint-components/{p-01bd9ae1.system.entry.js → p-730db569.system.entry.js} +1 -1
  176. package/dist/mint-components/{p-598f6e6e.entry.js → p-773cf8ec.entry.js} +4 -4
  177. package/dist/mint-components/{p-bc6255a0.js → p-7d31f692.js} +2 -2
  178. package/dist/mint-components/{p-39ac088a.entry.js → p-7d7baf55.entry.js} +2 -2
  179. package/dist/mint-components/{p-f63ea5f4.entry.js → p-8322ad92.entry.js} +1 -1
  180. package/dist/mint-components/{p-6868f6a3.system.entry.js → p-8478a86e.system.entry.js} +1 -1
  181. package/dist/mint-components/{p-b0ad1b74.system.entry.js → p-88ce114f.system.entry.js} +1 -1
  182. package/dist/mint-components/{p-dffe8bea.entry.js → p-8e0d9535.entry.js} +1 -1
  183. package/dist/mint-components/{p-e94f28d3.system.js → p-8f58a603.system.js} +1 -1
  184. package/dist/mint-components/{p-8eb9298d.js → p-9009d352.js} +2 -2
  185. package/dist/mint-components/{p-695d65b1.js → p-9076f688.js} +1 -1
  186. package/dist/mint-components/{p-9c0678aa.system.entry.js → p-919ea20a.system.entry.js} +1 -1
  187. package/dist/mint-components/{p-b039fb72.entry.js → p-94607792.entry.js} +1 -1
  188. package/dist/mint-components/{p-b91658ca.system.entry.js → p-96b05458.system.entry.js} +1 -1
  189. package/dist/mint-components/{p-ea76c3bc.system.entry.js → p-97988090.system.entry.js} +1 -1
  190. package/dist/mint-components/{p-6d7b7618.system.entry.js → p-97fa9d3e.system.entry.js} +1 -1
  191. package/dist/mint-components/p-9a13cb78.system.entry.js +1 -0
  192. package/dist/mint-components/{p-d949b099.entry.js → p-9cdf8d74.entry.js} +1 -1
  193. package/dist/mint-components/{p-d27b326c.js → p-9d9da716.js} +1 -1
  194. package/dist/mint-components/{p-eb3278aa.js → p-a59be693.js} +1 -1
  195. package/dist/mint-components/{p-3ad5761c.entry.js → p-a7451d8c.entry.js} +1 -1
  196. package/dist/mint-components/p-b27a0503.system.entry.js +1 -0
  197. package/dist/mint-components/p-b6b28b95.js +1 -0
  198. package/dist/mint-components/{p-65aac49a.entry.js → p-bd037777.entry.js} +1 -1
  199. package/dist/mint-components/{p-6c69d3d5.entry.js → p-bf021a55.entry.js} +1 -1
  200. package/dist/mint-components/p-bfd347b4.js +1 -0
  201. package/dist/mint-components/p-bfecc81e.system.js +1 -0
  202. package/dist/mint-components/p-c0f82fc7.system.entry.js +1 -0
  203. package/dist/mint-components/p-c1e7a6c3.entry.js +1 -0
  204. package/dist/mint-components/p-c2c3d7fd.entry.js +1 -0
  205. package/dist/mint-components/{p-e74525d9.system.entry.js → p-c3765ad9.system.entry.js} +1 -1
  206. package/dist/mint-components/{p-91b1dd5f.system.entry.js → p-c3777cf3.system.entry.js} +1 -1
  207. package/dist/mint-components/{p-d483347f.system.entry.js → p-c4b6454d.system.entry.js} +1 -1
  208. package/dist/mint-components/p-d16b1f37.entry.js +1 -0
  209. package/dist/mint-components/{p-de9716b9.entry.js → p-d6c78b10.entry.js} +2 -2
  210. package/dist/mint-components/p-de055c6b.system.js +1 -0
  211. package/dist/mint-components/{p-cfb400c5.entry.js → p-e633ae08.entry.js} +1 -1
  212. package/dist/mint-components/{p-9957d667.system.js → p-eb25d055.system.js} +1 -1
  213. package/dist/mint-components/p-ef3e1cb8.system.js +1 -0
  214. package/dist/mint-components/{p-1069832a.entry.js → p-f27766d6.entry.js} +1 -1
  215. package/dist/mint-components/{p-911f8910.system.js → p-f8d9e861.system.js} +1 -1
  216. package/dist/types/components/sqm-coupon-code/CouponCode.stories.d.ts +1 -0
  217. package/dist/types/components/sqm-coupon-code/sqm-coupon-code.d.ts +3 -3
  218. package/dist/types/components/sqm-link-button/sqm-link-button.d.ts +3 -3
  219. package/dist/types/components/sqm-passwordless-registration/sqm-passwordless-registration.d.ts +0 -7
  220. package/dist/types/components/sqm-portal-footer/PortalFooter.stories.d.ts +1 -0
  221. package/dist/types/components/sqm-portal-footer/sqm-portal-footer-view.d.ts +1 -0
  222. package/dist/types/components/sqm-portal-footer/sqm-portal-footer.d.ts +4 -0
  223. package/dist/types/components/sqm-referred-registration/sqm-referred-registration.d.ts +0 -7
  224. package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +3 -3
  225. package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +3 -3
  226. package/dist/types/components/sqm-user-identifier/sqm-user-identifier.d.ts +10 -3
  227. package/dist/types/components/sqm-user-identifier/useUserIdentifer.d.ts +3 -0
  228. package/dist/types/components/views/EmailRegistration.stories.d.ts +2 -0
  229. package/dist/types/components/views/copy-text-view.d.ts +1 -1
  230. package/dist/types/components.d.ts +36 -42
  231. package/docs/docs.docx +0 -0
  232. package/docs/raisins.json +1 -1
  233. package/grapesjs/grapesjs.js +1 -1
  234. package/package.json +2 -2
  235. package/dist/esm-es5/ShadowViewAddon-ca765d5e.js +0 -1
  236. package/dist/esm-es5/index.module-787e5d35.js +0 -1
  237. package/dist/esm-es5/sqm-user-identifier-view-379c773f.js +0 -1
  238. package/dist/mint-components/p-19cecf43.entry.js +0 -1
  239. package/dist/mint-components/p-27c9d3be.system.entry.js +0 -1
  240. package/dist/mint-components/p-3282f52a.entry.js +0 -1
  241. package/dist/mint-components/p-35b9bb54.entry.js +0 -1
  242. package/dist/mint-components/p-4359f515.system.js +0 -1
  243. package/dist/mint-components/p-5333d935.entry.js +0 -1
  244. package/dist/mint-components/p-5377e1c5.system.entry.js +0 -1
  245. package/dist/mint-components/p-545e2df1.entry.js +0 -1
  246. package/dist/mint-components/p-5938e109.js +0 -1
  247. package/dist/mint-components/p-5deb8687.system.entry.js +0 -1
  248. package/dist/mint-components/p-788fd322.system.js +0 -1
  249. package/dist/mint-components/p-7ed639bc.js +0 -1
  250. package/dist/mint-components/p-883169ad.entry.js +0 -1
  251. package/dist/mint-components/p-8caf0121.system.entry.js +0 -1
  252. package/dist/mint-components/p-9e8ea69d.system.js +0 -1
  253. package/dist/mint-components/p-c0685957.js +0 -1
  254. package/dist/mint-components/p-cce7f6ea.js +0 -1
  255. package/dist/mint-components/p-e0167571.js +0 -1
  256. package/dist/mint-components/p-e41a853f.system.entry.js +0 -1
  257. package/dist/mint-components/p-e869887b.system.entry.js +0 -1
  258. package/dist/mint-components/p-f87b1e0b.system.js +0 -1
  259. package/dist/mint-components/p-fd90e9db.entry.js +0 -9
@@ -2,11 +2,11 @@ import { Component, h, Prop } from "@stencil/core";
2
2
  import { getProps } from "../../utils/utils";
3
3
  import { LinkButtonView } from "./sqm-link-button-view";
4
4
  /**
5
- * @uiName Image
5
+ * @uiName Link Button
6
6
  * @exampleGroup Common Components
7
- * @example Image - <sqm-image image-url="https://res.cloudinary.com/saasquatch/image/upload/v1644000259/squatch-assets/tn47wOj.png" alignment="center"></sqm-image>
7
+ * @example Link Button - <sqm-link-button link="www.example.com" open-in-new-tab="true">Click here</sqm-link-button>
8
8
  */
9
- export class Image {
9
+ export class LinkButton {
10
10
  constructor() {
11
11
  /**
12
12
  * @uiName User Identification Text
@@ -11,13 +11,6 @@ import { usePasswordlessRegistration } from "./usePasswordlessRegistration";
11
11
  export class PasswordlessRegistration {
12
12
  constructor() {
13
13
  this.ignored = true;
14
- /**
15
- * Redirect participants to this page after they successfully register.
16
- *
17
- * @uiName Registration Redirect
18
- * @uiWidget pageSelect
19
- */
20
- this.nextPage = "/";
21
14
  /**
22
15
  * @uiName Email Field Label
23
16
  */
@@ -60,30 +53,6 @@ export class PasswordlessRegistration {
60
53
  static get is() { return "sqm-passwordless-registration"; }
61
54
  static get encapsulation() { return "shadow"; }
62
55
  static get properties() { return {
63
- "nextPage": {
64
- "type": "string",
65
- "mutable": false,
66
- "complexType": {
67
- "original": "string",
68
- "resolved": "string",
69
- "references": {}
70
- },
71
- "required": false,
72
- "optional": false,
73
- "docs": {
74
- "tags": [{
75
- "text": "Registration Redirect",
76
- "name": "uiName"
77
- }, {
78
- "text": "pageSelect",
79
- "name": "uiWidget"
80
- }],
81
- "text": "Redirect participants to this page after they successfully register."
82
- },
83
- "attribute": "next-page",
84
- "reflect": false,
85
- "defaultValue": "\"/\""
86
- },
87
56
  "emailLabel": {
88
57
  "type": "string",
89
58
  "mutable": false,
@@ -225,7 +194,6 @@ export class PasswordlessRegistration {
225
194
  }; }
226
195
  }
227
196
  function useRegistrationDemo(props) {
228
- console.debug("sqm-passwordless-registration: Running in debug mode...");
229
197
  const onSubmit = () => {
230
198
  setUserIdentity({
231
199
  id: "referrer@example.com",
@@ -22,3 +22,4 @@ export const FooterWithTerms = () => (h(PortalFooterView, Object.assign({}, defa
22
22
  export const FooterWithFAQ = () => (h(PortalFooterView, Object.assign({}, defaultProps, { faqLink: "https://example.com", faqText: "FAQ" })));
23
23
  export const FooterWithTermsAndFAQ = () => (h(PortalFooterView, Object.assign({}, defaultProps, { termsLink: "https://example.com", termsText: "Terms and Conditions", faqLink: "https://example.com", faqText: "FAQ" })));
24
24
  export const FooterNoPoweredBy = () => (h(PortalFooterView, Object.assign({}, defaultProps, { termsLink: "https://example.com", termsText: "Terms and Conditions", faqLink: "https://example.com", faqText: "FAQ", hidePoweredBy: true })));
25
+ export const FooterNoSupportText = () => (h(PortalFooterView, Object.assign({}, defaultProps, { termsLink: "https://example.com", termsText: "Terms and Conditions", faqLink: "https://example.com", faqText: "FAQ", hideSupportText: true })));
@@ -31,12 +31,14 @@ export function PortalFooterView(props) {
31
31
  "padding-right": `var(--sl-spacing-${props.paddingRight})`,
32
32
  "padding-bottom": `var(--sl-spacing-${props.paddingBottom})`,
33
33
  "padding-left": `var(--sl-spacing-${props.paddingLeft})`,
34
+ "row-gap": `var(--sl-spacing-small)`,
34
35
  "& a:hover": {
35
36
  color: "var(--sl-color-gray-900)",
36
37
  },
37
38
  },
38
39
  SupportText: {
39
40
  textAlign: "center",
41
+ margin: 0,
40
42
  },
41
43
  PoweredByLink: {
42
44
  color: "var(--sl-color-gray-400)",
@@ -55,12 +57,12 @@ export function PortalFooterView(props) {
55
57
  h("div", { class: sheet.classes.RowContainer },
56
58
  props.faqLink && (h("a", { target: "_blank", href: props.faqLink }, props.faqText)),
57
59
  props.termsLink && (h("a", { target: "_blank", href: props.termsLink }, props.termsText))),
58
- h("p", { class: sheet.classes.SupportText }, intl.formatMessage({
60
+ !props.hideSupportText && (h("p", { class: sheet.classes.SupportText }, intl.formatMessage({
59
61
  id: "supportFooter",
60
62
  defaultMessage: props.supportText,
61
63
  }, {
62
64
  email: (h("a", { target: "_blank", href: `mailto:${props.supportEmail}` }, props.supportEmail)),
63
- })),
65
+ }))),
64
66
  !props.hidePoweredBy && (h("a", { class: sheet.classes.PoweredByLink, target: "_blank", href: props.poweredByLink },
65
67
  h(PoweredByImg, null)))));
66
68
  }
@@ -8,6 +8,10 @@ import { PortalFooterView } from "./sqm-portal-footer-view";
8
8
  export class PortalFooter {
9
9
  constructor() {
10
10
  this.ignored = true;
11
+ /**
12
+ * @uiName Hide the support text
13
+ */
14
+ this.hideSupportText = false;
11
15
  /**
12
16
  * @uiName Support Email
13
17
  */
@@ -59,6 +63,27 @@ export class PortalFooter {
59
63
  static get encapsulation() { return "shadow"; }
60
64
  static get assetsDirs() { return ["../../assets"]; }
61
65
  static get properties() { return {
66
+ "hideSupportText": {
67
+ "type": "boolean",
68
+ "mutable": false,
69
+ "complexType": {
70
+ "original": "boolean",
71
+ "resolved": "boolean",
72
+ "references": {}
73
+ },
74
+ "required": false,
75
+ "optional": false,
76
+ "docs": {
77
+ "tags": [{
78
+ "text": "Hide the support text",
79
+ "name": "uiName"
80
+ }],
81
+ "text": ""
82
+ },
83
+ "attribute": "hide-support-text",
84
+ "reflect": false,
85
+ "defaultValue": "false"
86
+ },
62
87
  "supportEmail": {
63
88
  "type": "string",
64
89
  "mutable": false,
@@ -1,4 +1,4 @@
1
- import { isDemo } from "@saasquatch/component-boilerplate";
1
+ import { isDemo, setUserIdentity, } from "@saasquatch/component-boilerplate";
2
2
  import { withHooks } from "@saasquatch/stencil-hooks";
3
3
  import { Component, h, Prop, State } from "@stencil/core";
4
4
  import deepmerge from "deepmerge";
@@ -11,13 +11,6 @@ import { EmailRegistrationView, } from "../views/email-registration-view";
11
11
  export class ReferredRegistration {
12
12
  constructor() {
13
13
  this.ignored = true;
14
- /**
15
- * Redirect participants to this page after they successfully register.
16
- *
17
- * @uiName Registration Redirect
18
- * @uiWidget pageSelect
19
- */
20
- this.nextPage = "/";
21
14
  /**
22
15
  * @uiName Email Field Label
23
16
  */
@@ -60,30 +53,6 @@ export class ReferredRegistration {
60
53
  static get is() { return "sqm-referred-registration"; }
61
54
  static get encapsulation() { return "shadow"; }
62
55
  static get properties() { return {
63
- "nextPage": {
64
- "type": "string",
65
- "mutable": false,
66
- "complexType": {
67
- "original": "string",
68
- "resolved": "string",
69
- "references": {}
70
- },
71
- "required": false,
72
- "optional": false,
73
- "docs": {
74
- "tags": [{
75
- "text": "Registration Redirect",
76
- "name": "uiName"
77
- }, {
78
- "text": "pageSelect",
79
- "name": "uiWidget"
80
- }],
81
- "text": "Redirect participants to this page after they successfully register."
82
- },
83
- "attribute": "next-page",
84
- "reflect": false,
85
- "defaultValue": "\"/\""
86
- },
87
56
  "emailLabel": {
88
57
  "type": "string",
89
58
  "mutable": false,
@@ -225,16 +194,21 @@ export class ReferredRegistration {
225
194
  }; }
226
195
  }
227
196
  function useRegistrationDemo(props) {
197
+ const onSubmit = () => {
198
+ setUserIdentity({
199
+ id: "referrer@example.com",
200
+ accountId: "referrer@example.com",
201
+ jwt: "eyJraWQiOiJlNjI2NzQxNy1jMzZlLTRlM2EtYjM5NS1lYTFmY2YyNmU3YzIiLCJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJjbVZtWlhKeVpYSkFaWGhoYlhCc1pTNWpiMjA9OmNtVm1aWEp5WlhKQVpYaGhiWEJzWlM1amIyMD1AdGVzdF9heGJndGF0dzF0Y2NwOnVzZXJzIiwicGFzc3dvcmRsZXNzIjp0cnVlLCJpc3MiOiJodHRwczovL3N0YWdpbmcucmVmZXJyYWxzYWFzcXVhdGNoLmNvbS8iLCJleHAiOjE2ODA4ODU5MTksImlhdCI6MTY4MDc5OTUxOX0.kjmTVVf_BTb-uMNKnadLyNLxMFwpkefsY02O3iAfBVIJJZZfeZMwunPlKsS3Vbp28aYRClBjH5Wj4pYxDn23D0CdZx8KNCqiJ8yF6149O9SPMkRseoJkliqS6LyvMOEDjGDkuLfcC8_hq1AHBXFt5BdCtWOk1gwf_5R9A0w5gXEIvprBzbNDLbuo88bVAlrmFNvfttXXryrpUeruMal7cBKuy02YblBrB4kKoyJiprU5GLEjciBA4A56u8TwQc0kbsPf2YcQaJsY_IvkC7S1u4sPyObpq6iF6Ed8UYHAo6nU5KjZXyVtoUyeIS11mf_6OtDO6LyMNHV2FtEUUDdPCg",
202
+ });
203
+ };
228
204
  return deepmerge({
229
205
  states: {
230
206
  error: "",
231
207
  loading: false,
232
- forgotPasswordPath: "/forgotPassword",
233
- registerPath: "/register",
234
208
  },
235
209
  callbacks: {
236
210
  submit: async (_event) => {
237
- console.log("submit");
211
+ onSubmit();
238
212
  },
239
213
  },
240
214
  }, props.demoData || {}, { arrayMerge: (_, a) => a });
@@ -32,7 +32,7 @@ export const CopyButtonInside = () => {
32
32
  copyString: "https://noah.example.com",
33
33
  open: false,
34
34
  tooltiptext: "Copied!",
35
- buttonOutside: false,
35
+ buttonPosition: "inside",
36
36
  isCopyIcon: false,
37
37
  })));
38
38
  };
@@ -43,11 +43,11 @@ export class ShareCode {
43
43
  */
44
44
  this.copyButtonLabel = "Copy Code";
45
45
  /**
46
- * Set the copy button outside the field
46
+ * Set the copy button position
47
47
  *
48
- * @uiName Copy button outside
48
+ * @uiName Copy button position
49
49
  */
50
- this.buttonOutside = true;
50
+ this.buttonPosition = "outside";
51
51
  withHooks(this);
52
52
  }
53
53
  disconnectedCallback() { }
@@ -189,33 +189,33 @@ export class ShareCode {
189
189
  "reflect": false,
190
190
  "defaultValue": "\"Copy Code\""
191
191
  },
192
- "buttonOutside": {
193
- "type": "boolean",
192
+ "buttonPosition": {
193
+ "type": "string",
194
194
  "mutable": false,
195
195
  "complexType": {
196
- "original": "boolean",
197
- "resolved": "boolean",
196
+ "original": "\"inside\" | \"outside\" | \"below\"",
197
+ "resolved": "\"below\" | \"inside\" | \"outside\"",
198
198
  "references": {}
199
199
  },
200
200
  "required": false,
201
201
  "optional": false,
202
202
  "docs": {
203
203
  "tags": [{
204
- "text": "Copy button outside",
204
+ "text": "Copy button position",
205
205
  "name": "uiName"
206
206
  }],
207
- "text": "Set the copy button outside the field"
207
+ "text": "Set the copy button position"
208
208
  },
209
- "attribute": "is-button-outside",
209
+ "attribute": "copy-button-position",
210
210
  "reflect": false,
211
- "defaultValue": "true"
211
+ "defaultValue": "\"outside\""
212
212
  },
213
213
  "demoData": {
214
214
  "type": "unknown",
215
215
  "mutable": false,
216
216
  "complexType": {
217
217
  "original": "DemoData<CopyTextViewProps>",
218
- "resolved": "{ copyString?: string; tooltiptext?: string; open?: boolean; copyButtonLabel?: string; disabled?: boolean; isCopyIcon?: boolean; textAlign?: \"left\" | \"center\"; buttonOutside?: boolean; onClick?: () => void; }",
218
+ "resolved": "{ copyString?: string; tooltiptext?: string; open?: boolean; copyButtonLabel?: string; disabled?: boolean; isCopyIcon?: boolean; textAlign?: \"left\" | \"center\"; buttonPosition?: \"inside\" | \"outside\" | \"below\"; onClick?: () => void; }",
219
219
  "references": {
220
220
  "DemoData": {
221
221
  "location": "import",
@@ -250,7 +250,7 @@ function useDemoShareCode(props) {
250
250
  tooltiptext: props.tooltiptext,
251
251
  isCopyIcon: props.isCopyIcon,
252
252
  textAlign: props.textAlign,
253
- buttonOutside: props.buttonOutside,
253
+ buttonPosition: props.buttonPosition,
254
254
  copyButtonLabel: props.copyButtonLabel,
255
255
  open,
256
256
  onClick: () => {
@@ -48,7 +48,7 @@ export const CopyButtonInside = () => {
48
48
  copyString: "https://noah.example.com",
49
49
  open: false,
50
50
  tooltiptext: "Copied!",
51
- buttonOutside: false,
51
+ buttonPosition: "inside",
52
52
  isCopyIcon: false,
53
53
  })));
54
54
  };
@@ -43,11 +43,11 @@ export class ShareLink {
43
43
  */
44
44
  this.copyButtonLabel = "Copy Link";
45
45
  /**
46
- * Set the copy button outside the field
46
+ * Set the copy button position
47
47
  *
48
- * @uiName Copy button outside
48
+ * @uiName Copy button position
49
49
  */
50
- this.buttonOutside = true;
50
+ this.buttonPosition = "outside";
51
51
  withHooks(this);
52
52
  }
53
53
  disconnectedCallback() { }
@@ -189,33 +189,33 @@ export class ShareLink {
189
189
  "reflect": false,
190
190
  "defaultValue": "\"Copy Link\""
191
191
  },
192
- "buttonOutside": {
193
- "type": "boolean",
192
+ "buttonPosition": {
193
+ "type": "string",
194
194
  "mutable": false,
195
195
  "complexType": {
196
- "original": "boolean",
197
- "resolved": "boolean",
196
+ "original": "\"inside\" | \"outside\" | \"below\"",
197
+ "resolved": "\"below\" | \"inside\" | \"outside\"",
198
198
  "references": {}
199
199
  },
200
200
  "required": false,
201
201
  "optional": false,
202
202
  "docs": {
203
203
  "tags": [{
204
- "text": "Copy button outside",
204
+ "text": "Copy button position",
205
205
  "name": "uiName"
206
206
  }],
207
- "text": "Set the copy button outside the field"
207
+ "text": "Set the copy button position"
208
208
  },
209
- "attribute": "is-button-outside",
209
+ "attribute": "copy-button-position",
210
210
  "reflect": false,
211
- "defaultValue": "true"
211
+ "defaultValue": "\"outside\""
212
212
  },
213
213
  "demoData": {
214
214
  "type": "unknown",
215
215
  "mutable": false,
216
216
  "complexType": {
217
217
  "original": "DemoData<CopyTextViewProps>",
218
- "resolved": "{ copyString?: string; tooltiptext?: string; open?: boolean; copyButtonLabel?: string; disabled?: boolean; isCopyIcon?: boolean; textAlign?: \"left\" | \"center\"; buttonOutside?: boolean; onClick?: () => void; }",
218
+ "resolved": "{ copyString?: string; tooltiptext?: string; open?: boolean; copyButtonLabel?: string; disabled?: boolean; isCopyIcon?: boolean; textAlign?: \"left\" | \"center\"; buttonPosition?: \"inside\" | \"outside\" | \"below\"; onClick?: () => void; }",
219
219
  "references": {
220
220
  "DemoData": {
221
221
  "location": "import",
@@ -250,7 +250,7 @@ function useDemoShareLink(props) {
250
250
  tooltiptext: props.tooltiptext,
251
251
  isCopyIcon: props.isCopyIcon,
252
252
  textAlign: props.textAlign,
253
- buttonOutside: props.buttonOutside,
253
+ buttonPosition: props.buttonPosition,
254
254
  copyButtonLabel: props.copyButtonLabel,
255
255
  open,
256
256
  onClick: () => {
@@ -1,7 +1,14 @@
1
1
  import { h } from "@stencil/core";
2
2
  import { createStyleSheet } from "../../styling/JSS";
3
3
  const style = {
4
- Container: {},
4
+ Container: { color: "var(--sl-color-neutral-600)" },
5
+ Link: {
6
+ textDecoration: "none",
7
+ color: "var(--sl-color-primary-700)",
8
+ "&:hover": {
9
+ color: "var(--sl-color-primary-800)",
10
+ },
11
+ },
5
12
  };
6
13
  const vanillaStyle = `
7
14
  :host{
@@ -12,12 +19,12 @@ const sheet = createStyleSheet(style);
12
19
  const styleString = sheet.toString();
13
20
  export function UserIdentifierView(props) {
14
21
  const { userIdentificationText, switchUserLink, switchUserText } = props;
15
- return (h("span", { class: sheet.classes.Container },
22
+ return (h("span", { class: sheet.classes.Container, part: "sqm-base" },
16
23
  h("style", { type: "text/css" },
17
24
  styleString,
18
25
  vanillaStyle),
19
26
  userIdentificationText,
20
27
  " (",
21
- h("a", { href: switchUserLink }, switchUserText),
28
+ h("a", { class: sheet.classes.Link, href: switchUserLink, part: "sqm-link" }, switchUserText),
22
29
  ")"));
23
30
  }
@@ -1,12 +1,14 @@
1
+ import { isDemo } from "@saasquatch/component-boilerplate";
1
2
  import { Component, h, Prop } from "@stencil/core";
2
- import { getProps } from "../../utils/utils";
3
- import { UserIdentifierView } from "./sqm-user-identifier-view";
3
+ import deepmerge from "deepmerge";
4
+ import { UserIdentifierView, } from "./sqm-user-identifier-view";
5
+ import { useUserIdentifier } from "./useUserIdentifer";
4
6
  /**
5
- * @uiName Image
7
+ * @uiName User Identifier
6
8
  * @exampleGroup Common Components
7
- * @example Image - <sqm-image image-url="https://res.cloudinary.com/saasquatch/image/upload/v1644000259/squatch-assets/tn47wOj.png" alignment="center"></sqm-image>
9
+ * @example User Identifier - <sqm-user-identifier user-identification-text="Showing data for {email}" switch-user-link="www.example.com" switch-user-text="not you?"></sqm-user-identifier>
8
10
  */
9
- export class Image {
11
+ export class UserIdentifier {
10
12
  constructor() {
11
13
  /**
12
14
  * @required
@@ -20,7 +22,10 @@ export class Image {
20
22
  this.switchUserText = "not you?";
21
23
  }
22
24
  render() {
23
- return h(UserIdentifierView, Object.assign({}, getProps(this)));
25
+ const props = isDemo()
26
+ ? useDemoUserIdentifier(this)
27
+ : useUserIdentifier(this);
28
+ return h(UserIdentifierView, Object.assign({}, props));
24
29
  }
25
30
  static get is() { return "sqm-user-identifier"; }
26
31
  static get encapsulation() { return "shadow"; }
@@ -95,7 +100,45 @@ export class Image {
95
100
  "attribute": "switch-user-text",
96
101
  "reflect": false,
97
102
  "defaultValue": "\"not you?\""
103
+ },
104
+ "demoData": {
105
+ "type": "unknown",
106
+ "mutable": false,
107
+ "complexType": {
108
+ "original": "DemoData<CopyTextViewProps>",
109
+ "resolved": "{ copyString?: string; tooltiptext?: string; open?: boolean; copyButtonLabel?: string; disabled?: boolean; isCopyIcon?: boolean; textAlign?: \"left\" | \"center\"; buttonPosition?: \"inside\" | \"outside\" | \"below\"; onClick?: () => void; }",
110
+ "references": {
111
+ "DemoData": {
112
+ "location": "import",
113
+ "path": "../../global/demo"
114
+ },
115
+ "CopyTextViewProps": {
116
+ "location": "import",
117
+ "path": "../views/copy-text-view"
118
+ }
119
+ }
120
+ },
121
+ "required": false,
122
+ "optional": true,
123
+ "docs": {
124
+ "tags": [{
125
+ "text": undefined,
126
+ "name": "undocumented"
127
+ }, {
128
+ "text": "object",
129
+ "name": "uiType"
130
+ }],
131
+ "text": ""
132
+ }
98
133
  }
99
134
  }; }
100
135
  }
101
- //TODO: Write a hook to resolve ICU strings
136
+ function useDemoUserIdentifier(props) {
137
+ const switchUserLink = "https://example.com";
138
+ const userIdentificationText = "user@example.com";
139
+ return deepmerge({
140
+ switchUserLink,
141
+ userIdentificationText,
142
+ switchUserText: props.switchUserText,
143
+ }, props.demoData || {}, { arrayMerge: (_, a) => a });
144
+ }
@@ -0,0 +1,7 @@
1
+ export function useUserIdentifier(props) {
2
+ return {
3
+ switchUserLink: "" || props.switchUserLink,
4
+ userIdentificationText: "",
5
+ switchUserText: "",
6
+ };
7
+ }
@@ -29,3 +29,17 @@ export const WithSlots = () => (h(EmailRegistrationView, Object.assign({}, defau
29
29
  bottomSlot: h("div", null, "Hello this is the bottom slot"),
30
30
  },
31
31
  })));
32
+ export const Loading = () => (h(EmailRegistrationView, Object.assign({}, {
33
+ ...defaultProps,
34
+ states: {
35
+ error: "",
36
+ loading: true,
37
+ },
38
+ })));
39
+ export const Error = () => (h(EmailRegistrationView, Object.assign({}, {
40
+ ...defaultProps,
41
+ states: {
42
+ error: "Something went wrong. Please try again.",
43
+ loading: false,
44
+ },
45
+ })));
@@ -5,15 +5,17 @@ const style = {
5
5
  HostBlock: HostBlock,
6
6
  inputStyle: {
7
7
  "&::part(base)": { background: "white", opacity: "1", cursor: "pointer" },
8
+ "&::part(input)": { textOverflow: "ellipsis" },
9
+ width: "100%",
8
10
  },
9
11
  containerStyle: {
10
12
  display: "flex",
11
- columnGap: "8px",
13
+ gap: "8px",
12
14
  },
13
15
  };
14
16
  const textAlignStyle = `
15
17
  :host{
16
- display: block;
18
+ display: block;
17
19
  }
18
20
  sl-input::part(input){
19
21
  text-align: center;
@@ -23,13 +25,18 @@ const sheet = createStyleSheet(style);
23
25
  const styleString = sheet.toString();
24
26
  export function CopyTextView(props) {
25
27
  const { isCopyIcon = true } = props;
26
- const copyButton = isCopyIcon ? null : (h("sl-button", { onClick: () => { var _a; return (_a = props.onClick) === null || _a === void 0 ? void 0 : _a.call(props); }, size: props.buttonOutside ? "medium" : "small", disabled: props.disabled, slot: "suffix", type: "primary" }, props.copyButtonLabel || "Copy"));
28
+ const copyButton = isCopyIcon ? null : (h("sl-button", { onClick: () => { var _a; return (_a = props.onClick) === null || _a === void 0 ? void 0 : _a.call(props); }, size: props.buttonPosition === "outside" ? "medium" : "small", disabled: props.disabled, slot: "suffix", type: "primary" }, props.copyButtonLabel || "Copy"));
27
29
  return (h("div", null,
28
30
  h("style", { type: "text/css" },
29
31
  styleString,
30
32
  props.textAlign === "center" && textAlignStyle),
31
33
  h("sl-tooltip", { trigger: "manual", content: props.tooltiptext, placement: "top-end", disabled: props.disabled, open: props.open, skidding: -20 },
32
- h("div", { class: sheet.classes.containerStyle },
33
- h("sl-input", { class: sheet.classes.inputStyle, exportparts: "label: input-label", value: props.copyString, readonly: true }, isCopyIcon ? (h("sl-icon-button", { onClick: () => { var _a; return (_a = props.onClick) === null || _a === void 0 ? void 0 : _a.call(props); }, slot: "suffix", name: "files", disabled: props.disabled })) : (!props.buttonOutside && copyButton)),
34
- props.buttonOutside && copyButton))));
34
+ h("div", { class: sheet.classes.containerStyle, style: {
35
+ flexDirection: `${props.buttonPosition === "below" ? "column" : "row"}`,
36
+ width: "100%",
37
+ } },
38
+ h("sl-input", { class: sheet.classes.inputStyle, exportparts: "label: input-label", value: props.copyString, readonly: true }, isCopyIcon ? (h("sl-icon-button", { onClick: () => { var _a; return (_a = props.onClick) === null || _a === void 0 ? void 0 : _a.call(props); }, slot: "suffix", name: "files", disabled: props.disabled })) : (props.buttonPosition === "inside" && copyButton)),
39
+ (props.buttonPosition === "outside" ||
40
+ props.buttonPosition === "below") &&
41
+ copyButton))));
35
42
  }
@@ -1,11 +1,11 @@
1
1
  import { h, c as Host, d as getAssetPath, g as getElement } from './index-17b4da69.js';
2
2
  import { i as useState, b as browser, k as useMemo } from './stencil-hooks.module-b48b45ec.js';
3
- import { i as intl } from './global-0f137e54.js';
4
- import { d as dist, O, W, f as fn, F as Fe, _ as _$1, p as getEnvironmentSDK, x } from './index.module-787e5d35.js';
3
+ import { i as intl } from './global-170c4499.js';
4
+ import { d as dist, O, W, f as fn, F as Fe, _ as _$1, p as getEnvironmentSDK, x } from './index.module-0ba0774e.js';
5
5
  import { c as cjs } from './cjs-bdfb4486.js';
6
6
  import { H as HostBlock, A as AuthWrapper, a as AuthColumn, b as AuthButtonsContainer, E as ErrorStyles } from './mixins-f60a614c.js';
7
7
  import { c as createStyleSheet, j as jss, a as create } from './JSS-67b5cff8.js';
8
- import { u as useChildElements } from './useChildElements-0124b1a9.js';
8
+ import { u as useChildElements } from './useChildElements-fd458906.js';
9
9
  import { l as luxon } from './luxon-1e38d7f1.js';
10
10
  import { l as luxonLocale } from './utils-334c1e34.js';
11
11
  import { T as TextSpanView } from './sqm-text-span-view-2f7d6d14.js';
@@ -190,15 +190,17 @@ const style$2 = {
190
190
  HostBlock: HostBlock,
191
191
  inputStyle: {
192
192
  "&::part(base)": { background: "white", opacity: "1", cursor: "pointer" },
193
+ "&::part(input)": { textOverflow: "ellipsis" },
194
+ width: "100%",
193
195
  },
194
196
  containerStyle: {
195
197
  display: "flex",
196
- columnGap: "8px",
198
+ gap: "8px",
197
199
  },
198
200
  };
199
201
  const textAlignStyle = `
200
202
  :host{
201
- display: block;
203
+ display: block;
202
204
  }
203
205
  sl-input::part(input){
204
206
  text-align: center;
@@ -208,15 +210,20 @@ const sheet$2 = createStyleSheet(style$2);
208
210
  const styleString$2 = sheet$2.toString();
209
211
  function CopyTextView(props) {
210
212
  const { isCopyIcon = true } = props;
211
- const copyButton = isCopyIcon ? null : (h("sl-button", { onClick: () => { var _a; return (_a = props.onClick) === null || _a === void 0 ? void 0 : _a.call(props); }, size: props.buttonOutside ? "medium" : "small", disabled: props.disabled, slot: "suffix", type: "primary" }, props.copyButtonLabel || "Copy"));
213
+ const copyButton = isCopyIcon ? null : (h("sl-button", { onClick: () => { var _a; return (_a = props.onClick) === null || _a === void 0 ? void 0 : _a.call(props); }, size: props.buttonPosition === "outside" ? "medium" : "small", disabled: props.disabled, slot: "suffix", type: "primary" }, props.copyButtonLabel || "Copy"));
212
214
  return (h("div", null,
213
215
  h("style", { type: "text/css" },
214
216
  styleString$2,
215
217
  props.textAlign === "center" && textAlignStyle),
216
218
  h("sl-tooltip", { trigger: "manual", content: props.tooltiptext, placement: "top-end", disabled: props.disabled, open: props.open, skidding: -20 },
217
- h("div", { class: sheet$2.classes.containerStyle },
218
- h("sl-input", { class: sheet$2.classes.inputStyle, exportparts: "label: input-label", value: props.copyString, readonly: true }, isCopyIcon ? (h("sl-icon-button", { onClick: () => { var _a; return (_a = props.onClick) === null || _a === void 0 ? void 0 : _a.call(props); }, slot: "suffix", name: "files", disabled: props.disabled })) : (!props.buttonOutside && copyButton)),
219
- props.buttonOutside && copyButton))));
219
+ h("div", { class: sheet$2.classes.containerStyle, style: {
220
+ flexDirection: `${props.buttonPosition === "below" ? "column" : "row"}`,
221
+ width: "100%",
222
+ } },
223
+ h("sl-input", { class: sheet$2.classes.inputStyle, exportparts: "label: input-label", value: props.copyString, readonly: true }, isCopyIcon ? (h("sl-icon-button", { onClick: () => { var _a; return (_a = props.onClick) === null || _a === void 0 ? void 0 : _a.call(props); }, slot: "suffix", name: "files", disabled: props.disabled })) : (props.buttonPosition === "inside" && copyButton)),
224
+ (props.buttonPosition === "outside" ||
225
+ props.buttonPosition === "below") &&
226
+ copyButton))));
220
227
  }
221
228
 
222
229
  function BigStatView(props) {
@@ -2454,12 +2461,14 @@ function PortalFooterView(props) {
2454
2461
  "padding-right": `var(--sl-spacing-${props.paddingRight})`,
2455
2462
  "padding-bottom": `var(--sl-spacing-${props.paddingBottom})`,
2456
2463
  "padding-left": `var(--sl-spacing-${props.paddingLeft})`,
2464
+ "row-gap": `var(--sl-spacing-small)`,
2457
2465
  "& a:hover": {
2458
2466
  color: "var(--sl-color-gray-900)",
2459
2467
  },
2460
2468
  },
2461
2469
  SupportText: {
2462
2470
  textAlign: "center",
2471
+ margin: 0,
2463
2472
  },
2464
2473
  PoweredByLink: {
2465
2474
  color: "var(--sl-color-gray-400)",
@@ -2478,12 +2487,12 @@ function PortalFooterView(props) {
2478
2487
  h("div", { class: sheet.classes.RowContainer },
2479
2488
  props.faqLink && (h("a", { target: "_blank", href: props.faqLink }, props.faqText)),
2480
2489
  props.termsLink && (h("a", { target: "_blank", href: props.termsLink }, props.termsText))),
2481
- h("p", { class: sheet.classes.SupportText }, intl.formatMessage({
2490
+ !props.hideSupportText && (h("p", { class: sheet.classes.SupportText }, intl.formatMessage({
2482
2491
  id: "supportFooter",
2483
2492
  defaultMessage: props.supportText,
2484
2493
  }, {
2485
2494
  email: (h("a", { target: "_blank", href: `mailto:${props.supportEmail}` }, props.supportEmail)),
2486
- })),
2495
+ }))),
2487
2496
  !props.hidePoweredBy && (h("a", { class: sheet.classes.PoweredByLink, target: "_blank", href: props.poweredByLink },
2488
2497
  h(PoweredByImg, null)))));
2489
2498
  }