@mxenabled/mxui 1.0.7-alpha.bb3 → 1.1.0

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,41 +1,42 @@
1
- import { jsx as a, jsxs as M } from "react/jsx-runtime";
1
+ import { jsx as a, jsxs as y } from "react/jsx-runtime";
2
2
  import f from "react";
3
- import L from "@mui/material/Stack";
4
- import { useTheme as v, createTheme as B } from "@mui/material/styles";
5
- import X from "@mui/material/Icon";
6
- import { endOfMonth as F } from "date-fns/endOfMonth";
7
- import { endOfYear as Y } from "date-fns/endOfYear";
8
- import { startOfToday as Q } from "date-fns/startOfToday";
3
+ import D from "@mui/material/Stack";
4
+ import { useTheme as C, createTheme as O } from "@mui/material/styles";
5
+ import Y from "@mui/material/Icon";
6
+ import { endOfMonth as H } from "date-fns/endOfMonth";
7
+ import { endOfYear as Q } from "date-fns/endOfYear";
8
+ import { startOfToday as J } from "date-fns/startOfToday";
9
9
  import { startOfMonth as w } from "date-fns/startOfMonth";
10
10
  import { startOfYear as R } from "date-fns/startOfYear";
11
- import { subDays as N } from "date-fns/subDays";
12
- import { subMonths as J } from "date-fns/subMonths";
13
- import { subYears as q } from "date-fns/subYears";
14
- import ee from "@mui/material/useMediaQuery";
15
- import { LocalizationProvider as re, StaticDateRangePicker as te } from "@mui/x-date-pickers-pro";
16
- import { AdapterDateFns as oe } from "@mui/x-date-pickers-pro/AdapterDateFnsV3";
17
- import E from "@mui/material/Box";
18
- import ae from "@mui/material/ToggleButton";
19
- import ie from "@mui/material/ToggleButtonGroup";
20
- import O from "@mui/material/Slide";
21
- import D from "@mui/material/Button";
22
- import _ from "@mui/material/Toolbar";
23
- import V from "@mui/material/IconButton";
24
- import ne from "@mui/material/Drawer";
25
- import le from "@mui/material/Typography";
26
- import ce from "@mui/material/TextField";
27
- import se from "@mui/material/Snackbar";
28
- import de from "@mui/material/Alert";
29
- import { light as W, buildTheme as H, dark as ue } from "@mxenabled/design-tokens";
30
- import { LicenseInfo as pe } from "@mui/x-license-pro";
31
- import { circularProgressClasses as he } from "@mui/material/CircularProgress";
32
- import ge from "@mui/material/styles/createPalette";
33
- import me from "@mui/material/styles/createTypography";
11
+ import { subDays as z } from "date-fns/subDays";
12
+ import { subMonths as q } from "date-fns/subMonths";
13
+ import { subYears as ee } from "date-fns/subYears";
14
+ import te from "@mui/material/useMediaQuery";
15
+ import { LocalizationProvider as re, StaticDateRangePicker as oe } from "@mui/x-date-pickers-pro";
16
+ import { AdapterDateFns as ae } from "@mui/x-date-pickers-pro/AdapterDateFnsV3";
17
+ import I from "@mui/material/Box";
18
+ import ie from "@mui/material/ToggleButton";
19
+ import ne from "@mui/material/ToggleButtonGroup";
20
+ import _ from "@mui/material/Slide";
21
+ import L from "@mui/material/Button";
22
+ import V from "@mui/material/Toolbar";
23
+ import W from "@mui/material/IconButton";
24
+ import le from "@mui/material/Drawer";
25
+ import ce from "@mui/material/Typography";
26
+ import se from "@mui/material/TextField";
27
+ import de from "@mui/material/Snackbar";
28
+ import ue from "@mui/material/Alert";
29
+ import { light as $, buildTheme as F, dark as pe } from "@mxenabled/design-tokens";
30
+ import { alpha as N } from "@mui/material";
31
+ import { LicenseInfo as he } from "@mui/x-license-pro";
32
+ import { circularProgressClasses as ge } from "@mui/material/CircularProgress";
33
+ import me from "@mui/material/styles/createPalette";
34
+ import fe from "@mui/material/styles/createTypography";
34
35
  const g = ({
35
36
  children: e,
36
37
  height: o,
37
38
  size: n = 16,
38
- viewBox: r = "0 0 16 16",
39
+ viewBox: t = "0 0 16 16",
39
40
  width: i
40
41
  }) => /* @__PURE__ */ a(
41
42
  "svg",
@@ -44,18 +45,18 @@ const g = ({
44
45
  className: "mx-kmui-icon",
45
46
  focusable: !1,
46
47
  height: o || n,
47
- viewBox: r,
48
+ viewBox: t,
48
49
  width: i || n,
49
50
  xmlns: "http://www.w3.org/2000/svg",
50
51
  children: e
51
52
  }
52
53
  );
53
- var fe = /* @__PURE__ */ ((e) => (e[e.Lighter = 100] = "Lighter", e[e.Light = 200] = "Light", e[e.Normal = 300] = "Normal", e[e.Dark = 400] = "Dark", e[e.Darker = 500] = "Darker", e))(fe || {});
54
- const y = ({
54
+ var be = /* @__PURE__ */ ((e) => (e[e.Lighter = 100] = "Lighter", e[e.Light = 200] = "Light", e[e.Normal = 300] = "Normal", e[e.Dark = 400] = "Dark", e[e.Darker = 500] = "Darker", e))(be || {});
55
+ const M = ({
55
56
  color: e,
56
57
  fill: o = !1,
57
58
  name: n,
58
- size: r = 20,
59
+ size: t = 20,
59
60
  sx: i,
60
61
  weight: l = 300,
61
62
  ...c
@@ -66,17 +67,17 @@ const y = ({
66
67
  b(!0);
67
68
  });
68
69
  }, []), /* @__PURE__ */ a(
69
- X,
70
+ Y,
70
71
  {
71
72
  color: s ? e && e : void 0,
72
73
  sx: [
73
74
  {
74
- fontSize: r,
75
+ fontSize: t,
75
76
  fontVariationSettings: `
76
77
  'FILL' ${o ? 1 : 0},
77
78
  'wght' ${l},
78
79
  'GRAD' 0,
79
- 'opsz' ${r}
80
+ 'opsz' ${t}
80
81
  `
81
82
  },
82
83
  ...Array.isArray(i) ? i : [i],
@@ -88,7 +89,7 @@ const y = ({
88
89
  children: n
89
90
  }
90
91
  );
91
- }, s0 = ({
92
+ }, ut = ({
92
93
  color: e = "currentColor",
93
94
  ...o
94
95
  }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(g, { ...o, children: /* @__PURE__ */ a(
@@ -97,7 +98,7 @@ const y = ({
97
98
  d: "M2.24801 6.76647H0.573286C0.327604 6.76647 0.110586 6.60678 0.0327867 6.37748C-0.0450124 6.14408 0.0327866 5.88612 0.229332 5.73871L7.6571 0.116699C7.85774 -0.0388996 8.14027 -0.0388996 8.34501 0.116699L15.7728 5.73871C15.9693 5.89021 16.0471 6.14408 15.9693 6.37748C15.8915 6.61088 15.6745 6.76647 15.4288 6.76647H13.7582V12.323H14.3929C14.7122 12.323 14.9661 12.5809 14.9661 12.8962C14.9661 13.2156 14.7082 13.4695 14.3929 13.4695H1.60924C1.28986 13.4695 1.03599 13.2115 1.03599 12.8962C1.03599 12.5768 1.29395 12.323 1.60924 12.323H2.24801V6.76647ZM5.70393 6.76647H3.39043V12.323H5.70393V6.76647ZM9.15985 12.323V6.76647H6.84635V12.323H9.15985ZM10.3023 12.3189H12.6158V6.76647H10.3023V12.3189ZM0.573256 14.8535H15.4288C15.7441 14.8535 15.998 15.1115 15.998 15.4267C15.998 15.7461 15.74 16 15.4247 16H0.573256C0.253871 16 0 15.742 0 15.4267C0 15.1074 0.257965 14.8535 0.573256 14.8535Z",
98
99
  fill: e
99
100
  }
100
- ) })), d0 = ({
101
+ ) })), pt = ({
101
102
  color: e = "currentColor",
102
103
  ...o
103
104
  }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(g, { ...o, children: /* @__PURE__ */ a(
@@ -106,7 +107,7 @@ const y = ({
106
107
  d: "M15.429 14.854H.573a.572.572 0 100 1.146h14.852a.572.572 0 00.004-1.146zM.573 6.766h1.675v5.557h-.639a.572.572 0 100 1.146h12.784a.572.572 0 100-1.146h-.635V6.766h1.67a.568.568 0 00.541-.389.574.574 0 00-.196-.638L8.345.117a.565.565 0 00-.688 0L.23 5.739a.572.572 0 00.344 1.027zm2.817 0h2.314v5.557H3.39V6.766zm5.77 0v5.557H6.846V6.766H9.16zm3.456 5.553h-2.314V6.766h2.314v5.553zM8 1.288l5.724 4.336H2.277L8 1.288z",
107
108
  fill: e
108
109
  }
109
- ) })), u0 = ({
110
+ ) })), ht = ({
110
111
  color: e = "currentColor",
111
112
  ...o
112
113
  }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(g, { ...o, children: /* @__PURE__ */ a(
@@ -115,7 +116,7 @@ const y = ({
115
116
  d: "M5.854 3.133a.426.426 0 010 .643L1.757 7.5h13.774c.26 0 .469.224.469.5s-.21.5-.469.5H1.757l4.097 3.724a.426.426 0 010 .643.536.536 0 01-.708 0l-5-4.546a.426.426 0 010-.642l5-4.546a.536.536 0 01.708 0z",
116
117
  fill: e
117
118
  }
118
- ) })), p0 = ({
119
+ ) })), gt = ({
119
120
  color: e = "currentColor",
120
121
  ...o
121
122
  }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(g, { ...o, children: /* @__PURE__ */ a(
@@ -126,7 +127,7 @@ const y = ({
126
127
  fill: e,
127
128
  fillRule: "evenodd"
128
129
  }
129
- ) })), h0 = ({
130
+ ) })), mt = ({
130
131
  color: e = "currentColor",
131
132
  ...o
132
133
  }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(g, { ...o, children: /* @__PURE__ */ a(
@@ -135,7 +136,7 @@ const y = ({
135
136
  d: "M11.5 0a.5.5 0 01.5.5V2h2.5A1.5 1.5 0 0116 3.5v11a1.5 1.5 0 01-1.5 1.5h-13A1.5 1.5 0 010 14.5v-11A1.5 1.5 0 011.5 2H4V.5a.5.5 0 011 0V2h6V.5a.5.5 0 01.5-.5zM15 6H1v8.5a.5.5 0 00.5.5h13a.5.5 0 00.5-.5V6zm-4.5 1a.5.5 0 01.5.5V10h2.5a.5.5 0 010 1H11v2.5a.5.5 0 01-1 0V11H6v2.5a.5.5 0 01-1 0V11H2.5a.5.5 0 010-1H5V7.5a.5.5 0 011 0V10h4V7.5a.5.5 0 01.5-.5zm4-4h-13a.5.5 0 00-.5.5V5h14V3.5a.5.5 0 00-.5-.5z",
136
137
  fill: e
137
138
  }
138
- ) })), g0 = ({
139
+ ) })), ft = ({
139
140
  color: e = "currentColor",
140
141
  ...o
141
142
  }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(g, { ...o, children: /* @__PURE__ */ a(
@@ -144,7 +145,7 @@ const y = ({
144
145
  d: "M8 0c4.4 0 8 3.6 8 8s-3.6 8-8 8-8-3.6-8-8 3.6-8 8-8zm4.358 5.151a.5.5 0 00-.707-.01L6.858 9.803 4.35 7.363a.5.5 0 10-.698.718l2.858 2.777a.5.5 0 00.697 0l5.142-5a.5.5 0 00.01-.707z",
145
146
  fill: e
146
147
  }
147
- ) })), m0 = ({
148
+ ) })), bt = ({
148
149
  color: e = "currentColor",
149
150
  ...o
150
151
  }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(g, { ...o, children: /* @__PURE__ */ a(
@@ -153,7 +154,7 @@ const y = ({
153
154
  d: "M2.68 5.201a.6.6 0 01.848-.011L8 9.543l4.472-4.353a.6.6 0 11.837.86l-4.89 4.76a.6.6 0 01-.838 0l-4.89-4.76a.6.6 0 01-.012-.849z",
154
155
  fill: e
155
156
  }
156
- ) })), f0 = ({
157
+ ) })), Mt = ({
157
158
  color: e = "currentColor",
158
159
  ...o
159
160
  }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(g, { ...o, children: /* @__PURE__ */ a(
@@ -162,7 +163,7 @@ const y = ({
162
163
  d: "M10.799 2.68a.6.6 0 01.011.848L6.457 8l4.353 4.472a.6.6 0 01-.86.837L5.19 8.42a.6.6 0 010-.838l4.76-4.89a.6.6 0 01.849-.012z",
163
164
  fill: e
164
165
  }
165
- ) })), b0 = ({
166
+ ) })), yt = ({
166
167
  color: e = "currentColor",
167
168
  ...o
168
169
  }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(g, { ...o, children: /* @__PURE__ */ a(
@@ -171,7 +172,7 @@ const y = ({
171
172
  d: "M5.207 13.32a.6.6 0 01-.012-.848L9.55 8 5.195 3.528a.6.6 0 11.86-.837l4.76 4.89a.6.6 0 010 .838l-4.76 4.89a.6.6 0 01-.848.012z",
172
173
  fill: e
173
174
  }
174
- ) })), be = ({
175
+ ) })), Me = ({
175
176
  color: e = "currentColor",
176
177
  ...o
177
178
  }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(g, { ...o, children: /* @__PURE__ */ a(
@@ -180,7 +181,7 @@ const y = ({
180
181
  d: "M13.79 2.21a.72.72 0 0 1 0 1.02L9.018 8l4.77 4.77a.72.72 0 1 1-1.018 1.02L8 9.018l-4.77 4.77a.72.72 0 1 1-1.02-1.018L6.982 8l-4.77-4.77A.72.72 0 0 1 3.23 2.21L8 6.982l4.77-4.77a.72.72 0 0 1 1.02 0Z",
181
182
  fill: e
182
183
  }
183
- ) })), y0 = ({
184
+ ) })), xt = ({
184
185
  color: e = "currentColor",
185
186
  ...o
186
187
  }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(g, { ...o, children: /* @__PURE__ */ a(
@@ -189,7 +190,7 @@ const y = ({
189
190
  d: "M12.644.156l3.2 3.2a.533.533 0 010 .754L5.177 14.777a.534.534 0 01-.247.14L.663 15.984a.533.533 0 01-.647-.647l1.067-4.267a.534.534 0 01.14-.248L11.89.156a.533.533 0 01.754 0zM10.133 3.42l-8.051 8.052-.815 3.261 3.26-.815 8.052-8.052-2.446-2.446zm2.134-2.132l-1.38 1.378 2.446 2.446 1.38-1.379-2.446-2.445z",
190
191
  fill: e
191
192
  }
192
- ) })), M0 = ({
193
+ ) })), Ct = ({
193
194
  color: e = "currentColor",
194
195
  ...o
195
196
  }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(g, { ...o, children: /* @__PURE__ */ a(
@@ -198,7 +199,7 @@ const y = ({
198
199
  d: "M1.5 1.933l5.4 6.72c.066.081.1.18.1.28v5.134h2V8.933c0-.1.036-.199.1-.28l5.4-6.72h-13zM6 9.09L.1 1.747C-.145 1.439.09 1 .5 1h15c.413 0 .648.439.4.747L10 9.089v5.444c0 .258-.223.467-.5.467h-3c-.275 0-.5-.209-.5-.467V9.09z",
199
200
  fill: e
200
201
  }
201
- ) })), C0 = ({
202
+ ) })), vt = ({
202
203
  color: e = "currentColor",
203
204
  ...o
204
205
  }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(g, { ...o, children: /* @__PURE__ */ a(
@@ -207,10 +208,10 @@ const y = ({
207
208
  d: "M1.317 2.317a4.5 4.5 0 016.364 0c.117.117.223.238.32.363.095-.124.2-.245.316-.362a4.5 4.5 0 016.364 6.364l-.004.004-6.328 6.172a.5.5 0 01-.698 0L1.317 8.682a4.5 4.5 0 010-6.365zm5.657.708a3.5 3.5 0 00-4.952 4.947L8 13.802l5.977-5.83a3.5 3.5 0 00-4.952-4.947c-.235.235-.42.51-.586.815a.5.5 0 01-.878 0 3.46 3.46 0 00-.587-.815z",
208
209
  fill: e
209
210
  }
210
- ) })), v0 = ({
211
+ ) })), Tt = ({
211
212
  color: e = "currentColor",
212
213
  ...o
213
- }) => /* @__PURE__ */ M(g, { ...o, children: [
214
+ }) => /* @__PURE__ */ y(g, { ...o, children: [
214
215
  /* @__PURE__ */ a(
215
216
  "path",
216
217
  {
@@ -225,10 +226,10 @@ const y = ({
225
226
  fill: e
226
227
  }
227
228
  )
228
- ] }), x0 = ({
229
+ ] }), kt = ({
229
230
  color: e = "currentColor",
230
231
  ...o
231
- }) => /* @__PURE__ */ M(g, { ...o, children: [
232
+ }) => /* @__PURE__ */ y(g, { ...o, children: [
232
233
  /* @__PURE__ */ a(
233
234
  "path",
234
235
  {
@@ -261,7 +262,7 @@ const y = ({
261
262
  fillRule: "evenodd"
262
263
  }
263
264
  )
264
- ] }), T0 = ({
265
+ ] }), At = ({
265
266
  color: e = "currentColor",
266
267
  ...o
267
268
  }) => /* @__PURE__ */ a(g, { ...o, children: /* @__PURE__ */ a(
@@ -272,10 +273,10 @@ const y = ({
272
273
  fill: e,
273
274
  fillRule: "evenodd"
274
275
  }
275
- ) }), A0 = ({
276
+ ) }), Lt = ({
276
277
  color: e = "currentColor",
277
278
  ...o
278
- }) => /* @__PURE__ */ M(g, { ...o, children: [
279
+ }) => /* @__PURE__ */ y(g, { ...o, children: [
279
280
  /* @__PURE__ */ a(
280
281
  "path",
281
282
  {
@@ -301,11 +302,11 @@ const y = ({
301
302
  )
302
303
  ] });
303
304
  var u = /* @__PURE__ */ ((e) => (e.AutoTransport = "CAT-7829f71c-2e8c-afa5-2f55-fa3634b89874", e.BillsUtilities = "CAT-79b02f2f-2adc-88f0-ac2b-4e71ead9cfc8", e.BusinessServices = "CAT-94b11142-e97b-941a-f67f-6e18d246a23f", e.Education = "CAT-bf5c9cca-c96b-b50d-440d-38d9adfda5b0", e.Entertainment = "CAT-e04e9d1e-e041-c315-2e50-094143ab3f73", e.FeesCharges = "CAT-d73ee74b-13a4-ac3e-4015-fc4ba9a62b2a", e.Financial = "CAT-6c7de3f8-de6c-7061-1dd2-b093044014bf", e.FoodDining = "CAT-bd56d35a-a9a7-6e10-66c1-5b9cc1b6c81a", e.GiftsDonations = "CAT-8edf9663-623e-4735-490e-31288f0a70b0", e.HealthFitness = "CAT-52fa4693-c088-afb2-2a99-7bc39bb23a0f", e.Home = "CAT-b709172b-4eb7-318e-3b5d-e0f0500b32ac", e.Income = "CAT-bf9f3294-4c40-1677-d269-54fbc189faf3", e.Investments = "CAT-ccd42390-9e8c-3fb6-a5d9-6c31182d9c5c", e.Kids = "CAT-0cb1d99d-f558-99e3-2282-b31f359b411a", e.PersonalCare = "CAT-e5154228-fe45-790d-a280-f6bf5ae5ac9f", e.Pets = "CAT-7cccbafa-87d7-c9a6-661b-8b3402fe9e78", e.Shopping = "CAT-aad51b46-d6f7-3da5-fd6e-492328b3023f", e.Taxes = "CAT-d00fc539-aa14-009b-4ffb-7e8c7b839954", e.Transfer = "CAT-bce48142-fea4-ff45-20d9-0a642d44de83", e.Travel = "CAT-ea23d844-cbd1-eb10-f6ac-0df9610e59ae", e.Uncategorized = "CAT-d7851c65-3353-e490-1953-fb9235e681e4", e))(u || {}), ye = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Filled = "filled", e.Transparent = "transparent", e.TwoTone = "two-tone", e))(ye || {});
304
- const $ = {
305
+ const G = {
305
306
  guid: u.Uncategorized,
306
307
  colorName: "uncategorized",
307
308
  icon: "category"
308
- }, Me = [
309
+ }, xe = [
309
310
  {
310
311
  guid: u.AutoTransport,
311
312
  colorName: "autoTransport",
@@ -406,20 +407,20 @@ const $ = {
406
407
  colorName: "travel",
407
408
  icon: "airplane_ticket"
408
409
  },
409
- $
410
+ G
410
411
  ], Ce = 0.625, ve = ({
411
412
  categoryGuid: e,
412
413
  icon_ratio: o = Ce,
413
414
  size: n = 32,
414
- sx: r = {},
415
+ sx: t = {},
415
416
  variant: i = "filled"
416
417
  }) => {
417
- const l = v(), c = f.useMemo(
418
- () => Me.find((d) => d.guid === e) ?? $,
418
+ const l = C(), c = f.useMemo(
419
+ () => xe.find((d) => d.guid === e) ?? G,
419
420
  [e]
420
421
  ), s = l.palette.categories[c.colorName];
421
422
  return /* @__PURE__ */ a(
422
- L,
423
+ D,
423
424
  {
424
425
  alignItems: "center",
425
426
  bgcolor: () => {
@@ -433,18 +434,18 @@ const $ = {
433
434
  },
434
435
  height: n,
435
436
  justifyContent: "center",
436
- sx: [...Array.isArray(r) ? r : [r]],
437
+ sx: [...Array.isArray(t) ? t : [t]],
437
438
  width: n,
438
- children: /* @__PURE__ */ a(y, { name: c.icon, size: n * o })
439
+ children: /* @__PURE__ */ a(M, { name: c.icon, size: n * o })
439
440
  }
440
441
  );
441
- }, xe = ({
442
+ }, Te = ({
442
443
  items: e,
443
444
  onChange: o,
444
445
  isValid: n,
445
- selected: r
446
+ selected: t
446
447
  }) => {
447
- const i = v(), l = e?.map((c) => {
448
+ const i = C(), l = e?.map((c) => {
448
449
  const s = c.getValue({ isValid: n });
449
450
  return {
450
451
  label: c.label,
@@ -454,8 +455,8 @@ const $ = {
454
455
  disabled: !n(s)
455
456
  };
456
457
  });
457
- return /* @__PURE__ */ a(E, { sx: { gridColumn: 1, gridRow: "2/3", ml: 4, mt: 24, mr: 32 }, children: /* @__PURE__ */ a(ie, { color: "primary", orientation: "vertical", value: r, children: l?.map((c) => /* @__PURE__ */ a(
458
- ae,
458
+ return /* @__PURE__ */ a(I, { sx: { gridColumn: 1, gridRow: "2/3", ml: 4, mt: 24, mr: 32 }, children: /* @__PURE__ */ a(ne, { color: "primary", orientation: "vertical", value: t, children: l?.map((c) => /* @__PURE__ */ a(
459
+ ie,
459
460
  {
460
461
  onClick: c.onClick,
461
462
  sx: {
@@ -482,31 +483,31 @@ const $ = {
482
483
  },
483
484
  c.label
484
485
  )) }) });
485
- }, k0 = ({
486
+ }, Dt = ({
486
487
  copy: e,
487
488
  dateRange: o,
488
489
  onRangeChanged: n,
489
- selectedShortcut: r = e.dateRangeThisMonth,
490
+ selectedShortcut: t = e.dateRangeThisMonth,
490
491
  sx: i = {}
491
492
  }) => {
492
- const l = v(), c = ee(l.breakpoints.down("sm")), s = f.useMemo(() => {
493
- const p = Q(), d = J(p, 1), m = q(p, 1);
493
+ const l = C(), c = te(l.breakpoints.down("sm")), s = f.useMemo(() => {
494
+ const p = J(), d = q(p, 1), m = ee(p, 1);
494
495
  return [
495
496
  {
496
497
  label: e.dateRangeThisMonth,
497
- getValue: () => [w(p), F(p)]
498
+ getValue: () => [w(p), H(p)]
498
499
  },
499
500
  {
500
501
  label: e.dateRangeLastMonth,
501
- getValue: () => [w(d), F(d)]
502
+ getValue: () => [w(d), H(d)]
502
503
  },
503
504
  {
504
505
  label: e.dateRangeLast30Days,
505
- getValue: () => [N(p, 30), p]
506
+ getValue: () => [z(p, 30), p]
506
507
  },
507
508
  {
508
509
  label: e.dateRangeLast90Days,
509
- getValue: () => [N(p, 90), p]
510
+ getValue: () => [z(p, 90), p]
510
511
  },
511
512
  {
512
513
  label: e.dateRangeYTD,
@@ -514,7 +515,7 @@ const $ = {
514
515
  },
515
516
  {
516
517
  label: e.dateRangeLastYear,
517
- getValue: () => [R(m), Y(m)]
518
+ getValue: () => [R(m), Q(m)]
518
519
  },
519
520
  {
520
521
  label: e.dateRangeCustom,
@@ -525,8 +526,8 @@ const $ = {
525
526
  const m = d.shortcut;
526
527
  n?.(p, m ? m.label : e.dateRangeCustom);
527
528
  };
528
- return /* @__PURE__ */ a(L, { gap: 16, m: 8, children: /* @__PURE__ */ a(re, { dateAdapter: oe, children: /* @__PURE__ */ a(
529
- te,
529
+ return /* @__PURE__ */ a(D, { gap: 16, m: 8, children: /* @__PURE__ */ a(re, { dateAdapter: ae, children: /* @__PURE__ */ a(
530
+ oe,
530
531
  {
531
532
  calendars: 1,
532
533
  localeText: {
@@ -546,28 +547,28 @@ const $ = {
546
547
  }
547
548
  },
548
549
  slots: {
549
- leftArrowIcon: () => /* @__PURE__ */ a(y, { name: "chevron_left", size: 28 }),
550
- shortcuts: (p) => /* @__PURE__ */ a(xe, { selected: r, ...p }),
551
- rightArrowIcon: () => /* @__PURE__ */ a(y, { name: "chevron_right", size: 28 })
550
+ leftArrowIcon: () => /* @__PURE__ */ a(M, { name: "chevron_left", size: 28 }),
551
+ shortcuts: (p) => /* @__PURE__ */ a(Te, { selected: t, ...p }),
552
+ rightArrowIcon: () => /* @__PURE__ */ a(M, { name: "chevron_right", size: 28 })
552
553
  },
553
554
  sx: { ...i },
554
555
  value: o
555
556
  }
556
557
  ) }) });
557
- }, D0 = f.forwardRef(function(o, n) {
558
- return /* @__PURE__ */ a(O, { direction: "up", ref: n, ...o });
559
- }), Te = ({
558
+ }, It = f.forwardRef(function(o, n) {
559
+ return /* @__PURE__ */ a(_, { direction: "up", ref: n, ...o });
560
+ }), ke = ({
560
561
  hasSecondaryAction: e = !0,
561
562
  isPrimaryDisabled: o,
562
563
  onPrimaryAction: n,
563
- onSecondaryAction: r,
564
+ onSecondaryAction: t,
564
565
  primaryColor: i = "primary",
565
566
  primaryText: l = "Save",
566
567
  secondaryColor: c = "primary",
567
568
  secondaryText: s = "Cancel",
568
569
  ...b
569
- }) => /* @__PURE__ */ M(
570
- _,
570
+ }) => /* @__PURE__ */ y(
571
+ V,
571
572
  {
572
573
  sx: {
573
574
  display: "flex",
@@ -580,16 +581,16 @@ const $ = {
580
581
  ...b,
581
582
  children: [
582
583
  e && /* @__PURE__ */ a(
583
- D,
584
+ L,
584
585
  {
585
586
  color: c,
586
- onClick: r,
587
+ onClick: t,
587
588
  variant: n ? "outlined" : "contained",
588
589
  children: s
589
590
  }
590
591
  ),
591
592
  n && /* @__PURE__ */ a(
592
- D,
593
+ L,
593
594
  {
594
595
  color: i,
595
596
  disabled: o,
@@ -600,10 +601,10 @@ const $ = {
600
601
  )
601
602
  ]
602
603
  }
603
- ), L0 = ({ copy: e, onClose: o, ...n }) => {
604
- const r = v();
605
- return /* @__PURE__ */ M(
606
- _,
604
+ ), Ft = ({ copy: e, onClose: o, ...n }) => {
605
+ const t = C();
606
+ return /* @__PURE__ */ y(
607
+ V,
607
608
  {
608
609
  sx: {
609
610
  "&.MuiToolbar-gutters": {
@@ -612,36 +613,36 @@ const $ = {
612
613
  },
613
614
  ...n,
614
615
  children: [
615
- /* @__PURE__ */ a(E, { sx: { flexGrow: 1 }, children: /* @__PURE__ */ a(ke, { sx: { fontWeight: 600 }, variant: "h3", children: e.title }) }),
616
- /* @__PURE__ */ a(V, { "aria-label": e.close_aria, onClick: o, sx: { mr: -12 }, children: /* @__PURE__ */ a(be, { color: r.palette.primary.main }) })
616
+ /* @__PURE__ */ a(I, { sx: { flexGrow: 1 }, children: /* @__PURE__ */ a(Le, { sx: { fontWeight: 600 }, variant: "h3", children: e.title }) }),
617
+ /* @__PURE__ */ a(W, { "aria-label": e.close_aria, onClick: o, sx: { mr: -12 }, children: /* @__PURE__ */ a(Me, { color: t.palette.primary.main }) })
617
618
  ]
618
619
  }
619
620
  );
620
- }, E0 = ({
621
+ }, St = ({
621
622
  className: e,
622
623
  disableSave: o,
623
624
  id: n,
624
- isOpen: r,
625
+ isOpen: t,
625
626
  onClose: i,
626
627
  onSave: l,
627
628
  primaryText: c,
628
629
  secondaryText: s,
629
630
  children: b,
630
631
  ...p
631
- }) => /* @__PURE__ */ M(
632
- ne,
632
+ }) => /* @__PURE__ */ y(
633
+ le,
633
634
  {
634
635
  anchor: "right",
635
636
  className: `mx-kmui-drawer ${e}`,
636
637
  id: n ?? void 0,
637
638
  onClose: i,
638
- open: r,
639
+ open: t,
639
640
  variant: "temporary",
640
641
  ...p,
641
642
  children: [
642
643
  b,
643
644
  l && /* @__PURE__ */ a(
644
- Te,
645
+ ke,
645
646
  {
646
647
  isPrimaryDisabled: o,
647
648
  onPrimaryAction: l,
@@ -652,40 +653,40 @@ const $ = {
652
653
  )
653
654
  ]
654
655
  }
655
- ), G = 32, S = "https://content.moneydesktop.com/storage/MD_Assets", Ae = `${S}/serenity/default_institution_logo.png`, H0 = ({
656
+ ), U = 32, S = "https://content.moneydesktop.com/storage/MD_Assets", Ae = `${S}/serenity/default_institution_logo.png`, Et = ({
656
657
  alt: e,
657
658
  institutionGuid: o,
658
659
  logoUrl: n,
659
- size: r = G,
660
+ size: t = U,
660
661
  ...i
661
662
  }) => /* @__PURE__ */ a(
662
663
  "img",
663
664
  {
664
665
  alt: e,
665
- height: r,
666
+ height: t,
666
667
  onError: (l) => l.target.src = Ae,
667
668
  src: n || `${S}/Ipad%20Logos/100x100/${o}_100x100.png`,
668
669
  style: {
669
670
  borderRadius: 4
670
671
  },
671
- width: r,
672
+ width: t,
672
673
  ...i
673
674
  }
674
- ), S0 = ({
675
+ ), Ht = ({
675
676
  alt: e = "",
676
677
  categoryGuid: o,
677
678
  merchantGuid: n,
678
- size: r = G,
679
+ size: t = U,
679
680
  ...i
680
681
  }) => {
681
- const [l, c] = f.useState(!1), s = v();
682
- return /* @__PURE__ */ M(E, { display: "inline-block", position: "relative", ...i, children: [
682
+ const [l, c] = f.useState(!1), s = C();
683
+ return /* @__PURE__ */ y(I, { display: "inline-block", position: "relative", ...i, children: [
683
684
  n && !l && /* @__PURE__ */ a(
684
685
  "img",
685
686
  {
686
687
  alt: e,
687
688
  "aria-hidden": !e,
688
- height: r,
689
+ height: t,
689
690
  onError: () => c(!0),
690
691
  src: `${S}/merchant_logos/${n}.png`,
691
692
  style: {
@@ -694,16 +695,16 @@ const $ = {
694
695
  boxSizing: "border-box",
695
696
  position: "absolute"
696
697
  },
697
- width: r
698
+ width: t
698
699
  }
699
700
  ),
700
- /* @__PURE__ */ a(ve, { categoryGuid: o, size: r })
701
+ /* @__PURE__ */ a(ve, { categoryGuid: o, size: t })
701
702
  ] });
702
703
  }, T = ({
703
704
  bold: e,
704
705
  className: o = "",
705
706
  children: n,
706
- color: r,
707
+ color: t,
707
708
  sx: i = {},
708
709
  truncate: l = !0,
709
710
  uppercase: c,
@@ -742,10 +743,10 @@ const $ = {
742
743
  break;
743
744
  }
744
745
  return /* @__PURE__ */ a(
745
- le,
746
+ ce,
746
747
  {
747
748
  className: `mx-kmui-text ${o}`,
748
- color: r,
749
+ color: t,
749
750
  sx: [
750
751
  e ? {
751
752
  fontWeight: 600
@@ -764,42 +765,42 @@ const $ = {
764
765
  children: n
765
766
  }
766
767
  );
767
- }, ke = ({ className: e = "", children: o, ...n }) => /* @__PURE__ */ a(T, { className: `mx-kmui-text h1 ${e}`, component: "h1", variant: "h1", ...n, children: o }), I0 = ({ className: e = "", children: o, ...n }) => /* @__PURE__ */ a(T, { className: `mx-kmui-text h2 ${e}`, component: "h2", variant: "h2", ...n, children: o }), F0 = ({ className: e = "", children: o, ...n }) => /* @__PURE__ */ a(T, { className: `mx-kmui-text h3 ${e}`, component: "h3", variant: "h3", ...n, children: o }), w0 = ({ className: e = "", children: o, truncate: n, ...r }) => /* @__PURE__ */ a(
768
+ }, Le = ({ className: e = "", children: o, ...n }) => /* @__PURE__ */ a(T, { className: `mx-kmui-text h1 ${e}`, component: "h1", variant: "h1", ...n, children: o }), wt = ({ className: e = "", children: o, ...n }) => /* @__PURE__ */ a(T, { className: `mx-kmui-text h2 ${e}`, component: "h2", variant: "h2", ...n, children: o }), Rt = ({ className: e = "", children: o, ...n }) => /* @__PURE__ */ a(T, { className: `mx-kmui-text h3 ${e}`, component: "h3", variant: "h3", ...n, children: o }), zt = ({ className: e = "", children: o, truncate: n, ...t }) => /* @__PURE__ */ a(
768
769
  T,
769
770
  {
770
771
  className: `mx-kmui-text p ${e}`,
771
772
  component: "p",
772
773
  truncate: n || !1,
773
774
  variant: "body1",
774
- ...r,
775
+ ...t,
775
776
  children: o
776
777
  }
777
- ), R0 = ({
778
+ ), Nt = ({
778
779
  disabled: e = !1,
779
780
  label: o = "",
780
781
  shrink: n = !0,
781
- variant: r = "outlined",
782
+ variant: t = "outlined",
782
783
  ...i
783
784
  }) => /* @__PURE__ */ a(
784
- ce,
785
+ se,
785
786
  {
786
787
  InputLabelProps: {
787
788
  shrink: n
788
789
  },
789
790
  disabled: e,
790
791
  label: o,
791
- variant: r,
792
+ variant: t,
792
793
  ...i
793
794
  }
794
795
  );
795
796
  function De(e) {
796
- return /* @__PURE__ */ a(O, { ...e, direction: "left", mountOnEnter: !0, unmountOnExit: !0 });
797
+ return /* @__PURE__ */ a(_, { ...e, direction: "left", mountOnEnter: !0, unmountOnExit: !0 });
797
798
  }
798
- const N0 = ({
799
+ const Pt = ({
799
800
  open: e,
800
801
  handleClose: o,
801
802
  message: n,
802
- autoHideDuration: r = 3e3,
803
+ autoHideDuration: t = 3e3,
803
804
  severity: i = "success",
804
805
  snackbarSx: l,
805
806
  showAction: c = !1,
@@ -808,13 +809,13 @@ const N0 = ({
808
809
  onActionClick: p,
809
810
  multiLine: d = !1
810
811
  }) => {
811
- const m = v(), Z = {
812
+ const m = C(), j = {
812
813
  success: m.palette.success.dark,
813
814
  error: m.palette.error.light,
814
815
  info: m.palette.info.lighter,
815
816
  warning: m.palette.warning.lighter
816
- }, j = /* @__PURE__ */ M(
817
- L,
817
+ }, X = /* @__PURE__ */ y(
818
+ D,
818
819
  {
819
820
  alignItems: d ? "flex-end" : "center",
820
821
  direction: d ? "column-reverse" : "row",
@@ -824,7 +825,7 @@ const N0 = ({
824
825
  ),
825
826
  children: [
826
827
  c && /* @__PURE__ */ a(
827
- D,
828
+ L,
828
829
  {
829
830
  color: "inherit",
830
831
  onClick: p || o,
@@ -837,24 +838,24 @@ const N0 = ({
837
838
  }
838
839
  ),
839
840
  s && /* @__PURE__ */ a(
840
- V,
841
+ W,
841
842
  {
842
843
  "aria-label": "close",
843
844
  color: "inherit",
844
845
  onClick: o,
845
846
  sx: { height: 44, width: 44 },
846
- children: /* @__PURE__ */ a(y, { fill: !0, name: "close", size: 24, weight: 400 })
847
+ children: /* @__PURE__ */ a(M, { fill: !0, name: "close", size: 24, weight: 400 })
847
848
  }
848
849
  )
849
850
  ]
850
851
  }
851
852
  );
852
853
  return /* @__PURE__ */ a(
853
- se,
854
+ de,
854
855
  {
855
856
  TransitionComponent: De,
856
857
  anchorOrigin: { vertical: "bottom", horizontal: "right" },
857
- autoHideDuration: r,
858
+ autoHideDuration: t,
858
859
  onClose: o,
859
860
  open: e,
860
861
  sx: {
@@ -862,16 +863,16 @@ const N0 = ({
862
863
  width: d ? 400 : 325
863
864
  },
864
865
  children: /* @__PURE__ */ a(
865
- de,
866
+ ue,
866
867
  {
867
- action: j,
868
+ action: X,
868
869
  severity: i,
869
870
  sx: {
870
871
  display: "flex",
871
872
  alignItems: "stretch",
872
873
  minHeight: s && c && d ? 120 : 56,
873
874
  maxHeight: d ? 120 : 56,
874
- backgroundColor: (I) => I.palette.mode === "light" ? I.palette[i].darker : Z[i],
875
+ backgroundColor: (E) => E.palette.mode === "light" ? E.palette[i].darker : j[i],
875
876
  width: "100%",
876
877
  "& .MuiAlert-icon": {
877
878
  alignSelf: d ? "flex-start" : "center"
@@ -904,35 +905,35 @@ const N0 = ({
904
905
  )
905
906
  }
906
907
  );
907
- }, x = {
908
+ }, v = {
908
909
  REACT: "react",
909
910
  REACT_NATIVE: "react_native",
910
911
  NATIVE: "native"
911
- }, A = {
912
+ }, k = {
912
913
  LIGHT: "light",
913
914
  DARK: "dark"
914
- }, U = f.createContext(W), K = f.createContext(
915
- H(A.LIGHT, x.REACT_NATIVE)
916
- ), z0 = ({
915
+ }, K = f.createContext($), Z = f.createContext(
916
+ F(k.LIGHT, v.REACT_NATIVE)
917
+ ), Bt = ({
917
918
  children: e,
918
- target: o = x.REACT,
919
- theme: n = A.LIGHT,
920
- tokenOverrides: r
919
+ target: o = v.REACT,
920
+ theme: n = k.LIGHT,
921
+ tokenOverrides: t
921
922
  }) => {
922
- const [i, l] = f.useState(n === A.LIGHT ? W : ue), c = f.useMemo(() => ({
923
- ...r
924
- }), [r]);
923
+ const [i, l] = f.useState(n === k.LIGHT ? $ : pe), c = f.useMemo(() => ({
924
+ ...t
925
+ }), [t]);
925
926
  return f.useEffect(() => {
926
- const s = H(n, o, { ...c });
927
+ const s = F(n, o, { ...c });
927
928
  l(s);
928
- }, [n, o, c]), o === x.REACT ? /* @__PURE__ */ a(U.Provider, { value: i, children: e }) : (console.warn("DEPRECATED: Use static values instead of tokens"), /* @__PURE__ */ a(K.Provider, { value: i, children: e }));
929
- }, P0 = (e = x.REACT, o = {}) => {
930
- const n = e === x.REACT ? U : K, r = f.useContext(n);
931
- return r || H(A.LIGHT, e, { ...o });
929
+ }, [n, o, c]), o === v.REACT ? /* @__PURE__ */ a(K.Provider, { value: i, children: e }) : (console.warn("DEPRECATED: Use static values instead of tokens"), /* @__PURE__ */ a(Z.Provider, { value: i, children: e }));
930
+ }, Ot = (e = v.REACT, o = {}) => {
931
+ const n = e === v.REACT ? K : Z, t = f.useContext(n);
932
+ return t || F(k.LIGHT, e, { ...o });
932
933
  }, h = {
933
934
  LIGHT: "light",
934
935
  DARK: "dark"
935
- }, t = {
936
+ }, r = {
936
937
  Black: "#000000",
937
938
  Error100: "#FCD2CF",
938
939
  Error200: "#F45532",
@@ -965,93 +966,93 @@ const N0 = ({
965
966
  Warning400: "#E07C02",
966
967
  Warning500: "#C33E01",
967
968
  White: "#FFFFFF"
968
- }, Le = (e) => ge({
969
+ }, Ie = (e) => me({
969
970
  mode: e,
970
971
  border: {
971
- lighter: e === "light" ? t.Neutral200 : t.Neutral800,
972
- light: e === "light" ? t.Neutral300 : t.Neutral700,
973
- main: e === "light" ? t.Neutral400 : t.Neutral600,
974
- dark: t.Neutral500,
975
- darker: e === "light" ? t.Neutral600 : t.Neutral400
972
+ lighter: e === "light" ? r.Neutral200 : r.Neutral800,
973
+ light: e === "light" ? r.Neutral300 : r.Neutral700,
974
+ main: e === "light" ? r.Neutral400 : r.Neutral600,
975
+ dark: r.Neutral500,
976
+ darker: e === "light" ? r.Neutral600 : r.Neutral400
976
977
  },
977
978
  common: {
978
- white: t.White,
979
- black: t.Black
979
+ white: r.White,
980
+ black: r.Black
980
981
  },
981
982
  primary: {
982
- lighter: t.Primary100,
983
- light: t.Primary200,
984
- main: t.Primary300,
985
- dark: t.Primary400,
986
- darker: t.Primary500
983
+ lighter: r.Primary100,
984
+ light: r.Primary200,
985
+ main: r.Primary300,
986
+ dark: r.Primary400,
987
+ darker: r.Primary500
987
988
  },
988
989
  secondary: {
989
- lighter: e === "light" ? t.Neutral500 : t.Neutral200,
990
- light: e === "light" ? t.Neutral600 : t.Neutral300,
991
- main: e === "light" ? t.Neutral700 : t.Neutral400,
992
- dark: e === "light" ? t.Neutral800 : t.Neutral500,
993
- darker: e === "light" ? t.Neutral900 : t.Neutral600
990
+ lighter: e === "light" ? r.Neutral500 : r.Neutral200,
991
+ light: e === "light" ? r.Neutral600 : r.Neutral300,
992
+ main: e === "light" ? r.Neutral700 : r.Neutral400,
993
+ dark: e === "light" ? r.Neutral800 : r.Neutral500,
994
+ darker: e === "light" ? r.Neutral900 : r.Neutral600
994
995
  },
995
996
  text: {
996
- primary: e === "light" ? t.Neutral900 : t.White,
997
- secondary: e === "light" ? t.Neutral700 : t.Neutral500,
998
- disabled: e === "light" ? t.Neutral500 : t.Neutral600
997
+ primary: e === "light" ? r.Neutral900 : r.White,
998
+ secondary: e === "light" ? r.Neutral700 : r.Neutral500,
999
+ disabled: e === "light" ? r.Neutral500 : r.Neutral600
999
1000
  },
1000
1001
  error: {
1001
- lighter: e === "light" ? t.Error100 : t.Error300,
1002
- light: e === "light" ? t.Error200 : t.Error100,
1003
- main: e === "light" ? t.Error300 : t.Error200,
1004
- dark: e === "light" ? t.Error400 : t.Error300,
1005
- darker: e === "light" ? t.Error500 : t.Error400
1002
+ lighter: e === "light" ? r.Error100 : r.Error300,
1003
+ light: e === "light" ? r.Error200 : r.Error100,
1004
+ main: e === "light" ? r.Error300 : r.Error200,
1005
+ dark: e === "light" ? r.Error400 : r.Error300,
1006
+ darker: e === "light" ? r.Error500 : r.Error400
1006
1007
  },
1007
1008
  warning: {
1008
- lighter: t.Warning100,
1009
- light: t.Warning200,
1010
- main: t.Warning300,
1011
- dark: t.Warning400,
1012
- darker: t.Warning500
1009
+ lighter: r.Warning100,
1010
+ light: r.Warning200,
1011
+ main: r.Warning300,
1012
+ dark: r.Warning400,
1013
+ darker: r.Warning500
1013
1014
  },
1014
1015
  info: {
1015
- lighter: t.Primary100,
1016
- light: t.Primary200,
1017
- main: t.Primary300,
1018
- dark: t.Primary400,
1019
- darker: t.Primary500
1016
+ lighter: r.Primary100,
1017
+ light: r.Primary200,
1018
+ main: r.Primary300,
1019
+ dark: r.Primary400,
1020
+ darker: r.Primary500
1020
1021
  },
1021
1022
  success: {
1022
- lighter: t.Success100,
1023
- light: e === "light" ? t.Success200 : t.Success150,
1024
- main: e === "light" ? t.Success300 : t.Success200,
1025
- dark: e === "light" ? t.Success400 : t.Success300,
1026
- darker: e === "light" ? t.Success500 : t.Success400
1023
+ lighter: r.Success100,
1024
+ light: e === "light" ? r.Success200 : r.Success150,
1025
+ main: e === "light" ? r.Success300 : r.Success200,
1026
+ dark: e === "light" ? r.Success400 : r.Success300,
1027
+ darker: e === "light" ? r.Success500 : r.Success400
1027
1028
  },
1028
1029
  grey: {
1029
- 100: t.Neutral100,
1030
- 200: t.Neutral200,
1031
- 300: t.Neutral300,
1032
- 400: t.Neutral400,
1033
- 500: t.Neutral500,
1034
- 600: t.Neutral600,
1035
- 700: t.Neutral700,
1036
- 800: t.Neutral800,
1037
- 900: t.Neutral900
1030
+ 100: r.Neutral100,
1031
+ 200: r.Neutral200,
1032
+ 300: r.Neutral300,
1033
+ 400: r.Neutral400,
1034
+ 500: r.Neutral500,
1035
+ 600: r.Neutral600,
1036
+ 700: r.Neutral700,
1037
+ 800: r.Neutral800,
1038
+ 900: r.Neutral900
1038
1039
  },
1039
1040
  action: {
1040
- active: e === "light" ? t.Primary300 : t.Primary200,
1041
- disabled: t.Neutral500,
1042
- disabledBackground: e === "light" ? t.Neutral200 : t.Neutral700,
1043
- hover: e === "light" ? t.Neutral100 : t.Neutral800,
1041
+ active: e === "light" ? r.Primary300 : r.Primary200,
1042
+ disabled: r.Neutral500,
1043
+ disabledBackground: e === "light" ? r.Neutral200 : r.Neutral700,
1044
+ hover: e === "light" ? r.Neutral100 : r.Neutral800,
1044
1045
  hoverOpacity: 0.1,
1045
- selected: e === "light" ? t.Primary300 : t.Primary200,
1046
+ selected: e === "light" ? r.Primary300 : r.Primary200,
1046
1047
  selectedOpacity: 0.1
1047
1048
  },
1048
1049
  background: {
1049
- default: e === "light" ? t.Neutral100 : t.Neutral800,
1050
- paper: e === "light" ? t.White : t.Neutral900,
1051
- highlight: e === "light" ? t.Neutral200 : t.Neutral600,
1052
- highlightPrimary: e === "light" ? t.Primary100 : t.Primary500
1050
+ default: e === "light" ? r.Neutral100 : r.Neutral800,
1051
+ paper: e === "light" ? r.White : r.Neutral900,
1052
+ highlight: e === "light" ? r.Neutral200 : r.Neutral600,
1053
+ highlightPrimary: e === "light" ? r.Primary100 : r.Primary500
1053
1054
  },
1054
- divider: e === "light" ? t.Neutral400 : t.Neutral700,
1055
+ divider: e === "light" ? r.Neutral400 : r.Neutral700,
1055
1056
  categories: {
1056
1057
  autoTransport: "#4B9DBC",
1057
1058
  billsUtilities: "#EF8B2C",
@@ -1092,8 +1093,8 @@ const N0 = ({
1092
1093
  chartMono5: "#034AB3",
1093
1094
  chartMono6: "#002966"
1094
1095
  }
1095
- }), C = "Inter, Helvetica, Arial, sans-serif", Ee = (e) => me(e, {
1096
- fontFamily: C,
1096
+ }), x = "Inter, Helvetica, Arial, sans-serif", Fe = (e) => fe(e, {
1097
+ fontFamily: x,
1097
1098
  fontSize: 15,
1098
1099
  Body: {
1099
1100
  // DEPRECATED: Use body1 instead
@@ -1131,39 +1132,39 @@ const N0 = ({
1131
1132
  },
1132
1133
  H1: {
1133
1134
  // DEPRECATED: Use h1 instead
1134
- fontFamily: C,
1135
+ fontFamily: x,
1135
1136
  fontWeight: 700,
1136
1137
  fontSize: 31,
1137
1138
  lineHeight: "40px"
1138
1139
  },
1139
1140
  h1: {
1140
- fontFamily: C,
1141
+ fontFamily: x,
1141
1142
  fontWeight: 700,
1142
1143
  fontSize: 31,
1143
1144
  lineHeight: "40px"
1144
1145
  },
1145
1146
  H2: {
1146
1147
  // DEPRECATED: Use h2 instead
1147
- fontFamily: C,
1148
+ fontFamily: x,
1148
1149
  fontWeight: 700,
1149
1150
  fontSize: 23,
1150
1151
  lineHeight: "32px"
1151
1152
  },
1152
1153
  h2: {
1153
- fontFamily: C,
1154
+ fontFamily: x,
1154
1155
  fontWeight: 700,
1155
1156
  fontSize: 23,
1156
1157
  lineHeight: "32px"
1157
1158
  },
1158
1159
  H3: {
1159
1160
  // DEPRECATED: Use h3 instead
1160
- fontFamily: C,
1161
+ fontFamily: x,
1161
1162
  fontWeight: 700,
1162
1163
  fontSize: 18,
1163
1164
  lineHeight: "24px"
1164
1165
  },
1165
1166
  h3: {
1166
- fontFamily: C,
1167
+ fontFamily: x,
1167
1168
  fontWeight: 700,
1168
1169
  fontSize: 18,
1169
1170
  lineHeight: "24px"
@@ -1200,16 +1201,16 @@ const N0 = ({
1200
1201
  lineHeight: "12px"
1201
1202
  }
1202
1203
  });
1203
- pe.setLicenseKey(
1204
+ he.setLicenseKey(
1204
1205
  "6e7dd593526efa1f157230ecf06c9b02Tz0xMDA5NjAsRT0xNzYyMDQxNjAwMDAwLFM9cHJvLExNPWFubnVhbCxQVj1RMy0yMDI0LEtWPTI="
1205
1206
  );
1206
- const k = [...B().shadows];
1207
- k[1] = "0px 2px 8px rgba(106, 115, 129, 0.12)";
1208
- k[2] = "0px 6px 12px rgba(106, 115, 129, 0.16), 0px 3px 8px rgba(87, 102, 117, 0.06)";
1209
- k[3] = "0px 12px 20px rgba(106, 115, 129, 0.22)";
1210
- const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px rgba(82, 138, 224, 0.8)", He = "cubic-bezier(.475,.425,0,.995)", B0 = (e) => {
1211
- const o = Le(e), n = Ee(o);
1212
- return B({
1207
+ const A = [...O().shadows];
1208
+ A[1] = "0px 2px 8px rgba(106, 115, 129, 0.12)";
1209
+ A[2] = "0px 6px 12px rgba(106, 115, 129, 0.16), 0px 3px 8px rgba(87, 102, 117, 0.06)";
1210
+ A[3] = "0px 12px 20px rgba(106, 115, 129, 0.22)";
1211
+ const P = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", B = "inset 0px 0px 0px 2px rgba(82, 138, 224, 0.8)", Se = "cubic-bezier(.475,.425,0,.995)", _t = (e) => {
1212
+ const o = Ie(e), n = Fe(o);
1213
+ return O({
1213
1214
  breakpoints: {
1214
1215
  values: {
1215
1216
  xs: 444,
@@ -1220,7 +1221,7 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
1220
1221
  }
1221
1222
  },
1222
1223
  palette: o,
1223
- shadows: k,
1224
+ shadows: A,
1224
1225
  shape: {
1225
1226
  borderRadius: 4
1226
1227
  },
@@ -1230,12 +1231,12 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
1230
1231
  components: {
1231
1232
  MuiAutocomplete: {
1232
1233
  styleOverrides: {
1233
- root: ({ theme: r }) => ({
1234
+ root: ({ theme: t }) => ({
1234
1235
  "& .MuiAutocomplete-endAdornment": {
1235
1236
  marginTop: -5
1236
1237
  },
1237
1238
  "& .MuiIconButton-root": {
1238
- color: r.palette.mode === "light" ? r.palette.grey[700] : r.palette.grey[400],
1239
+ color: t.palette.mode === "light" ? t.palette.grey[700] : t.palette.grey[400],
1239
1240
  "&:hover": {
1240
1241
  backgroundColor: "inherit"
1241
1242
  }
@@ -1246,16 +1247,16 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
1246
1247
  MuiAlert: {
1247
1248
  defaultProps: {
1248
1249
  iconMapping: {
1249
- success: /* @__PURE__ */ a(y, { fill: !0, name: "check_circle", size: 24, weight: 400 }),
1250
- error: /* @__PURE__ */ a(y, { fill: !0, name: "error", size: 24, weight: 400 }),
1251
- warning: /* @__PURE__ */ a(y, { fill: !0, name: "warning", size: 24, weight: 400 }),
1252
- info: /* @__PURE__ */ a(y, { fill: !0, name: "info", size: 24, weight: 400 })
1250
+ success: /* @__PURE__ */ a(M, { fill: !0, name: "check_circle", size: 24, weight: 400 }),
1251
+ error: /* @__PURE__ */ a(M, { fill: !0, name: "error", size: 24, weight: 400 }),
1252
+ warning: /* @__PURE__ */ a(M, { fill: !0, name: "warning", size: 24, weight: 400 }),
1253
+ info: /* @__PURE__ */ a(M, { fill: !0, name: "info", size: 24, weight: 400 })
1253
1254
  }
1254
1255
  },
1255
1256
  styleOverrides: {
1256
- standard: ({ theme: r }) => ({
1257
- background: r.palette.background.paper,
1258
- color: r.palette.text.primary
1257
+ standard: ({ theme: t }) => ({
1258
+ background: t.palette.background.paper,
1259
+ color: t.palette.text.primary
1259
1260
  }),
1260
1261
  root: {
1261
1262
  alignItems: "center",
@@ -1274,8 +1275,8 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
1274
1275
  },
1275
1276
  MuiAvatar: {
1276
1277
  styleOverrides: {
1277
- root: ({ theme: r }) => ({
1278
- backgroundColor: r.palette.mode === h.LIGHT ? r.palette.grey[400] : r.palette.grey[700]
1278
+ root: ({ theme: t }) => ({
1279
+ backgroundColor: t.palette.mode === h.LIGHT ? t.palette.grey[400] : t.palette.grey[700]
1279
1280
  })
1280
1281
  }
1281
1282
  },
@@ -1286,15 +1287,15 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
1286
1287
  styleOverrides: {
1287
1288
  root: {
1288
1289
  "&.Mui-focusVisible": {
1289
- boxShadow: z
1290
+ boxShadow: P
1290
1291
  }
1291
1292
  }
1292
1293
  }
1293
1294
  },
1294
1295
  MuiButton: {
1295
1296
  styleOverrides: {
1296
- contained: ({ ownerState: r, theme: i }) => ({
1297
- ...i.palette.mode === h.DARK && r.color === "primary" && {
1297
+ contained: ({ ownerState: t, theme: i }) => ({
1298
+ ...i.palette.mode === h.DARK && t.color === "primary" && {
1298
1299
  color: i.palette.grey[900],
1299
1300
  backgroundColor: i.palette.primary.light
1300
1301
  },
@@ -1303,45 +1304,45 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
1303
1304
  boxShadow: "none"
1304
1305
  },
1305
1306
  "&:active": {
1306
- backgroundColor: r.color === "error" ? i.palette.error.darker : i.palette.primary.darker
1307
+ backgroundColor: t.color === "error" ? i.palette.error.darker : i.palette.primary.darker
1307
1308
  }
1308
1309
  }),
1309
- outlined: ({ theme: r }) => ({
1310
- borderColor: r.palette.border.main,
1310
+ outlined: ({ theme: t }) => ({
1311
+ borderColor: t.palette.border.main,
1311
1312
  "&:hover": {
1312
- borderColor: r.palette.border.dark
1313
+ borderColor: t.palette.border.dark
1313
1314
  },
1314
1315
  "&:active": {
1315
- borderColor: r.palette.border.darker
1316
+ borderColor: t.palette.border.darker
1316
1317
  }
1317
1318
  }),
1318
- outlinedPrimary: ({ theme: r }) => ({
1319
- ...r.palette.mode === h.DARK && {
1320
- color: r.palette.primary.light
1319
+ outlinedPrimary: ({ theme: t }) => ({
1320
+ ...t.palette.mode === h.DARK && {
1321
+ color: t.palette.primary.light
1321
1322
  }
1322
1323
  }),
1323
- text: ({ ownerState: r, theme: i }) => ({
1324
+ text: ({ ownerState: t, theme: i }) => ({
1324
1325
  "&:active": {
1325
- ...r.color === "error" && {
1326
+ ...t.color === "error" && {
1326
1327
  backgroundColor: i.palette.error.lighter
1327
1328
  },
1328
- ...r.color === "primary" && {
1329
+ ...t.color === "primary" && {
1329
1330
  backgroundColor: i.palette.primary.light
1330
1331
  },
1331
- ...r.color === "secondary" && {
1332
+ ...t.color === "secondary" && {
1332
1333
  backgroundColor: i.palette.secondary.lighter
1333
1334
  },
1334
1335
  ...i.palette.mode === h.DARK && {
1335
1336
  color: i.palette.common.white
1336
1337
  },
1337
- ...i.palette.mode === h.DARK && r.color === "secondary" && {
1338
+ ...i.palette.mode === h.DARK && t.color === "secondary" && {
1338
1339
  color: i.palette.secondary.darker
1339
1340
  }
1340
1341
  }
1341
1342
  }),
1342
- textPrimary: ({ theme: r }) => ({
1343
- ...r.palette.mode === h.DARK && {
1344
- color: r.palette.primary.light
1343
+ textPrimary: ({ theme: t }) => ({
1344
+ ...t.palette.mode === h.DARK && {
1345
+ color: t.palette.primary.light
1345
1346
  }
1346
1347
  }),
1347
1348
  root: {
@@ -1353,7 +1354,7 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
1353
1354
  cursor: "not-allowed"
1354
1355
  },
1355
1356
  "&.Mui-focusVisible": {
1356
- boxShadow: z
1357
+ boxShadow: P
1357
1358
  }
1358
1359
  },
1359
1360
  sizeMedium: {
@@ -1366,43 +1367,43 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
1366
1367
  disableRipple: !0
1367
1368
  },
1368
1369
  styleOverrides: {
1369
- root: ({ theme: r }) => ({
1370
+ root: ({ theme: t }) => ({
1370
1371
  "&:hover": {
1371
- borderColor: r.palette.border.dark
1372
+ borderColor: t.palette.border.dark
1372
1373
  },
1373
1374
  "button:hover + button": {
1374
- borderLeftColor: r.palette.border.dark
1375
+ borderLeftColor: t.palette.border.dark
1375
1376
  },
1376
1377
  "&:active": {
1377
- borderColor: r.palette.border.darker
1378
+ borderColor: t.palette.border.darker
1378
1379
  },
1379
1380
  "button:active + button": {
1380
- borderLeftColor: r.palette.border.darker
1381
+ borderLeftColor: t.palette.border.darker
1381
1382
  }
1382
1383
  })
1383
1384
  }
1384
1385
  },
1385
1386
  MuiTabs: {
1386
1387
  styleOverrides: {
1387
- indicator: ({ theme: r }) => ({
1388
+ indicator: ({ theme: t }) => ({
1388
1389
  height: 3,
1389
- backgroundColor: r.palette.action.selected
1390
+ backgroundColor: t.palette.action.selected
1390
1391
  })
1391
1392
  }
1392
1393
  },
1393
1394
  MuiTab: {
1394
1395
  styleOverrides: {
1395
- root: ({ theme: r }) => ({
1396
+ root: ({ theme: t }) => ({
1396
1397
  textTransform: "none",
1397
1398
  fontWeight: 600,
1398
1399
  "&.Mui-focusVisible": {
1399
- boxShadow: P
1400
+ boxShadow: B
1400
1401
  },
1401
1402
  "&:not(.Mui-selected)": {
1402
- borderBottom: `2px solid ${r.palette.divider}`
1403
+ borderBottom: `2px solid ${t.palette.divider}`
1403
1404
  },
1404
1405
  "&.Mui-selected": {
1405
- color: r.palette.action.selected,
1406
+ color: t.palette.action.selected,
1406
1407
  paddingBottom: 13
1407
1408
  }
1408
1409
  })
@@ -1410,24 +1411,24 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
1410
1411
  },
1411
1412
  MuiCheckbox: {
1412
1413
  styleOverrides: {
1413
- root: ({ theme: r }) => ({
1414
- color: r.palette.mode === h.LIGHT ? r.palette.grey[800] : r.palette.common.white,
1414
+ root: ({ theme: t }) => ({
1415
+ color: t.palette.mode === h.LIGHT ? t.palette.grey[800] : t.palette.common.white,
1415
1416
  "&:hover": {
1416
1417
  backgroundColor: "transparent"
1417
1418
  },
1418
1419
  "&.Mui-checked": {
1419
- color: r.palette.mode === h.LIGHT ? r.palette.primary.main : r.palette.common.white
1420
+ color: t.palette.mode === h.LIGHT ? t.palette.primary.main : t.palette.common.white
1420
1421
  },
1421
1422
  "&.MuiCheckbox-colorError": {
1422
- color: r.palette.error.main
1423
+ color: t.palette.error.main
1423
1424
  }
1424
1425
  })
1425
1426
  }
1426
1427
  },
1427
1428
  MuiChip: {
1428
1429
  styleOverrides: {
1429
- outlined: ({ theme: r }) => {
1430
- const { common: i, grey: l, mode: c } = r.palette;
1430
+ outlined: ({ theme: t }) => {
1431
+ const { common: i, grey: l, mode: c } = t.palette;
1431
1432
  return {
1432
1433
  backgroundColor: "transparent",
1433
1434
  borderColor: c === h.LIGHT ? l[600] : l[500],
@@ -1476,7 +1477,7 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
1476
1477
  root: {
1477
1478
  animationDuration: "1.6s",
1478
1479
  color: "primary",
1479
- [`& .${he.circle}`]: {
1480
+ [`& .${ge.circle}`]: {
1480
1481
  strokeLinecap: "round"
1481
1482
  }
1482
1483
  }
@@ -1484,31 +1485,31 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
1484
1485
  },
1485
1486
  MuiDayCalendar: {
1486
1487
  styleOverrides: {
1487
- weekDayLabel: ({ theme: r }) => ({
1488
+ weekDayLabel: ({ theme: t }) => ({
1488
1489
  // TODO: Need to add additional styles to the theme such as SmallBold or use Caption
1489
- fontSize: r.typography.body2.fontSize,
1490
+ fontSize: t.typography.body2.fontSize,
1490
1491
  fontWeight: 700
1491
1492
  })
1492
1493
  }
1493
1494
  },
1494
1495
  MuiDataGrid: {
1495
1496
  styleOverrides: {
1496
- root: ({ theme: r }) => ({
1497
+ root: ({ theme: t }) => ({
1497
1498
  border: "none",
1498
1499
  borderRadius: 0,
1499
- fontSize: r.typography.body2.fontSize,
1500
+ fontSize: t.typography.body2.fontSize,
1500
1501
  "& .MuiDataGrid-cell": {
1501
1502
  display: "flex",
1502
1503
  alignItems: "center",
1503
1504
  borderTop: "1px solid",
1504
- borderColor: r.palette.background.highlight
1505
+ borderColor: t.palette.background.highlight
1505
1506
  },
1506
1507
  "& .MuiDataGrid-cell:focus": { outline: "unset" },
1507
1508
  "& .MuiDataGrid-iconSeparator": { display: "none" },
1508
1509
  "& .MuiDataGrid-columnHeaders": {
1509
- backgroundColor: r.palette.background.paper,
1510
+ backgroundColor: t.palette.background.paper,
1510
1511
  borderBottom: "2px solid",
1511
- borderColor: r.palette.divider
1512
+ borderColor: t.palette.divider
1512
1513
  },
1513
1514
  "& .MuiDataGrid-columnHeaderTitle": {
1514
1515
  fontWeight: 600
@@ -1533,7 +1534,7 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
1533
1534
  },
1534
1535
  MuiDateRangePickerDay: {
1535
1536
  styleOverrides: {
1536
- root: ({ theme: r }) => ({
1537
+ root: ({ theme: t }) => ({
1537
1538
  ":first-of-type": {
1538
1539
  borderTopLeftRadius: 4,
1539
1540
  borderBottomLeftRadius: 4,
@@ -1554,7 +1555,7 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
1554
1555
  borderRadius: 4
1555
1556
  },
1556
1557
  "& .MuiPickersDay-dayOutsideMonth": {
1557
- color: r.palette.grey[500]
1558
+ color: t.palette.grey[500]
1558
1559
  }
1559
1560
  }),
1560
1561
  day: {
@@ -1595,8 +1596,8 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
1595
1596
  "aria-hidden": !0
1596
1597
  },
1597
1598
  styleOverrides: {
1598
- root: ({ theme: r }) => ({
1599
- borderColor: r.palette.border.light
1599
+ root: ({ theme: t }) => ({
1600
+ borderColor: t.palette.border.light
1600
1601
  }),
1601
1602
  inset: {
1602
1603
  marginLeft: 68
@@ -1636,23 +1637,26 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
1636
1637
  // Body
1637
1638
  lineHeight: "20px",
1638
1639
  // Body
1639
- transition: `box-shadow 350ms ${He}`,
1640
+ transition: `box-shadow 350ms ${Se}`,
1640
1641
  width: "100%",
1641
- "&.MuiOutlinedInput-input.Mui-disabled": {
1642
- padding: 12,
1643
- // Small
1644
- paddingTop: 16
1645
- // Medium
1646
- },
1647
1642
  "&:focus": {
1648
1643
  outline: "none"
1649
1644
  }
1645
+ },
1646
+ root: {
1647
+ // This helps keep the label and multiline text separated
1648
+ "& .MuiInputBase-input.MuiInputBase-inputMultiline": {
1649
+ paddingTop: "10px",
1650
+ paddingLeft: "12px",
1651
+ paddingRight: "12px",
1652
+ marginTop: "4px"
1653
+ }
1650
1654
  }
1651
1655
  }
1652
1656
  },
1653
1657
  MuiLink: {
1654
1658
  styleOverrides: {
1655
- root: ({ theme: r }) => ({
1659
+ root: ({ theme: t }) => ({
1656
1660
  display: "inline-flex",
1657
1661
  alignItems: "center",
1658
1662
  boxSizing: "border-box",
@@ -1667,7 +1671,7 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
1667
1671
  outline: "rgba(82, 138, 224, 0.8) auto 1px"
1668
1672
  },
1669
1673
  "&:hover": {
1670
- backgroundColor: r.palette.action.hover,
1674
+ backgroundColor: t.palette.action.hover,
1671
1675
  borderBottom: "1px solid"
1672
1676
  },
1673
1677
  fontWeight: 600
@@ -1676,7 +1680,7 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
1676
1680
  variants: [
1677
1681
  {
1678
1682
  props: { color: "primary" },
1679
- style: ({ theme: r }) => r.palette.mode === h.DARK ? { color: r.palette.primary.light } : {}
1683
+ style: ({ theme: t }) => t.palette.mode === h.DARK ? { color: t.palette.primary.light } : {}
1680
1684
  }
1681
1685
  ]
1682
1686
  },
@@ -1702,11 +1706,11 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
1702
1706
  disablePadding: !0
1703
1707
  },
1704
1708
  styleOverrides: {
1705
- root: ({ ownerState: r, theme: i }) => {
1709
+ root: ({ ownerState: t, theme: i }) => {
1706
1710
  const { mode: l, primary: c } = i.palette;
1707
1711
  return {
1708
1712
  minHeight: 64,
1709
- ...!r.disablePadding && {
1713
+ ...!t.disablePadding && {
1710
1714
  paddingTop: 12,
1711
1715
  paddingBottom: 12,
1712
1716
  paddingLeft: 24
@@ -1720,7 +1724,7 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
1720
1724
  },
1721
1725
  MuiCollapse: {
1722
1726
  styleOverrides: {
1723
- root: ({ theme: r }) => ({
1727
+ root: ({ theme: t }) => ({
1724
1728
  "& .MuiListItem-root": {
1725
1729
  minHeight: 44
1726
1730
  },
@@ -1728,10 +1732,10 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
1728
1732
  minHeight: 44,
1729
1733
  paddingLeft: 12,
1730
1734
  "&:hover": {
1731
- backgroundColor: `${r.palette.secondary.lighter}33`
1735
+ backgroundColor: `${t.palette.secondary.lighter}33`
1732
1736
  },
1733
1737
  "&:active": {
1734
- backgroundColor: `${r.palette.secondary.lighter}66`
1738
+ backgroundColor: `${t.palette.secondary.lighter}66`
1735
1739
  }
1736
1740
  }
1737
1741
  })
@@ -1753,21 +1757,21 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
1753
1757
  },
1754
1758
  MuiListItemButton: {
1755
1759
  styleOverrides: {
1756
- root: ({ theme: r }) => ({
1760
+ root: ({ theme: t }) => ({
1757
1761
  minHeight: 64,
1758
1762
  paddingLeft: 24,
1759
1763
  paddingRight: 24,
1760
1764
  paddingTop: 12,
1761
1765
  paddingBottom: 12,
1762
1766
  "&.Mui-focusVisible": {
1763
- boxShadow: P
1767
+ boxShadow: B
1764
1768
  },
1765
1769
  "&:active": {
1766
- backgroundColor: `${r.palette.secondary.lighter}33`
1770
+ backgroundColor: `${t.palette.secondary.lighter}33`
1767
1771
  },
1768
1772
  "&.Mui-selected": {
1769
1773
  fontWeight: "bold",
1770
- borderLeft: `3px solid ${r.palette.primary.main}`,
1774
+ borderLeft: `3px solid ${t.palette.primary.main}`,
1771
1775
  paddingLeft: 21
1772
1776
  }
1773
1777
  })
@@ -1793,10 +1797,10 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
1793
1797
  },
1794
1798
  MuiListItemIcon: {
1795
1799
  styleOverrides: {
1796
- root: ({ theme: r }) => ({
1800
+ root: ({ theme: t }) => ({
1797
1801
  minWidth: "auto",
1798
1802
  marginLeft: 8,
1799
- color: r.palette.text.primary
1803
+ color: t.palette.text.primary
1800
1804
  })
1801
1805
  }
1802
1806
  },
@@ -1806,11 +1810,11 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
1806
1810
  // without this it defaults to the secondary color
1807
1811
  },
1808
1812
  styleOverrides: {
1809
- root: ({ theme: r }) => ({
1813
+ root: ({ theme: t }) => ({
1810
1814
  lineHeight: "inherit",
1811
1815
  top: -1,
1812
1816
  // This fixes an issue where there is a 1px gap when the subheader sticks to the top while scrolling
1813
- backgroundColor: r.palette.background.default
1817
+ backgroundColor: t.palette.background.default
1814
1818
  })
1815
1819
  }
1816
1820
  },
@@ -1839,15 +1843,47 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
1839
1843
  },
1840
1844
  MuiOutlinedInput: {
1841
1845
  styleOverrides: {
1842
- root: ({ theme: r }) => ({
1846
+ root: ({ theme: t }) => ({
1847
+ backgroundColor: t.palette.background.paper,
1848
+ height: "44px",
1849
+ "&.MuiInputBase-multiline": {
1850
+ padding: 0,
1851
+ minHeight: "44px",
1852
+ height: "auto"
1853
+ },
1843
1854
  "&.Mui-focused": {
1844
1855
  "& .MuiOutlinedInput-notchedOutline": {
1845
1856
  outline: "none"
1846
1857
  }
1847
1858
  },
1848
1859
  "& .MuiSelect-icon": {
1849
- color: r.palette.mode === h.LIGHT ? r.palette.grey[900] : r.palette.common.white
1860
+ color: t.palette.mode === h.LIGHT ? t.palette.grey[900] : t.palette.common.white
1861
+ },
1862
+ "&.Mui-disabled .MuiOutlinedInput-notchedOutline": {
1863
+ borderColor: N(t.palette.border.darker, 0.5)
1850
1864
  }
1865
+ }),
1866
+ notchedOutline: ({ theme: t }) => ({
1867
+ borderColor: N(t.palette.border.darker, 0.5),
1868
+ "& legend": {
1869
+ fontSize: "0.9em"
1870
+ }
1871
+ }),
1872
+ input: {
1873
+ padding: 12
1874
+ },
1875
+ inputAdornedStart: {
1876
+ paddingLeft: "4px"
1877
+ },
1878
+ inputAdornedEnd: {
1879
+ paddingRight: "4px"
1880
+ }
1881
+ }
1882
+ },
1883
+ MuiFormLabel: {
1884
+ styleOverrides: {
1885
+ asterisk: ({ theme: t }) => ({
1886
+ color: t.palette.error.main
1851
1887
  })
1852
1888
  }
1853
1889
  },
@@ -1868,8 +1904,8 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
1868
1904
  },
1869
1905
  MuiPickersDay: {
1870
1906
  styleOverrides: {
1871
- today: ({ theme: r }) => ({
1872
- color: r.palette.action.selected,
1907
+ today: ({ theme: t }) => ({
1908
+ color: t.palette.action.selected,
1873
1909
  fontWeight: 700,
1874
1910
  textDecoration: "2px underline",
1875
1911
  textUnderlineOffset: 4,
@@ -1885,29 +1921,29 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
1885
1921
  backgroundColor: "transparent !important",
1886
1922
  padding: 16
1887
1923
  },
1888
- toolbar: ({ theme: r }) => ({
1924
+ toolbar: ({ theme: t }) => ({
1889
1925
  gridColumn: "1/4",
1890
1926
  "& > .MuiTypography-root": {
1891
1927
  textTransform: "uppercase",
1892
- fontSize: r.typography.body2.fontSize,
1928
+ fontSize: t.typography.body2.fontSize,
1893
1929
  fontWeight: 600,
1894
- lineHeight: r.typography.body2.lineHeight
1930
+ lineHeight: t.typography.body2.lineHeight
1895
1931
  }
1896
1932
  })
1897
1933
  }
1898
1934
  },
1899
1935
  MuiPickersToolbar: {
1900
1936
  styleOverrides: {
1901
- content: ({ theme: r }) => ({
1937
+ content: ({ theme: t }) => ({
1902
1938
  marginTop: 4,
1903
1939
  "& .MuiTypography-root": {
1904
- fontSize: r.typography.h3.fontSize,
1905
- lineHeight: r.typography.h3.lineHeight
1940
+ fontSize: t.typography.h3.fontSize,
1941
+ lineHeight: t.typography.h3.lineHeight
1906
1942
  },
1907
1943
  "& .MuiPickersToolbarText-root": {
1908
- color: r.palette.mode === h.LIGHT ? r.palette.secondary.light : r.palette.secondary.dark,
1944
+ color: t.palette.mode === h.LIGHT ? t.palette.secondary.light : t.palette.secondary.dark,
1909
1945
  "&.Mui-selected": {
1910
- color: r.palette.text.primary
1946
+ color: t.palette.text.primary
1911
1947
  }
1912
1948
  }
1913
1949
  })
@@ -1922,31 +1958,42 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
1922
1958
  },
1923
1959
  MuiFormHelperText: {
1924
1960
  styleOverrides: {
1925
- root: {
1926
- "&.Mui-error": {
1927
- fontSize: 13,
1928
- // Small
1929
- marginLeft: 0
1961
+ root: ({ theme: t }) => ({
1962
+ fontSize: 13,
1963
+ // Small
1964
+ marginLeft: 0,
1965
+ display: "flex",
1966
+ alignItems: "center",
1967
+ position: "relative",
1968
+ color: t.palette.text.secondary,
1969
+ "& .MuiSvgIcon-root": {
1970
+ height: "16px",
1971
+ width: "16px",
1972
+ marginRight: "4px"
1973
+ },
1974
+ "& .MuiIcon-root": {
1975
+ marginRight: "4px",
1976
+ fontSize: "18px"
1930
1977
  }
1931
- }
1978
+ })
1932
1979
  }
1933
1980
  },
1934
1981
  MuiSnackbar: {
1935
1982
  styleOverrides: {
1936
- root: ({ theme: r }) => ({
1983
+ root: ({ theme: t }) => ({
1937
1984
  "& .MuiAlert-icon": {
1938
- color: r.palette.success.contrastText
1985
+ color: t.palette.success.contrastText
1939
1986
  },
1940
1987
  "& .MuiAlert-message": {
1941
- color: r.palette.success.contrastText
1988
+ color: t.palette.success.contrastText
1942
1989
  }
1943
1990
  })
1944
1991
  }
1945
1992
  },
1946
1993
  MuiSwitch: {
1947
1994
  styleOverrides: {
1948
- root: ({ theme: r }) => {
1949
- const { grey: i, mode: l } = r.palette;
1995
+ root: ({ theme: t }) => {
1996
+ const { grey: i, mode: l } = t.palette;
1950
1997
  return {
1951
1998
  width: 34,
1952
1999
  height: 18,
@@ -1996,9 +2043,60 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
1996
2043
  }
1997
2044
  },
1998
2045
  MuiTextField: {
2046
+ defaultProps: {
2047
+ variant: "outlined"
2048
+ },
1999
2049
  styleOverrides: {
2000
- root: ({ theme: r }) => ({
2001
- backgroundColor: r.palette.background.paper
2050
+ root: ({ theme: t }) => ({
2051
+ "& .Mui-disabled.MuiInputBase-input": {
2052
+ // Chrome requires `webkit-text-fill-color` to apply color to disabled textboxes
2053
+ WebkitTextFillColor: `${t.palette.text.disabled}`
2054
+ },
2055
+ "& .MuiInputBase-root .MuiInputAdornment-root": {
2056
+ color: t.palette.secondary.main
2057
+ },
2058
+ variants: [
2059
+ {
2060
+ props: { variant: "outlined" },
2061
+ style: {
2062
+ borderRadius: t.shape.borderRadius,
2063
+ "& .MuiFormLabel-root": {
2064
+ transform: "translate(14px, 12px) scale(1)"
2065
+ },
2066
+ "& .MuiFormLabel-root.MuiInputLabel-shrink, & .MuiFormLabel-root.Mui-focused, & .MuiFormLabel-root.MuiFormLabel-filled": {
2067
+ transform: "translate(14px, -9px) scale(0.90)",
2068
+ maxWidth: "90%"
2069
+ // Keeps the label from stretching outside of the input
2070
+ },
2071
+ "& .MuiInputLabel-shrink legend, & .Mui-focused legend, & .MuiFormLabel-filled + .MuiInputBase-root legend": {
2072
+ maxWidth: "100%"
2073
+ // Cuts a notch into the input legend
2074
+ }
2075
+ }
2076
+ },
2077
+ {
2078
+ props: { variant: "filled" },
2079
+ style: {
2080
+ "& .MuiFormLabel-root": {
2081
+ transform: "translate(12px, 16px) scale(1)"
2082
+ },
2083
+ "& .MuiInputLabel-shrink, & .MuiFormLabel-root.Mui-focused, & .MuiFormLabel-filled": {
2084
+ transform: "translate(12px, 7px) scale(0.75)"
2085
+ }
2086
+ }
2087
+ },
2088
+ {
2089
+ props: { variant: "standard" },
2090
+ style: {
2091
+ "& .MuiFormLabel-root": {
2092
+ transform: "translate(0, 20px) scale(1)"
2093
+ },
2094
+ "& .MuiInputLabel-shrink, & .MuiFormLabel-root.Mui-focused, & .MuiFormLabel-filled": {
2095
+ transform: "translate(0, -1.5px) scale(0.75)"
2096
+ }
2097
+ }
2098
+ }
2099
+ ]
2002
2100
  })
2003
2101
  }
2004
2102
  },
@@ -2011,50 +2109,50 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
2011
2109
  });
2012
2110
  };
2013
2111
  export {
2014
- s0 as AccountsFilledIcon,
2015
- d0 as AccountsIcon,
2016
- u0 as ArrowLeftIcon,
2017
- p0 as AttentionFilledIcon,
2112
+ ut as AccountsFilledIcon,
2113
+ pt as AccountsIcon,
2114
+ ht as ArrowLeftIcon,
2115
+ gt as AttentionFilledIcon,
2018
2116
  g as BaseIcon,
2019
- D0 as BottomSheetTransition,
2020
- h0 as CalendarIcon,
2117
+ It as BottomSheetTransition,
2118
+ mt as CalendarIcon,
2021
2119
  u as CategoryGuids,
2022
2120
  ve as CategoryIcon,
2023
- Me as CategoryIconList,
2121
+ xe as CategoryIconList,
2024
2122
  ye as CategoryIconVariants,
2025
- g0 as CheckmarkFilledIcon,
2026
- m0 as ChevronDownIcon,
2027
- f0 as ChevronLeftIcon,
2028
- b0 as ChevronRightIcon,
2029
- be as CloseIcon,
2030
- k0 as DateRangePicker,
2031
- Te as DialogFooter,
2032
- L0 as DialogHeader,
2033
- E0 as Drawer,
2034
- y0 as EditIcon,
2035
- M0 as FilterIcon,
2036
- Te as Footer,
2037
- ke as H1,
2038
- I0 as H2,
2039
- F0 as H3,
2040
- C0 as HeartIcon,
2041
- C as INTER,
2042
- y as Icon,
2043
- fe as IconWeight,
2044
- H0 as InstitutionLogo,
2045
- x0 as MXLogoCopyrightIcon,
2046
- T0 as MXLogoFilledIcon,
2047
- v0 as MXLogoIcon,
2048
- A0 as MXLogoOutlineIcon,
2049
- S0 as MerchantLogo,
2050
- w0 as P,
2051
- x as TARGETS,
2052
- A as THEMES,
2123
+ ft as CheckmarkFilledIcon,
2124
+ bt as ChevronDownIcon,
2125
+ Mt as ChevronLeftIcon,
2126
+ yt as ChevronRightIcon,
2127
+ Me as CloseIcon,
2128
+ Dt as DateRangePicker,
2129
+ ke as DialogFooter,
2130
+ Ft as DialogHeader,
2131
+ St as Drawer,
2132
+ xt as EditIcon,
2133
+ Ct as FilterIcon,
2134
+ ke as Footer,
2135
+ Le as H1,
2136
+ wt as H2,
2137
+ Rt as H3,
2138
+ vt as HeartIcon,
2139
+ x as INTER,
2140
+ M as Icon,
2141
+ be as IconWeight,
2142
+ Et as InstitutionLogo,
2143
+ kt as MXLogoCopyrightIcon,
2144
+ At as MXLogoFilledIcon,
2145
+ Tt as MXLogoIcon,
2146
+ Lt as MXLogoOutlineIcon,
2147
+ Ht as MerchantLogo,
2148
+ zt as P,
2149
+ v as TARGETS,
2150
+ k as THEMES,
2053
2151
  T as Text,
2054
- R0 as TextField,
2055
- N0 as Toast,
2056
- z0 as TokenProvider,
2057
- B0 as createMXTheme,
2058
- P0 as useTokens
2152
+ Nt as TextField,
2153
+ Pt as Toast,
2154
+ Bt as TokenProvider,
2155
+ _t as createMXTheme,
2156
+ Ot as useTokens
2059
2157
  };
2060
2158
  //# sourceMappingURL=index.es.js.map