@mxenabled/mxui 1.5.13 → 1.5.14

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.
package/dist/index.es.js CHANGED
@@ -24,8 +24,8 @@ import { usePickerLayout as Ee, PickersLayoutRoot as Se, PickersLayoutContentWra
24
24
  import J from "@mui/material/Slide";
25
25
  import V from "@mui/material/Button";
26
26
  import q from "@mui/material/IconButton";
27
- import ye from "@mui/material/Typography";
28
- import ve from "@mui/material/Drawer";
27
+ import ve from "@mui/material/Typography";
28
+ import ye from "@mui/material/Drawer";
29
29
  import He from "@mui/material/Snackbar";
30
30
  import Le from "@mui/material/Alert";
31
31
  import { light as ee, buildTheme as G, dark as Fe } from "@mxenabled/design-tokens";
@@ -58,7 +58,7 @@ const R = ({
58
58
  name: i,
59
59
  size: l = 20,
60
60
  sx: c,
61
- weight: t = 300,
61
+ weight: r = 300,
62
62
  ...n
63
63
  }) => /* @__PURE__ */ a(
64
64
  se,
@@ -68,7 +68,7 @@ const R = ({
68
68
  name: i,
69
69
  size: l,
70
70
  sx: c,
71
- weight: t,
71
+ weight: r,
72
72
  ...n
73
73
  }
74
74
  ), w0 = ({
@@ -397,10 +397,10 @@ const oe = {
397
397
  sx: l = {},
398
398
  variant: c = "filled"
399
399
  }) => {
400
- const t = H(), n = x.useMemo(
400
+ const r = H(), n = x.useMemo(
401
401
  () => Be.find((m) => m.guid === e) ?? oe,
402
402
  [e]
403
- ), s = t.palette.categories[n.colorName];
403
+ ), s = r.palette.categories[n.colorName];
404
404
  return /* @__PURE__ */ a(
405
405
  I,
406
406
  {
@@ -411,8 +411,8 @@ const oe = {
411
411
  },
412
412
  borderRadius: 1,
413
413
  color: () => {
414
- const m = c === "filled" ? t.palette.common.white : s;
415
- return c === "basic" ? t.palette.text.primary : m;
414
+ const m = c === "filled" ? r.palette.common.white : s;
415
+ return c === "basic" ? r.palette.text.primary : m;
416
416
  },
417
417
  height: i,
418
418
  justifyContent: "center",
@@ -427,7 +427,7 @@ const oe = {
427
427
  isValid: i,
428
428
  selected: l
429
429
  }) => {
430
- const c = H(), t = e?.map((n) => {
430
+ const c = H(), r = e?.map((n) => {
431
431
  const s = n.getValue({ isValid: i });
432
432
  return {
433
433
  label: n.label,
@@ -437,7 +437,7 @@ const oe = {
437
437
  disabled: !i(s)
438
438
  };
439
439
  });
440
- return /* @__PURE__ */ a(j, { sx: { gridColumn: 1, gridRow: "2/3", ml: 4, mt: 24, mr: 32 }, children: /* @__PURE__ */ a(Ae, { color: "primary", orientation: "vertical", value: l, children: t?.map((n) => /* @__PURE__ */ a(
440
+ return /* @__PURE__ */ a(j, { sx: { gridColumn: 1, gridRow: "2/3", ml: 4, mt: 24, mr: 32 }, children: /* @__PURE__ */ a(Ae, { color: "primary", orientation: "vertical", value: l, children: r?.map((n) => /* @__PURE__ */ a(
441
441
  Re,
442
442
  {
443
443
  onClick: n.onClick,
@@ -472,7 +472,7 @@ const oe = {
472
472
  selected: l,
473
473
  selectLabel: c
474
474
  }) => {
475
- const t = e?.map((n) => {
475
+ const r = e?.map((n) => {
476
476
  const s = n.getValue({ isValid: i });
477
477
  return {
478
478
  label: n.label,
@@ -496,7 +496,7 @@ const oe = {
496
496
  sx: { width: "100%" },
497
497
  value: l,
498
498
  variant: "outlined",
499
- children: t?.map((n) => /* @__PURE__ */ a(Me, { onClick: n.onClick, value: n.label, children: n.label }, n.label))
499
+ children: r?.map((n) => /* @__PURE__ */ a(Me, { onClick: n.onClick, value: n.label, children: n.label }, n.label))
500
500
  }
501
501
  ) });
502
502
  }, Ue = (e) => {
@@ -535,12 +535,12 @@ const oe = {
535
535
  selectedShortcut: l = e.dateRangeThisMonth,
536
536
  sx: c = {}
537
537
  }) => {
538
- const t = H(), n = fe(t.breakpoints.down("sm")), s = x.useMemo(() => {
539
- const r = he(), m = ge(r, 1), C = me(r, 1);
538
+ const r = H(), n = fe(r.breakpoints.down("sm")), s = x.useMemo(() => {
539
+ const t = he(), m = ge(t, 1), C = me(t, 1);
540
540
  return [
541
541
  {
542
542
  label: e.dateRangeThisMonth,
543
- getValue: () => [Z(r), W(r)]
543
+ getValue: () => [Z(t), W(t)]
544
544
  },
545
545
  {
546
546
  label: e.dateRangeLastMonth,
@@ -548,15 +548,15 @@ const oe = {
548
548
  },
549
549
  {
550
550
  label: e.dateRangeLast30Days,
551
- getValue: () => [Y(r, 30), r]
551
+ getValue: () => [Y(t, 30), t]
552
552
  },
553
553
  {
554
554
  label: e.dateRangeLast90Days,
555
- getValue: () => [Y(r, 90), r]
555
+ getValue: () => [Y(t, 90), t]
556
556
  },
557
557
  {
558
558
  label: e.dateRangeYTD,
559
- getValue: () => [K(r), r]
559
+ getValue: () => [K(t), t]
560
560
  },
561
561
  {
562
562
  label: e.dateRangeLastYear,
@@ -564,12 +564,12 @@ const oe = {
564
564
  },
565
565
  {
566
566
  label: e.dateRangeCustom,
567
- getValue: () => [r, r]
567
+ getValue: () => [t, t]
568
568
  }
569
569
  ];
570
- }, [e]), d = (r, m) => {
570
+ }, [e]), d = (t, m) => {
571
571
  const C = m.shortcut;
572
- i?.(r, C ? C.label : e.dateRangeCustom);
572
+ i?.(t, C ? C.label : e.dateRangeCustom);
573
573
  };
574
574
  return /* @__PURE__ */ a(I, { gap: n ? 0 : 16, m: n ? 0 : 8, children: /* @__PURE__ */ a(be, { dateAdapter: Ce, children: /* @__PURE__ */ a(
575
575
  Te,
@@ -594,21 +594,21 @@ const oe = {
594
594
  slots: {
595
595
  ...n && { layout: Ue },
596
596
  leftArrowIcon: () => /* @__PURE__ */ a(R, { name: "chevron_left", size: 28 }),
597
- shortcuts: (r) => n ? /* @__PURE__ */ a(
597
+ shortcuts: (t) => n ? /* @__PURE__ */ a(
598
598
  $e,
599
599
  {
600
600
  selectLabel: e.dateRangeSelectARange,
601
601
  selected: l,
602
- ...r
602
+ ...t
603
603
  }
604
- ) : /* @__PURE__ */ a(Ge, { selected: l, ...r }),
604
+ ) : /* @__PURE__ */ a(Ge, { selected: l, ...t }),
605
605
  rightArrowIcon: () => /* @__PURE__ */ a(R, { name: "chevron_right", size: 28 }),
606
606
  ...n && {
607
- toolbar: (r) => /* @__PURE__ */ a(
607
+ toolbar: (t) => /* @__PURE__ */ a(
608
608
  xe,
609
609
  {
610
610
  dateSeparator: "",
611
- ...r,
611
+ ...t,
612
612
  slotProps: {
613
613
  textField: ({ position: m }) => ({
614
614
  label: m === "start" ? e.dateRangeFrom : e.dateRangeTo
@@ -631,7 +631,7 @@ const oe = {
631
631
  onPrimaryAction: i,
632
632
  onSecondaryAction: l,
633
633
  primaryColor: c = "primary",
634
- primaryText: t = "Save",
634
+ primaryText: r = "Save",
635
635
  secondaryColor: n = "primary",
636
636
  secondaryText: s = "Cancel"
637
637
  }) => /* @__PURE__ */ T(
@@ -658,7 +658,7 @@ const oe = {
658
658
  disabled: o,
659
659
  onClick: i,
660
660
  variant: "contained",
661
- children: t
661
+ children: r
662
662
  }
663
663
  )
664
664
  ]
@@ -669,7 +669,7 @@ const oe = {
669
669
  children: i,
670
670
  color: l,
671
671
  sx: c = {},
672
- truncate: t = !0,
672
+ truncate: r = !0,
673
673
  uppercase: n,
674
674
  ...s
675
675
  }) => {
@@ -706,7 +706,7 @@ const oe = {
706
706
  break;
707
707
  }
708
708
  return /* @__PURE__ */ a(
709
- ye,
709
+ ve,
710
710
  {
711
711
  className: `mx-kmui-text ${o}`,
712
712
  color: l,
@@ -714,7 +714,7 @@ const oe = {
714
714
  e ? {
715
715
  fontWeight: 600
716
716
  } : {},
717
- t ? {
717
+ r ? {
718
718
  overflow: "hidden",
719
719
  textOverflow: "ellipsis",
720
720
  whiteSpace: "nowrap"
@@ -728,7 +728,7 @@ const oe = {
728
728
  children: i
729
729
  }
730
730
  );
731
- }, Ze = ({ className: e = "", children: o, ...i }) => /* @__PURE__ */ a(k, { className: `mx-kmui-text h1 ${e}`, component: "h1", variant: "h1", ...i, children: o }), oo = ({ className: e = "", children: o, ...i }) => /* @__PURE__ */ a(k, { className: `mx-kmui-text h2 ${e}`, component: "h2", variant: "h2", ...i, children: o }), to = ({ className: e = "", children: o, ...i }) => /* @__PURE__ */ a(k, { className: `mx-kmui-text h3 ${e}`, component: "h3", variant: "h3", ...i, children: o }), ro = ({ className: e = "", children: o, truncate: i, ...l }) => /* @__PURE__ */ a(
731
+ }, Ze = ({ className: e = "", children: o, ...i }) => /* @__PURE__ */ a(k, { className: `mx-kmui-text h1 ${e}`, component: "h1", variant: "h1", ...i, children: o }), oo = ({ className: e = "", children: o, ...i }) => /* @__PURE__ */ a(k, { className: `mx-kmui-text h2 ${e}`, component: "h2", variant: "h2", ...i, children: o }), ro = ({ className: e = "", children: o, ...i }) => /* @__PURE__ */ a(k, { className: `mx-kmui-text h3 ${e}`, component: "h3", variant: "h3", ...i, children: o }), to = ({ className: e = "", children: o, truncate: i, ...l }) => /* @__PURE__ */ a(
732
732
  k,
733
733
  {
734
734
  className: `mx-kmui-text p ${e}`,
@@ -759,13 +759,13 @@ const oe = {
759
759
  id: i,
760
760
  isOpen: l,
761
761
  onClose: c,
762
- onSave: t,
762
+ onSave: r,
763
763
  primaryText: n,
764
764
  secondaryText: s,
765
765
  children: d,
766
- ...r
766
+ ...t
767
767
  }) => /* @__PURE__ */ T(
768
- ve,
768
+ ye,
769
769
  {
770
770
  anchor: "right",
771
771
  className: `mx-kmui-drawer ${e}`,
@@ -773,14 +773,14 @@ const oe = {
773
773
  onClose: c,
774
774
  open: l,
775
775
  variant: "temporary",
776
- ...r,
776
+ ...t,
777
777
  children: [
778
778
  d,
779
- t && /* @__PURE__ */ a(
779
+ r && /* @__PURE__ */ a(
780
780
  We,
781
781
  {
782
782
  isPrimaryDisabled: o,
783
- onPrimaryAction: t,
783
+ onPrimaryAction: r,
784
784
  onSecondaryAction: c,
785
785
  primaryText: n,
786
786
  secondaryText: s
@@ -788,18 +788,18 @@ const oe = {
788
788
  )
789
789
  ]
790
790
  }
791
- ), te = 32, $ = "https://content.moneydesktop.com/storage/MD_Assets", Ke = `${$}/serenity/default_institution_logo.png`, no = ({
791
+ ), re = 32, $ = "https://content.moneydesktop.com/storage/MD_Assets", Ke = `${$}/serenity/default_institution_logo.png`, no = ({
792
792
  alt: e,
793
793
  institutionGuid: o,
794
794
  logoUrl: i,
795
- size: l = te,
795
+ size: l = re,
796
796
  ...c
797
797
  }) => /* @__PURE__ */ a(
798
798
  "img",
799
799
  {
800
800
  alt: e,
801
801
  height: l,
802
- onError: (t) => t.target.src = Ke,
802
+ onError: (r) => r.target.src = Ke,
803
803
  src: i || `${$}/Ipad%20Logos/100x100/${o}_100x100.png`,
804
804
  style: {
805
805
  borderRadius: 4
@@ -811,12 +811,12 @@ const oe = {
811
811
  alt: e = "",
812
812
  categoryGuid: o,
813
813
  merchantGuid: i,
814
- size: l = te,
814
+ size: l = re,
815
815
  ...c
816
816
  }) => {
817
- const [t, n] = x.useState(!1), s = H();
817
+ const [r, n] = x.useState(!1), s = H();
818
818
  return /* @__PURE__ */ T(j, { display: "inline-block", position: "relative", ...c, children: [
819
- i && !t && /* @__PURE__ */ a(
819
+ i && !r && /* @__PURE__ */ a(
820
820
  "img",
821
821
  {
822
822
  alt: e,
@@ -862,14 +862,14 @@ const so = ({
862
862
  closeAriaLabel: i,
863
863
  message: l,
864
864
  autoHideDuration: c = 3e3,
865
- severity: t = "success",
865
+ severity: r = "success",
866
866
  snackbarSx: n,
867
867
  showAction: s = !1,
868
868
  showClose: d = !1,
869
- actionText: r = "Undo",
869
+ actionText: t = "Undo",
870
870
  onActionClick: m
871
871
  }) => {
872
- const C = H(), O = d && /* @__PURE__ */ a(q, { "aria-label": i, color: "inherit", onClick: o, size: "small", children: /* @__PURE__ */ a(R, { fill: !0, name: "close" }) }), g = `${t}.main`;
872
+ const C = H(), O = d && /* @__PURE__ */ a(q, { "aria-label": i, color: "inherit", onClick: o, size: "small", children: /* @__PURE__ */ a(R, { fill: !0, name: "close" }) }), g = `${r}.main`;
873
873
  return /* @__PURE__ */ a(
874
874
  He,
875
875
  {
@@ -888,7 +888,7 @@ const so = ({
888
888
  Le,
889
889
  {
890
890
  action: O,
891
- severity: t,
891
+ severity: r,
892
892
  sx: {
893
893
  backgroundColor: g,
894
894
  display: "flex",
@@ -943,7 +943,7 @@ const so = ({
943
943
  minWidth: "auto",
944
944
  justifyContent: "flex-start"
945
945
  },
946
- children: r
946
+ children: t
947
947
  }
948
948
  )
949
949
  ]
@@ -960,7 +960,7 @@ const so = ({
960
960
  }, N = {
961
961
  LIGHT: "light",
962
962
  DARK: "dark"
963
- }, re = x.createContext(ee), ie = x.createContext(
963
+ }, te = x.createContext(ee), ie = x.createContext(
964
964
  G(N.LIGHT, F.REACT_NATIVE)
965
965
  ), uo = ({
966
966
  children: e,
@@ -968,15 +968,15 @@ const so = ({
968
968
  theme: i = N.LIGHT,
969
969
  tokenOverrides: l
970
970
  }) => {
971
- const [c, t] = x.useState(i === N.LIGHT ? ee : Fe), n = x.useMemo(() => ({
971
+ const [c, r] = x.useState(i === N.LIGHT ? ee : Fe), n = x.useMemo(() => ({
972
972
  ...l
973
973
  }), [l]);
974
974
  return x.useEffect(() => {
975
975
  const s = G(i, o, { ...n });
976
- t(s);
977
- }, [i, o, n]), o === F.REACT ? /* @__PURE__ */ a(re.Provider, { value: c, children: e }) : (console.warn("DEPRECATED: Use static values instead of tokens"), /* @__PURE__ */ a(ie.Provider, { value: c, children: e }));
976
+ r(s);
977
+ }, [i, o, n]), o === F.REACT ? /* @__PURE__ */ a(te.Provider, { value: c, children: e }) : (console.warn("DEPRECATED: Use static values instead of tokens"), /* @__PURE__ */ a(ie.Provider, { value: c, children: e }));
978
978
  }, po = (e = F.REACT, o = {}) => {
979
- const i = e === F.REACT ? re : ie, l = x.useContext(i);
979
+ const i = e === F.REACT ? te : ie, l = x.useContext(i);
980
980
  return l || G(N.LIGHT, e, { ...o });
981
981
  }, ho = ({
982
982
  component: e = B,
@@ -984,16 +984,16 @@ const so = ({
984
984
  selected: i,
985
985
  onChange: l,
986
986
  headline: c,
987
- message: t,
987
+ message: r,
988
988
  name: n,
989
989
  value: s,
990
990
  disabled: d = !1,
991
- error: r = !1,
991
+ error: t = !1,
992
992
  icon: m = !1,
993
993
  sx: C = {},
994
994
  ...O
995
995
  }) => {
996
- const g = H(), ae = () => g.palette.background.paper, w = () => r ? `inset 0px 0px 0px 2px ${g.palette.error.main}` : d ? i ? `inset 0px 0px 0px 2px ${g.palette.action.disabled}` : o === "outlined" ? `inset 0px 0px 0px 1px ${g.palette.action.disabledBackground}` : `inset 0px 0px 0px 1px ${g.palette.action.disabled}` : o === "outlined" ? i ? `inset 0px 0px 0px 2px ${b(g.palette.primary.main, 0.5)}` : `inset 0px 0px 0px 1px ${b(g.palette.common.black, 0.23)}` : i ? `inset 0px 0px 0px 2px ${b(g.palette.primary.main, 0.5)}` : g.shadows[1], ne = () => d || r ? g.palette.background.paper : b(g.palette.primary.main, 0.1), le = () => d || r ? w() : o === "outlined" ? i ? `inset 0px 0px 0px 2px ${b(g.palette.primary.main, 0.5)}` : `inset 0px 0px 0px 1px ${b(g.palette.primary.main, 0.5)}` : w(), ce = () => d || r ? g.palette.background.paper : b(g.palette.primary.main, 0.3);
996
+ const g = H(), ae = () => g.palette.background.paper, w = () => t ? `inset 0px 0px 0px 2px ${g.palette.error.main}` : d ? i ? `inset 0px 0px 0px 2px ${g.palette.action.disabled}` : o === "outlined" ? `inset 0px 0px 0px 1px ${g.palette.action.disabledBackground}` : `inset 0px 0px 0px 1px ${g.palette.action.disabled}` : o === "outlined" ? i ? `inset 0px 0px 0px 2px ${b(g.palette.primary.main, 0.5)}` : `inset 0px 0px 0px 1px ${b(g.palette.common.black, 0.23)}` : i ? `inset 0px 0px 0px 2px ${b(g.palette.primary.main, 0.5)}` : g.shadows[1], ne = () => d || t ? g.palette.background.paper : b(g.palette.primary.main, 0.1), le = () => d || t ? w() : o === "outlined" ? i ? `inset 0px 0px 0px 2px ${b(g.palette.primary.main, 0.5)}` : `inset 0px 0px 0px 1px ${b(g.palette.primary.main, 0.5)}` : w(), ce = () => d || t ? g.palette.background.paper : b(g.palette.primary.main, 0.3);
997
997
  return /* @__PURE__ */ a(
998
998
  ke,
999
999
  {
@@ -1034,7 +1034,7 @@ const so = ({
1034
1034
  m && /* @__PURE__ */ a(_, { sx: { mr: 12, mt: "8px", flexShrink: 0 }, children: m }),
1035
1035
  /* @__PURE__ */ T(_, { sx: { flex: 1, minWidth: 0, py: "8px" }, children: [
1036
1036
  c && /* @__PURE__ */ a(X, { fontWeight: 600, sx: { lineHeight: "24px", pb: "4px" }, variant: "body1", children: c }),
1037
- /* @__PURE__ */ a(X, { sx: { lineHeight: "20px" }, variant: "subtitle2", children: t })
1037
+ /* @__PURE__ */ a(X, { sx: { lineHeight: "20px" }, variant: "subtitle2", children: r })
1038
1038
  ] })
1039
1039
  ] }),
1040
1040
  labelPlacement: "start",
@@ -1071,7 +1071,7 @@ const so = ({
1071
1071
  value: s
1072
1072
  }
1073
1073
  );
1074
- }, v = {
1074
+ }, y = {
1075
1075
  LIGHT: "light"
1076
1076
  }, A = (e) => ({
1077
1077
  50: L(e, 0.95),
@@ -1100,7 +1100,7 @@ const so = ({
1100
1100
  CHART5: "#60A9FF",
1101
1101
  CHART6: "#C8BAEE",
1102
1102
  CHART7: "#585E67"
1103
- }, y = {
1103
+ }, v = {
1104
1104
  CHART_MONO1: "#C3EAFF",
1105
1105
  CHART_MONO2: "#8ED7FF",
1106
1106
  CHART_MONO3: "#60A9FF",
@@ -1154,15 +1154,15 @@ const so = ({
1154
1154
  TRAVEL: "#76ACF7",
1155
1155
  UNCATEGORIZED: "#BCC6D4"
1156
1156
  }, qe = (e, o) => {
1157
- const i = A(o?.primary || E.PRIMARY), l = A(o?.secondary || E.SECONDARY), c = A(o?.error || E.ERROR), t = A(o?.warning || E.WARNING), n = A(o?.info || E.INFO), s = A(o?.success || E.SUCCESS), d = A(o?.grey || E.GREY), r = e === v.LIGHT;
1157
+ const i = A(o?.primary || E.PRIMARY), l = A(o?.secondary || E.SECONDARY), c = A(o?.error || E.ERROR), r = A(o?.warning || E.WARNING), n = A(o?.info || E.INFO), s = A(o?.success || E.SUCCESS), d = A(o?.grey || E.GREY), t = e === y.LIGHT;
1158
1158
  return {
1159
1159
  mode: e,
1160
1160
  // DEPRECATED: Use grey instead
1161
1161
  border: {
1162
1162
  /* DEPRECATED: Use light instead */
1163
- lighter: r ? d[300] : d[700],
1164
- light: r ? d[300] : d[700],
1165
- main: r ? d[400] : d[600],
1163
+ lighter: t ? d[300] : d[700],
1164
+ light: t ? d[300] : d[700],
1165
+ main: t ? d[400] : d[600],
1166
1166
  dark: d[500],
1167
1167
  /* DEPRECATED: Use light instead */
1168
1168
  darker: d[500]
@@ -1174,116 +1174,116 @@ const so = ({
1174
1174
  primary: {
1175
1175
  ...i,
1176
1176
  /* DEPRECATED: Use light instead */
1177
- lighter: r ? i[100] : i[800],
1178
- light: r ? i[300] : i[600],
1179
- main: r ? i[500] : i[400],
1180
- dark: r ? i[700] : i[200],
1177
+ lighter: t ? i[100] : i[800],
1178
+ light: t ? i[300] : i[600],
1179
+ main: t ? i[500] : i[400],
1180
+ dark: t ? i[700] : i[200],
1181
1181
  /* DEPRECATED: Use dark instead */
1182
- darker: r ? i[900] : i[100]
1182
+ darker: t ? i[900] : i[100]
1183
1183
  },
1184
1184
  secondary: {
1185
1185
  ...l,
1186
1186
  /* DEPRECATED: Use light instead */
1187
- lighter: r ? l[100] : l[800],
1188
- light: r ? l[300] : l[600],
1189
- main: r ? l[500] : l[400],
1190
- dark: r ? l[700] : l[200],
1187
+ lighter: t ? l[100] : l[800],
1188
+ light: t ? l[300] : l[600],
1189
+ main: t ? l[500] : l[400],
1190
+ dark: t ? l[700] : l[200],
1191
1191
  /* DEPRECATED: Use dark instead */
1192
- darker: r ? l[900] : l[100]
1192
+ darker: t ? l[900] : l[100]
1193
1193
  },
1194
1194
  neutral: {
1195
1195
  ...d,
1196
1196
  /* DEPRECATED: Use light instead */
1197
- lighter: r ? d[100] : d[800],
1198
- light: r ? d[300] : d[600],
1199
- main: r ? d[500] : d[400],
1200
- dark: r ? d[700] : d[200],
1197
+ lighter: t ? d[100] : d[800],
1198
+ light: t ? d[300] : d[600],
1199
+ main: t ? d[500] : d[400],
1200
+ dark: t ? d[700] : d[200],
1201
1201
  /* DEPRECATED: Use dark instead */
1202
- darker: r ? d[900] : d[100],
1203
- contrastText: De(r ? d[700] : d[400], "#fff") > 4.5 ? M : d[900]
1202
+ darker: t ? d[900] : d[100],
1203
+ contrastText: De(t ? d[700] : d[400], "#fff") > 4.5 ? M : d[900]
1204
1204
  },
1205
1205
  text: {
1206
- primary: r ? d[900] : M,
1207
- secondary: r ? d[600] : b(M, 0.7),
1208
- disabled: r ? d[500] : b(M, 0.38)
1206
+ primary: t ? d[900] : M,
1207
+ secondary: t ? d[600] : b(M, 0.7),
1208
+ disabled: t ? d[500] : b(M, 0.38)
1209
1209
  },
1210
1210
  error: {
1211
1211
  ...c,
1212
1212
  /* DEPRECATED: Use light instead */
1213
- lighter: r ? c[100] : c[800],
1214
- light: r ? c[300] : c[600],
1215
- main: r ? c[500] : c[400],
1216
- dark: r ? c[700] : c[200],
1213
+ lighter: t ? c[100] : c[800],
1214
+ light: t ? c[300] : c[600],
1215
+ main: t ? c[500] : c[400],
1216
+ dark: t ? c[700] : c[200],
1217
1217
  /* DEPRECATED: Use light instead */
1218
- darker: r ? c[900] : c[100]
1218
+ darker: t ? c[900] : c[100]
1219
1219
  },
1220
1220
  warning: {
1221
- ...t,
1221
+ ...r,
1222
1222
  /* DEPRECATED: Use light instead */
1223
- lighter: r ? t[100] : t[800],
1224
- light: r ? t[300] : t[600],
1225
- main: r ? t[500] : t[400],
1226
- dark: r ? t[700] : t[200],
1223
+ lighter: t ? r[100] : r[800],
1224
+ light: t ? r[300] : r[600],
1225
+ main: t ? r[500] : r[400],
1226
+ dark: t ? r[700] : r[200],
1227
1227
  /* DEPRECATED: Use light instead */
1228
- darker: r ? t[900] : t[100]
1228
+ darker: t ? r[900] : r[100]
1229
1229
  },
1230
1230
  info: {
1231
1231
  ...n,
1232
1232
  /* DEPRECATED: Use light instead */
1233
- lighter: r ? n[100] : n[800],
1234
- light: r ? n[300] : n[600],
1235
- main: r ? n[500] : n[400],
1236
- dark: r ? n[700] : n[200],
1233
+ lighter: t ? n[100] : n[800],
1234
+ light: t ? n[300] : n[600],
1235
+ main: t ? n[500] : n[400],
1236
+ dark: t ? n[700] : n[200],
1237
1237
  /* DEPRECATED: Use light instead */
1238
- darker: r ? n[900] : n[100]
1238
+ darker: t ? n[900] : n[100]
1239
1239
  },
1240
1240
  success: {
1241
1241
  ...s,
1242
1242
  /* DEPRECATED: Use light instead */
1243
- lighter: r ? s[100] : s[800],
1244
- light: r ? s[300] : s[600],
1245
- main: r ? s[500] : s[400],
1246
- dark: r ? s[700] : s[200],
1243
+ lighter: t ? s[100] : s[800],
1244
+ light: t ? s[300] : s[600],
1245
+ main: t ? s[500] : s[400],
1246
+ dark: t ? s[700] : s[200],
1247
1247
  /* DEPRECATED: Use light instead */
1248
- darker: r ? s[900] : s[100]
1248
+ darker: t ? s[900] : s[100]
1249
1249
  },
1250
1250
  grey: d,
1251
1251
  action: {
1252
- active: r ? b(z, 0.56) : b(M, 0.56),
1253
- hoverOpacity: r ? 0.1 : 0.2,
1254
- selectedOpacity: r ? 0.16 : 0.25,
1252
+ active: t ? b(z, 0.56) : b(M, 0.56),
1253
+ hoverOpacity: t ? 0.1 : 0.2,
1254
+ selectedOpacity: t ? 0.16 : 0.25,
1255
1255
  focusOpacity: 0.3
1256
1256
  },
1257
1257
  background: {
1258
- default: r ? o?.background?.default?.light || Xe : o?.background?.default?.dark || je,
1259
- paper: r ? o?.background?.paper?.light || Qe : o?.background?.paper?.dark || Je,
1260
- highlight: r ? d[200] : d[600],
1261
- highlightPrimary: r ? i[100] : i[500]
1258
+ default: t ? o?.background?.default?.light || Xe : o?.background?.default?.dark || je,
1259
+ paper: t ? o?.background?.paper?.light || Qe : o?.background?.paper?.dark || Je,
1260
+ highlight: t ? d[200] : d[600],
1261
+ highlightPrimary: t ? i[100] : i[500]
1262
1262
  },
1263
- divider: r ? b(z, 0.12) : b(M, 0.24),
1263
+ divider: t ? b(z, 0.12) : b(M, 0.24),
1264
1264
  categories: {
1265
- autoTransport: r ? u.AUTO_TRANSPORTT : p.AUTO_TRANSPORTT,
1266
- billsUtilities: r ? u.BILLS_UTILITIES : p.BILLS_UTILITIES,
1267
- businessServices: r ? u.BUSINESS_SERVICES : p.BUSINESS_SERVICES,
1268
- education: r ? u.EDUCATION : p.EDUCATION,
1269
- entertainment: r ? u.ENTERTAINMENT : p.ENTERTAINMENT,
1270
- feesCharges: r ? u.FEES_CHARGES : p.FEES_CHARGES,
1271
- financial: r ? u.FINANCIAL : p.FINANCIAL,
1272
- foodDining: r ? u.FOOD_DINING : p.FOOD_DINING,
1273
- giftsDonations: r ? u.GIFTS_DONATIONS : p.GIFTS_DONATIONS,
1274
- healthFitness: r ? u.HEALTH_FITNESS : p.HEALTH_FITNESS,
1275
- home: r ? u.HOME : p.HOME,
1276
- income: r ? u.INCOME : p.INCOME,
1277
- investments: r ? u.INVESTMENTS : p.INVESTMENTS,
1278
- kids: r ? u.KIDS : p.KIDS,
1279
- others: r ? u.OTHERS : p.OTHERS,
1280
- personalCare: r ? u.PERSONAL_CARE : p.PERSONAL_CARE,
1281
- pets: r ? u.PETS : p.PETS,
1282
- shopping: r ? u.SHOPPING : p.SHOPPING,
1283
- taxes: r ? u.TAXES : p.TAXES,
1284
- transfer: r ? u.TRANSFER : p.TRANSFER,
1285
- travel: r ? u.TRAVEL : p.TRAVEL,
1286
- uncategorized: r ? u.UNCATEGORIZED : p.UNCATEGORIZED
1265
+ autoTransport: t ? u.AUTO_TRANSPORTT : p.AUTO_TRANSPORTT,
1266
+ billsUtilities: t ? u.BILLS_UTILITIES : p.BILLS_UTILITIES,
1267
+ businessServices: t ? u.BUSINESS_SERVICES : p.BUSINESS_SERVICES,
1268
+ education: t ? u.EDUCATION : p.EDUCATION,
1269
+ entertainment: t ? u.ENTERTAINMENT : p.ENTERTAINMENT,
1270
+ feesCharges: t ? u.FEES_CHARGES : p.FEES_CHARGES,
1271
+ financial: t ? u.FINANCIAL : p.FINANCIAL,
1272
+ foodDining: t ? u.FOOD_DINING : p.FOOD_DINING,
1273
+ giftsDonations: t ? u.GIFTS_DONATIONS : p.GIFTS_DONATIONS,
1274
+ healthFitness: t ? u.HEALTH_FITNESS : p.HEALTH_FITNESS,
1275
+ home: t ? u.HOME : p.HOME,
1276
+ income: t ? u.INCOME : p.INCOME,
1277
+ investments: t ? u.INVESTMENTS : p.INVESTMENTS,
1278
+ kids: t ? u.KIDS : p.KIDS,
1279
+ others: t ? u.OTHERS : p.OTHERS,
1280
+ personalCare: t ? u.PERSONAL_CARE : p.PERSONAL_CARE,
1281
+ pets: t ? u.PETS : p.PETS,
1282
+ shopping: t ? u.SHOPPING : p.SHOPPING,
1283
+ taxes: t ? u.TAXES : p.TAXES,
1284
+ transfer: t ? u.TRANSFER : p.TRANSFER,
1285
+ travel: t ? u.TRAVEL : p.TRAVEL,
1286
+ uncategorized: t ? u.UNCATEGORIZED : p.UNCATEGORIZED
1287
1287
  },
1288
1288
  chart: {
1289
1289
  chart1: S.CHART1,
@@ -1295,12 +1295,12 @@ const so = ({
1295
1295
  chart7: S.CHART7
1296
1296
  },
1297
1297
  chartMono: {
1298
- chartMono1: y.CHART_MONO1,
1299
- chartMono2: y.CHART_MONO2,
1300
- chartMono3: y.CHART_MONO3,
1301
- chartMono4: y.CHART_MONO4,
1302
- chartMono5: y.CHART_MONO5,
1303
- chartMono6: y.CHART_MONO6
1298
+ chartMono1: v.CHART_MONO1,
1299
+ chartMono2: v.CHART_MONO2,
1300
+ chartMono3: v.CHART_MONO3,
1301
+ chartMono4: v.CHART_MONO4,
1302
+ chartMono5: v.CHART_MONO5,
1303
+ chartMono6: v.CHART_MONO6
1304
1304
  }
1305
1305
  };
1306
1306
  }, e0 = "Inter, Helvetica, Arial, sans-serif", o0 = (e) => {
@@ -1472,19 +1472,19 @@ const go = (e, o) => {
1472
1472
  variant: "outlined"
1473
1473
  },
1474
1474
  styleOverrides: {
1475
- root: ({ theme: t, ownerState: n }) => {
1475
+ root: ({ theme: r, ownerState: n }) => {
1476
1476
  const s = n.severity || "info";
1477
- let d = t.palette.mode === v.LIGHT ? t.palette[s]?.[50] : t.palette[s]?.[800];
1477
+ let d = r.palette.mode === y.LIGHT ? r.palette[s]?.[50] : r.palette[s]?.[800];
1478
1478
  if (n.variant === "filled") {
1479
- const r = s === "warning";
1480
- d = t.palette[s]?.[r ? 400 : 600];
1479
+ const t = s === "warning";
1480
+ d = r.palette[s]?.[t ? 400 : 600];
1481
1481
  }
1482
1482
  return {
1483
1483
  backgroundColor: d,
1484
- borderRadius: t.shape.borderRadius,
1484
+ borderRadius: r.shape.borderRadius,
1485
1485
  "& .MuiAlert-message": {
1486
- fontSize: t.typography.subtitle1.fontSize,
1487
- lineHeight: t.typography.subtitle1.lineHeight,
1486
+ fontSize: r.typography.subtitle1.fontSize,
1487
+ lineHeight: r.typography.subtitle1.lineHeight,
1488
1488
  marginTop: "auto",
1489
1489
  marginBottom: "auto"
1490
1490
  },
@@ -1510,14 +1510,14 @@ const go = (e, o) => {
1510
1510
  disableElevation: !0
1511
1511
  },
1512
1512
  styleOverrides: {
1513
- root: ({ theme: t }) => ({
1513
+ root: ({ theme: r }) => ({
1514
1514
  fontWeight: 600,
1515
1515
  textTransform: "none",
1516
1516
  "&.Mui-disabled": {
1517
1517
  cursor: "not-allowed"
1518
1518
  },
1519
1519
  "&.Mui-focusVisible": {
1520
- outline: `2px solid ${t.palette.info.main}`,
1520
+ outline: `2px solid ${r.palette.info.main}`,
1521
1521
  outlineOffset: "2px"
1522
1522
  }
1523
1523
  }),
@@ -1526,6 +1526,14 @@ const go = (e, o) => {
1526
1526
  }
1527
1527
  },
1528
1528
  variants: [
1529
+ {
1530
+ props: { variant: "outlined", color: "error" },
1531
+ style: ({ theme: r }) => ({
1532
+ "&:hover, &:active": {
1533
+ color: r.palette.error.dark
1534
+ }
1535
+ })
1536
+ },
1529
1537
  {
1530
1538
  props: { size: "small" },
1531
1539
  style: {
@@ -1583,22 +1591,22 @@ const go = (e, o) => {
1583
1591
  },
1584
1592
  MuiDataGrid: {
1585
1593
  styleOverrides: {
1586
- root: ({ theme: t }) => ({
1594
+ root: ({ theme: r }) => ({
1587
1595
  border: "none",
1588
1596
  borderRadius: 0,
1589
- fontSize: t.typography.body2.fontSize,
1597
+ fontSize: r.typography.body2.fontSize,
1590
1598
  "& .MuiDataGrid-cell": {
1591
1599
  display: "flex",
1592
1600
  alignItems: "center",
1593
1601
  borderTop: "1px solid",
1594
- borderColor: t.palette.background.highlight
1602
+ borderColor: r.palette.background.highlight
1595
1603
  },
1596
1604
  "& .MuiDataGrid-cell:focus": { outline: "unset" },
1597
1605
  "& .MuiDataGrid-iconSeparator": { display: "none" },
1598
1606
  "& .MuiDataGrid-columnHeaders": {
1599
- backgroundColor: t.palette.background.paper,
1607
+ backgroundColor: r.palette.background.paper,
1600
1608
  borderBottom: "2px solid",
1601
- borderColor: t.palette.divider
1609
+ borderColor: r.palette.divider
1602
1610
  },
1603
1611
  "& .MuiDataGrid-columnHeaderTitle": {
1604
1612
  fontWeight: 600
@@ -1616,42 +1624,42 @@ const go = (e, o) => {
1616
1624
  },
1617
1625
  MuiDateRangePickerDay: {
1618
1626
  styleOverrides: {
1619
- root: ({ theme: t }) => ({
1627
+ root: ({ theme: r }) => ({
1620
1628
  ":first-of-type": {
1621
- borderTopLeftRadius: t.shape.borderRadius,
1622
- borderBottomLeftRadius: t.shape.borderRadius,
1629
+ borderTopLeftRadius: r.shape.borderRadius,
1630
+ borderBottomLeftRadius: r.shape.borderRadius,
1623
1631
  "& .MuiDateRangePickerDay-rangeIntervalDayPreview": {
1624
- borderTopLeftRadius: t.shape.borderRadius,
1625
- borderBottomLeftRadius: t.shape.borderRadius
1632
+ borderTopLeftRadius: r.shape.borderRadius,
1633
+ borderBottomLeftRadius: r.shape.borderRadius
1626
1634
  }
1627
1635
  },
1628
1636
  ":last-of-type": {
1629
- borderTopRightRadius: t.shape.borderRadius,
1630
- borderBottomRightRadius: t.shape.borderRadius,
1637
+ borderTopRightRadius: r.shape.borderRadius,
1638
+ borderBottomRightRadius: r.shape.borderRadius,
1631
1639
  "& .MuiDateRangePickerDay-rangeIntervalDayPreview": {
1632
- borderTopRightRadius: t.shape.borderRadius,
1633
- borderBottomRightRadius: t.shape.borderRadius
1640
+ borderTopRightRadius: r.shape.borderRadius,
1641
+ borderBottomRightRadius: r.shape.borderRadius
1634
1642
  }
1635
1643
  },
1636
1644
  "& .Mui-selected": {
1637
- borderRadius: t.shape.borderRadius
1645
+ borderRadius: r.shape.borderRadius
1638
1646
  },
1639
1647
  "& .MuiPickersDay-dayOutsideMonth": {
1640
- color: t.palette.action.disabled
1648
+ color: r.palette.action.disabled
1641
1649
  }
1642
1650
  }),
1643
- day: ({ theme: t }) => ({
1644
- borderRadius: t.shape.borderRadius
1651
+ day: ({ theme: r }) => ({
1652
+ borderRadius: r.shape.borderRadius
1645
1653
  }),
1646
- rangeIntervalDayPreview: ({ theme: t }) => ({
1647
- borderRadius: t.shape.borderRadius
1654
+ rangeIntervalDayPreview: ({ theme: r }) => ({
1655
+ borderRadius: r.shape.borderRadius
1648
1656
  })
1649
1657
  }
1650
1658
  },
1651
1659
  MuiDayCalendar: {
1652
1660
  styleOverrides: {
1653
- weekDayLabel: ({ theme: t }) => ({
1654
- fontSize: t.typography.body2.fontSize,
1661
+ weekDayLabel: ({ theme: r }) => ({
1662
+ fontSize: r.typography.body2.fontSize,
1655
1663
  fontWeight: 700
1656
1664
  })
1657
1665
  }
@@ -1693,14 +1701,14 @@ const go = (e, o) => {
1693
1701
  },
1694
1702
  MuiFormHelperText: {
1695
1703
  styleOverrides: {
1696
- root: ({ theme: t }) => ({
1704
+ root: ({ theme: r }) => ({
1697
1705
  fontSize: 13,
1698
1706
  // Small
1699
1707
  marginLeft: 0,
1700
1708
  display: "flex",
1701
1709
  alignItems: "center",
1702
1710
  position: "relative",
1703
- color: t.palette.text.secondary,
1711
+ color: r.palette.text.secondary,
1704
1712
  "& .MuiSvgIcon-root": {
1705
1713
  height: "16px",
1706
1714
  width: "16px",
@@ -1731,19 +1739,19 @@ const go = (e, o) => {
1731
1739
  disableFocusRipple: !0
1732
1740
  },
1733
1741
  styleOverrides: {
1734
- root: ({ theme: t }) => ({
1735
- borderRadius: t.shape.borderRadius,
1742
+ root: ({ theme: r }) => ({
1743
+ borderRadius: r.shape.borderRadius,
1736
1744
  minHeight: 44,
1737
1745
  // touch target
1738
1746
  minWidth: 44,
1739
1747
  // touch target
1740
1748
  "&.Mui-focusVisible": {
1741
- outline: `2px solid ${t.palette.info.main}`,
1749
+ outline: `2px solid ${r.palette.info.main}`,
1742
1750
  outlineOffset: "2px"
1743
1751
  },
1744
1752
  "& .MuiTouchRipple-root": {
1745
1753
  "& .MuiTouchRipple-child": {
1746
- borderRadius: t.shape.borderRadius
1754
+ borderRadius: r.shape.borderRadius
1747
1755
  }
1748
1756
  }
1749
1757
  })
@@ -1770,7 +1778,7 @@ const go = (e, o) => {
1770
1778
  },
1771
1779
  MuiLink: {
1772
1780
  styleOverrides: {
1773
- root: ({ theme: t, color: n }) => ({
1781
+ root: ({ theme: r, color: n }) => ({
1774
1782
  cursor: "pointer",
1775
1783
  fontWeight: 600,
1776
1784
  textDecoration: "none",
@@ -1782,10 +1790,10 @@ const go = (e, o) => {
1782
1790
  outlineOffset: "2px"
1783
1791
  },
1784
1792
  "&:hover": {
1785
- backgroundColor: t.palette.action.hover
1793
+ backgroundColor: r.palette.action.hover
1786
1794
  },
1787
1795
  "&:active": {
1788
- backgroundColor: t.palette.mode === v.LIGHT ? t.palette[n].light : t.palette[n].dark
1796
+ backgroundColor: r.palette.mode === y.LIGHT ? r.palette[n].light : r.palette[n].dark
1789
1797
  }
1790
1798
  })
1791
1799
  }
@@ -1812,9 +1820,9 @@ const go = (e, o) => {
1812
1820
  disablePadding: !0
1813
1821
  },
1814
1822
  styleOverrides: {
1815
- root: ({ ownerState: t }) => ({
1823
+ root: ({ ownerState: r }) => ({
1816
1824
  minHeight: 64,
1817
- ...!t.disablePadding && {
1825
+ ...!r.disablePadding && {
1818
1826
  paddingTop: 12,
1819
1827
  paddingBottom: 12,
1820
1828
  paddingLeft: 24
@@ -1838,7 +1846,7 @@ const go = (e, o) => {
1838
1846
  },
1839
1847
  MuiListItemButton: {
1840
1848
  styleOverrides: {
1841
- root: ({ theme: t }) => ({
1849
+ root: ({ theme: r }) => ({
1842
1850
  minHeight: 64,
1843
1851
  paddingLeft: 24,
1844
1852
  paddingRight: 24,
@@ -1847,7 +1855,7 @@ const go = (e, o) => {
1847
1855
  "&.Mui-focusVisible": {
1848
1856
  backgroundColor: "transparent",
1849
1857
  borderRadius: 8,
1850
- outline: `2px solid ${t.palette.info.main}`,
1858
+ outline: `2px solid ${r.palette.info.main}`,
1851
1859
  outlineOffset: -2
1852
1860
  }
1853
1861
  })
@@ -1972,11 +1980,11 @@ const go = (e, o) => {
1972
1980
  },
1973
1981
  MuiPickersToolbar: {
1974
1982
  styleOverrides: {
1975
- content: ({ theme: t }) => ({
1983
+ content: ({ theme: r }) => ({
1976
1984
  marginTop: 4,
1977
1985
  "& .MuiTypography-root": {
1978
- fontSize: t.typography.h3.fontSize,
1979
- lineHeight: t.typography.h3.lineHeight
1986
+ fontSize: r.typography.h3.fontSize,
1987
+ lineHeight: r.typography.h3.lineHeight
1980
1988
  }
1981
1989
  })
1982
1990
  }
@@ -2002,7 +2010,7 @@ const go = (e, o) => {
2002
2010
  disableFocusRipple: !0
2003
2011
  },
2004
2012
  styleOverrides: {
2005
- root: ({ theme: t }) => ({
2013
+ root: ({ theme: r }) => ({
2006
2014
  width: 37,
2007
2015
  height: 20,
2008
2016
  padding: 0,
@@ -2013,7 +2021,7 @@ const go = (e, o) => {
2013
2021
  "&.Mui-checked": {
2014
2022
  transform: "translateX(16px)",
2015
2023
  "& + .MuiSwitch-track": {
2016
- backgroundColor: t.palette.success.main,
2024
+ backgroundColor: r.palette.success.main,
2017
2025
  opacity: 1,
2018
2026
  border: 0
2019
2027
  },
@@ -2022,27 +2030,27 @@ const go = (e, o) => {
2022
2030
  }
2023
2031
  },
2024
2032
  "&.Mui-disabled .MuiSwitch-thumb": {
2025
- color: t.palette.common.white
2033
+ color: r.palette.common.white
2026
2034
  },
2027
2035
  "&.Mui-disabled + .MuiSwitch-track": {
2028
- backgroundColor: t.palette.action.disabledBackground,
2036
+ backgroundColor: r.palette.action.disabledBackground,
2029
2037
  opacity: 1
2030
2038
  }
2031
2039
  },
2032
2040
  "& .MuiSwitch-input": {
2033
2041
  "&:focus-visible ~ .MuiSwitch-thumb": {
2034
- outline: `2px solid ${t.palette.info.main}`,
2042
+ outline: `2px solid ${r.palette.info.main}`,
2035
2043
  outlineOffset: 0
2036
2044
  }
2037
2045
  },
2038
2046
  "& .MuiSwitch-thumb": {
2039
2047
  boxSizing: "border-box",
2040
- backgroundColor: t.palette.background.paper,
2048
+ backgroundColor: r.palette.background.paper,
2041
2049
  width: 16,
2042
2050
  height: 16
2043
2051
  },
2044
2052
  "& .MuiSwitch-track": {
2045
- backgroundColor: t.palette.action.active,
2053
+ backgroundColor: r.palette.action.active,
2046
2054
  borderRadius: 20 / 2,
2047
2055
  opacity: 1
2048
2056
  }
@@ -2094,7 +2102,7 @@ const go = (e, o) => {
2094
2102
  disableFocusRipple: !0
2095
2103
  },
2096
2104
  styleOverrides: {
2097
- root: ({ theme: t }) => ({
2105
+ root: ({ theme: r }) => ({
2098
2106
  fontSize: 13,
2099
2107
  lineHeight: "16px",
2100
2108
  textTransform: "none",
@@ -2104,22 +2112,22 @@ const go = (e, o) => {
2104
2112
  },
2105
2113
  "&:hover": {
2106
2114
  backgroundColor: b(
2107
- t.palette.primary.main,
2108
- i.mode === v.LIGHT ? 0.1 : 0.2
2115
+ r.palette.primary.main,
2116
+ i.mode === y.LIGHT ? 0.1 : 0.2
2109
2117
  ),
2110
- borderColor: t.palette.primary.main
2118
+ borderColor: r.palette.primary.main
2111
2119
  },
2112
2120
  "&.Mui-selected": {
2113
2121
  fontWeight: 600,
2114
- borderColor: t.palette.primary.main,
2122
+ borderColor: r.palette.primary.main,
2115
2123
  "&:hover": {
2116
- boxShadow: `inset 0px 0px 0px 2px ${t.palette.primary.main}`
2124
+ boxShadow: `inset 0px 0px 0px 2px ${r.palette.primary.main}`
2117
2125
  }
2118
2126
  },
2119
2127
  "& .MuiTouchRipple-root": {
2120
2128
  "& .MuiTouchRipple-child": {
2121
- backgroundColor: t.palette.primary.main,
2122
- borderRadius: t.shape.borderRadius
2129
+ backgroundColor: r.palette.primary.main,
2130
+ borderRadius: r.shape.borderRadius
2123
2131
  }
2124
2132
  }
2125
2133
  })
@@ -2129,7 +2137,7 @@ const go = (e, o) => {
2129
2137
  props: { color: "error" },
2130
2138
  style: {
2131
2139
  "&:hover": {
2132
- backgroundColor: b(i.error.main, i.mode === v.LIGHT ? 0.1 : 0.2),
2140
+ backgroundColor: b(i.error.main, i.mode === y.LIGHT ? 0.1 : 0.2),
2133
2141
  borderColor: i.error.main
2134
2142
  },
2135
2143
  "&.Mui-selected": {
@@ -2153,7 +2161,7 @@ const go = (e, o) => {
2153
2161
  "&:hover": {
2154
2162
  backgroundColor: b(
2155
2163
  i.secondary.main,
2156
- i.mode === v.LIGHT ? 0.1 : 0.2
2164
+ i.mode === y.LIGHT ? 0.1 : 0.2
2157
2165
  ),
2158
2166
  borderColor: i.secondary.main
2159
2167
  },
@@ -2218,7 +2226,7 @@ export {
2218
2226
  We as Footer,
2219
2227
  Ze as H1,
2220
2228
  oo as H2,
2221
- to as H3,
2229
+ ro as H3,
2222
2230
  Y0 as HeartIcon,
2223
2231
  e0 as INTER,
2224
2232
  R as Icon,
@@ -2229,7 +2237,7 @@ export {
2229
2237
  X0 as MXLogoIcon,
2230
2238
  J0 as MXLogoOutlineIcon,
2231
2239
  lo as MerchantLogo,
2232
- ro as P,
2240
+ to as P,
2233
2241
  ho as SelectionBox,
2234
2242
  F as TARGETS,
2235
2243
  N as THEMES,