@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
@@ -112,6 +112,16 @@ const style = {
112
112
  EditBankDetailsButton: {
113
113
  marginTop: "var(--sl-spacing-large)",
114
114
  },
115
+ SkeletonOne: {
116
+ width: "15%",
117
+ height: "10px",
118
+ },
119
+ SkeletonTwo: {
120
+ width: "25%",
121
+ height: "24px",
122
+ top: "var(--sl-spacing-small)",
123
+ marginBottom: "var(--sl-spacing-x-small)",
124
+ },
115
125
  TaxSectionSkeletonContainer: {
116
126
  display: "flex",
117
127
  flexDirection: "column",
@@ -547,7 +557,7 @@ export const TaxAndCashDashboardView = (props) => {
547
557
  }, {
548
558
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
549
559
  }))),
550
- alertInfo && (h("sqm-form-message", { loading: states.loading, exportparts: "base: alert-base, icon:alert-icon", type: alertInfo === null || alertInfo === void 0 ? void 0 : alertInfo.alertType, class: alertInfo === null || alertInfo === void 0 ? void 0 : alertInfo.class, icon: alertInfo === null || alertInfo === void 0 ? void 0 : alertInfo.icon, transparent: true },
560
+ alertInfo && (h("sqm-form-message", { exportparts: "base: alert-base, icon:alert-icon", type: alertInfo === null || alertInfo === void 0 ? void 0 : alertInfo.alertType, class: alertInfo === null || alertInfo === void 0 ? void 0 : alertInfo.class, icon: alertInfo === null || alertInfo === void 0 ? void 0 : alertInfo.icon, transparent: true },
551
561
  h("strong", null, alertInfo.header),
552
562
  h("p", { style: { margin: "0" } }, alertInfo.description),
553
563
  alertInfo.buttonText && (h("sl-button", { style: { marginTop: "var(--sl-spacing-x-small)" }, type: "default", loading: states.veriffLoading, onClick: () => callbacks.onVerifyClick() }, alertInfo.buttonText)),
@@ -565,8 +575,8 @@ export const TaxAndCashDashboardView = (props) => {
565
575
  states.canEditPayoutInfo && (h("sl-button", { disabled: states.disabled || states.loading, exportparts: "base: secondarybutton-base", type: "secondary", class: sheet.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)))),
566
576
  (!states.noFormNeeded || states.status === "NOT_VERIFIED") && (h("div", { class: sheet.classes.TaxDocumentsContainer },
567
577
  h("div", null, states.loading ? (h("div", { class: sheet.classes.TaxSectionSkeletonContainer },
568
- h("sqm-skeleton", { width: "15%", height: "10px" }),
569
- h("sqm-skeleton", { width: "25%", height: "24px" }))) : (h("div", null,
578
+ h("sl-skeleton", { class: sheet.classes.SkeletonOne }),
579
+ h("sl-skeleton", { class: sheet.classes.SkeletonTwo }))) : (h("div", null,
570
580
  h("div", null,
571
581
  h("span", { class: sheet.classes.TaxFormDetailsContainer },
572
582
  h("div", { class: sheet.classes.StatusContainer },
@@ -580,8 +590,8 @@ export const TaxAndCashDashboardView = (props) => {
580
590
  states.noFormNeeded &&
581
591
  states.status !== "NOT_VERIFIED" && (h("sl-button", { disabled: states.disabled || states.loading, onClick: callbacks.onClick, type: "default", class: sheet.classes.NewFormButton, exportparts: "base: primarybutton-base" }, text.newFormButton)))))))),
582
592
  h("div", { class: sheet.classes.IndirectTaxPreviewContainer }, states.loading ? (h("div", { class: sheet.classes.TaxSectionSkeletonContainer },
583
- h("sqm-skeleton", { width: "15%", height: "10px" }),
584
- h("sqm-skeleton", { width: "25%", height: "24px" }))) : (h("div", null,
593
+ h("sl-skeleton", { class: sheet.classes.SkeletonOne }),
594
+ h("sl-skeleton", { class: sheet.classes.SkeletonTwo }))) : (h("div", null,
585
595
  h("h3", { class: sheet.classes.IndirectTaxPreviewHeaderContainer },
586
596
  text.indirectTaxInfoSectionHeader,
587
597
  h("sl-tooltip", { trigger: "hover", placement: "right", content: text.indirectTaxTooltipSupport, class: sheet.classes.TooltipContainer },
@@ -287,10 +287,14 @@ export const UserInfoFormView = (props) => {
287
287
  default:
288
288
  regionLabel = text.state;
289
289
  }
290
- function isDisabledInput(field) {
290
+ function isDisabledPartnerInput(field) {
291
291
  var _a;
292
292
  return states.isPartner && !!((_a = data.partnerData) === null || _a === void 0 ? void 0 : _a[field]);
293
293
  }
294
+ function isDisabledUserInput(field) {
295
+ var _a;
296
+ return states.isUser && !!((_a = states.formState) === null || _a === void 0 ? void 0 : _a[field]);
297
+ }
294
298
  return (h("sl-form", { class: classes.FormWrapper, "onSl-submit": callbacks.onSubmit, ref: (el) => (refs.formRef.current = el), novalidate: true },
295
299
  h("style", { type: "text/css" },
296
300
  styleString,
@@ -321,7 +325,7 @@ export const UserInfoFormView = (props) => {
321
325
  }, {
322
326
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
323
327
  })))),
324
- (states.isPartner || states.isUser) && (h("sqm-form-message", { loading: states.loading, type: "info" },
328
+ (states.isPartner || states.isUser) && (h("sqm-form-message", { type: "info" },
325
329
  h("p", { part: "alert-title" }, text.isPartnerAlertHeader),
326
330
  h("p", { part: "alert-description" }, intl.formatMessage({
327
331
  id: "isPartnerAlertDescription",
@@ -332,21 +336,21 @@ export const UserInfoFormView = (props) => {
332
336
  h("div", null,
333
337
  h("div", { class: classes.InputContainer },
334
338
  h("sl-input", Object.assign({ class: "ErrorInput", exportparts: "label: input-label, base: input-base", value: formState.firstName, label: text.firstName, disabled: states.disabled ||
335
- states.isUser ||
336
- isDisabledInput("firstName") }, (((_b = formState.errors) === null || _b === void 0 ? void 0 : _b.firstName) ? {
339
+ isDisabledUserInput("firstName") ||
340
+ isDisabledPartnerInput("firstName") }, (((_b = formState.errors) === null || _b === void 0 ? void 0 : _b.firstName) ? {
337
341
  class: classes.ErrorInput,
338
342
  helpText: formatErrorMessage(text.firstName, formState.errors.firstName),
339
343
  }
340
344
  : {}), { id: "firstName", name: "/firstName", required: true })),
341
345
  h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", value: formState.lastName, label: text.lastName, disabled: states.disabled ||
342
- states.isUser ||
343
- isDisabledInput("lastName") }, (((_c = formState.errors) === null || _c === void 0 ? void 0 : _c.lastName) ? {
346
+ isDisabledUserInput("lastName") ||
347
+ isDisabledPartnerInput("lastName") }, (((_c = formState.errors) === null || _c === void 0 ? void 0 : _c.lastName) ? {
344
348
  class: classes.ErrorInput,
345
349
  helpText: formatErrorMessage(text.lastName, formState.errors.lastName),
346
350
  }
347
351
  : {}), { id: "lastName", name: "/lastName", required: true })),
348
352
  h("sl-input", { exportparts: "label: input-label, base: input-base", value: formState.email, label: text.email, disabled: true, id: "email", name: "/email", required: true }),
349
- h("sl-select", Object.assign({ id: "countryCode", exportparts: "label: input-label, base: input-base", name: "/countryCode", label: text.country, value: formState.countryCode, disabled: states.disabled || isDisabledInput("countryCode") }, (((_d = formState.errors) === null || _d === void 0 ? void 0 : _d.countryCode) ? {
353
+ h("sl-select", Object.assign({ id: "countryCode", exportparts: "label: input-label, base: input-base", name: "/countryCode", label: text.country, value: formState.countryCode, disabled: states.disabled || isDisabledPartnerInput("countryCode") }, (((_d = formState.errors) === null || _d === void 0 ? void 0 : _d.countryCode) ? {
350
354
  class: classes.ErrorInput,
351
355
  helpText: formatErrorMessage(text.country, formState.errors.countryCode),
352
356
  }
@@ -363,7 +367,7 @@ export const UserInfoFormView = (props) => {
363
367
  h("p", null, text.phoneNumber),
364
368
  h("div", { class: classes.PhoneInputsContainer },
365
369
  h("sl-select", Object.assign({ id: "phoneNumberCountryCode", exportparts: "label: input-label, base: input-base", name: "/phoneNumberCountryCode", value: formState.phoneNumberCountryCode, disabled: states.disabled ||
366
- isDisabledInput("phoneNumberCountryCode"), ref: (el) => (refs.phoneCountryRef.current = el) }, (((_g = formState.errors) === null || _g === void 0 ? void 0 : _g.phoneNumberCountryCode) ? {
370
+ isDisabledPartnerInput("phoneNumberCountryCode"), ref: (el) => (refs.phoneCountryRef.current = el) }, (((_g = formState.errors) === null || _g === void 0 ? void 0 : _g.phoneNumberCountryCode) ? {
367
371
  class: classes.ErrorInput,
368
372
  }
369
373
  : {}), { required: true, "onSl-select": (e) => callbacks.onFormChange("phoneCountry", e) }),
@@ -389,7 +393,7 @@ export const UserInfoFormView = (props) => {
389
393
  // Naive phone number validation
390
394
  validateBillingField(/[a-zA-Z]+/, value) &&
391
395
  formatErrorMessage(text.phoneNumber, text.error.fieldInvalidError);
392
- }, disabled: states.disabled || isDisabledInput("phoneNumber") }, (((_k = formState.errors) === null || _k === void 0 ? void 0 : _k.phoneNumber) ? {
396
+ }, disabled: states.disabled || isDisabledPartnerInput("phoneNumber") }, (((_k = formState.errors) === null || _k === void 0 ? void 0 : _k.phoneNumber) ? {
393
397
  class: classes.ErrorInput,
394
398
  helpText: formatErrorMessage(text.phoneNumber, formState.errors.phoneNumber),
395
399
  }
@@ -397,7 +401,7 @@ export const UserInfoFormView = (props) => {
397
401
  h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", label: text.address, id: "address", name: "/address", value: formState.address, validationError: ({ value }) =>
398
402
  // Checks for non-ASCII characters
399
403
  !validateBillingField(/^[\x20-\xFF]+$/, value) &&
400
- formatErrorMessage(text.address, text.error.invalidCharacterError), disabled: states.disabled || isDisabledInput("billingAddress") }, (((_l = formState.errors) === null || _l === void 0 ? void 0 : _l.address) ? {
404
+ formatErrorMessage(text.address, text.error.invalidCharacterError), disabled: states.disabled || isDisabledPartnerInput("billingAddress") }, (((_l = formState.errors) === null || _l === void 0 ? void 0 : _l.address) ? {
401
405
  class: classes.ErrorInput,
402
406
  helpText: formatErrorMessage(text.address, formState.errors.address),
403
407
  }
@@ -405,22 +409,22 @@ export const UserInfoFormView = (props) => {
405
409
  h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", label: text.city, id: "city", name: "/city", value: formState.city, validationError: ({ value }) =>
406
410
  // Checks for non-ASCII characters
407
411
  !validateBillingField(/^[\x20-\xFF]+$/, value) &&
408
- formatErrorMessage(text.city, text.error.invalidCharacterError), disabled: states.disabled || isDisabledInput("billingCity") }, (((_m = formState.errors) === null || _m === void 0 ? void 0 : _m.city) ? {
412
+ formatErrorMessage(text.city, text.error.invalidCharacterError), disabled: states.disabled || isDisabledPartnerInput("billingCity") }, (((_m = formState.errors) === null || _m === void 0 ? void 0 : _m.city) ? {
409
413
  class: classes.ErrorInput,
410
414
  helpText: formatErrorMessage(text.city, formState.errors.city),
411
415
  }
412
416
  : {}), { required: true })),
413
- !states.hideState && (h("sl-select", Object.assign({ label: regionLabel, exportparts: "label: input-label, base: input-base", id: "state", name: "/state", value: formState.state, disabled: states.disabled || isDisabledInput("billingState") }, (((_o = formState.errors) === null || _o === void 0 ? void 0 : _o.state) ? {
417
+ !states.hideState && (h("sl-select", Object.assign({ label: regionLabel, exportparts: "label: input-label, base: input-base", id: "state", name: "/state", value: formState.state, disabled: states.disabled || isDisabledPartnerInput("billingState") }, (((_o = formState.errors) === null || _o === void 0 ? void 0 : _o.state) ? {
414
418
  class: classes.ErrorInput,
415
419
  helpText: formatErrorMessage(text.state, formState.errors.state),
416
420
  }
417
421
  : {}), { required: true }), (_p = data.regions) === null || _p === void 0 ? void 0 : _p.map((r) => (h("sl-menu-item", { value: r.value }, r.label))))),
418
- h("sl-input", Object.assign({ label: text.postalCode, exportparts: "label: input-label, base: input-base", id: "postalCode", name: "/postalCode", value: formState.postalCode, disabled: states.disabled || isDisabledInput("billingPostalCode") }, (((_q = formState.errors) === null || _q === void 0 ? void 0 : _q.postalCode) ? {
422
+ h("sl-input", Object.assign({ label: text.postalCode, exportparts: "label: input-label, base: input-base", id: "postalCode", name: "/postalCode", value: formState.postalCode, disabled: states.disabled || isDisabledPartnerInput("billingPostalCode") }, (((_q = formState.errors) === null || _q === void 0 ? void 0 : _q.postalCode) ? {
419
423
  class: classes.ErrorInput,
420
424
  helpText: formatErrorMessage(text.postalCode, formState.errors.postalCode),
421
425
  }
422
426
  : {}), { required: true })),
423
- h("sl-select", Object.assign({ id: "currency", exportparts: "label: input-label, base: input-base", name: "/currency", label: text.currency, menu: true, value: formState.currency, disabled: states.disabled || isDisabledInput("currency"), helpText: text.currencyHelpText }, (((_r = formState.errors) === null || _r === void 0 ? void 0 : _r.currency) ? {
427
+ h("sl-select", Object.assign({ id: "currency", exportparts: "label: input-label, base: input-base", name: "/currency", label: text.currency, menu: true, value: formState.currency, disabled: states.disabled || isDisabledPartnerInput("currency"), helpText: text.currencyHelpText }, (((_r = formState.errors) === null || _r === void 0 ? void 0 : _r.currency) ? {
424
428
  class: classes.ErrorInput,
425
429
  helpText: formatErrorMessage(text.currency, formState.errors.currency),
426
430
  }
@@ -71,7 +71,7 @@
71
71
  --teal-7: #004551;
72
72
  } */
73
73
  export const parseBrandingConfig = (config) => {
74
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39, _40, _41, _42, _43, _44, _45, _46, _47, _48, _49, _50, _51, _52, _53, _54, _55, _56, _57, _58, _59, _60, _61, _62, _63, _64, _65, _66, _67, _68, _69, _70, _71;
74
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39, _40, _41, _42, _43, _44, _45, _46, _47, _48, _49, _50, _51, _52, _53, _54, _55, _56, _57, _58, _59, _60, _61, _62, _63, _64, _65, _66, _67;
75
75
  return ({
76
76
  styles: `
77
77
  /* vietnamese */
@@ -577,72 +577,71 @@ html {
577
577
  --widget-background-color: var(--sl-color-white);
578
578
  --sqm-portal-main-width: 900px;
579
579
  --sqm-max-width: 100%;
580
- --sqm-skeleton-background: ${((_d = (_c = config === null || config === void 0 ? void 0 : config.color) === null || _c === void 0 ? void 0 : _c.loadingSkeleton) === null || _d === void 0 ? void 0 : _d.background) || "hsl(240 5.9% 90%)"};
581
- --sqm-skeleton-animation-background: ${((_f = (_e = config === null || config === void 0 ? void 0 : config.color) === null || _e === void 0 ? void 0 : _e.loadingSkeleton) === null || _f === void 0 ? void 0 : _f.animationBackground) || "hsl(240 4.8% 95.9%)"};
582
- --sqm-text: ${((_h = (_g = config === null || config === void 0 ? void 0 : config.color) === null || _g === void 0 ? void 0 : _g.textColorShades) === null || _h === void 0 ? void 0 : _h.mainText) || "hsl(240, 4%, 16%)"};
583
- --sqm-text-subdued: ${((_k = (_j = config === null || config === void 0 ? void 0 : config.color) === null || _j === void 0 ? void 0 : _j.textColorShades) === null || _k === void 0 ? void 0 : _k.subduedText) || "hsl(240, 3%, 46%)"};
584
-
585
- --sqm-primary-color: ${((_l = config === null || config === void 0 ? void 0 : config.main) === null || _l === void 0 ? void 0 : _l.brandColor) || "hsl(0, 0%, 7%)"};
586
- --sqm-primary-button-background:${((_o = (_m = config === null || config === void 0 ? void 0 : config.primaryButton) === null || _m === void 0 ? void 0 : _m.buttonColor) === null || _o === void 0 ? void 0 : _o.background) || "hsl(0, 0%, 7%)"};
587
- --sqm-primary-button-background-hover: ${((_q = (_p = config === null || config === void 0 ? void 0 : config.primaryButton) === null || _p === void 0 ? void 0 : _p.buttonHoverColor) === null || _q === void 0 ? void 0 : _q.background) || "hsl(0, 0%, 25%)"};
588
- --sqm-primary-button-color-hover: ${((_s = (_r = config === null || config === void 0 ? void 0 : config.primaryButton) === null || _r === void 0 ? void 0 : _r.buttonHoverColor) === null || _s === void 0 ? void 0 : _s.label) || "hsla(0, 0%, 100%, 1)"};
589
- --sqm-primary-button-border-color-hover: ${((_u = (_t = config === null || config === void 0 ? void 0 : config.primaryButton) === null || _t === void 0 ? void 0 : _t.buttonHoverColor) === null || _u === void 0 ? void 0 : _u.border) || "hsl(0, 0%, 25%)"};
590
- --sqm-primary-button-color: ${((_w = (_v = config === null || config === void 0 ? void 0 : config.primaryButton) === null || _v === void 0 ? void 0 : _v.buttonColor) === null || _w === void 0 ? void 0 : _w.label) || "hsla(0, 0%, 100%, 1)"};
591
- --sqm-primary-button-color-border: ${((_y = (_x = config === null || config === void 0 ? void 0 : config.primaryButton) === null || _x === void 0 ? void 0 : _x.buttonColor) === null || _y === void 0 ? void 0 : _y.border) || "hsl(0, 0%, 7%)"};
592
- --sqm-primary-button-radius: ${((_z = config === null || config === void 0 ? void 0 : config.primaryButton) === null || _z === void 0 ? void 0 : _z.borderRadius) ? ((_0 = config === null || config === void 0 ? void 0 : config.primaryButton) === null || _0 === void 0 ? void 0 : _0.borderRadius) + "px"
580
+ --sqm-skeleton-background: hsl(240, 4%, 91%);
581
+ --sqm-text: ${((_d = (_c = config === null || config === void 0 ? void 0 : config.color) === null || _c === void 0 ? void 0 : _c.textColorShades) === null || _d === void 0 ? void 0 : _d.mainText) || "hsl(240, 4%, 16%)"};
582
+ --sqm-text-subdued: ${((_f = (_e = config === null || config === void 0 ? void 0 : config.color) === null || _e === void 0 ? void 0 : _e.textColorShades) === null || _f === void 0 ? void 0 : _f.subduedText) || "hsl(240, 3%, 46%)"};
583
+
584
+ --sqm-primary-color: ${((_g = config === null || config === void 0 ? void 0 : config.main) === null || _g === void 0 ? void 0 : _g.brandColor) || "hsl(0, 0%, 7%)"};
585
+ --sqm-primary-button-background:${((_j = (_h = config === null || config === void 0 ? void 0 : config.primaryButton) === null || _h === void 0 ? void 0 : _h.buttonColor) === null || _j === void 0 ? void 0 : _j.background) || "hsl(0, 0%, 7%)"};
586
+ --sqm-primary-button-background-hover: ${((_l = (_k = config === null || config === void 0 ? void 0 : config.primaryButton) === null || _k === void 0 ? void 0 : _k.buttonHoverColor) === null || _l === void 0 ? void 0 : _l.background) || "hsl(0, 0%, 25%)"};
587
+ --sqm-primary-button-color-hover: ${((_o = (_m = config === null || config === void 0 ? void 0 : config.primaryButton) === null || _m === void 0 ? void 0 : _m.buttonHoverColor) === null || _o === void 0 ? void 0 : _o.label) || "hsla(0, 0%, 100%, 1)"};
588
+ --sqm-primary-button-border-color-hover: ${((_q = (_p = config === null || config === void 0 ? void 0 : config.primaryButton) === null || _p === void 0 ? void 0 : _p.buttonHoverColor) === null || _q === void 0 ? void 0 : _q.border) || "hsl(0, 0%, 25%)"};
589
+ --sqm-primary-button-color: ${((_s = (_r = config === null || config === void 0 ? void 0 : config.primaryButton) === null || _r === void 0 ? void 0 : _r.buttonColor) === null || _s === void 0 ? void 0 : _s.label) || "hsla(0, 0%, 100%, 1)"};
590
+ --sqm-primary-button-color-border: ${((_u = (_t = config === null || config === void 0 ? void 0 : config.primaryButton) === null || _t === void 0 ? void 0 : _t.buttonColor) === null || _u === void 0 ? void 0 : _u.border) || "hsl(0, 0%, 7%)"};
591
+ --sqm-primary-button-radius: ${((_v = config === null || config === void 0 ? void 0 : config.primaryButton) === null || _v === void 0 ? void 0 : _v.borderRadius) ? ((_w = config === null || config === void 0 ? void 0 : config.primaryButton) === null || _w === void 0 ? void 0 : _w.borderRadius) + "px"
593
592
  : "4px"};
594
- --sqm-secondary-button-background: ${((_2 = (_1 = config === null || config === void 0 ? void 0 : config.secondaryButton) === null || _1 === void 0 ? void 0 : _1.buttonColor) === null || _2 === void 0 ? void 0 : _2.background) || "hsl(0, 0%, 100%)"};
595
- --sqm-secondary-button-background-hover: ${((_4 = (_3 = config === null || config === void 0 ? void 0 : config.secondaryButton) === null || _3 === void 0 ? void 0 : _3.buttonHoverColor) === null || _4 === void 0 ? void 0 : _4.background) || "hsl(0, 0%, 7%)"};
596
- --sqm-secondary-button-color-hover: ${((_6 = (_5 = config === null || config === void 0 ? void 0 : config.secondaryButton) === null || _5 === void 0 ? void 0 : _5.buttonHoverColor) === null || _6 === void 0 ? void 0 : _6.label) || "hsl(0, 0%, 100%)"};
597
- --sqm-secondary-button-border-color-hover: ${((_8 = (_7 = config === null || config === void 0 ? void 0 : config.secondaryButton) === null || _7 === void 0 ? void 0 : _7.buttonHoverColor) === null || _8 === void 0 ? void 0 : _8.border) || "hsl(0, 0%, 7%)"};
598
- --sqm-secondary-button-color: ${((_10 = (_9 = config === null || config === void 0 ? void 0 : config.secondaryButton) === null || _9 === void 0 ? void 0 : _9.buttonColor) === null || _10 === void 0 ? void 0 : _10.label) || "hsl(0, 0%, 7%)"};
599
- --sqm-secondary-button-color-border: ${((_12 = (_11 = config === null || config === void 0 ? void 0 : config.secondaryButton) === null || _11 === void 0 ? void 0 : _11.buttonColor) === null || _12 === void 0 ? void 0 : _12.border) || "hsl(0, 0%, 100%)"};
600
- --sqm-secondary-button-radius: ${((_13 = config === null || config === void 0 ? void 0 : config.secondaryButton) === null || _13 === void 0 ? void 0 : _13.borderRadius) ? ((_14 = config === null || config === void 0 ? void 0 : config.secondaryButton) === null || _14 === void 0 ? void 0 : _14.borderRadius) + "px"
593
+ --sqm-secondary-button-background: ${((_y = (_x = config === null || config === void 0 ? void 0 : config.secondaryButton) === null || _x === void 0 ? void 0 : _x.buttonColor) === null || _y === void 0 ? void 0 : _y.background) || "hsl(0, 0%, 100%)"};
594
+ --sqm-secondary-button-background-hover: ${((_0 = (_z = config === null || config === void 0 ? void 0 : config.secondaryButton) === null || _z === void 0 ? void 0 : _z.buttonHoverColor) === null || _0 === void 0 ? void 0 : _0.background) || "hsl(0, 0%, 7%)"};
595
+ --sqm-secondary-button-color-hover: ${((_2 = (_1 = config === null || config === void 0 ? void 0 : config.secondaryButton) === null || _1 === void 0 ? void 0 : _1.buttonHoverColor) === null || _2 === void 0 ? void 0 : _2.label) || "hsl(0, 0%, 100%)"};
596
+ --sqm-secondary-button-border-color-hover: ${((_4 = (_3 = config === null || config === void 0 ? void 0 : config.secondaryButton) === null || _3 === void 0 ? void 0 : _3.buttonHoverColor) === null || _4 === void 0 ? void 0 : _4.border) || "hsl(0, 0%, 7%)"};
597
+ --sqm-secondary-button-color: ${((_6 = (_5 = config === null || config === void 0 ? void 0 : config.secondaryButton) === null || _5 === void 0 ? void 0 : _5.buttonColor) === null || _6 === void 0 ? void 0 : _6.label) || "hsl(0, 0%, 7%)"};
598
+ --sqm-secondary-button-color-border: ${((_8 = (_7 = config === null || config === void 0 ? void 0 : config.secondaryButton) === null || _7 === void 0 ? void 0 : _7.buttonColor) === null || _8 === void 0 ? void 0 : _8.border) || "hsl(0, 0%, 100%)"};
599
+ --sqm-secondary-button-radius: ${((_9 = config === null || config === void 0 ? void 0 : config.secondaryButton) === null || _9 === void 0 ? void 0 : _9.borderRadius) ? ((_10 = config === null || config === void 0 ? void 0 : config.secondaryButton) === null || _10 === void 0 ? void 0 : _10.borderRadius) + "px"
601
600
  : "4px"};
602
601
 
603
- --sqm-border-radius-normal: ${((_15 = config === null || config === void 0 ? void 0 : config.border) === null || _15 === void 0 ? void 0 : _15.borderRadius) ? ((_16 = config === null || config === void 0 ? void 0 : config.border) === null || _16 === void 0 ? void 0 : _16.borderRadius) + "px" : "4px"};
604
- --sqm-border-color: ${((_17 = config === null || config === void 0 ? void 0 : config.border) === null || _17 === void 0 ? void 0 : _17.borderColor) || "hsl(240, 4%, 91%)"};
602
+ --sqm-border-radius-normal: ${((_11 = config === null || config === void 0 ? void 0 : config.border) === null || _11 === void 0 ? void 0 : _11.borderRadius) ? ((_12 = config === null || config === void 0 ? void 0 : config.border) === null || _12 === void 0 ? void 0 : _12.borderRadius) + "px" : "4px"};
603
+ --sqm-border-color: ${((_13 = config === null || config === void 0 ? void 0 : config.border) === null || _13 === void 0 ? void 0 : _13.borderColor) || "hsl(240, 4%, 91%)"};
605
604
 
606
- --sqm-border-thickness: ${((_18 = config === null || config === void 0 ? void 0 : config.border) === null || _18 === void 0 ? void 0 : _18.borderThickness) ? ((_19 = config === null || config === void 0 ? void 0 : config.border) === null || _19 === void 0 ? void 0 : _19.borderThickness) + "px"
605
+ --sqm-border-thickness: ${((_14 = config === null || config === void 0 ? void 0 : config.border) === null || _14 === void 0 ? void 0 : _14.borderThickness) ? ((_15 = config === null || config === void 0 ? void 0 : config.border) === null || _15 === void 0 ? void 0 : _15.borderThickness) + "px"
607
606
  : "1px"};
608
607
 
609
- --sqm-accent-color-icon: ${((_21 = (_20 = config === null || config === void 0 ? void 0 : config.color) === null || _20 === void 0 ? void 0 : _20.accentColorShades) === null || _21 === void 0 ? void 0 : _21.icon) || "hsl(0, 0%, 7%)"};
610
- --sqm-accent-color-text: ${((_23 = (_22 = config === null || config === void 0 ? void 0 : config.color) === null || _22 === void 0 ? void 0 : _22.accentColorShades) === null || _23 === void 0 ? void 0 : _23.text) || "hsl(0, 0%, 7%)"};
611
- --sqm-accent-color-border: ${((_25 = (_24 = config === null || config === void 0 ? void 0 : config.color) === null || _24 === void 0 ? void 0 : _24.accentColorShades) === null || _25 === void 0 ? void 0 : _25.border) || "hsl(240, 6%, 90%)"};
612
- --sqm-accent-color-background: ${((_27 = (_26 = config === null || config === void 0 ? void 0 : config.color) === null || _26 === void 0 ? void 0 : _26.accentColorShades) === null || _27 === void 0 ? void 0 : _27.background) || "hsl(0, 0%, 93%)"};
608
+ --sqm-accent-color-icon: ${((_17 = (_16 = config === null || config === void 0 ? void 0 : config.color) === null || _16 === void 0 ? void 0 : _16.accentColorShades) === null || _17 === void 0 ? void 0 : _17.icon) || "hsl(0, 0%, 7%)"};
609
+ --sqm-accent-color-text: ${((_19 = (_18 = config === null || config === void 0 ? void 0 : config.color) === null || _18 === void 0 ? void 0 : _18.accentColorShades) === null || _19 === void 0 ? void 0 : _19.text) || "hsl(0, 0%, 7%)"};
610
+ --sqm-accent-color-border: ${((_21 = (_20 = config === null || config === void 0 ? void 0 : config.color) === null || _20 === void 0 ? void 0 : _20.accentColorShades) === null || _21 === void 0 ? void 0 : _21.border) || "hsl(240, 6%, 90%)"};
611
+ --sqm-accent-color-background: ${((_23 = (_22 = config === null || config === void 0 ? void 0 : config.color) === null || _22 === void 0 ? void 0 : _22.accentColorShades) === null || _23 === void 0 ? void 0 : _23.background) || "hsl(0, 0%, 93%)"};
613
612
 
614
- --sqm-success-color-icon: ${((_29 = (_28 = config === null || config === void 0 ? void 0 : config.color) === null || _28 === void 0 ? void 0 : _28.success) === null || _29 === void 0 ? void 0 : _29.iconAndBadge) || "hsl(142, 71%, 45%)"};
615
- --sqm-success-color-text: ${((_31 = (_30 = config === null || config === void 0 ? void 0 : config.color) === null || _30 === void 0 ? void 0 : _30.success) === null || _31 === void 0 ? void 0 : _31.text) || "hsl(164, 74%, 15%)"};
616
- --sqm-success-color-border: ${((_33 = (_32 = config === null || config === void 0 ? void 0 : config.color) === null || _32 === void 0 ? void 0 : _32.success) === null || _33 === void 0 ? void 0 : _33.border) || "hsl(141, 79%, 85%)"};
617
- --sqm-success-color-background: ${((_35 = (_34 = config === null || config === void 0 ? void 0 : config.color) === null || _34 === void 0 ? void 0 : _34.success) === null || _35 === void 0 ? void 0 : _35.background) || "hsl(141, 84%, 93%)"};
613
+ --sqm-success-color-icon: ${((_25 = (_24 = config === null || config === void 0 ? void 0 : config.color) === null || _24 === void 0 ? void 0 : _24.success) === null || _25 === void 0 ? void 0 : _25.iconAndBadge) || "hsl(142, 71%, 45%)"};
614
+ --sqm-success-color-text: ${((_27 = (_26 = config === null || config === void 0 ? void 0 : config.color) === null || _26 === void 0 ? void 0 : _26.success) === null || _27 === void 0 ? void 0 : _27.text) || "hsl(164, 74%, 15%)"};
615
+ --sqm-success-color-border: ${((_29 = (_28 = config === null || config === void 0 ? void 0 : config.color) === null || _28 === void 0 ? void 0 : _28.success) === null || _29 === void 0 ? void 0 : _29.border) || "hsl(141, 79%, 85%)"};
616
+ --sqm-success-color-background: ${((_31 = (_30 = config === null || config === void 0 ? void 0 : config.color) === null || _30 === void 0 ? void 0 : _30.success) === null || _31 === void 0 ? void 0 : _31.background) || "hsl(141, 84%, 93%)"};
618
617
 
619
- --sqm-warning-color-icon: ${((_37 = (_36 = config === null || config === void 0 ? void 0 : config.color) === null || _36 === void 0 ? void 0 : _36.warning) === null || _37 === void 0 ? void 0 : _37.iconAndBadge) || "hsl(38, 92%, 50%)"};
620
- --sqm-warning-color-text: ${((_39 = (_38 = config === null || config === void 0 ? void 0 : config.color) === null || _38 === void 0 ? void 0 : _38.warning) === null || _39 === void 0 ? void 0 : _39.text) || "hsl(38, 70%, 24%)"};
621
- --sqm-warning-color-border: ${((_41 = (_40 = config === null || config === void 0 ? void 0 : config.color) === null || _40 === void 0 ? void 0 : _40.warning) === null || _41 === void 0 ? void 0 : _41.border) || "hsl(48, 97%, 85%)"};
622
- --sqm-warning-color-background: ${((_43 = (_42 = config === null || config === void 0 ? void 0 : config.color) === null || _42 === void 0 ? void 0 : _42.warning) === null || _43 === void 0 ? void 0 : _43.background) || "hsl(48, 97%, 85%)"};
623
-
624
- --sqm-danger-color-icon: ${((_45 = (_44 = config === null || config === void 0 ? void 0 : config.color) === null || _44 === void 0 ? void 0 : _44.critical) === null || _45 === void 0 ? void 0 : _45.iconAndBadge) || "hsl(0, 84%, 60%)"};
625
- --sqm-danger-color-text: ${((_47 = (_46 = config === null || config === void 0 ? void 0 : config.color) === null || _46 === void 0 ? void 0 : _46.critical) === null || _47 === void 0 ? void 0 : _47.text) || "hsl(0, 57%, 26%)"};
626
- --sqm-danger-color-border: ${((_49 = (_48 = config === null || config === void 0 ? void 0 : config.color) === null || _48 === void 0 ? void 0 : _48.critical) === null || _49 === void 0 ? void 0 : _49.border) || "hsl(0, 97%, 85%)"};
627
- --sqm-danger-color-background: ${((_51 = (_50 = config === null || config === void 0 ? void 0 : config.color) === null || _50 === void 0 ? void 0 : _50.critical) === null || _51 === void 0 ? void 0 : _51.background) || "hsl(0, 93%, 94%)"};
628
-
629
- --sqm-informative-color-icon: ${((_53 = (_52 = config === null || config === void 0 ? void 0 : config.color) === null || _52 === void 0 ? void 0 : _52.informative) === null || _53 === void 0 ? void 0 : _53.iconAndBadge) || "hsl(221, 83%, 53%)"};
630
- --sqm-informative-color-text: ${((_55 = (_54 = config === null || config === void 0 ? void 0 : config.color) === null || _54 === void 0 ? void 0 : _54.informative) === null || _55 === void 0 ? void 0 : _55.text) || "hsl(221, 75%, 20%)"};
631
- --sqm-informative-color-border: ${((_57 = (_56 = config === null || config === void 0 ? void 0 : config.color) === null || _56 === void 0 ? void 0 : _56.informative) === null || _57 === void 0 ? void 0 : _57.border) || "hsl(213, 97%, 85%)"};
632
- --sqm-informative-color-background: ${((_59 = (_58 = config === null || config === void 0 ? void 0 : config.color) === null || _58 === void 0 ? void 0 : _58.informative) === null || _59 === void 0 ? void 0 : _59.background) || "hsl(214, 95%, 93%)"};
633
-
634
- --sqm-input-background: ${((_61 = (_60 = config === null || config === void 0 ? void 0 : config.formFields) === null || _60 === void 0 ? void 0 : _60.formFieldColor) === null || _61 === void 0 ? void 0 : _61.background) || "hsla(0, 0%, 100%, 1)"};
635
- --sqm-input-border-color: ${((_63 = (_62 = config === null || config === void 0 ? void 0 : config.formFields) === null || _62 === void 0 ? void 0 : _62.formFieldColor) === null || _63 === void 0 ? void 0 : _63.border) || "hsl(240, 6%, 90%)"};
636
- --sqm-input-border-radius: ${((_64 = config === null || config === void 0 ? void 0 : config.formFields) === null || _64 === void 0 ? void 0 : _64.borderRadius) ? ((_65 = config === null || config === void 0 ? void 0 : config.formFields) === null || _65 === void 0 ? void 0 : _65.borderRadius) + "px"
618
+ --sqm-warning-color-icon: ${((_33 = (_32 = config === null || config === void 0 ? void 0 : config.color) === null || _32 === void 0 ? void 0 : _32.warning) === null || _33 === void 0 ? void 0 : _33.iconAndBadge) || "hsl(38, 92%, 50%)"};
619
+ --sqm-warning-color-text: ${((_35 = (_34 = config === null || config === void 0 ? void 0 : config.color) === null || _34 === void 0 ? void 0 : _34.warning) === null || _35 === void 0 ? void 0 : _35.text) || "hsl(38, 70%, 24%)"};
620
+ --sqm-warning-color-border: ${((_37 = (_36 = config === null || config === void 0 ? void 0 : config.color) === null || _36 === void 0 ? void 0 : _36.warning) === null || _37 === void 0 ? void 0 : _37.border) || "hsl(48, 97%, 85%)"};
621
+ --sqm-warning-color-background: ${((_39 = (_38 = config === null || config === void 0 ? void 0 : config.color) === null || _38 === void 0 ? void 0 : _38.warning) === null || _39 === void 0 ? void 0 : _39.background) || "hsl(48, 97%, 85%)"};
622
+
623
+ --sqm-danger-color-icon: ${((_41 = (_40 = config === null || config === void 0 ? void 0 : config.color) === null || _40 === void 0 ? void 0 : _40.critical) === null || _41 === void 0 ? void 0 : _41.iconAndBadge) || "hsl(0, 84%, 60%)"};
624
+ --sqm-danger-color-text: ${((_43 = (_42 = config === null || config === void 0 ? void 0 : config.color) === null || _42 === void 0 ? void 0 : _42.critical) === null || _43 === void 0 ? void 0 : _43.text) || "hsl(0, 57%, 26%)"};
625
+ --sqm-danger-color-border: ${((_45 = (_44 = config === null || config === void 0 ? void 0 : config.color) === null || _44 === void 0 ? void 0 : _44.critical) === null || _45 === void 0 ? void 0 : _45.border) || "hsl(0, 97%, 85%)"};
626
+ --sqm-danger-color-background: ${((_47 = (_46 = config === null || config === void 0 ? void 0 : config.color) === null || _46 === void 0 ? void 0 : _46.critical) === null || _47 === void 0 ? void 0 : _47.background) || "hsl(0, 93%, 94%)"};
627
+
628
+ --sqm-informative-color-icon: ${((_49 = (_48 = config === null || config === void 0 ? void 0 : config.color) === null || _48 === void 0 ? void 0 : _48.informative) === null || _49 === void 0 ? void 0 : _49.iconAndBadge) || "hsl(221, 83%, 53%)"};
629
+ --sqm-informative-color-text: ${((_51 = (_50 = config === null || config === void 0 ? void 0 : config.color) === null || _50 === void 0 ? void 0 : _50.informative) === null || _51 === void 0 ? void 0 : _51.text) || "hsl(221, 75%, 20%)"};
630
+ --sqm-informative-color-border: ${((_53 = (_52 = config === null || config === void 0 ? void 0 : config.color) === null || _52 === void 0 ? void 0 : _52.informative) === null || _53 === void 0 ? void 0 : _53.border) || "hsl(213, 97%, 85%)"};
631
+ --sqm-informative-color-background: ${((_55 = (_54 = config === null || config === void 0 ? void 0 : config.color) === null || _54 === void 0 ? void 0 : _54.informative) === null || _55 === void 0 ? void 0 : _55.background) || "hsl(214, 95%, 93%)"};
632
+
633
+ --sqm-input-background: ${((_57 = (_56 = config === null || config === void 0 ? void 0 : config.formFields) === null || _56 === void 0 ? void 0 : _56.formFieldColor) === null || _57 === void 0 ? void 0 : _57.background) || "hsla(0, 0%, 100%, 1)"};
634
+ --sqm-input-border-color: ${((_59 = (_58 = config === null || config === void 0 ? void 0 : config.formFields) === null || _58 === void 0 ? void 0 : _58.formFieldColor) === null || _59 === void 0 ? void 0 : _59.border) || "hsl(240, 6%, 90%)"};
635
+ --sqm-input-border-radius: ${((_60 = config === null || config === void 0 ? void 0 : config.formFields) === null || _60 === void 0 ? void 0 : _60.borderRadius) ? ((_61 = config === null || config === void 0 ? void 0 : config.formFields) === null || _61 === void 0 ? void 0 : _61.borderRadius) + "px"
637
636
  : "4px"};
638
- --sqm-input-color: ${((_67 = (_66 = config === null || config === void 0 ? void 0 : config.formFields) === null || _66 === void 0 ? void 0 : _66.formFieldColor) === null || _67 === void 0 ? void 0 : _67.inputText) || "hsl(0, 0%, 7%)"};
637
+ --sqm-input-color: ${((_63 = (_62 = config === null || config === void 0 ? void 0 : config.formFields) === null || _62 === void 0 ? void 0 : _62.formFieldColor) === null || _63 === void 0 ? void 0 : _63.inputText) || "hsl(0, 0%, 7%)"};
639
638
  --sqm-input-label-color: var(--sqm-text);
640
- --sqm-input-border-color-focus: ${((_68 = config === null || config === void 0 ? void 0 : config.formFields) === null || _68 === void 0 ? void 0 : _68.selectedStateColor) || "hsl(0, 0%, 7%)"};
641
- --sqm-input-border-color-hover: ${((_69 = config === null || config === void 0 ? void 0 : config.formFields) === null || _69 === void 0 ? void 0 : _69.hoverStateColor) || "hsl(0, 0%, 91%)"};
639
+ --sqm-input-border-color-focus: ${((_64 = config === null || config === void 0 ? void 0 : config.formFields) === null || _64 === void 0 ? void 0 : _64.selectedStateColor) || "hsl(0, 0%, 7%)"};
640
+ --sqm-input-border-color-hover: ${((_65 = config === null || config === void 0 ? void 0 : config.formFields) === null || _65 === void 0 ? void 0 : _65.hoverStateColor) || "hsl(0, 0%, 91%)"};
642
641
 
643
642
  --sqm-input-label-font-size: inherit;
644
643
  --sqm-input-disabled-color: var(--sqm-text-subdued);
645
- --sqm-input-disabled-background: ${((_70 = config === null || config === void 0 ? void 0 : config.formFields) === null || _70 === void 0 ? void 0 : _70.disabledBackgroundColor) || "#F4F4F5"};
644
+ --sqm-input-disabled-background: ${((_66 = config === null || config === void 0 ? void 0 : config.formFields) === null || _66 === void 0 ? void 0 : _66.disabledBackgroundColor) || "#F4F4F5"};
646
645
 
647
646
  sl-select::part(display-input),
648
647
  sl-select::part(base),
@@ -961,6 +960,6 @@ sl-icon::part(base):hover {
961
960
  }
962
961
 
963
962
  `,
964
- font: (_71 = config === null || config === void 0 ? void 0 : config.main) === null || _71 === void 0 ? void 0 : _71.brandFont,
963
+ font: (_67 = config === null || config === void 0 ? void 0 : config.main) === null || _67 === void 0 ? void 0 : _67.brandFont,
965
964
  });
966
965
  };
@@ -586,12 +586,7 @@ html {
586
586
  --widget-background-color: var(--sl-color-white);
587
587
  --sqm-portal-main-width: 900px;
588
588
  --sqm-max-width: 100%;
589
- --sqm-skeleton-background: ${
590
- config?.color?.loadingSkeleton?.background || "hsl(240 5.9% 90%)"
591
- };
592
- --sqm-skeleton-animation-background: ${
593
- config?.color?.loadingSkeleton?.animationBackground || "hsl(240 4.8% 95.9%)"
594
- };
589
+ --sqm-skeleton-background: hsl(240, 4%, 91%);
595
590
  --sqm-text: ${
596
591
  config?.color?.textColorShades?.mainText || "hsl(240, 4%, 16%)"
597
592
  };
@@ -9,15 +9,15 @@ export function LoadingSlot() {
9
9
  export function LoadingRow() {
10
10
  return (h("sqm-table-row", null,
11
11
  h("sqm-table-cell", { colspan: 5 },
12
- h("sqm-skeleton", null))));
12
+ h("sl-skeleton", null))));
13
13
  }
14
14
  export function LoadingSkeleton() {
15
15
  return (h("div", { style: { width: "100%" } },
16
- h("sqm-skeleton", { style: { marginBottom: "28px" } }),
17
- h("sqm-skeleton", { style: { marginBottom: "28px" } }),
18
- h("sqm-skeleton", { style: { marginBottom: "28px" } }),
19
- h("sqm-skeleton", { style: { marginBottom: "28px" } }),
20
- h("sqm-skeleton", null)));
16
+ h("sl-skeleton", { style: { marginBottom: "28px" } }),
17
+ h("sl-skeleton", { style: { marginBottom: "28px" } }),
18
+ h("sl-skeleton", { style: { marginBottom: "28px" } }),
19
+ h("sl-skeleton", { style: { marginBottom: "28px" } }),
20
+ h("sl-skeleton", null)));
21
21
  }
22
22
  export function EmptySlot({ label }) {
23
23
  return (h("slot", { name: "empty" },
@@ -1,7 +1,7 @@
1
1
  import { h } from './index-b3a06de8.js';
2
- import { i as intl } from './global-536c422d.js';
2
+ import { i as intl } from './global-58a69018.js';
3
3
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
4
- import { f as formatErrorMessage } from './utils-fafc712f.js';
4
+ import { f as formatErrorMessage } from './utils-2695a43e.js';
5
5
 
6
6
  const style = {
7
7
  Description: {
@@ -1,5 +1,5 @@
1
1
  import { h, c as Host, d as getAssetPath, F as Fragment, g as getElement } from './index-b3a06de8.js';
2
- import { i as intl } from './global-536c422d.js';
2
+ import { i as intl } from './global-58a69018.js';
3
3
  import { b as browser, u as useMemo, k as useState } from './dom-context-hooks.module-63370afd.js';
4
4
  import { H, L, J, d as dist, w as wn, j as jn, B, F as Fn, $ as $e, g as getEnvironmentSDK } from './index.module-c9811a48.js';
5
5
  import { c as cjs } from './cjs-bdfb4486.js';
@@ -2095,11 +2095,11 @@ function TaskCardView(props) {
2095
2095
  ? "main complete"
2096
2096
  : "main" },
2097
2097
  h("div", { class: "container", part: "sqm-card-container", "data-subdue": taskComplete || taskUnavailable },
2098
- h("div", { class: sheet.classes.Header, style: { opacity: taskComplete || taskUnavailable ? "0.45" : "1" } }, states.loading ? (h("sqm-skeleton", { style: { width: "22%", margin: "0" } })) : (h("div", null,
2098
+ h("div", { class: sheet.classes.Header, style: { opacity: taskComplete || taskUnavailable ? "0.45" : "1" } }, states.loading ? (h("sl-skeleton", { style: { width: "22%", margin: "0" } })) : (h("div", null,
2099
2099
  showComplete && (h("span", { class: taskUnavailable ? "icon neutral" : "icon" }, taskComplete ? checkmark_filled$1 : checkmark_circle$1)),
2100
2100
  h("span", { part: "sqm-value", class: "value" }, content.rewardAmount),
2101
2101
  h("span", { part: "sqm-unit", class: "text" }, content.rewardUnit)))),
2102
- states.loading ? (h("sqm-skeleton", { style: { width: "42%", margin: "var(--sl-spacing-medium) 0" } })) : (h("div", { class: "title", part: "sqm-title", style: {
2102
+ states.loading ? (h("sl-skeleton", { style: { width: "42%", margin: "var(--sl-spacing-medium) 0" } })) : (h("div", { class: "title", part: "sqm-title", style: {
2103
2103
  marginBottom: !content.description
2104
2104
  ? content.steps
2105
2105
  ? "var(--sl-spacing-x-large)"
@@ -2109,9 +2109,9 @@ function TaskCardView(props) {
2109
2109
  : "",
2110
2110
  opacity: taskComplete || taskUnavailable ? "0.45" : "1",
2111
2111
  } }, content.cardTitle)),
2112
- states.loading ? (h("sqm-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.description && (h(Details, Object.assign({}, props, { opacity: taskComplete || taskUnavailable ? "0.45" : "1" })))),
2113
- content.showProgressBar && states.loading ? (h("sqm-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.showProgressBar && (h(ProgressBarView, Object.assign({}, props.content, props.states, { opacity: taskComplete || taskUnavailable ? "0.75" : "1", complete: taskComplete, expired: taskUnavailable })))),
2114
- h("div", { class: sheet.classes.Footer, "data-subdue": taskComplete || taskUnavailable }, states.loading ? (h("sqm-skeleton", { style: { width: "25%", marginLeft: "auto" } })) : (h("div", { style: { display: "contents" } },
2112
+ states.loading ? (h("sl-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.description && (h(Details, Object.assign({}, props, { opacity: taskComplete || taskUnavailable ? "0.45" : "1" })))),
2113
+ content.showProgressBar && states.loading ? (h("sl-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.showProgressBar && (h(ProgressBarView, Object.assign({}, props.content, props.states, { opacity: taskComplete || taskUnavailable ? "0.75" : "1", complete: taskComplete, expired: taskUnavailable })))),
2114
+ h("div", { class: sheet.classes.Footer, "data-subdue": taskComplete || taskUnavailable }, states.loading ? (h("sl-skeleton", { style: { width: "25%", marginLeft: "auto" } })) : (h("div", { style: { display: "contents" } },
2115
2115
  h("span", { class: "text" },
2116
2116
  content.repeatable && (h("div", null,
2117
2117
  h("span", { class: repetitions > 0
@@ -2384,7 +2384,7 @@ const EditProfileView = (props) => {
2384
2384
  } }, text.editprofileheader),
2385
2385
  h("form", { class: "FormWrapper", onSubmit: callbacks.onSubmit },
2386
2386
  h("div", { class: "FormSection" },
2387
- states.formState.error && (h("sqm-form-message", { loading: states.loading, type: "error", exportparts: "erroralert-icon" },
2387
+ states.formState.error && (h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
2388
2388
  h("div", { part: "erroralert-text" }, states.formState.error))),
2389
2389
  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"
2390
2390
  ? { class: "ErrorStyles", helpText: text.fieldEmptyText }
@@ -2497,10 +2497,10 @@ function LeaderboardView(props) {
2497
2497
  h("style", { type: "text/css" },
2498
2498
  styleString,
2499
2499
  vanillaStyle),
2500
- h("table", null, [...Array(5)].map(() => {
2500
+ h("table", null, [...Array(10)].map(() => {
2501
2501
  return (h("tr", null,
2502
2502
  h("td", null,
2503
- h("sqm-skeleton", null))));
2503
+ h("sl-skeleton", null))));
2504
2504
  }))));
2505
2505
  }
2506
2506
  if (!states.hasLeaders)
@@ -3692,19 +3692,19 @@ function RewardExchangeView(props) {
3692
3692
  h("sl-card", { class: sheet$8.classes.Card },
3693
3693
  h("div", { class: sheet$8.classes.CardLayout },
3694
3694
  h("div", null,
3695
- h("sqm-skeleton", { style: {
3695
+ h("sl-skeleton", { style: {
3696
+ width: "100px",
3697
+ height: "100px",
3696
3698
  margin: "9px",
3697
- }, width: "100px", height: "100px" })),
3699
+ "--border-radius": "var(--sqm-border-radius-normal)",
3700
+ } })),
3698
3701
  h("div", { style: {
3699
3702
  margin: "var(--sl-spacing-small) var(--sl-spacing-small) 0 0",
3700
3703
  width: "100%",
3701
- display: "flex",
3702
- flexDirection: "column",
3703
- gap: "var(--sl-spacing-small)",
3704
3704
  } },
3705
- h("sqm-skeleton", null),
3706
- h("sqm-skeleton", null),
3707
- h("sqm-skeleton", { width: "45%" }))))));
3705
+ h("sl-skeleton", { style: { marginBottom: "var(--sl-spacing-small)" } }),
3706
+ h("sl-skeleton", { style: { marginBottom: "var(--sl-spacing-small)" } }),
3707
+ h("sl-skeleton", { style: { width: "45%" } }))))));
3708
3708
  })));
3709
3709
  }
3710
3710
  function errorMessage() {
@@ -4376,7 +4376,7 @@ function LeadFormView(props) {
4376
4376
  vanillaStyle$7,
4377
4377
  styleString$9),
4378
4378
  h(TextSpanView, { type: "h3" }, content.pageLabel),
4379
- h("sqm-form-message", { loading: states.loading, exportparts: "success-icon" },
4379
+ h("sqm-form-message", { exportparts: "success-icon" },
4380
4380
  h("b", null, content.submitSuccessHeader),
4381
4381
  h("br", null),
4382
4382
  h("div", { part: "successalert-text" }, content.submitSuccessDescription)),
@@ -4387,14 +4387,16 @@ function LeadFormView(props) {
4387
4387
  styleString$9),
4388
4388
  h(TextSpanView, { type: "h3" }, content.pageLabel),
4389
4389
  h("sl-form", { class: sheet$9.classes.Column, "onSl-submit": callbacks.submit, ref: (el) => (refs.formRef.current = el), novalidate: true },
4390
- states.error && (h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "error" },
4391
- h("p", { part: "alert-title" }, content.submitErrorHeader),
4392
- h("p", { part: "alert-text" }, intl.formatMessage({
4390
+ states.error && (h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", class: sheet$9.classes.ErrorAlertContainer, open: true },
4391
+ h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
4392
+ h("b", null, content.submitErrorHeader),
4393
+ h("br", null),
4394
+ intl.formatMessage({
4393
4395
  id: "submitErrorDescription",
4394
4396
  defaultMessage: content.submitErrorDescription,
4395
4397
  }, {
4396
4398
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, content.supportLinkText)),
4397
- })))),
4399
+ }))),
4398
4400
  h("div", { class: sheet$9.classes.NameFieldWrapper },
4399
4401
  h("sqm-lead-input-field", { class: sheet$9.classes.NameInput, "field-label": content.firstNameLabel || "First Name", "field-name": "firstName" }),
4400
4402
  h("sqm-lead-input-field", { class: sheet$9.classes.NameInput, "field-label": content.lastNameLabel || "Last Name", "field-name": "lastName" })),