@kashifd/jwero-components 0.7.7 → 0.7.9

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
@@ -48884,7 +48884,7 @@ const VF = /* @__PURE__ */ Ho(WF), YF = ({ ...e }) => /* @__PURE__ */ b.jsxs(
48884
48884
  className: "avatarContent",
48885
48885
  style: {
48886
48886
  fontWeight: j ? 900 : 600,
48887
- color: R.colors.text_tertiary
48887
+ color: j ? "#fff" : R.colors.primary
48888
48888
  },
48889
48889
  children: z
48890
48890
  }
@@ -58728,12 +58728,14 @@ const xz = ({
58728
58728
  isOverdue: !1,
58729
58729
  label: null
58730
58730
  };
58731
- if (!Ym(e) || !Ym(t))
58731
+ if (!Ym(e))
58732
58732
  return {
58733
58733
  showDueDate: !1,
58734
58734
  isOverdue: !1,
58735
58735
  label: null
58736
58736
  };
58737
+ if (r === "completed" && !Ym(t))
58738
+ return { showDueDate: !1, isOverdue: !1, label: null };
58737
58739
  try {
58738
58740
  const a = new Date(e).getTime(), s = new Date(t).getTime(), c = (/* @__PURE__ */ new Date()).getTime();
58739
58741
  if (isNaN(a))