@saasquatch/mint-components 2.0.4-9 → 2.0.5-0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (206) hide show
  1. package/dist/cjs/{IndirectTaxDetailsView-d39b895d.js → IndirectTaxDetailsView-659a139c.js} +2 -2
  2. package/dist/cjs/{ShadowViewAddon-7066fae7.js → ShadowViewAddon-ae3a32c3.js} +24 -22
  3. package/dist/cjs/{global-94f36ad7.js → global-e862bfd4.js} +54 -55
  4. package/dist/cjs/loader.cjs.js +2 -2
  5. package/dist/cjs/mint-components.cjs.js +2 -2
  6. package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +43 -29
  7. package/dist/cjs/sqm-big-stat_47.cjs.entry.js +18 -27
  8. package/dist/cjs/sqm-code-verification.cjs.entry.js +1 -1
  9. package/dist/cjs/sqm-email-verification.cjs.entry.js +4 -7
  10. package/dist/cjs/sqm-empty_4.cjs.entry.js +1 -1
  11. package/dist/cjs/{sqm-form-message_2.cjs.entry.js → sqm-form-message.cjs.entry.js} +0 -50
  12. package/dist/cjs/{sqm-lead-checkbox-field-view-c0123bfa.js → sqm-lead-checkbox-field-view-dca40eb4.js} +1 -1
  13. package/dist/cjs/sqm-lead-checkbox-field.cjs.entry.js +3 -3
  14. package/dist/cjs/{sqm-lead-input-field-view-6983eaa1.js → sqm-lead-input-field-view-2006001f.js} +1 -1
  15. package/dist/cjs/sqm-lead-input-field.cjs.entry.js +3 -3
  16. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +1 -1
  17. package/dist/cjs/sqm-pagination_3.cjs.entry.js +2 -2
  18. package/dist/cjs/{sqm-portal-email-verification-view-d968178a.js → sqm-portal-email-verification-view-1745d9a2.js} +6 -4
  19. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +2 -2
  20. package/dist/cjs/{sqm-portal-profile-view-f74b8d6c.js → sqm-portal-profile-view-5c5e29b1.js} +1 -1
  21. package/dist/cjs/sqm-portal-profile.cjs.entry.js +2 -2
  22. package/dist/cjs/{sqm-qr-code-view-a2889aee.js → sqm-qr-code-view-4ccf89da.js} +5 -1
  23. package/dist/cjs/sqm-qr-code.cjs.entry.js +1 -1
  24. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +2 -2
  25. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +2 -2
  26. package/dist/cjs/sqm-stencilbook.cjs.entry.js +52 -85
  27. package/dist/cjs/{useLeadFormState-f8b33c07.js → useLeadFormState-91999606.js} +1 -1
  28. package/dist/cjs/{utils-5ecfecd9.js → utils-4eb18a29.js} +30 -18
  29. package/dist/collection/collection-manifest.json +0 -1
  30. package/dist/collection/components/sqm-edit-profile/sqm-edit-profile-view.js +1 -1
  31. package/dist/collection/components/sqm-empty/EmptyState.stories.js +1 -1
  32. package/dist/collection/components/sqm-form-message/FormMessage.stories.js +0 -5
  33. package/dist/collection/components/sqm-form-message/sqm-form-message.js +0 -30
  34. package/dist/collection/components/sqm-invoice-table/InvoiceTable.stories.js +5 -5
  35. package/dist/collection/components/sqm-invoice-table/sqm-invoice-table.js +1 -1
  36. package/dist/collection/components/sqm-lead-form/sqm-lead-form-view.js +7 -5
  37. package/dist/collection/components/sqm-leaderboard/sqm-leaderboard-view.js +2 -2
  38. package/dist/collection/components/sqm-portal-email-verification/PortalEmailVerification.stories.js +0 -1
  39. package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification-view.js +5 -3
  40. package/dist/collection/components/sqm-qr-code/sqm-qr-code-view.js +5 -1
  41. package/dist/collection/components/sqm-referral-codes/sqm-referral-codes.js +1 -1
  42. package/dist/collection/components/sqm-referral-table/ReferralTable.stories.js +5 -5
  43. package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +1 -1
  44. package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +8 -8
  45. package/dist/collection/components/sqm-rewards-table/RewardsTable.stories.js +5 -5
  46. package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +1 -1
  47. package/dist/collection/components/sqm-stencilbook/Themes.js +0 -12
  48. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +0 -2
  49. package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +5 -5
  50. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +3 -6
  51. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +1 -1
  52. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.js +5 -5
  53. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +14 -11
  54. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/LoadingView.js +29 -17
  55. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +15 -5
  56. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +18 -14
  57. package/dist/collection/global/styles.js +54 -55
  58. package/dist/collection/global/styles.ts +1 -6
  59. package/dist/collection/tables/TableSlots.js +6 -6
  60. package/dist/esm/{IndirectTaxDetailsView-a7dd6e4c.js → IndirectTaxDetailsView-8dec05e4.js} +2 -2
  61. package/dist/esm/{ShadowViewAddon-fe2896cb.js → ShadowViewAddon-78a1c35c.js} +24 -22
  62. package/dist/esm/{global-536c422d.js → global-58a69018.js} +54 -55
  63. package/dist/esm/loader.js +2 -2
  64. package/dist/esm/mint-components.js +2 -2
  65. package/dist/esm/sqm-banking-info-form_10.entry.js +43 -29
  66. package/dist/esm/sqm-big-stat_47.entry.js +18 -27
  67. package/dist/esm/sqm-code-verification.entry.js +1 -1
  68. package/dist/esm/sqm-email-verification.entry.js +4 -7
  69. package/dist/esm/sqm-empty_4.entry.js +1 -1
  70. package/dist/esm/{sqm-form-message_2.entry.js → sqm-form-message.entry.js} +1 -50
  71. package/dist/esm/{sqm-lead-checkbox-field-view-5c387852.js → sqm-lead-checkbox-field-view-81541e40.js} +1 -1
  72. package/dist/esm/sqm-lead-checkbox-field.entry.js +3 -3
  73. package/dist/esm/{sqm-lead-input-field-view-fa2488c9.js → sqm-lead-input-field-view-d543d939.js} +1 -1
  74. package/dist/esm/sqm-lead-input-field.entry.js +3 -3
  75. package/dist/esm/sqm-leaderboard-rank.entry.js +1 -1
  76. package/dist/esm/sqm-pagination_3.entry.js +2 -2
  77. package/dist/esm/{sqm-portal-email-verification-view-8bbe5fcf.js → sqm-portal-email-verification-view-5fb1a99e.js} +6 -4
  78. package/dist/esm/sqm-portal-email-verification.entry.js +2 -2
  79. package/dist/esm/{sqm-portal-profile-view-9848caf1.js → sqm-portal-profile-view-e3aef106.js} +1 -1
  80. package/dist/esm/sqm-portal-profile.entry.js +2 -2
  81. package/dist/esm/{sqm-qr-code-view-804b8bb6.js → sqm-qr-code-view-ea505213.js} +5 -1
  82. package/dist/esm/sqm-qr-code.entry.js +1 -1
  83. package/dist/esm/sqm-referral-table_11.entry.js +2 -2
  84. package/dist/esm/sqm-rewards-table_9.entry.js +2 -2
  85. package/dist/esm/sqm-stencilbook.entry.js +52 -85
  86. package/dist/esm/{useLeadFormState-5a6188da.js → useLeadFormState-8d4b2620.js} +1 -1
  87. package/dist/esm/{utils-fafc712f.js → utils-2695a43e.js} +30 -18
  88. package/dist/esm-es5/{IndirectTaxDetailsView-a7dd6e4c.js → IndirectTaxDetailsView-8dec05e4.js} +1 -1
  89. package/dist/esm-es5/{ShadowViewAddon-fe2896cb.js → ShadowViewAddon-78a1c35c.js} +1 -1
  90. package/dist/esm-es5/{global-536c422d.js → global-58a69018.js} +1 -1
  91. package/dist/esm-es5/loader.js +1 -1
  92. package/dist/esm-es5/mint-components.js +1 -1
  93. package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
  94. package/dist/esm-es5/sqm-big-stat_47.entry.js +1 -1
  95. package/dist/esm-es5/sqm-code-verification.entry.js +1 -1
  96. package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
  97. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  98. package/dist/esm-es5/sqm-form-message.entry.js +1 -0
  99. package/dist/esm-es5/{sqm-lead-checkbox-field-view-5c387852.js → sqm-lead-checkbox-field-view-81541e40.js} +1 -1
  100. package/dist/esm-es5/sqm-lead-checkbox-field.entry.js +1 -1
  101. package/dist/esm-es5/{sqm-lead-input-field-view-fa2488c9.js → sqm-lead-input-field-view-d543d939.js} +1 -1
  102. package/dist/esm-es5/sqm-lead-input-field.entry.js +1 -1
  103. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  104. package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
  105. package/dist/esm-es5/sqm-portal-email-verification-view-5fb1a99e.js +1 -0
  106. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  107. package/dist/esm-es5/{sqm-portal-profile-view-9848caf1.js → sqm-portal-profile-view-e3aef106.js} +1 -1
  108. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  109. package/dist/esm-es5/{sqm-qr-code-view-804b8bb6.js → sqm-qr-code-view-ea505213.js} +1 -1
  110. package/dist/esm-es5/sqm-qr-code.entry.js +1 -1
  111. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  112. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  113. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  114. package/dist/esm-es5/{useLeadFormState-5a6188da.js → useLeadFormState-8d4b2620.js} +1 -1
  115. package/dist/esm-es5/utils-2695a43e.js +1 -0
  116. package/dist/mint-components/global/styles.ts +1 -6
  117. package/dist/mint-components/mint-components.esm.js +1 -1
  118. package/dist/mint-components/mint-components.js +1 -1
  119. package/dist/mint-components/{p-902b919d.system.entry.js → p-011c0990.system.entry.js} +1 -1
  120. package/dist/mint-components/{p-d6d31505.js → p-027c0b10.js} +32 -32
  121. package/dist/mint-components/{p-f6305644.js → p-088f082f.js} +1 -1
  122. package/dist/mint-components/{p-05e8620f.system.entry.js → p-0c024cf0.system.entry.js} +1 -1
  123. package/dist/mint-components/p-0d71303d.js +1 -0
  124. package/dist/mint-components/{p-33fff374.system.js → p-1215518e.system.js} +1 -1
  125. package/dist/mint-components/{p-b8878552.entry.js → p-12e6cea7.entry.js} +2 -2
  126. package/dist/mint-components/{p-19e407bd.system.js → p-13c6673e.system.js} +1 -1
  127. package/dist/mint-components/{p-4130caec.js → p-1aa9136c.js} +1 -1
  128. package/dist/mint-components/{p-a65610e3.entry.js → p-1b79b186.entry.js} +1 -1
  129. package/dist/mint-components/{p-ceb79149.js → p-1d8c5935.js} +1 -1
  130. package/dist/mint-components/{p-d07a46c6.system.entry.js → p-2ea3eea9.system.entry.js} +1 -1
  131. package/dist/mint-components/p-325c5476.js +1 -0
  132. package/dist/mint-components/{p-4b595fc3.system.entry.js → p-36a1fa33.system.entry.js} +1 -1
  133. package/dist/mint-components/p-3f661133.system.entry.js +1 -0
  134. package/dist/mint-components/{p-66effbef.entry.js → p-43ad51bc.entry.js} +1 -1
  135. package/dist/mint-components/p-478ad7c8.system.entry.js +1 -0
  136. package/dist/mint-components/{p-a71edffc.system.js → p-4965dae4.system.js} +1 -1
  137. package/dist/mint-components/{p-69bd9de3.entry.js → p-4c02afc8.entry.js} +7 -7
  138. package/dist/mint-components/{p-1e156272.system.js → p-4cc72a4e.system.js} +1 -1
  139. package/dist/mint-components/{p-8a24b9a9.entry.js → p-58c79873.entry.js} +1 -1
  140. package/dist/mint-components/{p-48bc3283.system.js → p-5fbe6356.system.js} +1 -1
  141. package/dist/mint-components/{p-30f37386.entry.js → p-6076dbaf.entry.js} +2 -2
  142. package/dist/mint-components/{p-1e0a8579.entry.js → p-775214ef.entry.js} +2 -2
  143. package/dist/mint-components/p-78dda262.system.js +1 -0
  144. package/dist/mint-components/p-829cb9ed.system.entry.js +1 -0
  145. package/dist/mint-components/{p-af02f28c.system.js → p-8618e8f6.system.js} +1 -1
  146. package/dist/mint-components/p-8d9fa981.system.js +1 -0
  147. package/dist/mint-components/p-947bacd1.system.js +1 -0
  148. package/dist/mint-components/{p-005ee5bf.js → p-988f236f.js} +1 -1
  149. package/dist/mint-components/{p-dcdd959e.entry.js → p-9a3ff9b9.entry.js} +2 -2
  150. package/dist/mint-components/{p-4e3303a8.system.entry.js → p-9d46f87f.system.entry.js} +1 -1
  151. package/dist/mint-components/{p-2192a6d7.entry.js → p-a470e203.entry.js} +2 -2
  152. package/dist/mint-components/p-a974c549.js +1 -0
  153. package/dist/mint-components/p-ab1e34f5.system.entry.js +1 -0
  154. package/dist/mint-components/p-ac9138fd.entry.js +1 -0
  155. package/dist/mint-components/{p-80196216.entry.js → p-ad3ebf4d.entry.js} +1 -1
  156. package/dist/mint-components/{p-78968e5f.js → p-bf044217.js} +1 -1
  157. package/dist/mint-components/{p-000dc98f.system.entry.js → p-c6e8086f.system.entry.js} +1 -1
  158. package/dist/mint-components/p-c7ac295d.system.entry.js +1 -0
  159. package/dist/mint-components/p-d88d8ffe.entry.js +1 -0
  160. package/dist/mint-components/p-dc5bca55.entry.js +1 -0
  161. package/dist/mint-components/{p-8f6b3391.system.entry.js → p-deecffd0.system.entry.js} +1 -1
  162. package/dist/mint-components/{p-e712a01d.entry.js → p-e19f0908.entry.js} +2 -2
  163. package/dist/mint-components/{p-648f881e.system.js → p-e3ee8c37.system.js} +1 -1
  164. package/dist/mint-components/p-e8bda98a.system.entry.js +1 -0
  165. package/dist/mint-components/p-ee3a7577.entry.js +144 -0
  166. package/dist/mint-components/p-ee83de0e.js +448 -0
  167. package/dist/mint-components/{p-f380bcd9.system.entry.js → p-f3613921.system.entry.js} +1 -1
  168. package/dist/mint-components/{p-a45124c1.system.entry.js → p-f5256738.system.entry.js} +1 -1
  169. package/dist/mint-components/p-f5820d03.system.js +1 -0
  170. package/dist/mint-components/{p-a7157ef3.entry.js → p-f7e49c12.entry.js} +2 -2
  171. package/dist/mint-components/{p-d8d818d9.system.entry.js → p-fcf8bdbc.system.entry.js} +1 -1
  172. package/dist/types/components/sqm-form-message/FormMessage.stories.d.ts +0 -1
  173. package/dist/types/components/sqm-form-message/sqm-form-message.d.ts +0 -6
  174. package/dist/types/components.d.ts +0 -39
  175. package/dist/types/saasquatch.d.ts +0 -4
  176. package/docs/docs.docx +0 -0
  177. package/docs/picklesdoc--2024-01-15--11-20-00.xlsx +0 -0
  178. package/docs/picklesdoc--2024-01-15--11-24-04.xlsx +0 -0
  179. package/docs/raisins.json +1 -1
  180. package/grapesjs/grapesjs.js +1 -1
  181. package/package.json +1 -1
  182. package/dist/collection/components/sqm-skeleton/Skeleton.stories.js +0 -16
  183. package/dist/collection/components/sqm-skeleton/sqm-skeleton.js +0 -90
  184. package/dist/esm-es5/sqm-form-message_2.entry.js +0 -1
  185. package/dist/esm-es5/sqm-portal-email-verification-view-8bbe5fcf.js +0 -1
  186. package/dist/esm-es5/utils-fafc712f.js +0 -1
  187. package/dist/mint-components/p-0d3803a2.js +0 -1
  188. package/dist/mint-components/p-10aea972.system.js +0 -1
  189. package/dist/mint-components/p-28973c9b.entry.js +0 -144
  190. package/dist/mint-components/p-397a5adf.system.entry.js +0 -1
  191. package/dist/mint-components/p-3ad8e1af.system.js +0 -1
  192. package/dist/mint-components/p-566d837b.system.js +0 -1
  193. package/dist/mint-components/p-59332a30.entry.js +0 -1
  194. package/dist/mint-components/p-5d39d345.system.entry.js +0 -1
  195. package/dist/mint-components/p-6c528a8c.system.entry.js +0 -1
  196. package/dist/mint-components/p-7c9520b7.system.js +0 -1
  197. package/dist/mint-components/p-8af550b9.system.entry.js +0 -1
  198. package/dist/mint-components/p-a115c57a.system.entry.js +0 -1
  199. package/dist/mint-components/p-a92c692b.js +0 -448
  200. package/dist/mint-components/p-ab4c0642.js +0 -1
  201. package/dist/mint-components/p-af758193.entry.js +0 -1
  202. package/dist/mint-components/p-c37744c7.entry.js +0 -1
  203. package/dist/mint-components/p-e0c7640f.js +0 -1
  204. package/dist/mint-components/p-ede77156.system.entry.js +0 -1
  205. package/dist/types/components/sqm-skeleton/Skeleton.stories.d.ts +0 -8
  206. package/dist/types/components/sqm-skeleton/sqm-skeleton.d.ts +0 -14
