@saasquatch/mint-components 2.0.2-9 → 2.0.3-1

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 (167) hide show
  1. package/dist/cjs/{IndirectTaxDetailsView-e5f70b8b.js → IndirectTaxDetailsView-659a139c.js} +2 -2
  2. package/dist/cjs/{ShadowViewAddon-925a8fa6.js → ShadowViewAddon-ae3a32c3.js} +5 -5
  3. package/dist/cjs/{usePayoutStatus-9abe2de8.js → data-44260010.js} +127 -129
  4. package/dist/cjs/{global-8bba5b3a.js → global-e862bfd4.js} +1 -1
  5. package/dist/cjs/loader.cjs.js +1 -1
  6. package/dist/cjs/mint-components.cjs.js +1 -1
  7. package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +120 -85
  8. package/dist/cjs/sqm-big-stat_47.cjs.entry.js +44 -38
  9. package/dist/cjs/sqm-code-verification.cjs.entry.js +1 -1
  10. package/dist/cjs/sqm-email-verification.cjs.entry.js +1 -1
  11. package/dist/cjs/sqm-empty_4.cjs.entry.js +1 -1
  12. package/dist/cjs/sqm-header-logo.cjs.entry.js +2 -2
  13. package/dist/cjs/{sqm-lead-checkbox-field-view-340acad0.js → sqm-lead-checkbox-field-view-dca40eb4.js} +1 -1
  14. package/dist/cjs/sqm-lead-checkbox-field.cjs.entry.js +3 -3
  15. package/dist/cjs/{sqm-lead-input-field-view-06ed3632.js → sqm-lead-input-field-view-2006001f.js} +1 -1
  16. package/dist/cjs/sqm-lead-input-field.cjs.entry.js +3 -3
  17. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +1 -1
  18. package/dist/cjs/sqm-pagination_3.cjs.entry.js +1 -1
  19. package/dist/cjs/{sqm-portal-email-verification-view-5518eb0d.js → sqm-portal-email-verification-view-1745d9a2.js} +1 -1
  20. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +2 -2
  21. package/dist/cjs/{sqm-portal-profile-view-615e6975.js → sqm-portal-profile-view-5c5e29b1.js} +1 -1
  22. package/dist/cjs/sqm-portal-profile.cjs.entry.js +2 -2
  23. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +1 -1
  24. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +1 -1
  25. package/dist/cjs/sqm-stencilbook.cjs.entry.js +29 -9
  26. package/dist/cjs/{useLeadFormState-fd0445f9.js → useLeadFormState-91999606.js} +1 -1
  27. package/dist/cjs/{utils-83d125fa.js → utils-4eb18a29.js} +1 -1
  28. package/dist/collection/components/sqm-header-logo/sqm-header-logo.js +5 -2
  29. package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +4 -4
  30. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +10 -6
  31. package/dist/collection/components/tax-and-cash/sqm-docusign-form/useDocusignForm.js +11 -5
  32. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.js +13 -0
  33. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +12 -6
  34. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +5 -5
  35. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +1 -4
  36. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +4 -4
  37. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +9 -4
  38. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +4 -4
  39. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js +7 -1
  40. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +4 -4
  41. package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +20 -12
  42. package/dist/collection/global/styles.js +1 -1
  43. package/dist/collection/global/styles.ts +1 -1
  44. package/dist/esm/{IndirectTaxDetailsView-0a57b622.js → IndirectTaxDetailsView-8dec05e4.js} +2 -2
  45. package/dist/esm/{ShadowViewAddon-aae27c2e.js → ShadowViewAddon-78a1c35c.js} +5 -5
  46. package/dist/esm/{usePayoutStatus-e0ef2374.js → data-68816061.js} +128 -130
  47. package/dist/esm/{global-1099f20d.js → global-58a69018.js} +1 -1
  48. package/dist/esm/loader.js +1 -1
  49. package/dist/esm/mint-components.js +1 -1
  50. package/dist/esm/sqm-banking-info-form_10.entry.js +67 -32
  51. package/dist/esm/sqm-big-stat_47.entry.js +22 -16
  52. package/dist/esm/sqm-code-verification.entry.js +1 -1
  53. package/dist/esm/sqm-email-verification.entry.js +1 -1
  54. package/dist/esm/sqm-empty_4.entry.js +1 -1
  55. package/dist/esm/sqm-header-logo.entry.js +2 -2
  56. package/dist/esm/{sqm-lead-checkbox-field-view-cbafee07.js → sqm-lead-checkbox-field-view-81541e40.js} +1 -1
  57. package/dist/esm/sqm-lead-checkbox-field.entry.js +3 -3
  58. package/dist/esm/{sqm-lead-input-field-view-f3775c28.js → sqm-lead-input-field-view-d543d939.js} +1 -1
  59. package/dist/esm/sqm-lead-input-field.entry.js +3 -3
  60. package/dist/esm/sqm-leaderboard-rank.entry.js +1 -1
  61. package/dist/esm/sqm-pagination_3.entry.js +1 -1
  62. package/dist/esm/{sqm-portal-email-verification-view-7d86299c.js → sqm-portal-email-verification-view-5fb1a99e.js} +1 -1
  63. package/dist/esm/sqm-portal-email-verification.entry.js +2 -2
  64. package/dist/esm/{sqm-portal-profile-view-3ed13e4d.js → sqm-portal-profile-view-e3aef106.js} +1 -1
  65. package/dist/esm/sqm-portal-profile.entry.js +2 -2
  66. package/dist/esm/sqm-referral-table_11.entry.js +1 -1
  67. package/dist/esm/sqm-rewards-table_9.entry.js +1 -1
  68. package/dist/esm/sqm-stencilbook.entry.js +29 -9
  69. package/dist/esm/{useLeadFormState-c379e5d7.js → useLeadFormState-8d4b2620.js} +1 -1
  70. package/dist/esm/{utils-6122971b.js → utils-2695a43e.js} +1 -1
  71. package/dist/esm-es5/{IndirectTaxDetailsView-0a57b622.js → IndirectTaxDetailsView-8dec05e4.js} +1 -1
  72. package/dist/esm-es5/{ShadowViewAddon-aae27c2e.js → ShadowViewAddon-78a1c35c.js} +1 -1
  73. package/dist/esm-es5/data-68816061.js +6 -0
  74. package/dist/esm-es5/{global-1099f20d.js → global-58a69018.js} +1 -1
  75. package/dist/esm-es5/loader.js +1 -1
  76. package/dist/esm-es5/mint-components.js +1 -1
  77. package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
  78. package/dist/esm-es5/sqm-big-stat_47.entry.js +1 -1
  79. package/dist/esm-es5/sqm-code-verification.entry.js +1 -1
  80. package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
  81. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  82. package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
  83. package/dist/esm-es5/{sqm-lead-checkbox-field-view-cbafee07.js → sqm-lead-checkbox-field-view-81541e40.js} +1 -1
  84. package/dist/esm-es5/sqm-lead-checkbox-field.entry.js +1 -1
  85. package/dist/esm-es5/{sqm-lead-input-field-view-f3775c28.js → sqm-lead-input-field-view-d543d939.js} +1 -1
  86. package/dist/esm-es5/sqm-lead-input-field.entry.js +1 -1
  87. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  88. package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
  89. package/dist/esm-es5/{sqm-portal-email-verification-view-7d86299c.js → sqm-portal-email-verification-view-5fb1a99e.js} +1 -1
  90. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  91. package/dist/esm-es5/{sqm-portal-profile-view-3ed13e4d.js → sqm-portal-profile-view-e3aef106.js} +1 -1
  92. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  93. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  94. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  95. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  96. package/dist/esm-es5/{useLeadFormState-c379e5d7.js → useLeadFormState-8d4b2620.js} +1 -1
  97. package/dist/esm-es5/{utils-6122971b.js → utils-2695a43e.js} +1 -1
  98. package/dist/mint-components/global/styles.ts +1 -1
  99. package/dist/mint-components/mint-components.esm.js +1 -1
  100. package/dist/mint-components/mint-components.js +1 -1
  101. package/dist/mint-components/{p-717b6730.system.entry.js → p-011c0990.system.entry.js} +1 -1
  102. package/dist/mint-components/{p-db1a0db1.js → p-027c0b10.js} +1 -1
  103. package/dist/mint-components/{p-aa8c6332.js → p-088f082f.js} +1 -1
  104. package/dist/mint-components/{p-511c87ce.system.entry.js → p-0c024cf0.system.entry.js} +1 -1
  105. package/dist/mint-components/{p-60465a2d.system.js → p-1215518e.system.js} +1 -1
  106. package/dist/mint-components/{p-6c006998.entry.js → p-12e6cea7.entry.js} +2 -2
  107. package/dist/mint-components/{p-ad4348c3.system.js → p-13c6673e.system.js} +1 -1
  108. package/dist/mint-components/{p-ed16b35a.js → p-1aa9136c.js} +1 -1
  109. package/dist/mint-components/{p-a5c63310.entry.js → p-1b79b186.entry.js} +1 -1
  110. package/dist/mint-components/{p-6d5bd95a.js → p-1d8c5935.js} +1 -1
  111. package/dist/mint-components/{p-56009bf0.system.entry.js → p-2ea3eea9.system.entry.js} +1 -1
  112. package/dist/mint-components/{p-7a268047.js → p-325c5476.js} +1 -1
  113. package/dist/mint-components/{p-bec87ac9.system.entry.js → p-36a1fa33.system.entry.js} +1 -1
  114. package/dist/mint-components/p-42760067.system.entry.js +1 -0
  115. package/dist/mint-components/{p-aefaec37.entry.js → p-43ad51bc.entry.js} +1 -1
  116. package/dist/mint-components/{p-e0a724dd.system.js → p-4cc72a4e.system.js} +1 -1
  117. package/dist/mint-components/{p-47c83656.entry.js → p-58c79873.entry.js} +1 -1
  118. package/dist/mint-components/{p-c994512c.system.js → p-5fbe6356.system.js} +1 -1
  119. package/dist/mint-components/{p-6d9ce4e5.entry.js → p-6076dbaf.entry.js} +1 -1
  120. package/dist/mint-components/{p-74f43a08.system.js → p-78dda262.system.js} +1 -1
  121. package/dist/mint-components/p-7fb4470e.entry.js +1 -0
  122. package/dist/mint-components/{p-4ce51b1c.system.entry.js → p-829cb9ed.system.entry.js} +1 -1
  123. package/dist/mint-components/{p-c85f204b.system.js → p-8618e8f6.system.js} +1 -1
  124. package/dist/mint-components/{p-aa08457e.system.js → p-8d9fa981.system.js} +1 -1
  125. package/dist/mint-components/{p-09ab53fb.system.entry.js → p-8fa77acf.system.entry.js} +1 -1
  126. package/dist/mint-components/p-92b5c376.js +157 -0
  127. package/dist/mint-components/{p-967a9040.system.js → p-947bacd1.system.js} +1 -1
  128. package/dist/mint-components/{p-79a3344f.js → p-988f236f.js} +1 -1
  129. package/dist/mint-components/{p-22a9114f.system.entry.js → p-9d46f87f.system.entry.js} +1 -1
  130. package/dist/mint-components/p-a2dbc9ad.system.js +6 -0
  131. package/dist/mint-components/{p-4c811d12.entry.js → p-a470e203.entry.js} +2 -2
  132. package/dist/mint-components/{p-00bc7211.js → p-a974c549.js} +1 -1
  133. package/dist/mint-components/{p-5f3eafd4.entry.js → p-aabfb90f.entry.js} +2 -2
  134. package/dist/mint-components/p-ad3ebf4d.entry.js +1 -0
  135. package/dist/mint-components/{p-0649123a.system.entry.js → p-bbdf93b6.system.entry.js} +1 -1
  136. package/dist/mint-components/p-be0ca483.entry.js +273 -0
  137. package/dist/mint-components/{p-4fed8672.js → p-bf044217.js} +1 -1
  138. package/dist/mint-components/p-c0d60c61.entry.js +106 -0
  139. package/dist/mint-components/{p-d3120982.system.entry.js → p-c6e8086f.system.entry.js} +1 -1
  140. package/dist/mint-components/{p-ea0bc627.entry.js → p-d88d8ffe.entry.js} +1 -1
  141. package/dist/mint-components/{p-a217cc8d.entry.js → p-dc5bca55.entry.js} +1 -1
  142. package/dist/mint-components/{p-6445e926.system.entry.js → p-deecffd0.system.entry.js} +1 -1
  143. package/dist/mint-components/{p-60c14cec.entry.js → p-e19f0908.entry.js} +1 -1
  144. package/dist/mint-components/{p-38f932ae.system.js → p-e3ee8c37.system.js} +1 -1
  145. package/dist/mint-components/{p-14e813a7.system.entry.js → p-e8bda98a.system.entry.js} +1 -1
  146. package/dist/mint-components/{p-5d059c95.entry.js → p-ee3a7577.entry.js} +1 -1
  147. package/dist/mint-components/{p-57ce33dd.js → p-ee83de0e.js} +2 -2
  148. package/dist/mint-components/{p-f401ef19.system.entry.js → p-f5256738.system.entry.js} +1 -1
  149. package/dist/mint-components/p-f5820d03.system.js +1 -0
  150. package/dist/mint-components/{p-18720462.system.entry.js → p-fcf8bdbc.system.entry.js} +1 -1
  151. package/dist/mint-components/p-ffef3f95.system.entry.js +1 -0
  152. package/dist/types/components/sqm-header-logo/sqm-header-logo.d.ts +1 -0
  153. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.d.ts +7 -0
  154. package/dist/types/components.d.ts +2 -0
  155. package/docs/docs.docx +0 -0
  156. package/docs/raisins.json +1 -1
  157. package/package.json +1 -1
  158. package/dist/esm-es5/usePayoutStatus-e0ef2374.js +0 -6
  159. package/dist/mint-components/p-35576752.system.entry.js +0 -1
  160. package/dist/mint-components/p-408a3798.entry.js +0 -273
  161. package/dist/mint-components/p-59bb2d52.system.js +0 -6
  162. package/dist/mint-components/p-60e35884.entry.js +0 -99
  163. package/dist/mint-components/p-680a7162.system.entry.js +0 -1
  164. package/dist/mint-components/p-8b5b2acc.entry.js +0 -1
  165. package/dist/mint-components/p-ab111e29.entry.js +0 -1
  166. package/dist/mint-components/p-c41108ae.js +0 -157
  167. package/dist/mint-components/p-f0eae4e6.system.js +0 -1
