@saasquatch/mint-components 2.0.0-54 → 2.0.0-57

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.
@@ -18,7 +18,6 @@ const luxon = require('./luxon-949beaf2.js');
18
18
  const useReferralTable = require('./useReferralTable-90d4d6e9.js');
19
19
  const IndirectTaxDetailsView = require('./IndirectTaxDetailsView-e5f70b8b.js');
20
20
  const utils$1 = require('./utils-83d125fa.js');
21
- const parseStates = require('./parseStates-d1effc19.js');
22
21
  const data = require('./data-88adb95b.js');
23
22
  const keys = require('./keys-cff24974.js');
24
23
  const usePayoutStatus = require('./usePayoutStatus-fe32dd1a.js');
@@ -3724,9 +3723,6 @@ const style$5 = {
3724
3723
  borderTop: "none",
3725
3724
  maxWidth: "600px",
3726
3725
  },
3727
- "& sl-icon::part(base)": {
3728
- color: "var(--sl-color-warning-500)",
3729
- },
3730
3726
  },
3731
3727
  WarningHoldAlertContainer: {
3732
3728
  marginLeft: "-20px",
@@ -3734,9 +3730,10 @@ const style$5 = {
3734
3730
  maxWidth: "850px",
3735
3731
  border: "none",
3736
3732
  backgroundColor: "transparent",
3733
+ color: "var(--sqm-text)",
3737
3734
  },
3738
3735
  "& sl-icon::part(base)": {
3739
- color: "var(--sl-color-warning-500)",
3736
+ color: "var(--sqm-warning-color-icon)",
3740
3737
  },
3741
3738
  },
3742
3739
  ErrorHoldAlertContainer: {
@@ -3745,9 +3742,7 @@ const style$5 = {
3745
3742
  maxWidth: "850px",
3746
3743
  border: "none",
3747
3744
  backgroundColor: "transparent",
3748
- },
3749
- "& sl-icon::part(base)": {
3750
- color: "var(--sl-color-danger-500)",
3745
+ color: "var(--sqm-text)",
3751
3746
  },
3752
3747
  },
3753
3748
  ExpiringSoonAlertContainer: {
@@ -3770,7 +3765,7 @@ const style$5 = {
3770
3765
  display: "flex",
3771
3766
  gap: "var(--sl-spacing-x-small)",
3772
3767
  "&::part(base)": {
3773
- color: "var(--sl-color-green-500)",
3768
+ color: "var(--sqm-text)",
3774
3769
  },
3775
3770
  },
3776
3771
  IndirectTaxPreviewDetails: {
@@ -3779,6 +3774,7 @@ const style$5 = {
3779
3774
  flexDirection: "column",
3780
3775
  lineHeight: "var(--sl-spacing-medium)",
3781
3776
  fontSize: "var(--sl-font-size-small)",
3777
+ color: "var(--sqm-text-subdued)",
3782
3778
  },
3783
3779
  InvoiceTableContainer: {
3784
3780
  marginTop: "var(--sl-spacing-medium)",
@@ -3898,6 +3894,30 @@ const style$5 = {
3898
3894
  },
3899
3895
  },
3900
3896
  DialogButton: { margin: "auto", width: "100%" },
3897
+ SuccessBadge: {
3898
+ "&::part(base)": {
3899
+ textAlign: "center",
3900
+ whiteSpace: "pre-line",
3901
+ background: "var(--sqm-success-color-icon)",
3902
+ },
3903
+ },
3904
+ WarningBadge: {
3905
+ "&::part(base)": {
3906
+ textAlign: "center",
3907
+ whiteSpace: "pre-line",
3908
+ background: "var(--sqm-warning-color-icon)",
3909
+ },
3910
+ },
3911
+ ErrorBadge: {
3912
+ "&::part(base)": {
3913
+ textAlign: "center",
3914
+ whiteSpace: "pre-line",
3915
+ background: "var(--sqm-danger-color-icon)",
3916
+ },
3917
+ },
3918
+ SubduedText: {
3919
+ color: "var(--sqm-text-subdued)",
3920
+ },
3901
3921
  };
3902
3922
  const sheet$4 = JSS.createStyleSheet(style$5);
3903
3923
  const styleString$4 = sheet$4.toString();
@@ -4006,7 +4026,7 @@ const TaxAndCashDashboardView = (props) => {
4006
4026
  }, {
4007
4027
  supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
4008
4028
  }),
