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

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",
@@ -3736,7 +3732,7 @@ const style$5 = {
3736
3732
  backgroundColor: "transparent",
3737
3733
  },
3738
3734
  "& sl-icon::part(base)": {
3739
- color: "var(--sl-color-warning-500)",
3735
+ color: "var(--sqm-warning-color-icon)",
3740
3736
  },
3741
3737
  },
3742
3738
  ErrorHoldAlertContainer: {
@@ -3746,9 +3742,6 @@ const style$5 = {
3746
3742
  border: "none",
3747
3743
  backgroundColor: "transparent",
3748
3744
  },
3749
- "& sl-icon::part(base)": {
3750
- color: "var(--sl-color-danger-500)",
3751
- },
3752
3745
  },
3753
3746
  ExpiringSoonAlertContainer: {
3754
3747
  "&::part(base)": {
@@ -3898,6 +3891,27 @@ const style$5 = {
3898
3891
  },
3899
3892
  },
3900
3893
  DialogButton: { margin: "auto", width: "100%" },
3894
+ SuccessBadge: {
3895
+ "&::part(base)": {
3896
+ textAlign: "center",
3897
+ whiteSpace: "pre-line",
3898
+ background: "var(--sqm-success-color-icon)",
3899
+ },
3900
+ },
3901
+ WarningBadge: {
3902
+ "&::part(base)": {
3903
+ textAlign: "center",
3904
+ whiteSpace: "pre-line",
3905
+ background: "var(--sqm-warning-color-icon)",
3906
+ },
3907
+ },
3908
+ ErrorBadge: {
3909
+ "&::part(base)": {
3910
+ textAlign: "center",
3911
+ whiteSpace: "pre-line",
3912
+ background: "var(--sqm-danger-color-icon)",
3913
+ },
3914
+ },
3901
3915
  };
3902
3916
  const sheet$4 = JSS.createStyleSheet(style$5);
3903
3917
  const styleString$4 = sheet$4.toString();
@@ -4006,7 +4020,7 @@ const TaxAndCashDashboardView = (props) => {
4006
4020
  }, {
4007
4021
  supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
4008
4022
  }),
4009
- alertType: "error",
4023
+ alertType: "danger",
4010
4024
  icon: "exclamation-octagon",
4011
4025
  class: sheet$4.classes.ErrorHoldAlertContainer,
4012
4026
  };
@@ -4044,7 +4058,7 @@ const TaxAndCashDashboardView = (props) => {
4044
4058
  }
4045
4059
  const statusMap = {
4046
4060
  NOT_VERIFIED: (index.h("div", { class: sheet$4.classes.TaxFormDetailsContainer },
4047
- index.h("sl-badge", { type: "warning", pill: true }, text.statusTextNotVerified),
4061
+ index.h("sl-badge", { class: sheet$4.classes.WarningBadge, type: "warning", pill: true }, text.statusTextNotVerified),
4048
4062
  index.h("p", null, global.intl.formatMessage({
4049
4063
  id: `badgeTextAwaitingReview`,
4050
4064
  defaultMessage: text.badgeTextAwaitingReview,
@@ -4052,7 +4066,7 @@ const TaxAndCashDashboardView = (props) => {
4052
4066
  dateSubmitted: states.dateSubmitted,
4053
4067
  })))),
4054
4068
  ACTIVE: (index.h("div", { class: sheet$4.classes.TaxFormDetailsContainer },
4055
- index.h("sl-badge", { type: "success", pill: true }, text.statusTextActive),
4069
+ index.h("sl-badge", { class: sheet$4.classes.SuccessBadge, type: "success", pill: true }, text.statusTextActive),
4056
4070
  index.h("p", null, global.intl.formatMessage({
4057
4071
  id: `badgeTextSubmittedOn`,
4058
4072
  defaultMessage: states.documentType === "W9"
@@ -4062,7 +4076,7 @@ const TaxAndCashDashboardView = (props) => {
4062
4076
  dateSubmitted: states.dateSubmitted,
4063
4077
  })))),
4064
4078
  INACTIVE: (index.h("div", { class: sheet$4.classes.TaxFormDetailsContainer },
4065
- index.h("sl-badge", { type: "danger", pill: true }, text.statusTextNotActive),
4079
+ index.h("sl-badge", { class: sheet$4.classes.ErrorBadge, type: "danger", pill: true }, text.statusTextNotActive),
4066
4080
  index.h("p", null, text.invalidForm))),
4067
4081
  undefined: (index.h("div", { class: sheet$4.classes.TaxFormDetailsContainer },
4068
4082
  index.h("sl-badge", { type: "danger", pill: true }, text.statusTextRequired),
@@ -4127,10 +4141,9 @@ const TaxAndCashDashboardView = (props) => {
4127
4141
  index.h("div", null,
4128
4142
  index.h("style", { type: "text/css" },
4129
4143
  styleString$4,
4130
- " ",
4131
4144
  vanillaStyle$3),
4132
4145
  states.loadingError && (index.h("div", null,
4133
- index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true },
4146
+ index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$4.classes.ErrorAlertContainer },
4134
4147
  index.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
4135
4148
  index.h("strong", null, text.error.loadingErrorAlertHeader),
4136
4149
  index.h("br", null),
@@ -4150,7 +4163,7 @@ const TaxAndCashDashboardView = (props) => {
4150
4163
  }, {
4151
4164
  supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
4152
4165
  }))),
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 },
4166
+ 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
4167
  index.h("sl-icon", { slot: "icon", name: alertInfo === null || alertInfo === void 0 ? void 0 : alertInfo.icon }),
4155
4168
  index.h("strong", null, alertInfo.header),
4156
4169
  index.h("p", { style: { margin: "0" } }, alertInfo.description),
@@ -4717,7 +4730,6 @@ const TaxAndCashDashboard = class {
4717
4730
  }
4718
4731
  };
4719
4732
  function useDemoTaxAndCashDashboard(props) {
4720
- const stateController = parseStates.parseStates(props.stateController);
4721
4733
  // @ts-ignore
4722
4734
  return cjs.cjs({
4723
4735
  states: {
@@ -4759,7 +4771,7 @@ function useDemoTaxAndCashDashboard(props) {
4759
4771
  },
4760
4772
  } })),
4761
4773
  },
4762
- }, stateController || props.demoData || {}, { arrayMerge: (_, a) => a });
4774
+ }, props.demoData || props.stateController || {}, { arrayMerge: (_, a) => a });
4763
4775
  }
