@ambuj.bhaskar/react-component-library 0.20.9-alpha → 0.20.10-alpha

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.js CHANGED
@@ -73778,7 +73778,7 @@ const TLe = (e) => WR[e], Hl = [
73778
73778
  "--c_surface_border": m,
73779
73779
  "--c_surface": g
73780
73780
  },
73781
- className: `date-range-picker ${n} ${u ? "border" : ""} h_${s}`
73781
+ className: `date-range-picker ${n} h_${s}`
73782
73782
  }
73783
73783
  );
73784
73784
  };
@@ -80721,7 +80721,7 @@ const rP = /* @__PURE__ */ Ve(aBe), oP = nP(function({ position: t, ...n }, r) {
80721
80721
  kt(() => {
80722
80722
  if (!A) return;
80723
80723
  const T = requestAnimationFrame(() => {
80724
- H.current = O.current[w] || null, Object.values(O.current).forEach((k) => {
80724
+ H.current = O.current[w] || null, (o || i) && Object.values(O.current).forEach((k) => {
80725
80725
  k == null || k.openPopup();
80726
80726
  });
80727
80727
  });
@@ -80791,18 +80791,18 @@ const rP = /* @__PURE__ */ Ve(aBe), oP = nP(function({ position: t, ...n }, r) {
80791
80791
  x && m ? m(k) : _(k);
80792
80792
  }
80793
80793
  },
80794
- children: /* @__PURE__ */ Q.jsx(
80794
+ children: o || i ? /* @__PURE__ */ Q.jsx(
80795
80795
  iP,
80796
80796
  {
80797
80797
  closeButton: !1,
80798
80798
  autoPan: !1,
80799
80799
  autoClose: !1,
80800
80800
  closeOnClick: !1,
80801
- className: U ? "card_popup" : "count_popup",
80801
+ className: U && o ? "card_popup" : i ? "count_popup" : "",
80802
80802
  children: U && o && (T != null && T.element) ? T == null ? void 0 : T.element : i && (T != null && T.count) ? /* @__PURE__ */ Q.jsx("p", { onClick: l, children: T == null ? void 0 : T.count }) : null
80803
80803
  },
80804
80804
  U ? `focused-${k}` : `count-${k}`
80805
- )
80805
+ ) : /* @__PURE__ */ Q.jsx(Q.Fragment, {})
80806
80806
  },
80807
80807
  k
80808
80808
  );
@@ -81742,7 +81742,7 @@ const NBe = (e, t, n) => {
81742
81742
  kt(() => {
81743
81743
  if (!A) return;
81744
81744
  const F = requestAnimationFrame(() => {
81745
- H.current = O.current[w] || null, Object.values(O.current).forEach((V) => {
81745
+ H.current = O.current[w] || null, (o || i) && Object.values(O.current).forEach((V) => {
81746
81746
  V == null || V.openPopup();
81747
81747
  });
81748
81748
  });
@@ -81800,18 +81800,18 @@ const NBe = (e, t, n) => {
81800
81800
  }
81801
81801
  },
81802
81802
  src: (F == null ? void 0 : F.icon) ?? "",
81803
- children: /* @__PURE__ */ Q.jsx(
81803
+ children: o || i ? /* @__PURE__ */ Q.jsx(
81804
81804
  iP,
81805
81805
  {
81806
81806
  closeButton: !1,
81807
81807
  autoPan: !1,
81808
81808
  autoClose: !1,
81809
81809
  closeOnClick: !1,
81810
- className: T ? "card_popup" : "count_popup",
81810
+ className: T && o ? "card_popup" : i ? "count_popup" : "",
81811
81811
  children: T && o && (F != null && F.element) ? F.element : i && (F != null && F.count) ? /* @__PURE__ */ Q.jsx("p", { onClick: l, children: F.count }) : null
81812
81812
  },
81813
81813
  T ? `focused-${V}` : `count-${V}`
81814
- )
81814
+ ) : /* @__PURE__ */ Q.jsx(Q.Fragment, {})
81815
81815
  },
81816
81816
  V
81817
81817
  );