@@ -3,14 +3,14 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-a43a63b4.js');
6
- require('./global-94f36ad7.js');
6
+ require('./global-e862bfd4.js');
7
7
  const domContextHooks_module = require('./dom-context-hooks.module-7fa676ae.js');
8
8
  const index_module = require('./index.module-4f54e412.js');
9
9
  const cjs = require('./cjs-1066ec21.js');
10
10
  const utils = require('./utils-6847bc06.js');
11
11
  require('./JSS-8503a151.js');
12
12
  require('./sqm-text-span-view-7a61ae4c.js');
13
- const sqmPortalProfileView = require('./sqm-portal-profile-view-f74b8d6c.js');
13
+ const sqmPortalProfileView = require('./sqm-portal-profile-view-5c5e29b1.js');
14
14
  const utilities = require('./utilities-9a0c5e91.js');
15
15
 
16
16
  const GET_USER = index_module.dist.gql `
@@ -71,7 +71,11 @@ function QrCodeView({ error, qrLink, titleText, downloadCodeText, printCodeText,
71
71
  return (index.h(ErrorView.ErrorView, { loadingErrorAlertDescription: errorHeaderText, loadingErrorAlertHeader: errorDescriptionText }));
72
72
  }
73
73
  else if (loading) {
74
- return index.h("sqm-skeleton", { height: "100px", width: "100px" });
74
+ return (index.h("sl-skeleton", { className: sheet.classes.LoadingSkeleton, effect: "sheen", style: {
75
+ width: "100px",
76
+ height: "100px",
77
+ borderRadius: "0px !important",
78
+ } }));
75
79
  }
76
80
  else if (qrLink) {
77
81
  return (index.h("svg", { width: "100", height: "100" },
@@ -10,7 +10,7 @@ const utils = require('./utils-6847bc06.js');
10
10
  require('./JSS-8503a151.js');
11
11
  const useReferralCodes = require('./useReferralCodes-11cdf43b.js');
12
12
  require('./ErrorView-3f91e5ab.js');
13
- const sqmQrCodeView = require('./sqm-qr-code-view-a2889aee.js');
13
+ const sqmQrCodeView = require('./sqm-qr-code-view-4ccf89da.js');
14
14
 
15
15
  const ShareLinkQuery = index_module.dist.gql `