4764
4776
 
4765
4777
  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",
@@ -29,7 +26,7 @@ const style = {
29
26
  backgroundColor: "transparent",
30
27
  },
31
28
  "& sl-icon::part(base)": {
32
- color: "var(--sl-color-warning-500)",
29
+ color: "var(--sqm-warning-color-icon)",
33
30
  },
34
31
  },
35
32
  ErrorHoldAlertContainer: {
@@ -39,9 +36,6 @@ const style = {
39
36
  border: "none",
40
37
  backgroundColor: "transparent",
41
38
  },
42
- "& sl-icon::part(base)": {
43
- color: "var(--sl-color-danger-500)",
44
- },
45
39
  },
46
40
  ExpiringSoonAlertContainer: {
47
41
  "&::part(base)": {
@@ -191,6 +185,27 @@ const style = {
191
185
  },
192
186
  },
193
187
  DialogButton: { margin: "auto", width: "100%" },
188
+ SuccessBadge: {
189
+ "&::part(base)": {
190
+ textAlign: "center",
191
+ whiteSpace: "pre-line",
192
+ background: "var(--sqm-success-color-icon)",
193
+ },
194
+ },
195
+ WarningBadge: {
196
+ "&::part(base)": {
197
+ textAlign: "center",
198
+ whiteSpace: "pre-line",
199
+ background: "var(--sqm-warning-color-icon)",
200
+ },
201
+ },
202
+ ErrorBadge: {
203
+ "&::part(base)": {
204
+ textAlign: "center",
205
+ whiteSpace: "pre-line",
206
+ background: "var(--sqm-danger-color-icon)",
207
+ },
208
+ },
194
209
  };
195
210
  const sheet = createStyleSheet(style);
196
211
  const styleString = sheet.toString();
@@ -299,7 +314,7 @@ export const TaxAndCashDashboardView = (props) => {
299
314
  }, {
300
315
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
301
316
  }),
302
- alertType: "error",
317
+ alertType: "danger",
303
318
  icon: "exclamation-octagon",
304
319
  class: sheet.classes.ErrorHoldAlertContainer,
305
320
  };
@@ -337,7 +352,7 @@ export const TaxAndCashDashboardView = (props) => {
337
352
  }