@@ -125,11 +125,6 @@ export function useBankingInfoForm(props) {
125
125
  const paymentMethodChecked = !hasPayPal
126
126
  ? "toBankAccount"
127
127
  : _paymentMethodChecked;
128
- useEffect(() => {
129
- // reset redirect hash
130
- if (window.location.hash !== "#4")
131
- window.location.hash = "";
132
- }, []);
133
128
  useEffect(() => {
134
129
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
135
130
  if (!userData)
@@ -301,6 +296,7 @@ export function useBankingInfoForm(props) {
301
296
  }
302
297
  await runMutation(formData, token);
303
298
  setShowModal(false);
299
+ window.location.hash = "";
304
300
  };
305
301
  const onVerification = async (token) => {
306
302
  host.dispatchEvent(new CustomEvent(VERIFICATION_EVENT_KEY, {
@@ -330,7 +326,15 @@ export function useBankingInfoForm(props) {
330
326
  setBankCountry: updateBankCountry,
331
327
  setPaymentMethodChecked,
332
328
  setPaymentScheduleChecked,
333
- onBack: () => setStep("/dashboard"),
329
+ onBack: () => {
330
+ // return to dashboard
331
+ if (window.location.hash) {
332
+ window.location.hash = "";
333
+ }
334
+ else {
335
+ setStep("/dashboard");
336
+ }
337
+ },
334
338
  setCountrySearch,
335
339
  onVerification,
336
340
  onVerificationHide: () => onVerification(null),
@@ -115,11 +115,17 @@ export function useDocusignForm(props) {
115
115
  }
116
116
  };
117
117
  const progressStep = () => {
118
- setStep(context.overrideNextStep ||
119
- !!(publisher === null || publisher === void 0 ? void 0 : publisher.withdrawalSettings) ||
120
- !(publisher === null || publisher === void 0 ? void 0 : publisher.brandedSignup)
121
- ? "/dashboard"
122
- : "/4");
118
+ // return to dashboard
119
+ if (window.location.hash) {
120
+ window.location.hash = "";
121
+ }
122
+ else {
123
+ setStep(context.overrideNextStep ||
124
+ !!(publisher === null || publisher === void 0 ? void 0 : publisher.withdrawalSettings) ||
125
+ !(publisher === null || publisher === void 0 ? void 0 : publisher.brandedSignup)
126
+ ? "/dashboard"
127
+ : "/4");
128
+ }
123
129
  };
124
130
  const allLoading = userLoading || documentLoading || loading;
125
131
  return {
@@ -17,3 +17,16 @@ export const W9ThresholdReached = () => (h("sqm-payout-status-alert", { demoData
17
17
  export const Hold = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps, status: "HOLD" } } }));
18
18
  export const Loading = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps, loading: true } } }));
