@mx-cartographer/insights-ui 1.8.6-alpha.mega3 → 1.8.6-alpha.mega4

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
@@ -1,6 +1,6 @@
1
1
  import { jsx as e, jsxs as d, Fragment as H } from "react/jsx-runtime";
2
2
  import * as t from "react";
3
- import g, { useState as P, useRef as W, useLayoutEffect as ne, useMemo as N, useCallback as me, useEffect as oe, forwardRef as b } from "react";
3
+ import g, { useState as X, useRef as W, useLayoutEffect as ne, useMemo as N, useCallback as me, useEffect as oe, forwardRef as b } from "react";
4
4
  import Ee from "@mui/material/Dialog";
5
5
  import { BottomSheetTransition as pe, Icon as S, P as f, Text as M, InstitutionLogo as O, H3 as ae, Drawer as ye, createMXTheme as ue, MerchantLogo as ke, CategoryIcon as fe, CheckmarkFilledIcon as Ce } from "@kyper/mui";
6
6
  import Se from "react-confetti";
@@ -30,10 +30,10 @@ import Te from "@mui/material/Radio";
30
30
  import De from "@mui/material/RadioGroup";
31
31
  import { TextareaAutosize as Ue } from "@mui/base/TextareaAutosize";
32
32
  import je from "@mui/icons-material/ArrowBack";
33
- import Pe from "@mui/material/Divider";
33
+ import Xe from "@mui/material/Divider";
34
34
  import $ from "@mui/material/List";
35
35
  import ee from "@mui/material/ListItem";