338
353
  const statusMap = {
339
354
  NOT_VERIFIED: (h("div", { class: sheet.classes.TaxFormDetailsContainer },
340
- h("sl-badge", { type: "warning", pill: true }, text.statusTextNotVerified),
355
+ h("sl-badge", { class: sheet.classes.WarningBadge, type: "warning", pill: true }, text.statusTextNotVerified),
341
356
  h("p", null, intl.formatMessage({
342
357
  id: `badgeTextAwaitingReview`,
343
358
  defaultMessage: text.badgeTextAwaitingReview,
@@ -345,7 +360,7 @@ export const TaxAndCashDashboardView = (props) => {
345
360
  dateSubmitted: states.dateSubmitted,
346
361
  })))),
347
362
  ACTIVE: (h("div", { class: sheet.classes.TaxFormDetailsContainer },
348
- h("sl-badge", { type: "success", pill: true }, text.statusTextActive),
363
+ h("sl-badge", { class: sheet.classes.SuccessBadge, type: "success", pill: true }, text.statusTextActive),
349
364
  h("p", null, intl.formatMessage({
350
365
  id: `badgeTextSubmittedOn`,
351
366
  defaultMessage: states.documentType === "W9"
@@ -355,7 +370,7 @@ export const TaxAndCashDashboardView = (props) => {
355
370
  dateSubmitted: states.dateSubmitted,
356
371
  })))),
357
372
  INACTIVE: (h("div", { class: sheet.classes.TaxFormDetailsContainer },
358
- h("sl-badge", { type: "danger", pill: true }, text.statusTextNotActive),
373
+ h("sl-badge", { class: sheet.classes.ErrorBadge, type: "danger", pill: true }, text.statusTextNotActive),
359
374
  h("p", null, text.invalidForm))),
360
375
  undefined: (h("div", { class: sheet.classes.TaxFormDetailsContainer },
361
376
  h("sl-badge", { type: "danger", pill: true }, text.statusTextRequired),
@@ -420,10 +435,9 @@ export const TaxAndCashDashboardView = (props) => {
420
435
  h("div", null,
421
436
  h("style", { type: "text/css" },
422
437
  styleString,
423
- " ",
424
438
  vanillaStyle),
425
439
  states.loadingError && (h("div", null,
426
- h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true },
440
+ h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet.classes.ErrorAlertContainer },
427
441
  h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
428
442
  h("strong", null, text.error.loadingErrorAlertHeader),
429
443
  h("br", null),
@@ -443,7 +457,7 @@ export const TaxAndCashDashboardView = (props) => {
443
457
  }, {
444
458
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
445
459
  }))),
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 },
460
+ 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
461
  h("sl-icon", { slot: "icon", name: alertInfo === null || alertInfo === void 0 ? void 0 : alertInfo.icon }),
448
462
  h("strong", null, alertInfo.header),
449
463
  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",
@@ -3732,7 +3728,7 @@ const style$5 = {
3732
3728
  backgroundColor: "transparent",
3733
3729
  },
3734
3730
  "& sl-icon::part(base)": {
3735
- color: "var(--sl-color-warning-500)",
3731
+ color: "var(--sqm-warning-color-icon)",
3736
3732
  },
3737
3733
  },
3738
3734
  ErrorHoldAlertContainer: {
@@ -3742,9 +3738,6 @@ const style$5 = {
3742
3738
  border: "none",
3743
3739
  backgroundColor: "transparent",
3744
3740
  },
3745
- "& sl-icon::part(base)": {
3746
- color: "var(--sl-color-danger-500)",
3747
- },
3748
3741
  },
3749
3742
  ExpiringSoonAlertContainer: {
3750
3743
  "&::part(base)": {
@@ -3894,6 +3887,27 @@ const style$5 = {
3894
3887
  },
3895
3888
  },
3896
3889
  DialogButton: { margin: "auto", width: "100%" },
3890
+ SuccessBadge: {
3891
+ "&::part(base)": {
3892
+ textAlign: "center",
3893
+ whiteSpace: "pre-line",
3894
+ background: "var(--sqm-success-color-icon)",
3895
+ },
3896
+ },
3897
+ WarningBadge: {
3898
+ "&::part(base)": {
3899
+ textAlign: "center",
3900
+ whiteSpace: "pre-line",
3901
+ background: "var(--sqm-warning-color-icon)",
3902
+ },
3903
+ },
3904
+ ErrorBadge: {
3905
+ "&::part(base)": {
3906
+ textAlign: "center",
3907
+ whiteSpace: "pre-line",
3908
+ background: "var(--sqm-danger-color-icon)",
3909
+ },
3910
+ },
3897
3911
  };
3898
3912
  const sheet$4 = createStyleSheet(style$5);
3899
3913
  const styleString$4 = sheet$4.toString();
@@ -4002,7 +4016,7 @@ const TaxAndCashDashboardView = (props) => {
4002
4016
  }, {
4003
4017
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
4004
4018
  }),
4005
- alertType: "error",
4019
+ alertType: "danger",
4006
4020
  icon: "exclamation-octagon",
4007
4021
  class: sheet$4.classes.ErrorHoldAlertContainer,
4008
4022
  };