19
19
  export const Error = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps, error: true } } }));
20
+ export const NewPayeeReview = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps, status: "NEW_PAYEE_REVIEW" } } }));
21
+ export const PaymentHoldOnChange = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps, status: "PAYMENT_HOLD_ON_CHANGE" } } }));
22
+ export const BeneficiaryNameInvalid = () => (h("sqm-payout-status-alert", { demoData: {
23
+ states: { ...defaultProps, status: "BENEFICIARY_NAME_INVALID" },
24
+ } }));
25
+ export const BeneficiaryNameMismatch = () => (h("sqm-payout-status-alert", { demoData: {
26
+ states: { ...defaultProps, status: "BENEFICIARY_NAME_MISMATCH" },
27
+ } }));
28
+ export const BankTaxNameMismatch = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps, status: "BANK_TAX_NAME_MISMATCH" } } }));
29
+ export const WithdrawalSettingsInvalid = () => (h("sqm-payout-status-alert", { demoData: {
30
+ states: { ...defaultProps, status: "WITHDRAWAL_SETTINGS_INVALID" },
31
+ } }));
32
+ export const PaymentReturned = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps, status: "PAYMENT_RETURNED" } } }));
@@ -1,7 +1,13 @@
1
- import { Fragment, h } from "@stencil/core";
1
+ import { h } from "@stencil/core";
2
2
  import { intl } from "../../../global/global";