36
- const Xe = ({
36
+ const Pe = ({
37
37
  allowScroll: i,
38
38
  children: l,
39
39
  height: r,
@@ -84,7 +84,7 @@ const Xe = ({
84
84
  children: l
85
85
  }
86
86
  );
87
- }, v1 = Xe, X = ({ height: i = 0, width: l = 0, shouldRun: r = !1 }) => /* @__PURE__ */ e(
87
+ }, v1 = Pe, P = ({ height: i = 0, width: l = 0, shouldRun: r = !1 }) => /* @__PURE__ */ e(
88
88
  Se,
89
89
  {
90
90
  "aria-hidden": !0,
@@ -328,7 +328,7 @@ const Xe = ({
328
328
  tabIndex: a = 0,
329
329
  ...s
330
330
  }) => {
331
- const [h, c] = P(null), m = () => c(null), E = (u, k) => {
331
+ const [h, c] = X(null), m = () => c(null), E = (u, k) => {
332
332
  m(), n(u, k);
333
333
  };
334
334
  return /* @__PURE__ */ d(H, { children: [
@@ -634,7 +634,7 @@ const Xe = ({
634
634
  )
635
635
  ] });
636
636
  }, Q = (i) => {
637
- const [l, r] = P({ width: 0, height: 0 });
637
+ const [l, r] = X({ width: 0, height: 0 });
638
638
  return oe(() => {
639
639
  const n = () => {
640
640
  if (i.current) {
@@ -684,7 +684,7 @@ const Xe = ({
684
684
  }),
685
685
  width: "100%",
686
686
  children: [
687
- /* @__PURE__ */ e(X, { height: p, shouldRun: l.shouldRun, width: u }),
687
+ /* @__PURE__ */ e(P, { height: p, shouldRun: l.shouldRun, width: u }),
688
688
  /* @__PURE__ */ d(
689
689
  w,
690
690
  {
@@ -944,7 +944,7 @@ const Xe = ({
944
944
  )
945
945
  }
946
946
  ), yt = ({ content: i, isLoading: l }) => {
947
- const [r, n] = P(0), o = W(null), a = () => {
947
+ const [r, n] = X(0), o = W(null), a = () => {
948
948
  if (o.current) {
949
949
  const s = o.current, h = s.parentElement;
950
950
  if (h) {
@@ -1483,7 +1483,7 @@ const G1 = ({
1483
1483
  p: 16
1484
1484
  },
1485
1485
  children: [
1486
- /* @__PURE__ */ e(X, { height: s, shouldRun: o, width: h }),
1486
+ /* @__PURE__ */ e(P, { height: s, shouldRun: o, width: h }),
1487
1487
  /* @__PURE__ */ d(
1488
1488
  y,
1489
1489
  {
@@ -1625,7 +1625,7 @@ const G1 = ({
1625
1625
  children: /* @__PURE__ */ e(je, { color: "primary", fontSize: "small" })
1626
1626
  }
1627
1627
  ) }),
1628
- /* @__PURE__ */ e(Pe, {}),
1628
+ /* @__PURE__ */ e(Xe, {}),
1629
1629
  /* @__PURE__ */ d(y, { children: [
1630
1630
  /* @__PURE__ */ e(ae, { sx: { p: "16px 24px 8px 24px", whiteSpace: "wrap" }, children: r }),
1631
1631
  /* @__PURE__ */ d(C, { sx: { gap: 12, px: 24 }, children: [
@@ -1989,6 +1989,7 @@ const G1 = ({
1989
1989
  amounts: i,
1990
1990
  color: n,
1991
1991
  data: o,
1992
+ isMini: c.isMini,
1992
1993
  legendLabelAvg: a,
1993
1994
  legendLabelMain: s,
1994
1995
  margin: { bottom: 32, left: 2, right: 2, top: 24 },
@@ -2136,7 +2137,7 @@ const G1 = ({
2136
2137
  children: n
2137
2138
  }
2138
2139
  ),
2139
- a ? /* @__PURE__ */ e(Ce, { color: r.palette.success.main, size: 24 }) : /* @__PURE__ */ e(Pt, { color: r.palette.background.highlight })
2140
+ a ? /* @__PURE__ */ e(Ce, { color: r.palette.success.main, size: 24 }) : /* @__PURE__ */ e(Xt, { color: r.palette.background.highlight })
2140
2141
  ]
2141
2142
  },
2142
2143
  o
@@ -2144,7 +2145,7 @@ const G1 = ({
2144
2145
  })
2145
2146
  }
2146
2147
  );
2147
- }, Pt = ({ color: i }) => /* @__PURE__ */ e("svg", { fill: "none", height: "24", viewBox: "0 0 25 24", width: "24", children: /* @__PURE__ */ e("circle", { cx: "12.6641", cy: "12", fill: i, r: "12" }) }), P1 = ({
2148
+ }, Xt = ({ color: i }) => /* @__PURE__ */ e("svg", { fill: "none", height: "24", viewBox: "0 0 25 24", width: "24", children: /* @__PURE__ */ e("circle", { cx: "12.6641", cy: "12", fill: i, r: "12" }) }), X1 = ({
2148
2149
  beat: i,
2149
2150
  buttonProps: l,
2150
2151
  isZeroState: r,
@@ -2167,14 +2168,14 @@ const G1 = ({
2167
2168
  width: "100%",
2168
2169
  children: [
2169
2170
  /* @__PURE__ */ e("img", { alt: h, src: m, width: 138 }),
2170
- a?.length >= 4 && /* @__PURE__ */ e(X, { height: p, shouldRun: !0, width: u }),
2171
+ a?.length >= 4 && /* @__PURE__ */ e(P, { height: p, shouldRun: !0, width: u }),
2171
2172
  /* @__PURE__ */ e(jt, { daysOfTheWeek: c, noSpendDays: s })
2172
2173
  ]
2173
2174
  }
2174
2175
  )
2175
2176
  }
2176
2177
  );
2177
- }, X1 = ({
2178
+ }, P1 = ({
2178
2179
  amounts: i,
2179
2180
  beat: l,
2180
2181
  buttonProps: r,
@@ -2190,6 +2191,7 @@ const G1 = ({
2190
2191
  amounts: i,
2191
2192
  color: n,
2192
2193
  data: o,
2194
+ isMini: c.isMini,
2193
2195
  legendLabelAvg: a,
2194
2196
  legendLabelMain: s,
2195
2197
  margin: { bottom: 32, left: 2, right: 2, top: 24 },
@@ -2201,14 +2203,14 @@ export {
2201
2203
  q as BarChart,
2202
2204
  I as BeatCard,
2203
2205
  O1 as BeatFeedbackText,
2204
- X1 as BillAmountNotStandard,
2206
+ P1 as BillAmountNotStandard,
2205
2207
  v1 as BottomSheet,
2206
2208
  L1 as CardButtonSection,
2207
2209
  dt as CardError,
2208
2210
  mt as CardHeader,
2209
2211
  pt as CardLoading,
2210
2212
  G1 as CategorySpendingV2,
2211
- X as Confetti,
2213
+ P as Confetti,
2212
2214
  ut as ContentAndDescription,
2213
2215
  kt as Description,
2214
2216
  he as DirectDeposit,
@@ -2243,6 +2245,6 @@ export {
2243
2245
  It as SwitchDirectDepositMainContainer,
2244
2246
  Rt as TotalSavedSection,
2245
2247
  j1 as UnifiedDeposit,
2246
- P1 as WeeklyNoSpendDays
2248
+ X1 as WeeklyNoSpendDays
2247
2249
  };
2248
2250
  //# sourceMappingURL=index.es.js.map