16
16
  query shareLink($programId: ID, $engagementMedium: UserEngagementMedium!) {
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-a43a63b4.js');
6
- const global = require('./global-94f36ad7.js');
6
+ const global = require('./global-e862bfd4.js');
7
7
  const domContextHooks_module = require('./dom-context-hooks.module-7fa676ae.js');
8
8
  const index_module = require('./index.module-4f54e412.js');
9
9
  const cjs = require('./cjs-1066ec21.js');
@@ -216,7 +216,7 @@ function LoadingSlot() {
216
216
  return (index.h("slot", { name: "loading" }, index.h(LoadingRow, null), index.h(LoadingRow, null), index.h(LoadingRow, null), index.h(LoadingRow, null)));
217
217
  }
218
218
  function LoadingRow() {
219
- return (index.h("sqm-table-row", null, index.h("sqm-table-cell", { colspan: 5 }, index.h("sqm-skeleton", null))));
219
+ return (index.h("sqm-table-row", null, index.h("sqm-table-cell", { colspan: 5 }, index.h("sl-skeleton", null))));
220
220
  }
221
221
  function useReferralTableDemo(props, emptyElement, loadingElement) {
222
222
  const [content, setContent] = domContextHooks_module.useReducer((state, next) => ({
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-a43a63b4.js');
6
- const global = require('./global-94f36ad7.js');
6
+ const global = require('./global-e862bfd4.js');
7
7
  const domContextHooks_module = require('./dom-context-hooks.module-7fa676ae.js');
8
8
  const index_module = require('./index.module-4f54e412.js');
9
9
  const cjs = require('./cjs-1066ec21.js');
@@ -333,7 +333,7 @@ function LoadingSlot() {
333
333
  return (index.h("slot", { name: "loading" }, index.h(LoadingRow, null), index.h(LoadingRow, null), index.h(LoadingRow, null), index.h(LoadingRow, null)));
334
334
  }
335
335
  function LoadingRow() {
336
- return (index.h("sqm-table-row", null, index.h("sqm-table-cell", { colspan: 5 }, index.h("sqm-skeleton", null))));
336
+ return (index.h("sqm-table-row", null, index.h("sqm-table-cell", { colspan: 5 }, index.h("sl-skeleton", null))));
337
337
  }
338
338
  function useRewardsTableDemo(props, emptyElement, loadingElement) {
339
339
  const [content, setContent] = domContextHooks_module.useReducer((state, next) => ({
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-a43a63b4.js');
6
- require('./global-94f36ad7.js');
6
+ require('./global-e862bfd4.js');
7
7
  const domContextHooks_module = require('./dom-context-hooks.module-7fa676ae.js');
8
8
  const index_module = require('./index.module-4f54e412.js');
9
9
  require('./cjs-1066ec21.js');
@@ -19,26 +19,26 @@ require('./sqm-text-span-view-7a61ae4c.js');
19
19
  const sqmCloseButtonView = require('./sqm-close-button-view-5e85ac51.js');
20
20
  require('./index-8c6255f5.js');
21
21
  const emailRegistrationView = require('./email-registration-view-ace50780.js');
22
- const sqmLeadCheckboxFieldView = require('./sqm-lead-checkbox-field-view-c0123bfa.js');
22
+ const sqmLeadCheckboxFieldView = require('./sqm-lead-checkbox-field-view-dca40eb4.js');
23
23
  const sqmLeaderboardRankView = require('./sqm-leaderboard-rank-view-6a1e63de.js');
24
24
  const sqmLogoutCurrentUserView = require('./sqm-logout-current-user-view-b61c8bdf.js');
25
25
  const sqmNavigationSidebarView = require('./sqm-navigation-sidebar-view-de90ef03.js');
26
26
  const sqmNavigationSidebarItemView = require('./sqm-navigation-sidebar-item-view-4e88f774.js');
27
- const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-d968178a.js');
27
+ const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-1745d9a2.js');
28
28
  const sqmPortalLoginView = require('./sqm-portal-login-view-bb50304c.js');
29
29
  const sqmBaseRegistrationFormView = require('./sqm-base-registration-form-view-69a4b615.js');
30
30
  const sqmPortalRegistrationFormView = require('./sqm-portal-registration-form-view-5a96c2f5.js');
31
- const sqmPortalProfileView = require('./sqm-portal-profile-view-f74b8d6c.js');
31
+ const sqmPortalProfileView = require('./sqm-portal-profile-view-5c5e29b1.js');
32
32
  require('./utilities-9a0c5e91.js');
33
33
  const sqmPortalResetPasswordView = require('./sqm-portal-reset-password-view-25eb2099.js');
34
34
  const sqmPortalVerifyEmailView = require('./sqm-portal-verify-email-view-1c4e781f.js');
35
35
  require('./ErrorView-3f91e5ab.js');
36
- const sqmQrCodeView = require('./sqm-qr-code-view-a2889aee.js');
37
- const ShadowViewAddon = require('./ShadowViewAddon-7066fae7.js');
36
+ const sqmQrCodeView = require('./sqm-qr-code-view-4ccf89da.js');
37
+ const ShadowViewAddon = require('./ShadowViewAddon-ae3a32c3.js');
38
38
  const sqmPortalContainerView = require('./sqm-portal-container-view-07e4343f.js');
39
- const IndirectTaxDetailsView = require('./IndirectTaxDetailsView-d39b895d.js');
40
- const utils = require('./utils-5ecfecd9.js');
41
- const sqmLeadInputFieldView = require('./sqm-lead-input-field-view-6983eaa1.js');
39
+ const IndirectTaxDetailsView = require('./IndirectTaxDetailsView-659a139c.js');
40
+ const utils = require('./utils-4eb18a29.js');
41
+ const sqmLeadInputFieldView = require('./sqm-lead-input-field-view-2006001f.js');
42
42
 
43
43
  /**
44
44
  * lodash (Custom Build) <https://lodash.com/>
@@ -6369,7 +6369,7 @@ const defaultElements = {
6369
6369
  index.h("table", null, [...Array(10)].map(() => {
6370
6370
  return (index.h("tr", null,
6371
6371
  index.h("td", null,
6372
- index.h("sqm-skeleton", null))));
6372
+ index.h("sl-skeleton", null))));
6373
6373
  })))),
6374
6374
  };
6375
6375
  const SlottedIntoComponent = () => {
@@ -6446,11 +6446,6 @@ const WarningAlertTransparent = () => (index.h("sqm-form-message", { type: "warn
6446
6446
  const InfoAlertTransparent = () => (index.h("sqm-form-message", { type: "info", transparent: true },
6447
6447
  index.h("p", { part: "alert-title" }, "This is the title"),
6448
6448
  index.h("p", { part: "alert-description" }, "This is the description")));
6449
- const Loading$1 = () => {
6450
- return (index.h("sqm-form-message", { type: "success", loading: true },
6451
- index.h("p", { part: "alert-title" }, "This is the title"),
6452
- index.h("p", { part: "alert-description" }, "This is the description")));
6453
- };
6454
6449
 
6455
6450
  const FormMessage = /*#__PURE__*/Object.freeze({
6456
6451
  __proto__: null,
@@ -6462,8 +6457,7 @@ const FormMessage = /*#__PURE__*/Object.freeze({
6462
6457
  SuccessAlertTransparent: SuccessAlertTransparent,
6463
6458
  ErrorAlertTransparent: ErrorAlertTransparent,
6464
6459
  WarningAlertTransparent: WarningAlertTransparent,
6465
- InfoAlertTransparent: InfoAlertTransparent,
6466
- Loading: Loading$1
6460
+ InfoAlertTransparent: InfoAlertTransparent
6467
6461
  });
6468
6462
 
6469
6463
  const scenario$6 = "@author:kutay\n@owner:kutay\nFeature: Hero Image\n\n\tThe Hero Image component displays media images with a header, description and button using an overlay or a double column layout to offer an attrative widget page.\n\n\tBackground: A user on the portal is viewing the widget\n\t\tGiven a user viewing the Hero Image component\n\n\t@motivating\n\t@ui\n\tScenario: Overlay image displays header, description, and button with brand color\n\t\tGiven a Hero Image component configured with the following props\n\t\t\t| prop | value |\n\t\t\t| image-url | \"https://res.cloudinary.com/saasquatch/image/upload/v1644000278/squatch-assets/bTwu1Um.png\" |\n\t\t\t| header | \"Klip Rewards\" |\n\t\t\t| description | \"Refer friends or complete tasks while using Klip to earn rewards\" |\n\t\t\t| button-text | \"Start earning\" |\n\t\t\t| layout | \"overlay\" |\n\t\tThen they see their image\n\t\tAnd the image has no padding\n\t\tAnd it has a brand colour overlay\n\t\tAnd \"Klip Rewards\" is displayed over top of the image in xxx-large font\n\t\tAnd below \"Refer friends or complete tasks while using Klip to earn rewards\" is displayed over top of the image in x-large font\n\t\tAnd below they see a brand coloured button with text \"Start earning\"\n\t\tAnd the text section has xxx-large padding\n\t\tWhen the component is scaled down to 599px\n\t\tThen the image is scaled to fit content\n\n\t@motivating\n\t@ui\n\tScenario Outline: Overlay image crop can be aligned left, center or right\n\t\tGiven a Hero Image component configured with the following props\n\t\t\t| prop | value |\n\t\t\t| image-url | \"https://res.cloudinary.com/saasquatch/image/upload/v1644000278/squatch-assets/bTwu1Um.png\" |\n\t\t\t| header | \"Klip Rewards\" |\n\t\t\t| description | \"Refer friends or complete tasks while using Klip to earn rewards\" |\n\t\t\t| button-text | \"Start earning\" |\n\t\t\t| layout | \"overlay\" |\n\t\t\t| image-pos | <value> |\n\t\tThen the image with overlay is displayed\n\t\tWhen the component is scaled down to 599px\n\t\tThen the image is <alignment> to fit content\n\t\tExamples:\n\t\t\t| value | alignment |\n\t\t\t| left | left aligned |\n\t\t\t| center | centered |\n\t\t\t| right | right aligned |\n\t\t\t| N/A | centered |\n\n\t@motivating\n\t@ui\n\tScenario Outline: Overlay padding is configurable\n\t\tGiven a Hero Image component configured with the following props\n\t\t\t| prop | value |\n\t\t\t| image-url | \"https://res.cloudinary.com/saasquatch/image/upload/v1644000278/squatch-assets/bTwu1Um.png\" |\n\t\t\t| header | \"Klip Rewards\" |\n\t\t\t| description | \"Refer friends or complete tasks while using Klip to earn rewards\" |\n\t\t\t| button-text | \"Start earning\" |\n\t\t\t| layout | \"overlay\" |\n\t\t\t| padding-text | <value> |\n\t\tThen the image with overlay is displayed\n\t\tAnd <padding> is applied around header, description and button\n\t\tExamples:\n\t\t\t| value | padding |\n\t\t\t| none | no padding |\n\t\t\t| xxx-small | xxx-small |\n\t\t\t| xx-small | xx-small |\n\t\t\t| x-small | x-small |\n\t\t\t| small | small |\n\t\t\t| medium | medium |\n\t\t\t| large | large |\n\t\t\t| x-large | x-large |\n\t\t\t| xx-large | xx-large |\n\t\t\t| xxx-large | xxx-large |\n\t\t\t| xxxx-large | xxxx-large |\n\t\t\t| N/A | no padding |\n\n\t@motivating\n\t@ui\n\tScenario Outline: Overlay color and background is configurable\n\t\tGiven a Hero Image component configured with the following props\n\t\t\t| prop | value |\n\t\t\t| image-url | \"https://res.cloudinary.com/saasquatch/image/upload/v1644000278/squatch-assets/bTwu1Um.png\" |\n\t\t\t| header | \"Klip Rewards\" |\n\t\t\t| description | \"Refer friends or complete tasks while using Klip to earn rewards\" |\n\t\t\t| button-text | \"Start earning\" |\n\t\t\t| layout | \"overlay\" |\n\t\t\t| text-color | <textColor> |\n\t\t\t| overlay-color | <overlayColor> |\n\t\t\t| overlay-opacity | <overlayOpacity> |\n\t\tThen the image with overlay is displayed\n\t\tAnd the overlay is <overlayColor>\n\t\tAnd the overlay has <overlayOpacity>\n\t\tAnd the text is <textColor>\n\t\tExamples:\n\t\t\t| textColor | overlayColor | overlayOpacity |\n\t\t\t| #fffc4b | #ff7f7f | 0.9 |\n\t\t\t| #1d0314 | #4baa1a | 0 |\n\t\t\t| #211a27 | #aa481a | 1 |\n\n\t@motivating\n\t@ui\n\tScenario: Two-column layout displays an image on one side and on the other side a header, description, and button\n\t\tGiven a Hero Image component configured with the following props\n\t\t\t| prop | value |\n\t\t\t| image-url | \"https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png\" |\n\t\t\t| header | \"Klip Rewards\" |\n\t\t\t| description | \"Refer friends or complete tasks while using Klip to earn rewards\" |\n\t\t\t| button-text | \"Start earning\" |\n\t\t\t| layout | \"columns\" |\n\t\tThen the image is displayed on the left\n\t\tAnd the following elements are displayed on the right\n\t\t\t| elements |\n\t\t\t| header |\n\t\t\t| description |\n\t\t\t| button |\n\t\tWhen the component is scaled down to 599px\n\t\tThen the two-column layout switches to a row layout\n\t\tAnd the image is displayed on top\n\t\tAnd the content is displayed below\n\n\t@motivating\n\t@ui\n\tScenario Outline: Image position is configurable for desktop and mobile\n\t\tGiven a Hero Image component configured with the following props\n\t\t\t| prop | value |\n\t\t\t| image-url | \"https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png\" |\n\t\t\t| header | \"Klip Rewards\" |\n\t\t\t| description | \"Refer friends or complete tasks while using Klip to earn rewards\" |\n\t\t\t| button-text | \"Start earning\" |\n\t\t\t| layout | \"columns\" |\n\t\t\t| image-pos | <imagePos> |\n\t\t\t| image-mobile-pos | <imageMobilePos> |\n\t\tThen the image is displayed on the <imagePos>\n\t\tWhen the component is scaled down to 599px\n\t\tThen two-column layout switches to a row layout\n\t\tAnd image is displayed on the <imageMobilePos>\n\t\tExamples:\n\t\t\t| imagePos | imageMobilePos |\n\t\t\t| left | top |\n\t\t\t| right | bottom |\n\n\t@motivating\n\t@ui\n\tScenario Outline: Padding is configurable for the image and text of two column layouts\n\t\tGiven a Hero Image component configured with the following props\n\t\t\t| prop | value |\n\t\t\t| image-url | \"https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png\" |\n\t\t\t| header | \"Klip Rewards\" |\n\t\t\t| description | \"Refer friends or complete tasks while using Klip to earn rewards\" |\n\t\t\t| button-text | \"Start earning\" |\n\t\t\t| layout | \"columns\" |\n\t\t\t| padding-text | <paddingText> |\n\t\t\t| padding-image | <paddingImage> |\n\t\tThen the two column layout is displayed\n\t\tAnd the image has padding <paddingImage>\n\t\tAnd the text has padding <paddingText>\n\t\tExamples:\n\t\t\t| paddingText | paddingImage |\n\t\t\t| xxx-small | xxx-small |\n\t\t\t| xx-small | xx-small |\n\t\t\t| x-small | x-small |\n\t\t\t| small | small |\n\t\t\t| medium | medium |\n\t\t\t| large | large |\n\t\t\t| x-large | x-large |\n\t\t\t| xx-large | xx-large |\n\t\t\t| xxx-large | xxx-large |\n\t\t\t| xxxx-large | xxxx-large |\n\t\t\t| none | none |\n\n\t@motivating\n\t@ui\n\tScenario Outline: Two-column layout image division percentage is configurable\n\t\tGiven a Hero Image component configured with the following props\n\t\t\t| prop | value |\n\t\t\t| image-url | \"https://res.cloudinary.com/saasquatch/image/upload/v1644000248/squatch-assets/MVgOJn7.png\" |\n\t\t\t| header | \"Klip Rewards\" |\n\t\t\t| description | \"Refer friends or complete tasks while using Klip to earn rewards\" |\n\t\t\t| button-text | \"Start earning\" |\n\t\t\t| layout | \"columns\" |\n\t\t\t| image-percentage | <percent> |\n\t\tThen the two column layout is displayed\n\t\tAnd the image takes up <percent> of the two-column layout\n\t\tAnd the text elements take up the remainder of the space\n\t\tExamples:\n\t\t\t| percent |\n\t\t\t| 25% |\n\t\t\t| 42% |\n\t\t\t| 66% |\n\n\t@motivating\n\t@ui\n\tScenario: Two-column layout text and background color is configurable\n\t\tGiven a Hero Image component configured with the following props\n\t\t\t| prop | value |\n\t\t\t| image-url | \"https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png\" |\n\t\t\t| header | \"Klip Rewards\" |\n\t\t\t| description | \"Refer friends or complete tasks while using Klip to earn rewards\" |\n\t\t\t| button-text | \"Start earning\" |\n\t\t\t| layout | \"columns\" |\n\t\t\t| text-color | <textColor> |\n\t\t\t| background-color | <backgroundColor> |\n\t\tThen the two column layout is displayed\n\t\tAnd the text has color <textColor>\n\t\tAnd the background has color <backgroundColor>\n\t\tExamples:\n\t\t\t| textColor | backgroundColor |\n\t\t\t| #fffc4b | #ff7f7f |\n\t\t\t| #1d0314 | #4baa1a |\n\t\t\t| #211a27 | #aa481a |";
@@ -7044,19 +7038,19 @@ const InvoiceTable_stories = {
7044
7038
  const loadingElement = (index.h("div", { slot: "loading", style: { display: "contents" } },
7045
7039
  index.h("sqm-table-row", null,
7046
7040
  index.h("sqm-table-cell", { colspan: 6 },
7047
- index.h("sqm-skeleton", null))),
7041
+ index.h("sl-skeleton", null))),
7048
7042
  index.h("sqm-table-row", null,
7049
7043
  index.h("sqm-table-cell", { colspan: 6 },
7050
- index.h("sqm-skeleton", null))),
7044
+ index.h("sl-skeleton", null))),
7051
7045
  index.h("sqm-table-row", null,
7052
7046
  index.h("sqm-table-cell", { colspan: 6 },
7053
- index.h("sqm-skeleton", null))),
7047
+ index.h("sl-skeleton", null))),
7054
7048
  index.h("sqm-table-row", null,
7055
7049
  index.h("sqm-table-cell", { colspan: 6 },
7056
- index.h("sqm-skeleton", null))),
7050
+ index.h("sl-skeleton", null))),
7057
7051
  index.h("sqm-table-row", null,
7058
7052
  index.h("sqm-table-cell", { colspan: 6 },
7059
- index.h("sqm-skeleton", null)))));
7053
+ index.h("sl-skeleton", null)))));
7060
7054
  const emptyElement = (index.h("sqm-empty", { "empty-state-image": "https://res.cloudinary.com/saasquatch/image/upload/v1710363322/squatch-assets/invoice-table-empty.png", "empty-state-header": "View your invoice details", "empty-state-text": "Track the status of your invoices and rewards earned by referring friends" }));
