@kashifd/jwero-components 0.7.64 → 0.7.65

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
@@ -5505,11 +5505,11 @@ const Wp = (e) => {
5505
5505
  width: t === "off" ? "8px" : "auto",
5506
5506
  height: t === "off" ? "8px" : "auto",
5507
5507
  minWidth: t === "off" ? "8px" : "auto",
5508
- padding: t === "off" ? "0.25rem 0.25rem" : "0.25rem 0.5rem",
5508
+ padding: t === "off" ? "0.25rem 0.25rem" : t === "formatted" ? "0.3rem 0.3rem" : "0.25rem 0.5rem",
5509
5509
  ...r
5510
5510
  }
5511
5511
  })), af = ({
5512
- type: e,
5512
+ type: e = "single",
5513
5513
  count: t = 0,
5514
5514
  stroke: r = !1,
5515
5515
  sx: a
@@ -5531,7 +5531,7 @@ const Wp = (e) => {
5531
5531
  default:
5532
5532
  s = " ";
5533
5533
  }
5534
- return console.log("JweroBadge", e, t, s), /* @__PURE__ */ v.jsx(
5534
+ return /* @__PURE__ */ v.jsx(
5535
5535
  LC,
5536
5536
  {
5537
5537
  badgeContent: s,
@@ -47569,11 +47569,7 @@ const jF = ({
47569
47569
  }) => {
47570
47570
  var S;
47571
47571
  const u = Ot(), [g, m] = Yr(!1), b = (O, I) => {
47572
- if (I === "clickaway") {
47573
- console.log(O);
47574
- return;
47575
- }
47576
- s != null && s.onClick ? s == null || s.onClick() : m(!1);
47572
+ I !== "clickaway" && (s != null && s.onClick ? s == null || s.onClick() : m(!1));
47577
47573
  };
47578
47574
  Si(() => {
47579
47575
  if (e) {
@@ -48731,10 +48727,7 @@ const yW = ({
48731
48727
  if (!b) return t;
48732
48728
  const E = r.find((j) => j.value === b);
48733
48729
  return [...t].sort((j, B) => {
48734
- console.log(E == null ? void 0 : E.sortValue, b);
48735
- const P = E != null && E.sortValue ? E.sortValue(j) : j[b], V = E != null && E.sortValue ? E.sortValue(B) : B[b];
48736
- console.log(P, V);
48737
- const U = P ?? "", F = V ?? "";
48730
+ const P = E != null && E.sortValue ? E.sortValue(j) : j[b], V = E != null && E.sortValue ? E.sortValue(B) : B[b], U = P ?? "", F = V ?? "";
48738
48731
  return typeof U == "number" && typeof F == "number" ? S === "asc" ? U - F : F - U : S === "asc" ? String(U).localeCompare(String(F)) : String(F).localeCompare(String(U));
48739
48732
  });
48740
48733
  }, [t, b, S, r]);