@mx-cartographer/experiences 7.11.7 → 7.11.8
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/CHANGELOG.md
CHANGED
|
@@ -2403,44 +2403,54 @@ const Ae = ({
|
|
|
2403
2403
|
label: n,
|
|
2404
2404
|
beat: i,
|
|
2405
2405
|
budgetPercentage: l,
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2406
|
+
hasBudget: o = !1,
|
|
2407
|
+
leftLabel: a,
|
|
2408
|
+
rightLabel: s,
|
|
2409
|
+
buttonProps: h,
|
|
2410
|
+
...d
|
|
2410
2411
|
}) => {
|
|
2411
|
-
const { category_guid:
|
|
2412
|
+
const { category_guid: m } = i.payload, p = () => l > 100 ? "error.main" : l > 50 ? "warning.main" : "success.main", u = Ze(), C = Se(m, u);
|
|
2412
2413
|
return /* @__PURE__ */ e(
|
|
2413
2414
|
v,
|
|
2414
2415
|
{
|
|
2415
|
-
...
|
|
2416
|
+
...d,
|
|
2416
2417
|
beat: i,
|
|
2417
|
-
button: /* @__PURE__ */ e(
|
|
2418
|
+
button: /* @__PURE__ */ e(
|
|
2419
|
+
H,
|
|
2420
|
+
{
|
|
2421
|
+
...h,
|
|
2422
|
+
beat: {
|
|
2423
|
+
...i,
|
|
2424
|
+
call_to_action: o ? i.supporting_action : i.call_to_action
|
|
2425
|
+
}
|
|
2426
|
+
}
|
|
2427
|
+
),
|
|
2418
2428
|
contentProps: { sx: { "& p": { px: 0, pb: 16, pt: 20 } } },
|
|
2419
|
-
header: { ...
|
|
2429
|
+
header: { ...d.header, sx: { mb: 20 } },
|
|
2420
2430
|
children: /* @__PURE__ */ e(
|
|
2421
2431
|
re,
|
|
2422
2432
|
{
|
|
2423
2433
|
amount: r,
|
|
2424
2434
|
borderRadius: "6px",
|
|
2425
|
-
completeColor:
|
|
2435
|
+
completeColor: p(),
|
|
2426
2436
|
icon: /* @__PURE__ */ e(
|
|
2427
2437
|
y1,
|
|
2428
2438
|
{
|
|
2429
|
-
categoryGuid:
|
|
2439
|
+
categoryGuid: m,
|
|
2430
2440
|
size: 44,
|
|
2431
2441
|
sx: {
|
|
2432
2442
|
color: "text.primary",
|
|
2433
|
-
bgcolor: R1(
|
|
2434
|
-
borderColor:
|
|
2443
|
+
bgcolor: R1(C, 0.25),
|
|
2444
|
+
borderColor: C,
|
|
2435
2445
|
borderWidth: 1,
|
|
2436
2446
|
borderStyle: "solid"
|
|
2437
2447
|
}
|
|
2438
2448
|
}
|
|
2439
2449
|
),
|
|
2440
2450
|
label: n,
|
|
2441
|
-
leftLabel:
|
|
2451
|
+
leftLabel: a,
|
|
2442
2452
|
percentComplete: l,
|
|
2443
|
-
rightLabel:
|
|
2453
|
+
rightLabel: s,
|
|
2444
2454
|
sx: { p: 0, "& .details-container": { gap: 12 } }
|
|
2445
2455
|
}
|
|
2446
2456
|
)
|