@saasquatch/mint-components 1.16.0-4 → 1.16.0-5

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.
@@ -5787,7 +5787,12 @@ const TaxAndCashDashboardView = (props) => {
5787
5787
  case "OVER_W9_THRESHOLD":
5788
5788
  return {
5789
5789
  header: text.w9RequiredHeader,
5790
- description: (index.h("a", { target: "_blank", href: `https://terms.advocate.impact.com/PayoutTermsAndConditions.html` }, text.w9RequiredDescription)),
5790
+ description: global.intl.formatMessage({
5791
+ id: "w9RequiredDescription",
5792
+ defaultMessage: text.w9RequiredDescription,
5793
+ }, {
5794
+ termsAndConditions: (index.h("a", { target: "_blank", href: `https://terms.advocate.impact.com/PayoutTermsAndConditions.html` }, text.w9RequiredDescription)),
5795
+ }),
5791
5796
  button: (index.h("sl-button", { style: { marginTop: "var(--sl-spacing-x-small)" }, type: "default", onClick: callbacks.onNewFormClick }, text.w9RequiredButtonText)),
5792
5797
  alertType: "info",
5793
5798
  icon: "info-circle",
@@ -202,7 +202,12 @@ export const TaxAndCashDashboardView = (props) => {
202
202
  case "OVER_W9_THRESHOLD":
203
203
  return {
204
204
  header: text.w9RequiredHeader,
205
- description: (h("a", { target: "_blank", href: `https://terms.advocate.impact.com/PayoutTermsAndConditions.html` }, text.w9RequiredDescription)),
205
+ description: intl.formatMessage({
206
+ id: "w9RequiredDescription",
207
+ defaultMessage: text.w9RequiredDescription,
208
+ }, {
209
+ termsAndConditions: (h("a", { target: "_blank", href: `https://terms.advocate.impact.com/PayoutTermsAndConditions.html` }, text.w9RequiredDescription)),
210
+ }),
206
211
  button: (h("sl-button", { style: { marginTop: "var(--sl-spacing-x-small)" }, type: "default", onClick: callbacks.onNewFormClick }, text.w9RequiredButtonText)),
207
212
  alertType: "info",
208
213
  icon: "info-circle",
@@ -5783,7 +5783,12 @@ const TaxAndCashDashboardView = (props) => {
5783
5783
  case "OVER_W9_THRESHOLD":
5784
5784
  return {
5785
5785
  header: text.w9RequiredHeader,
5786
- description: (h("a", { target: "_blank", href: `https://terms.advocate.impact.com/PayoutTermsAndConditions.html` }, text.w9RequiredDescription)),
5786
+ description: intl.formatMessage({
5787
+ id: "w9RequiredDescription",
5788
+ defaultMessage: text.w9RequiredDescription,
5789
+ }, {
5790
+ termsAndConditions: (h("a", { target: "_blank", href: `https://terms.advocate.impact.com/PayoutTermsAndConditions.html` }, text.w9RequiredDescription)),
5791
+ }),
5787
5792
  button: (h("sl-button", { style: { marginTop: "var(--sl-spacing-x-small)" }, type: "default", onClick: callbacks.onNewFormClick }, text.w9RequiredButtonText)),
5788
5793
  alertType: "info",
5789
5794
  icon: "info-circle",