4009
- alertType: "error",
4029
+ alertType: "danger",
4010
4030
  icon: "exclamation-octagon",
4011
4031
  class: sheet$4.classes.ErrorHoldAlertContainer,
4012
4032
  };
@@ -4044,16 +4064,16 @@ const TaxAndCashDashboardView = (props) => {
4044
4064
  }
4045
4065
  const statusMap = {
4046
4066
  NOT_VERIFIED: (index.h("div", { class: sheet$4.classes.TaxFormDetailsContainer },
4047
- index.h("sl-badge", { type: "warning", pill: true }, text.statusTextNotVerified),
4048
- index.h("p", null, global.intl.formatMessage({
4067
+ index.h("sl-badge", { class: sheet$4.classes.WarningBadge, type: "warning", pill: true }, text.statusTextNotVerified),
4068
+ index.h("p", { class: sheet$4.classes.SubduedText }, global.intl.formatMessage({
4049
4069
  id: `badgeTextAwaitingReview`,
4050
4070
  defaultMessage: text.badgeTextAwaitingReview,
4051
4071
  }, {
4052
4072
  dateSubmitted: states.dateSubmitted,
4053
4073
  })))),
4054
4074
  ACTIVE: (index.h("div", { class: sheet$4.classes.TaxFormDetailsContainer },
4055
- index.h("sl-badge", { type: "success", pill: true }, text.statusTextActive),
4056
- index.h("p", null, global.intl.formatMessage({
4075
+ index.h("sl-badge", { class: sheet$4.classes.SuccessBadge, type: "success", pill: true }, text.statusTextActive),
4076
+ index.h("p", { class: sheet$4.classes.SubduedText }, global.intl.formatMessage({
4057
4077
  id: `badgeTextSubmittedOn`,
4058
4078
  defaultMessage: states.documentType === "W9"
4059
4079
  ? text.badgeTextSubmittedOn
@@ -4062,8 +4082,8 @@ const TaxAndCashDashboardView = (props) => {
4062
4082
  dateSubmitted: states.dateSubmitted,
4063
4083
  })))),
4064
4084
  INACTIVE: (index.h("div", { class: sheet$4.classes.TaxFormDetailsContainer },
4065
- index.h("sl-badge", { type: "danger", pill: true }, text.statusTextNotActive),
4066
- index.h("p", null, text.invalidForm))),
4085
+ index.h("sl-badge", { class: sheet$4.classes.ErrorBadge, type: "danger", pill: true }, text.statusTextNotActive),
4086
+ index.h("p", { class: sheet$4.classes.SubduedText }, text.invalidForm))),
4067
4087
  undefined: (index.h("div", { class: sheet$4.classes.TaxFormDetailsContainer },
4068
4088
  index.h("sl-badge", { type: "danger", pill: true }, text.statusTextRequired),
4069
4089
  index.h("p", null, global.intl.formatMessage({
@@ -4127,10 +4147,9 @@ const TaxAndCashDashboardView = (props) => {
4127
4147
  index.h("div", null,
4128
4148
  index.h("style", { type: "text/css" },
4129
4149
  styleString$4,
4130
- " ",
4131
4150
  vanillaStyle$3),
4132
4151
  states.loadingError && (index.h("div", null,
4133
- index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true },
4152
+ index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$4.classes.ErrorAlertContainer },
4134
4153
  index.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
4135
4154
  index.h("strong", null, text.error.loadingErrorAlertHeader),
4136
4155
  index.h("br", null),
@@ -4150,7 +4169,7 @@ const TaxAndCashDashboardView = (props) => {
4150
4169
  }, {
4151
4170
  supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
4152
4171
  }))),
4153
- alertInfo && (index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", name: alertInfo === null || alertInfo === void 0 ? void 0 : alertInfo.alertType, open: true, class: alertInfo === null || alertInfo === void 0 ? void 0 : alertInfo.class },
4172
+ alertInfo && (index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: alertInfo === null || alertInfo === void 0 ? void 0 : alertInfo.alertType, name: alertInfo === null || alertInfo === void 0 ? void 0 : alertInfo.alertType, open: true, class: alertInfo === null || alertInfo === void 0 ? void 0 : alertInfo.class },
4154
4173
  index.h("sl-icon", { slot: "icon", name: alertInfo === null || alertInfo === void 0 ? void 0 : alertInfo.icon }),
4155
4174
  index.h("strong", null, alertInfo.header),
4156
4175
  index.h("p", { style: { margin: "0" } }, alertInfo.description),
@@ -4717,7 +4736,6 @@ const TaxAndCashDashboard = class {
4717
4736
  }
4718
4737
  };
4719
4738
  function useDemoTaxAndCashDashboard(props) {
4720
- const stateController = parseStates.parseStates(props.stateController);
4721
4739
  // @ts-ignore
4722
4740
  return cjs.cjs({
4723
4741
  states: {
@@ -4759,7 +4777,7 @@ function useDemoTaxAndCashDashboard(props) {
4759
4777
  },
4760
4778
  } })),
4761
4779
  },
4762
- }, stateController || props.demoData || {}, { arrayMerge: (_, a) => a });
4780
+ }, props.demoData || props.stateController || {}, { arrayMerge: (_, a) => a });
4763
4781
  }
4764
4782
 
4765
4783
  const PHONE_EXTENSIONS = {
@@ -17,9 +17,6 @@ const style = {
17
17
  borderTop: "none",
18
18
  maxWidth: "600px",
19
19
  },
20
- "& sl-icon::part(base)": {
21
- color: "var(--sl-color-warning-500)",
22
- },
23
20
  },
24
21
  WarningHoldAlertContainer: {
25
22
  marginLeft: "-20px",
@@ -27,9 +24,10 @@ const style = {
27
24
  maxWidth: "850px",
28
25
  border: "none",
29
26
  backgroundColor: "transparent",
27
+ color: "var(--sqm-text)",
30
28
  },
31
29
  "& sl-icon::part(base)": {
32
- color: "var(--sl-color-warning-500)",
30
+ color: "var(--sqm-warning-color-icon)",
33
31
  },
34
32
  },
35
33
  ErrorHoldAlertContainer: {
@@ -38,9 +36,7 @@ const style = {
38
36
  maxWidth: "850px",
39
37
  border: "none",
40
38
  backgroundColor: "transparent",
41
- },
42
- "& sl-icon::part(base)": {
43
- color: "var(--sl-color-danger-500)",
39
+ color: "var(--sqm-text)",
44
40
  },
45
41
  },
46
42
  ExpiringSoonAlertContainer: {
@@ -63,7 +59,7 @@ const style = {
63
59
  display: "flex",
64
60
  gap: "var(--sl-spacing-x-small)",
65
61
  "&::part(base)": {
66
- color: "var(--sl-color-green-500)",
62
+ color: "var(--sqm-text)",
67
63
  },
68
64
  },
69
65
  IndirectTaxPreviewDetails: {
@@ -72,6 +68,7 @@ const style = {
72
68
  flexDirection: "column",
73
69
  lineHeight: "var(--sl-spacing-medium)",
74
70
  fontSize: "var(--sl-font-size-small)",
71
+ color: "var(--sqm-text-subdued)",
75
72
  },
76
73
  InvoiceTableContainer: {
77
74
  marginTop: "var(--sl-spacing-medium)",
@@ -191,6 +188,30 @@ const style = {
191
188
  },
192
189
  },
193
190
  DialogButton: { margin: "auto", width: "100%" },
191
+ SuccessBadge: {
192
+ "&::part(base)": {
193
+ textAlign: "center",
194
+ whiteSpace: "pre-line",
195
+ background: "var(--sqm-success-color-icon)",
196
+ },
197
+ },
198
+ WarningBadge: {
199
+ "&::part(base)": {
200
+ textAlign: "center",
201
+ whiteSpace: "pre-line",
202
+ background: "var(--sqm-warning-color-icon)",
203
+ },
204
+ },
205
+ ErrorBadge: {
206
+ "&::part(base)": {
207
+ textAlign: "center",
208
+ whiteSpace: "pre-line",
209
+ background: "var(--sqm-danger-color-icon)",
210
+ },
211
+ },
212
+ SubduedText: {
213
+ color: "var(--sqm-text-subdued)",
214
+ },
194
215
  };
195
216
  const sheet = createStyleSheet(style);
196
217
  const styleString = sheet.toString();
@@ -299,7 +320,7 @@ export const TaxAndCashDashboardView = (props) => {
299
320
  }, {
300
321
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
301
322
  }),
302
- alertType: "error",
323
+ alertType: "danger",
303
324
  icon: "exclamation-octagon",
304
325
  class: sheet.classes.ErrorHoldAlertContainer,
305
326
  };
@@ -337,16 +358,16 @@ export const TaxAndCashDashboardView = (props) => {
337
358
  }
338
359
  const statusMap = {
339
360
  NOT_VERIFIED: (h("div", { class: sheet.classes.TaxFormDetailsContainer },
340
- h("sl-badge", { type: "warning", pill: true }, text.statusTextNotVerified),
341
- h("p", null, intl.formatMessage({
361
+ h("sl-badge", { class: sheet.classes.WarningBadge, type: "warning", pill: true }, text.statusTextNotVerified),
362
+ h("p", { class: sheet.classes.SubduedText }, intl.formatMessage({
342
363
  id: `badgeTextAwaitingReview`,
343
364
  defaultMessage: text.badgeTextAwaitingReview,
344
365
  }, {
345
366
  dateSubmitted: states.dateSubmitted,
346
367
  })))),
347
368
  ACTIVE: (h("div", { class: sheet.classes.TaxFormDetailsContainer },
348
- h("sl-badge", { type: "success", pill: true }, text.statusTextActive),
349
- h("p", null, intl.formatMessage({
369
+ h("sl-badge", { class: sheet.classes.SuccessBadge, type: "success", pill: true }, text.statusTextActive),
370
+ h("p", { class: sheet.classes.SubduedText }, intl.formatMessage({
350
371
  id: `badgeTextSubmittedOn`,
351
372
  defaultMessage: states.documentType === "W9"
352
373
  ? text.badgeTextSubmittedOn
@@ -355,8 +376,8 @@ export const TaxAndCashDashboardView = (props) => {
355
376
  dateSubmitted: states.dateSubmitted,
356
377
  })))),
357
378
  INACTIVE: (h("div", { class: sheet.classes.TaxFormDetailsContainer },
358
- h("sl-badge", { type: "danger", pill: true }, text.statusTextNotActive),
359
- h("p", null, text.invalidForm))),
379
+ h("sl-badge", { class: sheet.classes.ErrorBadge, type: "danger", pill: true }, text.statusTextNotActive),
380
+ h("p", { class: sheet.classes.SubduedText }, text.invalidForm))),
360
381
  undefined: (h("div", { class: sheet.classes.TaxFormDetailsContainer },
361
382
  h("sl-badge", { type: "danger", pill: true }, text.statusTextRequired),
362
383
  h("p", null, intl.formatMessage({
@@ -420,10 +441,9 @@ export const TaxAndCashDashboardView = (props) => {
420
441
  h("div", null,
421
442
  h("style", { type: "text/css" },
422
443
  styleString,
423
- " ",
424
444
  vanillaStyle),
425
445
  states.loadingError && (h("div", null,
426
- h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true },
446
+ h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet.classes.ErrorAlertContainer },
427
447
  h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
428
448
  h("strong", null, text.error.loadingErrorAlertHeader),
429
449
  h("br", null),
@@ -443,7 +463,7 @@ export const TaxAndCashDashboardView = (props) => {
443
463
  }, {
444
464
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
445
465
  }))),
446
- alertInfo && (h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", name: alertInfo === null || alertInfo === void 0 ? void 0 : alertInfo.alertType, open: true, class: alertInfo === null || alertInfo === void 0 ? void 0 : alertInfo.class },
466
+ alertInfo && (h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: alertInfo === null || alertInfo === void 0 ? void 0 : alertInfo.alertType, name: alertInfo === null || alertInfo === void 0 ? void 0 : alertInfo.alertType, open: true, class: alertInfo === null || alertInfo === void 0 ? void 0 : alertInfo.class },
447
467
  h("sl-icon", { slot: "icon", name: alertInfo === null || alertInfo === void 0 ? void 0 : alertInfo.icon }),
448
468
  h("strong", null, alertInfo.header),
449
469
  h("p", { style: { margin: "0" } }, alertInfo.description),
@@ -2,7 +2,6 @@ import { isDemo } from "@saasquatch/component-boilerplate";
2
2
  import { withHooks } from "@saasquatch/stencil-hooks";
3
3
  import { Component, h, Host, Prop } from "@stencil/core";
4
4
  import deepmerge from "deepmerge";
5
- import { parseStates } from "../../../utils/parseStates";
6
5
  import { getProps } from "../../../utils/utils";
7
6
  import { TaxAndCashDashboardView } from "./sqm-tax-and-cash-dashboard-view";
8
7
  import { useTaxAndCashDashboard, } from "./useTaxAndCashDashboard";
@@ -1901,7 +1900,6 @@ export class TaxAndCashDashboard {
1901
1900
  }; }
1902
1901
  }
1903
1902
  function useDemoTaxAndCashDashboard(props) {
1904
- const stateController = parseStates(props.stateController);
1905
1903
  // @ts-ignore
1906
1904
  return deepmerge({
1907
1905
  states: {
@@ -1943,5 +1941,5 @@ function useDemoTaxAndCashDashboard(props) {
1943
1941
  },
1944
1942
  } })),
1945
1943
  },
1946
- }, stateController || props.demoData || {}, { arrayMerge: (_, a) => a });
1944
+ }, props.demoData || props.stateController || {}, { arrayMerge: (_, a) => a });
1947
1945
  }
@@ -14,7 +14,6 @@ import { l as luxon } from './luxon-bbf75a9d.js';
14
14
  import { g as generateUserError } from './useReferralTable-909ccb28.js';
15
15
  import { a as INDIRECT_TAX_SPAIN_REGIONS, b as INDIRECT_TAX_PROVINCES, O as OtherRegionSlotView, I as InvoiceTableView, v as vatLabels, A as ADDRESS_REGIONS } from './IndirectTaxDetailsView-0a57b622.js';
16
16
  import { t as taxTypeToName, v as validTaxDocument, g as getCountryObj, L as LoadingView, f as formatErrorMessage, a as validateBillingField, o as objectIsFull } from './utils-6122971b.js';
17
- import { p as parseStates } from './parseStates-ed75e224.js';
18
17
  import { i as FORM_STEPS, a as TAX_FORM_CONTEXT_NAMESPACE, S as SORTED_COUNTRIES_NAMESPACE, c as USER_QUERY_NAMESPACE, T as TAX_CONTEXT_NAMESPACE, F as FINANCE_NETWORK_SETTINGS_NAMESPACE, U as USER_FORM_CONTEXT_NAMESPACE, d as COUNTRIES_QUERY_NAMESPACE, C as CURRENCIES_NAMESPACE } from './data-807686c2.js';
19
18
  import { b as VERIFICATION_EVENT_KEY } from './keys-406491dc.js';
20
19
  import { T as TAX_FORM_UPDATED_EVENT_KEY, a as useVeriffApp, g as getStatus, V as VERIFF_COMPLETE_EVENT_KEY } from './usePayoutStatus-42cc6a2c.js';
@@ -3720,9 +3719,6 @@ const style$5 = {
3720
3719
  borderTop: "none",
3721
3720
  maxWidth: "600px",
3722
3721
  },
3723
- "& sl-icon::part(base)": {
3724
- color: "var(--sl-color-warning-500)",
3725
- },
3726
3722
  },
3727
3723
  WarningHoldAlertContainer: {
3728
3724
  marginLeft: "-20px",
@@ -3730,9 +3726,10 @@ const style$5 = {
3730
3726
  maxWidth: "850px",
3731
3727
  border: "none",
3732
3728
  backgroundColor: "transparent",
3729
+ color: "var(--sqm-text)",
3733
3730
  },
3734
3731
  "& sl-icon::part(base)": {
3735
- color: "var(--sl-color-warning-500)",
3732
+ color: "var(--sqm-warning-color-icon)",
3736
3733
  },
3737
3734
  },
3738
3735
  ErrorHoldAlertContainer: {
@@ -3741,9 +3738,7 @@ const style$5 = {
3741
3738
  maxWidth: "850px",
3742
3739
  border: "none",
3743
3740
  backgroundColor: "transparent",
3744
- },
3745
- "& sl-icon::part(base)": {
3746
- color: "var(--sl-color-danger-500)",
3741
+ color: "var(--sqm-text)",
3747
3742
  },
3748
3743
  },
3749
3744
  ExpiringSoonAlertContainer: {
@@ -3766,7 +3761,7 @@ const style$5 = {
3766
3761
  display: "flex",
3767
3762
  gap: "var(--sl-spacing-x-small)",
3768
3763
  "&::part(base)": {
3769
- color: "var(--sl-color-green-500)",
3764
+ color: "var(--sqm-text)",
3770
3765
  },
3771
3766
  },
3772
3767
  IndirectTaxPreviewDetails: {
@@ -3775,6 +3770,7 @@ const style$5 = {
3775
3770
  flexDirection: "column",
3776
3771
  lineHeight: "var(--sl-spacing-medium)",
3777
3772
  fontSize: "var(--sl-font-size-small)",
3773
+ color: "var(--sqm-text-subdued)",
3778
3774
  },
3779
3775
  InvoiceTableContainer: {
3780
3776
  marginTop: "var(--sl-spacing-medium)",
@@ -3894,6 +3890,30 @@ const style$5 = {
3894
3890
  },
3895
3891
  },
3896
3892
  DialogButton: { margin: "auto", width: "100%" },
3893
+ SuccessBadge: {
3894
+ "&::part(base)": {
3895
+ textAlign: "center",
3896
+ whiteSpace: "pre-line",
3897
+ background: "var(--sqm-success-color-icon)",
3898
+ },
3899
+ },
3900
+ WarningBadge: {
3901
+ "&::part(base)": {
3902
+ textAlign: "center",
3903
+ whiteSpace: "pre-line",
3904
+ background: "var(--sqm-warning-color-icon)",
3905
+ },
3906
+ },
3907
+ ErrorBadge: {
3908
+ "&::part(base)": {
3909
+ textAlign: "center",
3910
+ whiteSpace: "pre-line",
3911
+ background: "var(--sqm-danger-color-icon)",
3912
+ },
3913
+ },
3914
+ SubduedText: {
3915
+ color: "var(--sqm-text-subdued)",
3916
+ },
3897
3917
  };
3898
3918
  const sheet$4 = createStyleSheet(style$5);
3899
3919
  const styleString$4 = sheet$4.toString();
@@ -4002,7 +4022,7 @@ const TaxAndCashDashboardView = (props) => {
4002
4022
  }, {
4003
4023
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
4004
4024
  }),
4005
- alertType: "error",
4025
+ alertType: "danger",
4006
4026
  icon: "exclamation-octagon",
4007
4027
  class: sheet$4.classes.ErrorHoldAlertContainer,
4008
4028
  };
@@ -4040,16 +4060,16 @@ const TaxAndCashDashboardView = (props) => {
4040
4060
  }
4041
4061
  const statusMap = {
4042
4062
  NOT_VERIFIED: (h("div", { class: sheet$4.classes.TaxFormDetailsContainer },
4043
- h("sl-badge", { type: "warning", pill: true }, text.statusTextNotVerified),
4044
- h("p", null, intl.formatMessage({
4063
+ h("sl-badge", { class: sheet$4.classes.WarningBadge, type: "warning", pill: true }, text.statusTextNotVerified),
4064
+ h("p", { class: sheet$4.classes.SubduedText }, intl.formatMessage({
4045
4065
  id: `badgeTextAwaitingReview`,
4046
4066
  defaultMessage: text.badgeTextAwaitingReview,
4047
4067
  }, {
4048
4068
  dateSubmitted: states.dateSubmitted,
4049
4069
  })))),
4050
4070
  ACTIVE: (h("div", { class: sheet$4.classes.TaxFormDetailsContainer },
4051
- h("sl-badge", { type: "success", pill: true }, text.statusTextActive),
4052
- h("p", null, intl.formatMessage({
4071
+ h("sl-badge", { class: sheet$4.classes.SuccessBadge, type: "success", pill: true }, text.statusTextActive),
4072
+ h("p", { class: sheet$4.classes.SubduedText }, intl.formatMessage({
4053
4073
  id: `badgeTextSubmittedOn`,
4054
4074
  defaultMessage: states.documentType === "W9"
4055
4075
  ? text.badgeTextSubmittedOn
@@ -4058,8 +4078,8 @@ const TaxAndCashDashboardView = (props) => {
4058
4078
  dateSubmitted: states.dateSubmitted,
4059
4079
  })))),
4060
4080
  INACTIVE: (h("div", { class: sheet$4.classes.TaxFormDetailsContainer },
4061
- h("sl-badge", { type: "danger", pill: true }, text.statusTextNotActive),
4062
- h("p", null, text.invalidForm))),
4081
+ h("sl-badge", { class: sheet$4.classes.ErrorBadge, type: "danger", pill: true }, text.statusTextNotActive),
4082
+ h("p", { class: sheet$4.classes.SubduedText }, text.invalidForm))),
4063
4083
  undefined: (h("div", { class: sheet$4.classes.TaxFormDetailsContainer },
4064
4084
  h("sl-badge", { type: "danger", pill: true }, text.statusTextRequired),
4065
4085
  h("p", null, intl.formatMessage({
@@ -4123,10 +4143,9 @@ const TaxAndCashDashboardView = (props) => {
4123
4143
  h("div", null,
4124
4144
  h("style", { type: "text/css" },
4125
4145
  styleString$4,
4126
- " ",
4127
4146
  vanillaStyle$3),
4128
4147
  states.loadingError && (h("div", null,
4129
- h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true },
4148
+ h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$4.classes.ErrorAlertContainer },
4130
4149
  h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
4131
4150
  h("strong", null, text.error.loadingErrorAlertHeader),
4132
4151
  h("br", null),
@@ -4146,7 +4165,7 @@ const TaxAndCashDashboardView = (props) => {
4146
4165
  }, {
4147
4166
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
4148
4167
  }))),
4149
- alertInfo && (h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", name: alertInfo === null || alertInfo === void 0 ? void 0 : alertInfo.alertType, open: true, class: alertInfo === null || alertInfo === void 0 ? void 0 : alertInfo.class },
4168
+ alertInfo && (h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: alertInfo === null || alertInfo === void 0 ? void 0 : alertInfo.alertType, name: alertInfo === null || alertInfo === void 0 ? void 0 : alertInfo.alertType, open: true, class: alertInfo === null || alertInfo === void 0 ? void 0 : alertInfo.class },
4150
4169
  h("sl-icon", { slot: "icon", name: alertInfo === null || alertInfo === void 0 ? void 0 : alertInfo.icon }),
4151
4170
  h("strong", null, alertInfo.header),
4152
4171
  h("p", { style: { margin: "0" } }, alertInfo.description),
@@ -4713,7 +4732,6 @@ const TaxAndCashDashboard = class {
4713
4732
  }
4714
4733
  };
4715
4734
  function useDemoTaxAndCashDashboard(props) {
4716
- const stateController = parseStates(props.stateController);
4717
4735
  // @ts-ignore
4718
4736
  return cjs({
4719
4737
  states: {
@@ -4755,7 +4773,7 @@ function useDemoTaxAndCashDashboard(props) {
4755
4773
  },
4756
4774
  } })),
4757
4775
  },
4758
- }, stateController || props.demoData || {}, { arrayMerge: (_, a) => a });
4776
+ }, props.demoData || props.stateController || {}, { arrayMerge: (_, a) => a });
4759
4777
  }
4760
4778
 
4761
4779
  const PHONE_EXTENSIONS = {