@xola/ui-kit 2.1.20 → 2.1.21

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/build/ui-kit.mjs CHANGED
@@ -6475,7 +6475,7 @@ const Bt = {
6475
6475
  currentMonth: f
6476
6476
  }
6477
6477
  );
6478
- }, Q = E ? { start: t.from, end: t.to } : null, z = E && ((K = t.from) == null ? void 0 : K.getTime()) !== (($ = t.to) == null ? void 0 : $.getTime()), H = R.isDayjs(t) || E ? t : R(t).toDate();
6478
+ }, Q = E ? { start: t.from, end: t.to } : null, z = E && ((K = t.from) == null ? void 0 : K.getTime()) !== (($ = t.to) == null ? void 0 : $.getTime()), H = t && (R.isDayjs(t) || E ? t : R(t).toDate());
6479
6479
  return /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("div", { className: "flex" }, x ? /* @__PURE__ */ n.createElement("div", { className: "rounded-l-lg border-r border-gray pt-8" }, /* @__PURE__ */ n.createElement("p", { className: "mb-2 px-6 text-lg font-bold" }, "Upcoming"), (x == null ? void 0 : x.length) > 0 ? /* @__PURE__ */ n.createElement("div", { className: "mt-5" }, x == null ? void 0 : x.map((B) => {
6480
6480
  const G = R(B).isSame(R(t), "day"), O = R(B).format();
6481
6481
  return /* @__PURE__ */ n.createElement(
@@ -6497,7 +6497,6 @@ const Bt = {
6497
6497
  })) : /* @__PURE__ */ n.createElement("div", { className: "mx-6 mt-7 max-w-40 items-center justify-center rounded bg-yellow-lighter p-3" }, "There is no future availability for this product.")) : null, /* @__PURE__ */ n.createElement(
6498
6498
  d1,
6499
6499
  {
6500
- showOutsideDays: !E,
6501
6500
  className: I(
6502
6501
  "ui-date-picker rounded-lg pt-3",
6503
6502
  z ? "date-range-picker" : null,