@kashifd/jwero-components 0.6.56 → 0.6.57

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
@@ -49650,14 +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
- console.log(m, v, w);
49654
- const j = [
49655
- {
49656
- name: (e == null ? void 0 : e.createdBy) || "",
49657
- id: 9999
49658
- }
49659
- ];
49660
- return /* @__PURE__ */ x.jsxs(
49653
+ return console.log(m, v, w), /* @__PURE__ */ x.jsxs(
49661
49654
  Ue,
49662
49655
  {
49663
49656
  onClick: s,
@@ -49667,7 +49660,7 @@ const nz = (e) => {
49667
49660
  borderRadius: "1rem",
49668
49661
  backgroundColor: "#fff",
49669
49662
  position: "relative",
49670
- width: "fit-content",
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",
@@ -49720,7 +49713,7 @@ const nz = (e) => {
49720
49713
  /* @__PURE__ */ x.jsxs(Ue, { direction: "row", alignItems: "center", justifyContent: "space-between", 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: j || [] })
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" }),