@kashifd/jwero-components 0.6.70 → 0.6.72
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 +12 -11
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -5484,7 +5484,7 @@ const Lh = (e) => {
|
|
|
5484
5484
|
let t;
|
|
5485
5485
|
return e < 1 ? t = 5.11916 * e ** 2 : t = 4.5 * Math.log(e + 1) + 2, (t / 100).toFixed(2);
|
|
5486
5486
|
}, AC = Ee(Y1)(
|
|
5487
|
-
({ stroke: e, type: t }) => ({
|
|
5487
|
+
({ stroke: e, type: t, sx: r }) => ({
|
|
5488
5488
|
"& .MuiBadge-badge": {
|
|
5489
5489
|
backgroundColor: "#E30000",
|
|
5490
5490
|
color: "white",
|
|
@@ -5492,25 +5492,26 @@ const Lh = (e) => {
|
|
|
5492
5492
|
width: t === "off" ? "8px" : "auto",
|
|
5493
5493
|
height: t === "off" ? "8px" : "auto",
|
|
5494
5494
|
minWidth: t === "off" ? "8px" : "auto",
|
|
5495
|
-
padding: t === "
|
|
5495
|
+
padding: t === "off" ? "0.25rem 0.25rem" : "0.25rem 0.5rem",
|
|
5496
|
+
...r
|
|
5496
5497
|
}
|
|
5497
5498
|
})
|
|
5498
|
-
), Q1 = ({ type: e, count: t = 0, stroke: r = !1 }) => {
|
|
5499
|
-
let
|
|
5499
|
+
), Q1 = ({ type: e, count: t = 0, stroke: r = !1, sx: a }) => {
|
|
5500
|
+
let s;
|
|
5500
5501
|
switch (e) {
|
|
5501
5502
|
case "off":
|
|
5502
|
-
|
|
5503
|
+
s = " ";
|
|
5503
5504
|
break;
|
|
5504
5505
|
case "single":
|
|
5505
|
-
|
|
5506
|
+
s = t > 99 ? "99+" : t > 0 ? t : " ";
|
|
5506
5507
|
break;
|
|
5507
5508
|
case "multi":
|
|
5508
|
-
|
|
5509
|
+
s = t > 0 ? t : " ";
|
|
5509
5510
|
break;
|
|
5510
5511
|
default:
|
|
5511
|
-
|
|
5512
|
+
s = " ";
|
|
5512
5513
|
}
|
|
5513
|
-
return /* @__PURE__ */ x.jsx(AC, { badgeContent:
|
|
5514
|
+
return /* @__PURE__ */ x.jsx(AC, { badgeContent: s, stroke: r, type: e, sx: a });
|
|
5514
5515
|
};
|
|
5515
5516
|
function wC(e) {
|
|
5516
5517
|
return pt("MuiSvgIcon", e);
|
|
@@ -49706,14 +49707,14 @@ const nz = (e, t = 10) => {
|
|
|
49706
49707
|
}
|
|
49707
49708
|
)
|
|
49708
49709
|
] }),
|
|
49709
|
-
/* @__PURE__ */ x.jsxs(Ue, { direction: "row", alignItems: "center", sx: { gap: "0.75rem" }, children: [
|
|
49710
|
+
/* @__PURE__ */ x.jsxs(Ue, { direction: "row", alignItems: "center", sx: { gap: "0.75rem", flexWrap: "wrap" }, children: [
|
|
49710
49711
|
/* @__PURE__ */ x.jsx($u, { contributors: (e == null ? void 0 : e.contributors) || [] }),
|
|
49711
49712
|
(e == null ? void 0 : e.dueDate) && /* @__PURE__ */ x.jsxs(Ue, { direction: "row", alignItems: "center", sx: { gap: "0.25rem" }, children: [
|
|
49712
49713
|
/* @__PURE__ */ x.jsx(Fm, { stroke: rt.colors.text_tertiary, height: "14", width: "14" }),
|
|
49713
49714
|
/* @__PURE__ */ x.jsx(xt, { variant: "lRegular", sx: { color: rt.colors.text_tertiary }, children: Hm({ date: e == null ? void 0 : e.dueDate }) })
|
|
49714
49715
|
] })
|
|
49715
49716
|
] }),
|
|
49716
|
-
/* @__PURE__ */ x.jsxs(Ue, { direction: "row", alignItems: "center", sx: { gap: "0.5rem" }, children: [
|
|
49717
|
+
/* @__PURE__ */ x.jsxs(Ue, { direction: "row", alignItems: "center", sx: { gap: "0.5rem", flexWrap: "wrap" }, children: [
|
|
49717
49718
|
/* @__PURE__ */ x.jsxs(Ue, { direction: "row", alignItems: "center", sx: { gap: "0.25rem" }, children: [
|
|
49718
49719
|
/* @__PURE__ */ x.jsx(xt, { variant: "lRegular", children: "Created by" }),
|
|
49719
49720
|
/* @__PURE__ */ x.jsx($u, { contributors: [e == null ? void 0 : e.createdBy] })
|