@kashifd/jwero-components 0.6.56 → 0.6.58
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 +5 -12
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -49583,13 +49583,13 @@ const tz = ({
|
|
|
49583
49583
|
type: r
|
|
49584
49584
|
}) => {
|
|
49585
49585
|
if (!e)
|
|
49586
|
-
return
|
|
49586
|
+
return {
|
|
49587
49587
|
showDueDate: !1,
|
|
49588
49588
|
isOverdue: !1,
|
|
49589
49589
|
label: null
|
|
49590
49590
|
};
|
|
49591
49591
|
if (!Fm(e) || !Fm(t))
|
|
49592
|
-
return
|
|
49592
|
+
return {
|
|
49593
49593
|
showDueDate: !1,
|
|
49594
49594
|
isOverdue: !1,
|
|
49595
49595
|
label: null
|
|
@@ -49650,13 +49650,6 @@ const nz = (e) => {
|
|
|
49650
49650
|
onCompleted: d
|
|
49651
49651
|
}) => {
|
|
49652
49652
|
const g = nz((e == null ? void 0 : e.status) || ""), { isOverdue: m, showDueDate: v, label: w } = tz({ dueDate: e == null ? void 0 : e.dueDate, completedOn: e == null ? void 0 : e.completedOn, type: e == null ? void 0 : e.status }), T = m ? rt.colors.light_red : rt.colors.light_green, O = m ? rt.colors.negative : rt.colors.positive, R = m ? `Overdue ${w}` : `Completed ${w}`;
|
|
49653
|
-
console.log(m, v, w);
|
|
49654
|
-
const j = [
|
|
49655
|
-
{
|
|
49656
|
-
name: (e == null ? void 0 : e.createdBy) || "",
|
|
49657
|
-
id: 9999
|
|
49658
|
-
}
|
|
49659
|
-
];
|
|
49660
49653
|
return /* @__PURE__ */ x.jsxs(
|
|
49661
49654
|
Ue,
|
|
49662
49655
|
{
|
|
@@ -49667,7 +49660,7 @@ const nz = (e) => {
|
|
|
49667
49660
|
borderRadius: "1rem",
|
|
49668
49661
|
backgroundColor: "#fff",
|
|
49669
49662
|
position: "relative",
|
|
49670
|
-
width: "
|
|
49663
|
+
width: "100%",
|
|
49671
49664
|
height: "fit-content",
|
|
49672
49665
|
boxShadow: "0px 4px 16px 0px rgba(0, 0, 0, 0.12)",
|
|
49673
49666
|
cursor: "pointer",
|
|
@@ -49717,10 +49710,10 @@ const nz = (e) => {
|
|
|
49717
49710
|
/* @__PURE__ */ x.jsx(yt, { variant: "lRegular", sx: { color: rt.colors.text_tertiary }, children: rz({ date: e == null ? void 0 : e.createdAt }) })
|
|
49718
49711
|
] })
|
|
49719
49712
|
] }),
|
|
49720
|
-
/* @__PURE__ */ x.jsxs(Ue, { direction: "row", alignItems: "center",
|
|
49713
|
+
/* @__PURE__ */ x.jsxs(Ue, { direction: "row", alignItems: "center", sx: { gap: "0.5rem" }, children: [
|
|
49721
49714
|
/* @__PURE__ */ x.jsxs(Ue, { direction: "row", alignItems: "center", sx: { gap: "0.25rem" }, children: [
|
|
49722
49715
|
/* @__PURE__ */ x.jsx(yt, { variant: "lRegular", children: "Created by" }),
|
|
49723
|
-
/* @__PURE__ */ x.jsx($u, { contributors:
|
|
49716
|
+
/* @__PURE__ */ x.jsx($u, { contributors: [e == null ? void 0 : e.createdBy] })
|
|
49724
49717
|
] }),
|
|
49725
49718
|
/* @__PURE__ */ x.jsxs(Ue, { direction: "row", alignItems: "center", sx: { gap: "0.5rem" }, children: [
|
|
49726
49719
|
/* @__PURE__ */ x.jsx(yt, { variant: "lRegular", children: "For" }),
|