7061
7055
  // Reward Status Cases
7062
7056
  const simpleInvoiceTableProps = {
@@ -7472,7 +7466,7 @@ const Empty$1 = () => {
7472
7466
  };
7473
7467
  return index.h(ShadowViewAddon.LeaderboardView, Object.assign({}, props));
7474
7468
  };
7475
- const Loading$2 = () => {
7469
+ const Loading$1 = () => {
7476
7470
  const props = {
7477
7471
  states: {
7478
7472
  loading: true,
@@ -7941,7 +7935,7 @@ const Leaderboard = /*#__PURE__*/Object.freeze({
7941
7935
  __proto__: null,
7942
7936
  'default': Leaderboard_stories,
7943
7937
  Empty: Empty$1,
7944
- Loading: Loading$2,
7938
+ Loading: Loading$1,
7945
7939
  Essentials: Essentials,
7946
7940
  One: One,
7947
7941
  Five: Five,
@@ -8489,7 +8483,7 @@ const defaultProps$a = {
8489
8483
  const Default$b = () => {
8490
8484
  return index.h("sqm-portal-change-marketing", null);
8491
8485
  };
8492
- const Loading$3 = () => {
8486
+ const Loading$2 = () => {
8493
8487
  return (index.h(ShadowViewAddon.ChangeMarktingView, Object.assign({}, defaultProps$a, { states: { ...defaultProps$a.states, loading: true } })));
8494
8488
  };
8495
8489
  const Error$4 = () => {
@@ -8513,7 +8507,7 @@ const ChangeMarketing = /*#__PURE__*/Object.freeze({
8513
8507
  __proto__: null,
8514
8508
  'default': ChangeMarketing_stories,
8515
8509
  Default: Default$b,
8516
- Loading: Loading$3,
8510
+ Loading: Loading$2,
8517
8511
  Error: Error$4,
8518
8512
  Success: Success
8519
8513
  });
@@ -8662,7 +8656,7 @@ const Default$c = () => index.h(ShadowViewAddon.PortalChangePasswordView, Object
8662
8656
  const Open = () => index.h(ShadowViewAddon.PortalChangePasswordView, Object.assign({}, openProps));
8663
8657
  const Error$5 = () => index.h(ShadowViewAddon.PortalChangePasswordView, Object.assign({}, errorProps$2));
8664
8658
  const PaswordError = () => (index.h(ShadowViewAddon.PortalChangePasswordView, Object.assign({}, passwordErrorProps)));
8665
- const Loading$4 = () => index.h(ShadowViewAddon.PortalChangePasswordView, Object.assign({}, loadingProps));
8659
+ const Loading$3 = () => index.h(ShadowViewAddon.PortalChangePasswordView, Object.assign({}, loadingProps));
8666
8660
  const Success$1 = () => index.h(ShadowViewAddon.PortalChangePasswordView, Object.assign({}, successProps));
8667
8661
 
8668
8662
  const ChangePassword = /*#__PURE__*/Object.freeze({
@@ -8672,7 +8666,7 @@ const ChangePassword = /*#__PURE__*/Object.freeze({
8672
8666
  Open: Open,
8673
8667
  Error: Error$5,
8674
8668
  PaswordError: PaswordError,
8675
- Loading: Loading$4,
8669
+ Loading: Loading$3,
8676
8670
  Success: Success$1
8677
8671
  });
8678
8672
 
@@ -8859,7 +8853,6 @@ const defaultContent = {
8859
8853
  resendEmailButtonText: "Re-send Email",
8860
8854
  verificationStatusMessage: "Checking verification status in {countdown}",
8861
8855
  verificationLoadingMessage: "Checking verification status",
8862
- verificationResentMessage: "Verification email resent to {email}",
8863
8856
  };
8864
8857
  const defaultStates = {
8865
8858
  error: "",
@@ -9564,7 +9557,7 @@ const successProps$3 = {
9564
9557
  };
9565
9558
  const Default$h = () => index.h(sqmPortalProfileView.PortalProfileView, Object.assign({}, defaultProps$i));
9566
9559
  const DefaultNoCountry = () => index.h(sqmPortalProfileView.PortalProfileView, Object.assign({}, noCountry));
9567
- const Loading$5 = () => index.h(sqmPortalProfileView.PortalProfileView, Object.assign({}, loadingProps$5));
9560
+ const Loading$4 = () => index.h(sqmPortalProfileView.PortalProfileView, Object.assign({}, loadingProps$5));
9568
9561
  const Disabled = () => index.h(sqmPortalProfileView.PortalProfileView, Object.assign({}, disabledProps));
9569
9562
  const Error$6 = () => index.h(sqmPortalProfileView.PortalProfileView, Object.assign({}, errorProps$7));
9570
9563
  const Success$2 = () => index.h(sqmPortalProfileView.PortalProfileView, Object.assign({}, successProps$3));
@@ -9574,7 +9567,7 @@ const PortalProfile = /*#__PURE__*/Object.freeze({
9574
9567
  'default': PortalProfile_stories,
9575
9568
  Default: Default$h,
9576
9569
  DefaultNoCountry: DefaultNoCountry,
9577
- Loading: Loading$5,
9570
+ Loading: Loading$4,
9578
9571
  Disabled: Disabled,
9579
9572
  Error: Error$6,
9580
9573
  Success: Success$2
@@ -10215,7 +10208,7 @@ const CenterAlign = () => {
10215
10208
  const RightAlign$1 = () => {
10216
10209
  return index.h(sqmQrCodeView.QrCodeView, Object.assign({}, defaultProps$m, { alignment: "right" }));
10217
10210
  };
10218
- const Loading$6 = () => {
10211
+ const Loading$5 = () => {
10219
10212
  return index.h(sqmQrCodeView.QrCodeView, Object.assign({}, defaultProps$m, { loading: true }));
10220
10213
  };
10221
10214
  const Error$7 = () => {
@@ -10233,7 +10226,7 @@ const QRCode = /*#__PURE__*/Object.freeze({
10233
10226
  LeftAlign: LeftAlign$1,
10234
10227
  CenterAlign: CenterAlign,
10235
10228
  RightAlign: RightAlign$1,
10236
- Loading: Loading$6,
10229
+ Loading: Loading$5,
10237
10230
  Error: Error$7,
10238
10231
  DownloadError: DownloadError
10239
10232
  });
@@ -10625,7 +10618,7 @@ const EmptyWithCustomTextAndImage = () => {
10625
10618
  shareCodes("shareCodes"),
10626
10619
  shareButtons("shareButtons")));
10627
10620
  };
10628
- const Loading$7 = () => {
10621
+ const Loading$6 = () => {
10629
10622
  return (index.h("sqm-referral-codes", { demoData: { states: { ...demoData.states, loading: true } } },
10630
10623
  pagination("pagination"),
10631
10624
  shareCodes("shareCodes"),
@@ -10640,7 +10633,7 @@ const ReferralCodes$1 = /*#__PURE__*/Object.freeze({
10640
10633
  WithPreviouslyCopiedCodeAndCustomColor: WithPreviouslyCopiedCodeAndCustomColor,
10641
10634
  Empty: Empty$2,
10642
10635
  EmptyWithCustomTextAndImage: EmptyWithCustomTextAndImage,
10643
- Loading: Loading$7
10636
+ Loading: Loading$6
10644
10637
  });
10645
10638
 
10646
10639
  const scenario$s = "@owner:sam\n@author:sam\n\nFeature: Referral Iframe\n\n\tUsed to provide an external form for submitting referral leads using the current user's referral code\n\n\tBackground: A user is logged in\n\t\tGiven there is a logged in user\n\n\t@motivating\n\tScenario: Referral code is passed to the iframe as a query parameter\n\t\tGiven the \"iframe-src\" is \"https://example.com\"\n\t\tAnd the user has navigated to \"/refer\"\n\t\tAnd the user's referral code is \"BOBBYREFER\"\n\t\tWhen the iframe content is loaded\n\t\tThen the iframe url will be \"https://example.com?rsCode=BOBBYREFER\"\n\n\t@ui\n\tScenario Outline: The height and width of the iFrame can be controlled via props\n\t\tGiven the \"iframe-src\" is \"https://example.com\"\n\t\tAnd the iframe content is 1000x1000\n\t\tAnd the \"iframe-height\" is set to <heightValue>\n\t\tAnd the \"iframe-width\" is set to <widthValue>\n\t\tThen the content of the iframe will be displayed with scrollbars\n\t\tAnd the dimension of the iFrame displayed will be 500x500\n\t\tWhen the \"iframe-height\" is set to <heightValue>\n\t\tAnd the \"iframe-width\" is set to <widthValue>\n\t\tThen the full content of the iframe will be displayed on the page\n\t\tAnd the dimension of the iFrame displayed will be 1000x1000\n\t\tExamples:\n\t\t| heightValue | widthValue |\n\t\t| 500px | 500px |\n\t\t| 50% | 50% |\n\n\t@minutia\n\tScenario Outline: The iFrame will fail fast if a iFrame source isn't provided\n\t\tGiven \"iframe-src\" <mayBeAnAttribute>\n\t\tAnd it <mayHaveValue>\n\t\tWhen a user views the referral iFrame component\n\t\tThen an alert with an error message is displayed in place of the iFrame\n\t\tAnd it has a details section\n\t\tWhen \"More details\" is clicked\n\t\tThen the following information will be displayed\n\t\t| component being used |\n\t\t| missing attribute(s) |\n\n\tExamples:\n\t\t| mayBeAnAttribute | mayHaveValue |\n\t\t| is not an attribute | N/A |\n\t\t| is an attribute | \"\" |\n\t\t| is an attribute | |";
@@ -11164,19 +11157,19 @@ const ReferralTable_stories = {
11164
11157
  const loadingElement$1 = (index.h("div", { slot: "loading", style: { display: "contents" } },
11165
11158
  index.h("sqm-table-row", null,
11166
11159
  index.h("sqm-table-cell", { colspan: 5 },
11167
- index.h("sqm-skeleton", null))),
11160
+ index.h("sl-skeleton", null))),
11168
11161
  index.h("sqm-table-row", null,
11169
11162
  index.h("sqm-table-cell", { colspan: 5 },
11170
- index.h("sqm-skeleton", null))),
11163
+ index.h("sl-skeleton", null))),
11171
11164
  index.h("sqm-table-row", null,
11172
11165
  index.h("sqm-table-cell", { colspan: 5 },
11173
- index.h("sqm-skeleton", null))),
11166
+ index.h("sl-skeleton", null))),
11174
11167
  index.h("sqm-table-row", null,
11175
11168
  index.h("sqm-table-cell", { colspan: 5 },
11176
- index.h("sqm-skeleton", null))),
11169
+ index.h("sl-skeleton", null))),
11177
11170
  index.h("sqm-table-row", null,
11178
11171
  index.h("sqm-table-cell", { colspan: 5 },
11179
- index.h("sqm-skeleton", null)))));
11172
+ index.h("sl-skeleton", null)))));
11180
11173
  const emptyElement$1 = (index.h("sqm-empty", { "empty-state-image": "https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_referral2.png", "empty-state-header": "View your referral details", "empty-state-text": "Track the status of your referrals and rewards earned by referring friends" }));
11181
11174
  const baseReward$1 = {
11182
11175
  id: "123",
@@ -11905,7 +11898,7 @@ const RedemptionError = () => StoryBase(ShadowViewAddon.redemptionError);
11905
11898
  const QueryError = () => StoryBase(ShadowViewAddon.queryError);
11906
11899
  const SuccessPromo = () => StoryBase(ShadowViewAddon.success);
11907
11900
  const SuccessVariableAndStepped = () => StoryBase(ShadowViewAddon.successVariable);
11908
- const Loading$8 = () => StoryBase(ShadowViewAddon.loading);
11901
+ const Loading$7 = () => StoryBase(ShadowViewAddon.loading);
11909
11902
  const Empty$3 = () => StoryBase(ShadowViewAddon.empty);
11910
11903
 
11911
11904
  const RewardExchangeList = /*#__PURE__*/Object.freeze({
@@ -11927,7 +11920,7 @@ const RewardExchangeList = /*#__PURE__*/Object.freeze({
11927
11920
  QueryError: QueryError,
11928
11921
  SuccessPromo: SuccessPromo,
11929
11922
  SuccessVariableAndStepped: SuccessVariableAndStepped,
11930
- Loading: Loading$8,
11923
+ Loading: Loading$7,
11931
11924
  Empty: Empty$3
11932
11925
  });
11933
11926
 
@@ -12539,19 +12532,19 @@ const RewardsTable_stories = {
12539
12532
  const loadingElement$2 = (index.h("div", { slot: "loading", style: { display: "contents" } },
12540
12533
  index.h("sqm-table-row", null,
12541
12534
  index.h("sqm-table-cell", { colspan: 5 },
12542
- index.h("sqm-skeleton", null))),
12535
+ index.h("sl-skeleton", null))),
12543
12536
  index.h("sqm-table-row", null,
12544
12537
  index.h("sqm-table-cell", { colspan: 5 },
12545
- index.h("sqm-skeleton", null))),
12538
+ index.h("sl-skeleton", null))),
12546
12539
  index.h("sqm-table-row", null,
12547
12540
  index.h("sqm-table-cell", { colspan: 5 },
12548
- index.h("sqm-skeleton", null))),
12541
+ index.h("sl-skeleton", null))),
12549
12542
  index.h("sqm-table-row", null,
12550
12543
  index.h("sqm-table-cell", { colspan: 5 },
12551
- index.h("sqm-skeleton", null))),
12544
+ index.h("sl-skeleton", null))),
12552
12545
  index.h("sqm-table-row", null,
12553
12546
  index.h("sqm-table-cell", { colspan: 5 },
12554
- index.h("sqm-skeleton", null)))));
12547
+ index.h("sl-skeleton", null)))));
12555
12548
  const emptyElement$2 = (index.h("sqm-empty", { "empty-state-image": "https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_reward2.png", "empty-state-header": "View your rewards", "empty-state-text": "See all the rewards you have earned from referring friends and completing tasks" }));
12556
12549
  const rewardsTableProps = (rows, empty = false, loading = false, prev = "Prev", next = "Next", hidden = "") => ({
12557
12550
  states: {
@@ -15137,7 +15130,7 @@ const InitialLoading = () => (index.h("sqm-code-verification", { demoData: {
15137
15130
  initialiseLoading: true,
15138
15131
  },
15139
15132
  } }));
15140
- const Loading$9 = () => (index.h("sqm-code-verification", { demoData: {
15133
+ const Loading$8 = () => (index.h("sqm-code-verification", { demoData: {
15141
15134
  states: {
15142
15135
  ...defaultProps$p,
15143
15136
  loading: true,
@@ -15161,7 +15154,7 @@ const WidgetCodeVerification = /*#__PURE__*/Object.freeze({
15161
15154
  'default': WidgetCodeVerification_stories,
15162
15155
  Default: Default$n,
15163
15156
  InitialLoading: InitialLoading,
15164
- Loading: Loading$9,
15157
+ Loading: Loading$8,
15165
15158
  CodeResent: CodeResent,
15166
15159
  VerificationFailed: VerificationFailed
15167
15160
  });
@@ -15188,7 +15181,7 @@ const EmailIsPrefilled = () => (index.h("div", null,
15188
15181
  email: "test@example.com",
15189
15182
  },
15190
15183
  } })));
15191
- const Loading$a = () => (index.h("sqm-email-verification", { demoData: {
15184
+ const Loading$9 = () => (index.h("sqm-email-verification", { demoData: {
15192
15185
  states: {
15193
15186
  ...defaultProps$q,
15194
15187
  initialLoading: true,
@@ -15229,7 +15222,7 @@ const WidgetEmailVerification = /*#__PURE__*/Object.freeze({
15229
15222
  'default': WidgetEmailVerification_stories,
15230
15223
  Default: Default$o,
15231
15224
  EmailIsPrefilled: EmailIsPrefilled,
15232
- Loading: Loading$a,
15225
+ Loading: Loading$9,
15233
15226
  SaveLoading: SaveLoading,
15234
15227
  WithHeader: WithHeader$1,
15235
15228
  InvalidEmail: InvalidEmail,
@@ -16962,7 +16955,7 @@ const TaxForm = /*#__PURE__*/Object.freeze({
16962
16955
  const PayoutDetailsCard_stories = {
16963
16956
  title: "Components/Payout Details Card",
16964
16957
  };
16965
- const Loading$b = () => {
16958
+ const Loading$a = () => {
16966
16959
  return (index.h("sqm-payout-details-card", { demoData: {
16967
16960
  states: {
16968
16961
  loading: true,
@@ -17002,7 +16995,7 @@ const PaypalPayout = () => {
17002
16995
  const PayoutDetailsCard = /*#__PURE__*/Object.freeze({
17003
16996
  __proto__: null,
17004
16997
  'default': PayoutDetailsCard_stories,
17005
- Loading: Loading$b,
16998
+ Loading: Loading$a,
17006
16999
  NextPayout: NextPayout,
17007
17000
  PayoutToday: PayoutToday,
17008
17001
  ThresholdPayout: ThresholdPayout,
@@ -17025,7 +17018,7 @@ const VerifyIdentityReviewInternal = () => (index.h("sqm-payout-status-alert", {
17025
17018
  const VerifyIdentityFailedInternal = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$r, status: "VERIFICATION:FAILED" } } }));
17026
17019
  const W9ThresholdReached = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$r, status: "OVER_W9_THRESHOLD" } } }));
17027
17020
  const Hold = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$r, status: "HOLD" } } }));
17028
- const Loading$c = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$r, loading: true } } }));
17021
+ const Loading$b = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$r, loading: true } } }));
17029
17022
  const Error$b = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$r, error: true } } }));
17030
17023
  const NewPayeeReview = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$r, status: "NEW_PAYEE_REVIEW" } } }));