3
3
  import { createStyleSheet } from "../../../styling/JSS";
4
4
  const style = {
5
+ ButtonContainer: {
6
+ display: "flex",
7
+ gap: "var(--sl-spacing-medium)",
8
+ marginTop: "var(--sl-spacing-medium)",
9
+ flexWrap: "wrap",
10
+ },
5
11
  SkeletonOne: {
6
12
  width: "50%",
7
13
  height: "16px",
@@ -161,7 +167,7 @@ export function PayoutStatusAlertView(props) {
161
167
  }, {
162
168
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
163
169
  }),
164
- button: (h(Fragment, null,
170
+ button: (h("div", { class: sheet.classes.ButtonContainer },
165
171
  h("sl-button", { disabled: states.loading, type: "primary", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton),
166
172
  h("sl-button", { disabled: states.loading, type: "default", onClick: callbacks.onNewFormClick }, text.newFormButton))),
167
173
  alertType: "warning",
@@ -176,7 +182,7 @@ export function PayoutStatusAlertView(props) {
176
182
  }, {
177
183
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
178
184
  }),
179
- button: (h(Fragment, null,
185
+ button: (h("div", { class: sheet.classes.ButtonContainer },
180
186
  h("sl-button", { disabled: states.loading, type: "primary", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton),
181
187
  h("sl-button", { disabled: states.loading, type: "default", onClick: callbacks.onNewFormClick }, text.newFormButton))),
182
188
  alertType: "warning",
@@ -191,7 +197,7 @@ export function PayoutStatusAlertView(props) {
191
197
  }, {
192
198
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
193
199
  }),
194
- button: (h(Fragment, null,
200
+ button: (h("div", { class: sheet.classes.ButtonContainer },
195
201
  h("sl-button", { disabled: states.loading, type: "primary", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton),
196
202
  h("sl-button", { disabled: states.loading, type: "default", onClick: callbacks.onNewFormClick }, text.newFormButton))),
197
203
  alertType: "warning",
@@ -206,7 +212,7 @@ export function PayoutStatusAlertView(props) {
206
212
  }, {
207
213
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
208
214
  }),
209
- button: (h(Fragment, null,
215
+ button: (h("div", { class: sheet.classes.ButtonContainer },
210
216
  h("sl-button", { disabled: states.loading, type: "primary", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton))),
211
217
  alertType: "warning",
212
218
  icon: "exclamation-triangle",
@@ -220,7 +226,7 @@ export function PayoutStatusAlertView(props) {
220
226
  }, {
221
227
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
222
228
  }),
223
- button: (h(Fragment, null,
229
+ button: (h("div", { class: sheet.classes.ButtonContainer },
224
230
  h("sl-button", { disabled: states.loading, type: "primary", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton))),
225
231
  alertType: "error",
226
232
  icon: "exclamation-triangle",
@@ -114,11 +114,11 @@ export class PayoutStatusAlert {
114
114
  /**
115
115
  * @uiName Withdrawal settings invalid alert header
116
116
  */
117
- this.withdrawalSettingsInvalidHeader = "Your payment information includes invalid characters";
117
+ this.withdrawalSettingsInvalidHeader = "Your payment information is incomplete or includes invalid characters";
118
118
  /**
119
119
  * @uiName Withdrawal settings invalid alert description
120
120
  */
121
- this.withdrawalSettingsInvalidDescription = "There are invalid characters in your payment information. Please review your information and make sure it is correct with no invalid characters. Your payouts are on hold until this is resolved.";
121
+ this.withdrawalSettingsInvalidDescription = "There are missing fields or invalid characters in your payment information. Please review your information and make sure it is correct. Your payouts are on hold until this is resolved.";
122
122
  /**
123
123
  * @uiName Payment returned alert header
124
124
  */
@@ -713,7 +713,7 @@ export class PayoutStatusAlert {
713
713
  },
714
714
  "attribute": "withdrawal-settings-invalid-header",
715
715
  "reflect": false,
716
- "defaultValue": "\"Your payment information includes invalid characters\""
716
+ "defaultValue": "\"Your payment information is incomplete or includes invalid characters\""
717
717
  },
718
718
  "withdrawalSettingsInvalidDescription": {
719
719
  "type": "string",
@@ -734,7 +734,7 @@ export class PayoutStatusAlert {
734
734
  },
735
735
  "attribute": "withdrawal-settings-invalid-description",
736
736
  "reflect": false,
737
- "defaultValue": "\"There are invalid characters in your payment information. Please review your information and make sure it is correct with no invalid characters. Your payouts are on hold until this is resolved.\""
737
+ "defaultValue": "\"There are missing fields or invalid characters in your payment information. Please review your information and make sure it is correct. Your payouts are on hold until this is resolved.\""
738
738
  },
739
739
  "paymentReturnedHeader": {
740
740
  "type": "string",
@@ -1061,7 +1061,7 @@ function useDemoPayoutStatusAlert(props) {
1061
1061
  return deepmerge({
1062
1062
  states: {
1063
1063
  error: false,
1064
- status: "INFORMATION_REQUIRED",
1064
+ status: props.demoData.states.status,
1065
1065
  loading: false,
1066
1066
  veriffLoading: false,
1067
1067
  },
@@ -1,7 +1,6 @@
1
- import { getEnvironmentSDK, useQuery, useSetParent, } from "@saasquatch/component-boilerplate";
1
+ import { getEnvironmentSDK, useQuery } from "@saasquatch/component-boilerplate";
2
2
  import { useEffect, useState } from "@saasquatch/stencil-hooks";
3
3
  import { gql } from "graphql-request";
4
- import { TAX_CONTEXT_NAMESPACE, TAX_FORM_CONTEXT_NAMESPACE, } from "../data";
5
4
  import { TAX_FORM_UPDATED_EVENT_KEY } from "../eventKeys";
6
5
  import { useVeriffApp, VERIFF_COMPLETE_EVENT_KEY } from "../useVeriffApp";
7
6
  const GET_USER_STATUS = gql `
@@ -85,8 +84,6 @@ export function usePayoutStatus(props) {
85
84
  const { data: taxSettingRes } = useQuery(GET_TAX_SETTING, {});
86
85
  const { render, loading: veriffLoading, errors: veriffErrors, } = useVeriffApp();
87
86
  const [status, setStatus] = useState(undefined);
88
- const setContext = useSetParent(TAX_FORM_CONTEXT_NAMESPACE);
89
- const setStep = useSetParent(TAX_CONTEXT_NAMESPACE);
90
87
  const enforceUsTaxComplianceOption = (_a = taxSettingRes === null || taxSettingRes === void 0 ? void 0 : taxSettingRes.tenantSettings) === null || _a === void 0 ? void 0 : _a.enforceUsTaxCompliance;
91
88
  useEffect(() => {
92
89
  if (!data)
@@ -977,11 +977,11 @@ export class TaxAndCashMonolith {
977
977
  /**
978
978
  * @uiName Withdrawal settings invalid alert header
979
979
  */
980
- this.dashboard_withdrawalSettingsInvalidHeader = "Your payment information includes invalid characters";
980
+ this.dashboard_withdrawalSettingsInvalidHeader = "Your payment information is incomplete or includes invalid characters";
981
981
  /**
982
982
  * @uiName Withdrawal settings invalid alert description
983
983
  */
984
- this.dashboard_withdrawalSettingsInvalidDescription = "There are invalid characters in your payment information. Please review your information and make sure it is correct with no invalid characters. Your payouts are on hold until this is resolved.";
984
+ this.dashboard_withdrawalSettingsInvalidDescription = "There are missing fields or invalid characters in your payment information. Please review your information and make sure it is correct. Your payouts are on hold until this is resolved.";
985
985
  /**
986
986
  * @uiName Payment returned alert header
987
987
  */
@@ -5255,7 +5255,7 @@ export class TaxAndCashMonolith {
5255
5255
  },
5256
5256
  "attribute": "dashboard_withdrawal-settings-invalid-header",
5257
5257
  "reflect": false,
5258
- "defaultValue": "\"Your payment information includes invalid characters\""
5258
+ "defaultValue": "\"Your payment information is incomplete or includes invalid characters\""
5259
5259
  },
5260
5260
  "dashboard_withdrawalSettingsInvalidDescription": {
5261
5261
  "type": "string",
@@ -5276,7 +5276,7 @@ export class TaxAndCashMonolith {
5276
5276
  },
5277
5277
  "attribute": "dashboard_withdrawal-settings-invalid-description",
5278
5278
  "reflect": false,
5279
- "defaultValue": "\"There are invalid characters in your payment information. Please review your information and make sure it is correct with no invalid characters. Your payouts are on hold until this is resolved.\""
5279
+ "defaultValue": "\"There are missing fields or invalid characters in your payment information. Please review your information and make sure it is correct. Your payouts are on hold until this is resolved.\""
5280
5280
  },
5281
5281
  "dashboard_paymentReturnedHeader": {
5282
5282
  "type": "string",
@@ -1,4 +1,4 @@
1
- import { Fragment, h } from "@stencil/core";
1
+ import { h } from "@stencil/core";
2
2
  import { intl } from "../../../global/global";
3
3
  import { createStyleSheet } from "../../../styling/JSS";
4
4
  const style = {
@@ -211,6 +211,11 @@ const style = {
211
211
  SubduedText: {
212
212
  color: "var(--sqm-text-subdued)",
213
213
  },
214
+ ButtonContainer: {
215
+ display: "flex",
216
+ gap: "var(--sl-spacing-medium)",
217
+ flexWrap: "wrap",
218
+ },
214
219
  };
215
220
  const sheet = createStyleSheet(style);
216
221
  const styleString = sheet.toString();
@@ -360,7 +365,7 @@ export const TaxAndCashDashboardView = (props) => {
360
365
  }, {
361
366
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
362
367
  }),
363
- button: (h(Fragment, null,
368
+ button: (h("div", { class: sheet.classes.ButtonContainer },
364
369
  h("sl-button", { disabled: states.disabled || states.loading, type: "primary", class: sheet.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton),
365
370
  h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet.classes.EditBankDetailsButton, onClick: callbacks.onNewFormClick }, text.newFormButton))),
366
371
  alertType: "warning",
@@ -376,7 +381,7 @@ export const TaxAndCashDashboardView = (props) => {
376
381
  }, {
377
382
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
378
383
  }),
379
- button: (h(Fragment, null,
384
+ button: (h("div", { class: sheet.classes.ButtonContainer },
380
385
  h("sl-button", { disabled: states.disabled || states.loading, type: "primary", class: sheet.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton),
381
386
  h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet.classes.EditBankDetailsButton, onClick: callbacks.onNewFormClick }, text.newFormButton))),
382
387
  alertType: "warning",
@@ -392,7 +397,7 @@ export const TaxAndCashDashboardView = (props) => {
392
397
  }, {
393
398
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
394
399
  }),
395
- button: (h(Fragment, null,
400
+ button: (h("div", { class: sheet.classes.ButtonContainer },
396
401
  h("sl-button", { disabled: states.disabled || states.loading, type: "primary", class: sheet.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton),
397
402
  h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet.classes.EditBankDetailsButton, onClick: callbacks.onNewFormClick }, text.newFormButton))),
398
403
  alertType: "warning",
@@ -282,11 +282,11 @@ export class TaxAndCashDashboard {
282
282
  /**
283
283
  * @uiName Withdrawal settings invalid alert header
284
284
  */
285
- this.withdrawalSettingsInvalidHeader = "Your payment information includes invalid characters";
285
+ this.withdrawalSettingsInvalidHeader = "Your payment information is incomplete or includes invalid characters";
286
286
  /**
287
287
  * @uiName Withdrawal settings invalid alert description
288
288
  */
289
- this.withdrawalSettingsInvalidDescription = "There are invalid characters in your payment information. Please review your information and make sure it is correct with no invalid characters. Your payouts are on hold until this is resolved.";
289
+ this.withdrawalSettingsInvalidDescription = "There are missing fields or invalid characters in your payment information. Please review your information and make sure it is correct. Your payouts are on hold until this is resolved.";
290
290
  /**
291
291
  * @uiName Payment returned alert header
292
292
  */
@@ -1601,7 +1601,7 @@ export class TaxAndCashDashboard {
1601
1601
  },
1602
1602
  "attribute": "withdrawal-settings-invalid-header",
1603
1603
  "reflect": false,
1604
- "defaultValue": "\"Your payment information includes invalid characters\""
1604
+ "defaultValue": "\"Your payment information is incomplete or includes invalid characters\""
1605
1605
  },
1606
1606
  "withdrawalSettingsInvalidDescription": {
1607
1607
  "type": "string",
@@ -1622,7 +1622,7 @@ export class TaxAndCashDashboard {
1622
1622
  },
1623
1623
  "attribute": "withdrawal-settings-invalid-description",
1624
1624
  "reflect": false,
1625
- "defaultValue": "\"There are invalid characters in your payment information. Please review your information and make sure it is correct with no invalid characters. Your payouts are on hold until this is resolved.\""
1625
+ "defaultValue": "\"There are missing fields or invalid characters in your payment information. Please review your information and make sure it is correct. Your payouts are on hold until this is resolved.\""
1626
1626
  },
1627
1627
  "paymentReturnedHeader": {
1628
1628
  "type": "string",
@@ -60,8 +60,14 @@ export const useTaxAndCashDashboard = (props) => {
60
60
  useEffect(() => {
61
61
  // Clear override context once on submitted
62
62
  setContext({});
63
- if (window.location.hash)
63
+ if (window.location.hash) {
64
+ setContext({
65
+ overrideNextStep: "/dashboard",
66
+ overrideBackStep: "/dashboard",
67
+ hideSteps: true,
68
+ });
64
69
  setStep(`/${window.location.hash.replace("#", "")}`);
70
+ }
65
71
  }, []);
66
72
  const { data, loading, errors: userError, refetch, } = useParentQueryValue(USER_QUERY_NAMESPACE);
67
73
  const publisher = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher;
@@ -399,7 +399,7 @@ export const UserInfoFormView = (props) => {
399
399
  h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", label: text.address, id: "address", name: "/address", value: formState.address, validationError: ({ value }) =>
400
400
  // Checks for non-ASCII characters
401
401
  !validateBillingField(/^[\x20-\xFF]+$/, value) &&
402
- formatErrorMessage(text.address, text.error.invalidCharacterError), disabled: states.disabled || isDisabledInput("address") }, (((_l = formState.errors) === null || _l === void 0 ? void 0 : _l.address) ? {
402
+ formatErrorMessage(text.address, text.error.invalidCharacterError), disabled: states.disabled || isDisabledInput("billingAddress") }, (((_l = formState.errors) === null || _l === void 0 ? void 0 : _l.address) ? {
403
403
  class: classes.ErrorInput,
404
404
  helpText: formatErrorMessage(text.address, formState.errors.address),
405
405
  }
@@ -407,17 +407,17 @@ export const UserInfoFormView = (props) => {
407
407
  h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", label: text.city, id: "city", name: "/city", value: formState.city, validationError: ({ value }) =>
408
408
  // Checks for non-ASCII characters
409
409
  !validateBillingField(/^[\x20-\xFF]+$/, value) &&
410
- formatErrorMessage(text.city, text.error.invalidCharacterError), disabled: states.disabled || isDisabledInput("city") }, (((_m = formState.errors) === null || _m === void 0 ? void 0 : _m.city) ? {
410
+ formatErrorMessage(text.city, text.error.invalidCharacterError), disabled: states.disabled || isDisabledInput("billingCity") }, (((_m = formState.errors) === null || _m === void 0 ? void 0 : _m.city) ? {
411
411
  class: classes.ErrorInput,
412
412
  helpText: formatErrorMessage(text.city, formState.errors.city),
413
413
  }
414
414
  : {}), { required: true })),
415
- !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("state") }, (((_o = formState.errors) === null || _o === void 0 ? void 0 : _o.state) ? {
415
+ !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) ? {
416
416
  class: classes.ErrorInput,
417
417
  helpText: formatErrorMessage(text.state, formState.errors.state),
418
418
  }
419
419
  : {}), { required: true }), (_p = data.regions) === null || _p === void 0 ? void 0 : _p.map((r) => (h("sl-menu-item", { value: r.value }, r.label))))),
420
- 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("postalCode") }, (((_q = formState.errors) === null || _q === void 0 ? void 0 : _q.postalCode) ? {
420
+ 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) ? {
421
421
  class: classes.ErrorInput,
422
422
  helpText: formatErrorMessage(text.postalCode, formState.errors.postalCode),
423
423
  }
@@ -1,4 +1,4 @@
1
- import { useMutation, useParent, useParentQueryValue, useParentValue, useUserIdentity, } from "@saasquatch/component-boilerplate";
1
+ import { useMutation, useParent, useParentQueryValue, useParentValue, useQuery, useUserIdentity, } from "@saasquatch/component-boilerplate";
2
2
  import { useEffect, useMemo, useRef, useState, } from "@saasquatch/universal-hooks";
3
3
  import jsonpointer from "jsonpointer";
4
4
  import { CURRENCIES_NAMESPACE, SORTED_COUNTRIES_NAMESPACE, TAX_CONTEXT_NAMESPACE, TAX_FORM_CONTEXT_NAMESPACE, USER_FORM_CONTEXT_NAMESPACE, USER_QUERY_NAMESPACE, } from "../data";
@@ -6,8 +6,17 @@ import { ADDRESS_REGIONS } from "../subregions";
6
6
  import { objectIsFull, validTaxDocument } from "../utils";
7
7
  import { TAX_FORM_UPDATED_EVENT_KEY } from "../eventKeys";
8
8
  import { CONNECT_PARTNER, } from "../sqm-indirect-tax-form/useIndirectTaxForm";
9
+ import { gql } from "graphql-request";
10
+ const GET_INDIRECT_TAX_COUNTRY_CODE = gql `
11
+ query getIndirectTaxCountryCode {
12
+ tenantSettings {
13
+ impactBrandCountryCode
14
+ impactBrandIndirectTaxCountryCode
15
+ }
16
+ }
17
+ `;
9
18
  export function useUserInfoForm(props) {
10
- var _a, _b, _c, _d, _e, _f;
19
+ var _a, _b, _c, _d, _e, _f, _g;
11
20
  const currencyRef = useRef(undefined);
12
21
  const phoneCountryRef = useRef(undefined);
13
22
  const formRef = useRef(null);
@@ -17,6 +26,7 @@ export function useUserInfoForm(props) {
17
26
  const [userFormContext, setUserFormContext] = useParent(USER_FORM_CONTEXT_NAMESPACE);
18
27
  const user = useUserIdentity();
19
28
  const [connectImpactPartner, { loading: connectLoading, errors: connectErrors },] = useMutation(CONNECT_PARTNER);
29
+ const { data: tenantData } = useQuery(GET_INDIRECT_TAX_COUNTRY_CODE, {});
20
30
  const { data, loading, refetch, errors: userError, } = useParentQueryValue(USER_QUERY_NAMESPACE);
21
31
  const _currencies = useParentValue(CURRENCIES_NAMESPACE);
22
32
  const currencies = useMemo(() => [...(_currencies || [])].sort((a, b) => a.displayName.localeCompare(b.displayName)), [_currencies]);
@@ -201,7 +211,6 @@ export function useUserInfoForm(props) {
201
211
  currency: userData.currency,
202
212
  });
203
213
  const skipNextStep = getSkipNextStep(userData);
204
- console.log({ skipNextStep });
205
214
  if (skipNextStep) {
206
215
  try {
207
216
  const { resultPublisher, hasValidCurrentDocument } = await connectPartner(formData);
@@ -230,15 +239,14 @@ export function useUserInfoForm(props) {
230
239
  const nextStep = context.overrideNextStep || skipNextStep ? "/3" : "/2";
231
240
  setStep(nextStep);
232
241
  }
233
- // TODO: get from backend
234
- const hasIndirectTax = false;
235
- const brandCountry = "";
242
+ const indirectTaxCountry = (_a = tenantData === null || tenantData === void 0 ? void 0 : tenantData.tenantSettings) === null || _a === void 0 ? void 0 : _a.impactBrandIndirectTaxCountryCode;
243
+ const hasIndirectTax = !!indirectTaxCountry;
236
244
  function getSkipNextStep(userData) {
237
- if (userData.countryCode === "US")
238
- return true;
239
245
  if (!hasIndirectTax)
240
246
  return true;
241
- if (hasIndirectTax && userData.countryCode !== brandCountry)
247
+ if (userData.countryCode === "US")
248
+ return true;
249
+ if (hasIndirectTax && userData.countryCode !== indirectTaxCountry)
242
250
  return true;
243
251
  return false;
244
252
  }
@@ -269,7 +277,7 @@ export function useUserInfoForm(props) {
269
277
  allCountries: countries,
270
278
  regionLabelEnum: regionObj === null || regionObj === void 0 ? void 0 : regionObj.labelEnum,
271
279
  regions: (regionObj === null || regionObj === void 0 ? void 0 : regionObj.regions) || [],
272
- partnerData: (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher,
280
+ partnerData: (_c = (_b = data === null || data === void 0 ? void 0 : data.user) === null || _b === void 0 ? void 0 : _b.impactConnection) === null || _c === void 0 ? void 0 : _c.publisher,
273
281
  },
274
282
  states: {
275
283
  step: step === null || step === void 0 ? void 0 : step.replace("/", ""),
@@ -278,8 +286,8 @@ export function useUserInfoForm(props) {
278
286
  disabled: loading || connectLoading,
279
287
  loadingError: !!(userError === null || userError === void 0 ? void 0 : userError.message),
280
288
  loading: loading || connectLoading,
281
- isPartner: !!((_d = (_c = data === null || data === void 0 ? void 0 : data.user) === null || _c === void 0 ? void 0 : _c.impactConnection) === null || _d === void 0 ? void 0 : _d.publisher),
282
- isUser: !!((_f = (_e = data === null || data === void 0 ? void 0 : data.user) === null || _e === void 0 ? void 0 : _e.impactConnection) === null || _f === void 0 ? void 0 : _f.user),
289
+ isPartner: !!((_e = (_d = data === null || data === void 0 ? void 0 : data.user) === null || _d === void 0 ? void 0 : _d.impactConnection) === null || _e === void 0 ? void 0 : _e.publisher),
290
+ isUser: !!((_g = (_f = data === null || data === void 0 ? void 0 : data.user) === null || _f === void 0 ? void 0 : _f.impactConnection) === null || _g === void 0 ? void 0 : _g.user),
283
291
  formState: {
284
292
  ...userFormContext,
285
293
  errors: formErrors,
@@ -486,7 +486,7 @@ html {
486
486
  --sl-transition-fast: 150ms;
487
487
  --sl-transition-x-fast: 50ms;
488
488
  --sl-font-mono: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
489
- --sl-font-sans: "Nunito Sans", sans;
489
+ --sl-font-sans: var(--sqm-primary-font);
490
490
  --sl-font-serif: Georgia, "Times New Roman", serif;
491
491
  --sl-font-size-xx-small: 0.625rem;
492
492
  --sl-font-size-x-small: 0.75rem;
@@ -493,7 +493,7 @@ html {
493
493
  --sl-transition-fast: 150ms;
494
494
  --sl-transition-x-fast: 50ms;
495
495
  --sl-font-mono: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
496
- --sl-font-sans: "Nunito Sans", sans;
496
+ --sl-font-sans: var(--sqm-primary-font);
497
497
  --sl-font-serif: Georgia, "Times New Roman", serif;
498
498
  --sl-font-size-xx-small: 0.625rem;
499
499
  --sl-font-size-x-small: 0.75rem;
@@ -1,7 +1,7 @@
1
1
  import { h } from './index-b3a06de8.js';
2
- import { i as intl } from './global-1099f20d.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-6122971b.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-1099f20d.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';
@@ -3159,7 +3159,7 @@ const style$8 = {
3159
3159
  },
3160
3160
  "& sl-menu-item::part(base)": {
3161
3161
  flexDirection: "column",
3162
- color: "var(--sqm-input-color)"
3162
+ color: "var(--sqm-input-color)",
3163
3163
  },
3164
3164
  "& sl-menu-item::part(base):hover": {
3165
3165
  backgroundColor: "var(--sqm-input-border-color-hover)",
@@ -3330,14 +3330,14 @@ const style$8 = {
3330
3330
  marginBottom: "var(--sl-spacing-xxx-large)",
3331
3331
  },
3332
3332
  "& sl-menu-item[disabled]::part(label)": {
3333
- color: "var(sqm-text-subdued)",
3333
+ color: "var(--sqm-text-subdued)",
3334
3334
  },
3335
3335
  "& sl-menu-item[disabled]": {
3336
3336
  "& .step-cost": {
3337
- color: "var(sqm-text-subdued)",
3337
+ color: "var(--sqm-text-subdued)",
3338
3338
  },
3339
3339
  "& .step-value": {
3340
- color: "var(sqm-text-subdued)",
3340
+ color: "var(--sqm-text-subdued)",
3341
3341
  },
3342
3342
  },
3343
3343
  },