@kashifd/jwero-components 0.5.31 → 0.5.32

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
@@ -37334,7 +37334,7 @@ const zm = () => /* @__PURE__ */ p.jsx(
37334
37334
  icon: /* @__PURE__ */ p.jsx(zm, {}),
37335
37335
  checkedIcon: /* @__PURE__ */ p.jsx(Wm, {}),
37336
37336
  style: { marginRight: 8 },
37337
- checked: C
37337
+ checked: g.some((T) => (T == null ? void 0 : T.value) === (v == null ? void 0 : v.value))
37338
37338
  }
37339
37339
  ),
37340
37340
  v.label
@@ -39409,7 +39409,7 @@ const lI = /* @__PURE__ */ Gn(aI), yd = U(Mt)(({}) => ({
39409
39409
  }
39410
39410
  )
39411
39411
  ] }) });
39412
- }, Td = "start", wd = "end", mI = ({ menuList: e, boxSx: t }) => {
39412
+ }, Td = "start", wd = "end", mI = ({ menuList: e = [], boxSx: t }) => {
39413
39413
  const o = Rt();
39414
39414
  if (Zo.isArrayWithValues(e))
39415
39415
  return /* @__PURE__ */ p.jsx(je, { sx: { padding: "0.5rem 0", minWidth: "10rem", ...t }, children: e.map((r, s) => {
@@ -39494,19 +39494,20 @@ const lI = /* @__PURE__ */ Gn(aI), yd = U(Mt)(({}) => ({
39494
39494
  endIcon: i,
39495
39495
  boxSx: a,
39496
39496
  innerBoxSx: l,
39497
- labelProps: c
39497
+ labelProps: c,
39498
+ menuSx: u
39498
39499
  }) => {
39499
- const u = Sd(null), [d, f] = Js(!1), h = () => {
39500
- f(!0), t && t();
39501
- }, y = () => {
39502
- f(!1), o && o();
39500
+ const d = Sd(null), [f, h] = Js(!1), y = () => {
39501
+ h(!0), t && t();
39502
+ }, g = () => {
39503
+ h(!1), o && o();
39503
39504
  };
39504
39505
  return /* @__PURE__ */ p.jsxs(p.Fragment, { children: [
39505
39506
  /* @__PURE__ */ p.jsxs(
39506
39507
  je,
39507
39508
  {
39508
- onClick: h,
39509
- ref: u,
39509
+ onClick: y,
39510
+ ref: d,
39510
39511
  direction: "row",
39511
39512
  alignItems: "center",
39512
39513
  justifyContent: "space-between",
@@ -39544,11 +39545,11 @@ const lI = /* @__PURE__ */ Gn(aI), yd = U(Mt)(({}) => ({
39544
39545
  /* @__PURE__ */ p.jsx(
39545
39546
  qm,
39546
39547
  {
39547
- open: d,
39548
- onClose: y,
39549
- anchorEl: u == null ? void 0 : u.current,
39548
+ open: f,
39549
+ onClose: g,
39550
+ anchorEl: d == null ? void 0 : d.current,
39550
39551
  placement: "bottom-start",
39551
- children: /* @__PURE__ */ p.jsx(mI, { menuList: r })
39552
+ children: /* @__PURE__ */ p.jsx(mI, { menuList: r, boxSx: u })
39552
39553
  }
39553
39554
  )
39554
39555
  ] });