@@ -4040,7 +4054,7 @@ const TaxAndCashDashboardView = (props) => {
4040
4054
  }
4041
4055
  const statusMap = {
4042
4056
  NOT_VERIFIED: (h("div", { class: sheet$4.classes.TaxFormDetailsContainer },
4043
- h("sl-badge", { type: "warning", pill: true }, text.statusTextNotVerified),
4057
+ h("sl-badge", { class: sheet$4.classes.WarningBadge, type: "warning", pill: true }, text.statusTextNotVerified),
4044
4058
  h("p", null, intl.formatMessage({
4045
4059
  id: `badgeTextAwaitingReview`,
4046
4060
  defaultMessage: text.badgeTextAwaitingReview,
@@ -4048,7 +4062,7 @@ const TaxAndCashDashboardView = (props) => {
4048
4062
  dateSubmitted: states.dateSubmitted,
4049
4063
  })))),
4050
4064
  ACTIVE: (h("div", { class: sheet$4.classes.TaxFormDetailsContainer },
4051
- h("sl-badge", { type: "success", pill: true }, text.statusTextActive),
4065
+ h("sl-badge", { class: sheet$4.classes.SuccessBadge, type: "success", pill: true }, text.statusTextActive),
4052
4066
  h("p", null, intl.formatMessage({
4053
4067
  id: `badgeTextSubmittedOn`,
4054
4068
  defaultMessage: states.documentType === "W9"
@@ -4058,7 +4072,7 @@ const TaxAndCashDashboardView = (props) => {
4058
4072
  dateSubmitted: states.dateSubmitted,
4059
4073
  })))),
4060
4074
  INACTIVE: (h("div", { class: sheet$4.classes.TaxFormDetailsContainer },
4061
- h("sl-badge", { type: "danger", pill: true }, text.statusTextNotActive),
4075
+ h("sl-badge", { class: sheet$4.classes.ErrorBadge, type: "danger", pill: true }, text.statusTextNotActive),
4062
4076
  h("p", null, text.invalidForm))),
4063
4077
  undefined: (h("div", { class: sheet$4.classes.TaxFormDetailsContainer },
4064
4078
  h("sl-badge", { type: "danger", pill: true }, text.statusTextRequired),
@@ -4123,10 +4137,9 @@ const TaxAndCashDashboardView = (props) => {
4123
4137
  h("div", null,
4124
4138
  h("style", { type: "text/css" },
4125
4139
  styleString$4,
4126
- " ",
4127
4140
  vanillaStyle$3),
4128
4141
  states.loadingError && (h("div", null,
4129
- h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true },
4142
+ h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$4.classes.ErrorAlertContainer },
4130
4143
  h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
4131
4144
  h("strong", null, text.error.loadingErrorAlertHeader),
4132
4145
  h("br", null),
@@ -4146,7 +4159,7 @@ const TaxAndCashDashboardView = (props) => {
4146
4159
  }, {
4147
4160
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
4148
4161
  }))),
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 },
4162
+ 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
4163
  h("sl-icon", { slot: "icon", name: alertInfo === null || alertInfo === void 0 ? void 0 : alertInfo.icon }),
4151
4164
  h("strong", null, alertInfo.header),
4152
4165
  h("p", { style: { margin: "0" } }, alertInfo.description),
@@ -4713,7 +4726,6 @@ const TaxAndCashDashboard = class {
4713
4726
  }
4714
4727
  };
4715
4728
  function useDemoTaxAndCashDashboard(props) {
4716
- const stateController = parseStates(props.stateController);
4717
4729
  // @ts-ignore
4718
4730
  return cjs({
4719
4731
  states: {
@@ -4755,7 +4767,7 @@ function useDemoTaxAndCashDashboard(props) {
4755
4767
  },
4756
4768
  } })),
4757
4769
  },
4758
- }, stateController || props.demoData || {}, { arrayMerge: (_, a) => a });
4770
+ }, props.demoData || props.stateController || {}, { arrayMerge: (_, a) => a });
4759
4771
  }
4760
4772
 
4761
4773
  const PHONE_EXTENSIONS = {