@kashifd/jwero-components 0.6.57 → 0.6.59
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 -5
- 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
|
|
@@ -49631,7 +49631,7 @@ const nz = (e) => {
|
|
|
49631
49631
|
case "in_progress":
|
|
49632
49632
|
return rt.colors.secondary;
|
|
49633
49633
|
case "pending":
|
|
49634
|
-
return rt.colors.
|
|
49634
|
+
return rt.colors.negative;
|
|
49635
49635
|
default:
|
|
49636
49636
|
return rt.colors.secondary;
|
|
49637
49637
|
}
|
|
@@ -49650,7 +49650,7 @@ 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
|
-
return
|
|
49653
|
+
return /* @__PURE__ */ x.jsxs(
|
|
49654
49654
|
Ue,
|
|
49655
49655
|
{
|
|
49656
49656
|
onClick: s,
|
|
@@ -49710,7 +49710,7 @@ const nz = (e) => {
|
|
|
49710
49710
|
/* @__PURE__ */ x.jsx(yt, { variant: "lRegular", sx: { color: rt.colors.text_tertiary }, children: rz({ date: e == null ? void 0 : e.createdAt }) })
|
|
49711
49711
|
] })
|
|
49712
49712
|
] }),
|
|
49713
|
-
/* @__PURE__ */ x.jsxs(Ue, { direction: "row", alignItems: "center",
|
|
49713
|
+
/* @__PURE__ */ x.jsxs(Ue, { direction: "row", alignItems: "center", sx: { gap: "0.5rem" }, children: [
|
|
49714
49714
|
/* @__PURE__ */ x.jsxs(Ue, { direction: "row", alignItems: "center", sx: { gap: "0.25rem" }, children: [
|
|
49715
49715
|
/* @__PURE__ */ x.jsx(yt, { variant: "lRegular", children: "Created by" }),
|
|
49716
49716
|
/* @__PURE__ */ x.jsx($u, { contributors: [e == null ? void 0 : e.createdBy] })
|