@innosolutions/inno-calendar 1.0.9 → 1.0.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.
@@ -3,7 +3,7 @@ import { o as Ae, c as Ue, C as Ye, I as Ge, j as Ke } from "./inno-calendar-pro
3
3
  import { c as u } from "./index-DtaLkIY8.js";
4
4
  import { useMemo as j, useRef as Je, useCallback as se, forwardRef as ye, useState as ae, useEffect as be } from "react";
5
5
  import { an as Qe, Z as Xe, a8 as Ze, az as q, aO as fe, I as Be, h as qe, S as et, U as tt, o as Fe } from "./slot-selection-context-CZjfJAcp.js";
6
- import { B as V, c as rt, C as nt, M as ke, A as st, W as at, b as it, P as Pe, h as Oe, g as _e, l as Y, p as ot, q as lt, r as ct, s as Ce, j as G, m as K, k as J, t as dt } from "./agenda-view-DG52s-kZ.js";
6
+ import { B as V, c as rt, C as nt, M as ke, A as st, W as at, b as it, P as Pe, h as Oe, g as _e, l as Y, p as ot, q as lt, r as ct, s as Ce, j as G, m as K, k as J, t as dt } from "./agenda-view-BGuqDOh3.js";
7
7
  function ut({ view: t, className: r = "" }) {
8
8
  return /* @__PURE__ */ e(
9
9
  "div",
@@ -475,8 +475,8 @@ function xe({
475
475
  " "
476
476
  ] }),
477
477
  /* @__PURE__ */ e("div", { className: "ic-timeline-scroll-container flex-1 overflow-auto", ref: p, children: /* @__PURE__ */ n("div", { className: "relative", style: { minWidth: E }, children: [
478
- // Hour mode: Day headers + Hour sub-headers
479
- /* @__PURE__ */ n("div", { className: "ic-timeline-header sticky top-0 z-20 flex flex-col border-b bg-background", children: [
478
+ // Hour mode: Day headers + Hour sub-headers - sticky wrapper with flex child (sticky + flex breaks sticky)
479
+ /* @__PURE__ */ e("div", { className: "ic-timeline-header sticky top-0 z-20 border-b bg-background", children: /* @__PURE__ */ n("div", { className: "flex flex-col", children: [
480
480
  t > 1 && /* @__PURE__ */ n("div", { className: "flex border-b", children: [
481
481
  /* @__PURE__ */ e(
482
482
  "div",
@@ -514,7 +514,7 @@ function xe({
514
514
  t > 1 && /* @__PURE__ */ e(
515
515
  "div",
516
516
  {
517
- className: "sticky left-0 z-10 shrink-0 border-r bg-background",
517
+ className: "sticky left-0 z-10 border-r bg-background",
518
518
  style: { width: oe }
519
519
  }
520
520
  ),
@@ -535,7 +535,7 @@ function xe({
535
535
  );
536
536
  })
537
537
  ] })
538
- ] }),
538
+ ] }) }),
539
539
  A.map((l) => {
540
540
  const x = W(l.maxStack);
541
541
  return /* @__PURE__ */ n(
@@ -544,12 +544,12 @@ function xe({
544
544
  className: "relative flex border-b",
545
545
  style: { height: x },
546
546
  children: [
547
- /* @__PURE__ */ n(
547
+ /* @__PURE__ */ e(
548
548
  "div",
549
549
  {
550
- className: "sticky left-0 z-10 flex shrink-0 items-center gap-2 sm:gap-3 border-r bg-background px-2 sm:px-4",
550
+ className: "sticky left-0 z-10",
551
551
  style: { width: oe },
552
- children: [
552
+ children: /* @__PURE__ */ n("div", { className: "flex h-full items-center gap-2 sm:gap-3 border-r bg-background px-2 sm:px-4", children: [
553
553
  /* @__PURE__ */ e(
554
554
  St,
555
555
  {
@@ -560,7 +560,7 @@ function xe({
560
560
  }
561
561
  ),
562
562
  /* @__PURE__ */ e("span", { className: "truncate text-xs sm:text-sm font-medium", children: l.user.name })
563
- ]
563
+ ] })
564
564
  }
565
565
  ),
566
566
  /* @__PURE__ */ n("div", { className: "relative flex flex-1", children: [
@@ -3390,4 +3390,4 @@ export {
3390
3390
  Xr as b,
3391
3391
  Vr as c
3392
3392
  };
3393
- //# sourceMappingURL=agenda-dropdown-WGUbh0U1.js.map
3393
+ //# sourceMappingURL=agenda-dropdown-CsCyc7yi.js.map