@kashifd/jwero-components 0.7.9 → 0.7.11

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
@@ -46888,6 +46888,7 @@ const aa = ({ stroke: e = "#000", ...t }) => /* @__PURE__ */ b.jsxs(
46888
46888
  {
46889
46889
  title: (c == null ? void 0 : c.label) ?? "",
46890
46890
  onClick: c == null ? void 0 : c.onClick,
46891
+ disabled: c == null ? void 0 : c.disabled,
46891
46892
  variant: "outlined"
46892
46893
  }
46893
46894
  ),
@@ -46901,6 +46902,7 @@ const aa = ({ stroke: e = "#000", ...t }) => /* @__PURE__ */ b.jsxs(
46901
46902
  loading: v,
46902
46903
  position: "end"
46903
46904
  },
46905
+ disabled: s == null ? void 0 : s.disabled,
46904
46906
  boxSx: {
46905
46907
  background: (s == null ? void 0 : s.buttonType) === "positive" ? w.colors.attention : w.colors.negative,
46906
46908
  "&:hover": {
@@ -48487,10 +48489,10 @@ const iW = ({
48487
48489
  },
48488
48490
  d.value
48489
48491
  )) }) }),
48490
- /* @__PURE__ */ b.jsx(nv, { children: pn.isArrayWithValues(t) && t.map((d) => /* @__PURE__ */ b.jsx(
48492
+ /* @__PURE__ */ b.jsx(nv, { children: pn.isArrayWithValues(t) && t.map((d, g) => /* @__PURE__ */ b.jsx(
48491
48493
  yd,
48492
48494
  {
48493
- onClick: (g) => s(g, d),
48495
+ onClick: (m) => s(m, d),
48494
48496
  sx: {
48495
48497
  "&:last-child td, &:last-child th": { border: 0 },
48496
48498
  borderBottom: '1px solid "#f5f6f7"',
@@ -48500,18 +48502,18 @@ const iW = ({
48500
48502
  backgroundColor: c.palette.background.default
48501
48503
  }
48502
48504
  },
48503
- children: r.map((g) => /* @__PURE__ */ b.jsx(
48505
+ children: r.map((m) => /* @__PURE__ */ b.jsx(
48504
48506
  xd,
48505
48507
  {
48506
48508
  component: "th",
48507
48509
  scope: "row",
48508
- align: g.align,
48509
- children: a == null ? void 0 : a[g == null ? void 0 : g.value](d)
48510
+ align: m.align,
48511
+ children: a == null ? void 0 : a[m == null ? void 0 : m.value](d)
48510
48512
  },
48511
- g.value
48513
+ m.value
48512
48514
  ))
48513
48515
  },
48514
- d.id
48516
+ `${d.id}_${g}`
48515
48517
  )) })
48516
48518
  ] })
48517
48519
  }
@@ -58871,7 +58873,7 @@ const yz = (e, t = 10) => {
58871
58873
  dueDate: e == null ? void 0 : e.dueDate,
58872
58874
  completedOn: e == null ? void 0 : e.completedOn,
58873
58875
  type: e == null ? void 0 : e.status
58874
- }), M = j ? T.colors.light_red : T.colors.light_green, U = j ? T.colors.negative : T.colors.positive, X = j ? `Overdue ${z}` : `Completed ${z}`, L = g && (e == null ? void 0 : e.status) !== "completed";
58876
+ }), M = j ? T.colors.light_red : T.colors.light_green, U = j ? T.colors.negative : T.colors.positive, X = j ? `Overdue ${z}` : (e == null ? void 0 : e.status) === "completed" ? `Completed ${z}` : "", L = g && (e == null ? void 0 : e.status) !== "completed";
58875
58877
  return /* @__PURE__ */ b.jsxs(
58876
58878
  Ue,
58877
58879
  {