17031
17024
  const PaymentHoldOnChange = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$r, status: "PAYMENT_HOLD_ON_CHANGE" } } }));
@@ -17051,7 +17044,7 @@ const PayoutStatusAlert = /*#__PURE__*/Object.freeze({
17051
17044
  VerifyIdentityFailedInternal: VerifyIdentityFailedInternal,
17052
17045
  W9ThresholdReached: W9ThresholdReached,
17053
17046
  Hold: Hold,
17054
- Loading: Loading$c,
17047
+ Loading: Loading$b,
17055
17048
  Error: Error$b,
17056
17049
  NewPayeeReview: NewPayeeReview,
17057
17050
  PaymentHoldOnChange: PaymentHoldOnChange,
@@ -17243,7 +17236,7 @@ const BackgroundColor$2 = () => (index.h(emailRegistrationView.EmailRegistration
17243
17236
  backgroundColor: "aquamarine",
17244
17237
  },
17245
17238
  })));
17246
- const Loading$d = () => (index.h(emailRegistrationView.EmailRegistrationView, Object.assign({}, {
17239
+ const Loading$c = () => (index.h(emailRegistrationView.EmailRegistrationView, Object.assign({}, {
17247
17240
  ...defaultProps$s,
17248
17241
  states: {
17249
17242
  error: "",
@@ -17283,7 +17276,7 @@ const EmailRegistration = /*#__PURE__*/Object.freeze({
17283
17276
  WithSlots: WithSlots,
17284
17277
  NoBorder: NoBorder$1,
17285
17278
  BackgroundColor: BackgroundColor$2,
17286
- Loading: Loading$d,
17279
+ Loading: Loading$c,
17287
17280
  Error: Error$c,
17288
17281
  FraudError: FraudError,
17289
17282
  EmptyEmailError: EmptyEmailError
@@ -17493,7 +17486,7 @@ const Disabled$3 = () => (index.h(ShadowViewAddon.LeadDropdownFieldView, Object.
17493
17486
  disabled: true,
17494
17487
  },
17495
17488
  } })));
17496
- const Loading$e = () => (index.h(ShadowViewAddon.LeadDropdownFieldView, Object.assign({}, defaultProps$v, { states: {
17489
+ const Loading$d = () => (index.h(ShadowViewAddon.LeadDropdownFieldView, Object.assign({}, defaultProps$v, { states: {
17497
17490
  ...defaultProps$v.states,
17498
17491
  leadFormState: {
17499
17492
  ...defaultProps$v.states.leadFormState,
@@ -17517,7 +17510,7 @@ const LeadFormDropdownField = /*#__PURE__*/Object.freeze({
17517
17510
  Multiple: Multiple,
17518
17511
  WithError: WithError$1,
17519
17512
  Disabled: Disabled$3,
17520
- Loading: Loading$e,
17513
+ Loading: Loading$d,
17521
17514
  WithInitialValue: WithInitialValue$1
17522
17515
  });
17523
17516
 
@@ -17572,31 +17565,6 @@ const LeadCheckboxField = /*#__PURE__*/Object.freeze({
17572
17565
  CustomError: CustomError$3
17573
17566
  });
17574
17567
 
17575
- const Skeleton_stories = {
17576
- title: "Components/Skeleton",
17577
- };
17578
- const Default$u = () => {
17579
- return index.h("sqm-skeleton", null);
17580
- };
17581
- const CustomWidth = () => {
17582
- return index.h("sqm-skeleton", { width: "100px" });
17583
- };
17584
- const CustomHeight = () => {
17585
- return index.h("sqm-skeleton", { height: "100px" });
17586
- };
17587
- const CustomWidthAndHeight$1 = () => {
17588
- return index.h("sqm-skeleton", { width: "150px", height: "50px" });
17589
- };
17590
-
17591
- const Skeleton = /*#__PURE__*/Object.freeze({
17592
- __proto__: null,
17593
- 'default': Skeleton_stories,
17594
- Default: Default$u,
17595
- CustomWidth: CustomWidth,
17596
- CustomHeight: CustomHeight,
17597
- CustomWidthAndHeight: CustomWidthAndHeight$1
17598
- });
17599
-
17600
17568
  function deepFreeze(obj) {
17601
17569
  if (obj instanceof Map) {
17602
17570
  obj.clear = obj.delete = obj.set = function () {
@@ -20283,7 +20251,6 @@ const stories = [
20283
20251
  LeadInputField,
20284
20252
  LeadFormDropdownField,
20285
20253
  LeadCheckboxField,
20286
- Skeleton,
20287
20254
  ];
20288
20255
  const StencilStorybook = class {
20289
20256
  constructor(hostRef) {
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const index = require('./index-a43a63b4.js');
4
- const global = require('./global-94f36ad7.js');
4
+ const global = require('./global-e862bfd4.js');
5
5
  const domContextHooks_module = require('./dom-context-hooks.module-7fa676ae.js');
6
6
  const index_module = require('./index.module-4f54e412.js');
7
7
  const JSS = require('./JSS-8503a151.js');
@@ -1,43 +1,55 @@
1
1
  'use strict';
2
2
 
3
3
  const index = require('./index-a43a63b4.js');
4
- const global = require('./global-94f36ad7.js');
4
+ const global = require('./global-e862bfd4.js');
5
5
  const JSS = require('./JSS-8503a151.js');
6
6
 
7
7
  const style = {
8
8
  Container: {
9
9
  display: "flex",
10
10
  flexDirection: "column",
11
- gap: "35px",
11
+ gap: "24px",
12
12
  },
13
13
  HeaderContainer: {
14
14
  display: "flex",
15
15
  flexDirection: "column",
16
16
  gap: "10px",
17
17
  },
18
+ TitleSkeleton: {
19
+ width: "45%",
20
+ height: "40px !important",
21
+ },
22
+ StepSkeleton: {
23
+ width: "15%",
24
+ },
25
+ HeaderSkeleton: {
26
+ width: "25%",
27
+ height: "30px !important",
28
+ },
29
+ InputSkeleton: {
30
+ width: "75%",
31
+ },
32
+ ButtonSkeleton: {
33
+ width: "80px",
34
+ height: "30px !important",
35
+ },
18
36
  };
19
37
  const sheet = JSS.createStyleSheet(style);
20
38
  const styleString = sheet.toString();
21
39
  const LoadingView = () => {
22
40
  return (index.h("div", { class: sheet.classes.Container },
23
41
  index.h("style", { type: "text/css" }, styleString),
24
- index.h("sqm-skeleton", { width: "45%", height: "40px !important" }),
42
+ index.h("sl-skeleton", { class: sheet.classes.TitleSkeleton }),
25
43
  index.h("div", { class: sheet.classes.HeaderContainer },
26
- index.h("sqm-skeleton", { width: "15%" }),
27
- index.h("sqm-skeleton", { width: "25%", height: "30px !important" })),
28
- index.h("sqm-skeleton", { width: "75%", height: "35px" }),
29
- index.h("sqm-skeleton", { width: "75%", height: "35px" }),
30
- index.h("sqm-skeleton", { width: "75%", height: "35px" }),
31
- index.h("sqm-skeleton", { width: "75%", height: "35px" }),
32
- index.h("sqm-skeleton", { width: "75%", height: "35px" }),
33
- index.h("sqm-skeleton", { width: "75%", height: "35px" }),
34
- index.h("sqm-skeleton", { width: "75%", height: "35px" }),
35
- index.h("sqm-skeleton", { width: "75%", height: "35px" }),
36
- index.h("sqm-skeleton", { width: "75%", height: "35px" }),
37
- index.h("sqm-skeleton", { width: "75%", height: "35px" }),
38
- index.h("sqm-skeleton", { width: "75%", height: "35px" }),
39
- index.h("sqm-skeleton", { width: "15%" }),
40
- index.h("sqm-skeleton", { width: "80px", height: "30px !important" })));
44
+ index.h("sl-skeleton", { class: sheet.classes.StepSkeleton }),
45
+ index.h("sl-skeleton", { class: sheet.classes.HeaderSkeleton })),
46
+ index.h("sl-skeleton", { class: sheet.classes.InputSkeleton }),
47
+ index.h("sl-skeleton", { class: sheet.classes.InputSkeleton }),
48
+ index.h("sl-skeleton", { class: sheet.classes.InputSkeleton }),
49
+ index.h("sl-skeleton", { class: sheet.classes.InputSkeleton }),
50
+ index.h("sl-skeleton", { class: sheet.classes.InputSkeleton }),
51
+ index.h("sl-skeleton", { class: sheet.classes.StepSkeleton }),
52
+ index.h("sl-skeleton", { class: sheet.classes.ButtonSkeleton })));
41
53
  };
42
54
 
43
55
  function validTaxDocument(requiredType) {
@@ -107,7 +107,6 @@
107
107
  "./components/sqm-share-button/sqm-share-button.js",
108
108
  "./components/sqm-share-code/sqm-share-code.js",
109
109
  "./components/sqm-share-link/sqm-share-link.js",
110
- "./components/sqm-skeleton/sqm-skeleton.js",
111
110
  "./components/sqm-stat-container/sqm-stat-container.js",
112
111
  "./components/sqm-stencilbook/BrandSelector.js",
113
112
  "./components/sqm-stencilbook/sqm-stencilbook.js",
@@ -13,7 +13,7 @@ const EditProfileView = (props) => {
13
13
  } }, text.editprofileheader),
14
14
  h("form", { class: "FormWrapper", onSubmit: callbacks.onSubmit },
15
15
  h("div", { class: "FormSection" },
16
- states.formState.error && (h("sqm-form-message", { loading: states.loading, type: "error", exportparts: "erroralert-icon" },
16
+ states.formState.error && (h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
17
17
  h("div", { part: "erroralert-text" }, states.formState.error))),
18
18
  h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", value: states.formState.firstName, onInput: callbacks.onChange, label: text.firstnametext, disabled: states.loading }, (errors.firstName && errors.firstName.status !== "valid"
19
19
  ? { class: "ErrorStyles", helpText: text.fieldEmptyText }