@devalok/shilp-sutra-karm 0.24.0 → 0.24.1

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.
@@ -5,11 +5,11 @@ import { useMemo as be, useState as B, useEffect as ke, useCallback as L, useCon
5
5
  import { createPortal as Wt } from "react-dom";
6
6
  import { u as st, C as at, a as $t, S as nt, v as zt, b as Ft, c as Be, s as Pt, K as _t, T as Ut, P as Vt, D as Ht, d as Kt, h as Gt, e as jt } from "./vendor-dnd.js";
7
7
  import { cn as C } from "@devalok/shilp-sutra/ui/lib/utils";
8
- import { MotionStagger as le, MotionStaggerItem as Q } from "@devalok/shilp-sutra/motion/primitives";
8
+ import { MotionStagger as ce, MotionStaggerItem as ee } from "@devalok/shilp-sutra/motion/primitives";
9
9
  import { Input as Re } from "@devalok/shilp-sutra/ui/input";
10
10
  import { Button as z } from "@devalok/shilp-sutra/ui/button";
11
11
  import { Badge as rt } from "@devalok/shilp-sutra/ui/badge";
12
- import { DropdownMenu as X, DropdownMenuTrigger as J, DropdownMenuContent as Z, DropdownMenuLabel as oe, DropdownMenuSeparator as te, DropdownMenuCheckboxItem as We, DropdownMenuRadioGroup as Yt, DropdownMenuRadioItem as qt, DropdownMenuItem as j } from "@devalok/shilp-sutra/ui/dropdown-menu";
12
+ import { DropdownMenu as Q, DropdownMenuTrigger as X, DropdownMenuContent as J, DropdownMenuLabel as oe, DropdownMenuSeparator as te, DropdownMenuCheckboxItem as We, DropdownMenuRadioGroup as Yt, DropdownMenuRadioItem as qt, DropdownMenuItem as j } from "@devalok/shilp-sutra/ui/dropdown-menu";
13
13
  import { SegmentedControl as Qt } from "@devalok/shilp-sutra/ui/segmented-control";
14
14
  import { IconX as Me, IconSearch as Xt, IconFilter as Jt, IconUser as ve, IconLayoutGrid as Zt, IconLayoutList as es, IconArrowRight as Fe, IconAlertTriangle as Le, IconEye as de, IconTrash as Pe, IconEyeOff as ze, IconPlus as _e, IconDots as ts, IconPencil as ss, IconGauge as as, IconCalendar as Ue, IconCheck as ns, IconArrowUp as it, IconArrowDown as ot, IconGripVertical as rs, IconSubtask as is, IconLock as os, IconTag as ls } from "@tabler/icons-react";
15
15
  import { AnimatePresence as we, motion as ue } from "framer-motion";
@@ -159,12 +159,12 @@ function Cs({
159
159
  ke(() => {
160
160
  M(t.columns);
161
161
  }, [t]);
162
- const [$, he] = B(r), [P, K] = B(Je), ce = L((H) => {
162
+ const [$, he] = B(r), [P, K] = B(Je), le = L((H) => {
163
163
  K((Y) => ({ ...Y, ...H }));
164
164
  }, []), fe = L(() => K(Je), []), ge = be(
165
165
  () => P.search !== "" || P.priorities.length > 0 || P.assignees.length > 0 || P.labels.length > 0 || P.dueDateRange != null && P.dueDateRange !== "none",
166
166
  [P]
167
- ), ee = ks(A, P), ye = be(
167
+ ), Z = ks(A, P), ye = be(
168
168
  () => a ?? bs(A),
169
169
  [a, A]
170
170
  ), [ae, ne] = B(/* @__PURE__ */ new Set()), Ce = L((H) => {
@@ -174,7 +174,7 @@ function Cs({
174
174
  });
175
175
  }, []), Ne = L(
176
176
  (H, Y) => {
177
- const U = ee.flatMap((G) => G.tasks), re = U.findIndex((G) => G.id === H), se = U.findIndex((G) => G.id === Y);
177
+ const U = Z.flatMap((G) => G.tasks), re = U.findIndex((G) => G.id === H), se = U.findIndex((G) => G.id === Y);
178
178
  if (re === -1 || se === -1) return;
179
179
  const [Oe, V] = re < se ? [re, se] : [se, re], q = U.slice(Oe, V + 1).map((G) => G.id);
180
180
  ne((G) => {
@@ -182,20 +182,20 @@ function Cs({
182
182
  return q.forEach((Lt) => Xe.add(Lt)), Xe;
183
183
  });
184
184
  },
185
- [ee]
185
+ [Z]
186
186
  ), pe = L(() => {
187
- const H = ee.flatMap((Y) => Y.tasks.map((U) => U.id));
187
+ const H = Z.flatMap((Y) => Y.tasks.map((U) => U.id));
188
188
  ne(new Set(H));
189
- }, [ee]), N = L(() => ne(/* @__PURE__ */ new Set()), []), [je, Tt] = B(null), [Ye, St] = B(!1), [qe, Rt] = B(null), Mt = ys(u), Qe = w === "list" && Mt, At = be(
189
+ }, [Z]), N = L(() => ne(/* @__PURE__ */ new Set()), []), [je, Tt] = B(null), [Ye, St] = B(!1), [qe, Rt] = B(null), Mt = ys(u), Qe = w === "list" && Mt, At = be(
190
190
  () => ({
191
- columns: ee,
191
+ columns: Z,
192
192
  rawColumns: A,
193
193
  members: ye,
194
194
  readOnly: l,
195
195
  viewMode: $,
196
196
  setViewMode: he,
197
197
  filters: P,
198
- setFilters: ce,
198
+ setFilters: le,
199
199
  clearFilters: fe,
200
200
  hasActiveFilters: ge,
201
201
  selectedTaskIds: ae,
@@ -248,13 +248,13 @@ function Cs({
248
248
  onQuickDelete: I ?? O
249
249
  }),
250
250
  [
251
- ee,
251
+ Z,
252
252
  A,
253
253
  ye,
254
254
  l,
255
255
  $,
256
256
  P,
257
- ce,
257
+ le,
258
258
  fe,
259
259
  ge,
260
260
  ae,
@@ -399,8 +399,8 @@ const Ns = ["LOW", "MEDIUM", "HIGH", "URGENT"], Ze = [
399
399
  }
400
400
  ) }),
401
401
  /* @__PURE__ */ n("div", { className: "flex items-center gap-ds-01", children: [
402
- /* @__PURE__ */ n(X, { children: [
403
- /* @__PURE__ */ e(J, { asChild: !0, children: /* @__PURE__ */ n(
402
+ /* @__PURE__ */ n(Q, { children: [
403
+ /* @__PURE__ */ e(X, { asChild: !0, children: /* @__PURE__ */ n(
404
404
  z,
405
405
  {
406
406
  variant: "ghost",
@@ -420,7 +420,7 @@ const Ns = ["LOW", "MEDIUM", "HIGH", "URGENT"], Ze = [
420
420
  ]
421
421
  }
422
422
  ) }),
423
- /* @__PURE__ */ n(Z, { align: "start", className: "w-44", children: [
423
+ /* @__PURE__ */ n(J, { align: "start", className: "w-44", children: [
424
424
  /* @__PURE__ */ e(oe, { children: "Priority" }),
425
425
  /* @__PURE__ */ e(te, {}),
426
426
  Ns.map((o) => /* @__PURE__ */ e(
@@ -434,8 +434,8 @@ const Ns = ["LOW", "MEDIUM", "HIGH", "URGENT"], Ze = [
434
434
  ))
435
435
  ] })
436
436
  ] }),
437
- y.length > 0 && /* @__PURE__ */ n(X, { children: [
438
- /* @__PURE__ */ e(J, { asChild: !0, children: /* @__PURE__ */ n(
437
+ y.length > 0 && /* @__PURE__ */ n(Q, { children: [
438
+ /* @__PURE__ */ e(X, { asChild: !0, children: /* @__PURE__ */ n(
439
439
  z,
440
440
  {
441
441
  variant: "ghost",
@@ -455,7 +455,7 @@ const Ns = ["LOW", "MEDIUM", "HIGH", "URGENT"], Ze = [
455
455
  ]
456
456
  }
457
457
  ) }),
458
- /* @__PURE__ */ n(Z, { align: "start", className: "w-48 max-h-56 overflow-y-auto", children: [
458
+ /* @__PURE__ */ n(J, { align: "start", className: "w-48 max-h-56 overflow-y-auto", children: [
459
459
  /* @__PURE__ */ e(oe, { children: "Assignee" }),
460
460
  /* @__PURE__ */ e(te, {}),
461
461
  y.map((o) => /* @__PURE__ */ e(
@@ -469,8 +469,8 @@ const Ns = ["LOW", "MEDIUM", "HIGH", "URGENT"], Ze = [
469
469
  ))
470
470
  ] })
471
471
  ] }),
472
- p.length > 0 && /* @__PURE__ */ n(X, { children: [
473
- /* @__PURE__ */ e(J, { asChild: !0, children: /* @__PURE__ */ n(
472
+ p.length > 0 && /* @__PURE__ */ n(Q, { children: [
473
+ /* @__PURE__ */ e(X, { asChild: !0, children: /* @__PURE__ */ n(
474
474
  z,
475
475
  {
476
476
  variant: "ghost",
@@ -489,7 +489,7 @@ const Ns = ["LOW", "MEDIUM", "HIGH", "URGENT"], Ze = [
489
489
  ]
490
490
  }
491
491
  ) }),
492
- /* @__PURE__ */ n(Z, { align: "start", className: "w-44 max-h-56 overflow-y-auto", children: [
492
+ /* @__PURE__ */ n(J, { align: "start", className: "w-44 max-h-56 overflow-y-auto", children: [
493
493
  /* @__PURE__ */ e(oe, { children: "Label" }),
494
494
  /* @__PURE__ */ e(te, {}),
495
495
  p.map((o) => /* @__PURE__ */ e(
@@ -503,8 +503,8 @@ const Ns = ["LOW", "MEDIUM", "HIGH", "URGENT"], Ze = [
503
503
  ))
504
504
  ] })
505
505
  ] }),
506
- /* @__PURE__ */ n(X, { children: [
507
- /* @__PURE__ */ e(J, { asChild: !0, children: /* @__PURE__ */ e(
506
+ /* @__PURE__ */ n(Q, { children: [
507
+ /* @__PURE__ */ e(X, { asChild: !0, children: /* @__PURE__ */ e(
508
508
  z,
509
509
  {
510
510
  variant: "ghost",
@@ -516,7 +516,7 @@ const Ns = ["LOW", "MEDIUM", "HIGH", "URGENT"], Ze = [
516
516
  children: "Due date"
517
517
  }
518
518
  ) }),
519
- /* @__PURE__ */ n(Z, { align: "start", className: "w-40", children: [
519
+ /* @__PURE__ */ n(J, { align: "start", className: "w-40", children: [
520
520
  /* @__PURE__ */ e(oe, { children: "Due date" }),
521
521
  /* @__PURE__ */ e(te, {}),
522
522
  /* @__PURE__ */ e(
@@ -555,8 +555,8 @@ const Ns = ["LOW", "MEDIUM", "HIGH", "URGENT"], Ze = [
555
555
  }
556
556
  )
557
557
  ] }),
558
- R.length > 0 && /* @__PURE__ */ n(le, { className: "flex items-center gap-ds-02 flex-wrap", children: [
559
- R.map((o) => /* @__PURE__ */ e(Q, { children: /* @__PURE__ */ e(
558
+ R.length > 0 && /* @__PURE__ */ n(ce, { className: "flex items-center gap-ds-02 flex-wrap", children: [
559
+ R.map((o) => /* @__PURE__ */ e(ee, { children: /* @__PURE__ */ e(
560
560
  rt,
561
561
  {
562
562
  variant: "subtle",
@@ -619,13 +619,13 @@ const Is = ["LOW", "MEDIUM", "HIGH", "URGENT"], gt = F.forwardRef(({ className:
619
619
  )
620
620
  ] }),
621
621
  /* @__PURE__ */ e("div", { className: "h-4 w-px bg-surface-border" }),
622
- /* @__PURE__ */ n(le, { className: "contents", children: [
623
- /* @__PURE__ */ e(Q, { children: /* @__PURE__ */ n(X, { children: [
624
- /* @__PURE__ */ e(J, { asChild: !0, children: /* @__PURE__ */ n(z, { variant: "ghost", size: "sm", title: "Move to column", children: [
622
+ /* @__PURE__ */ n(ce, { className: "contents", children: [
623
+ /* @__PURE__ */ e(ee, { children: /* @__PURE__ */ n(Q, { children: [
624
+ /* @__PURE__ */ e(X, { asChild: !0, children: /* @__PURE__ */ n(z, { variant: "ghost", size: "sm", title: "Move to column", children: [
625
625
  /* @__PURE__ */ e(Fe, { className: "h-ico-sm w-ico-sm mr-ds-01" }),
626
626
  "Move"
627
627
  ] }) }),
628
- /* @__PURE__ */ n(Z, { align: "start", className: "w-44", children: [
628
+ /* @__PURE__ */ n(J, { align: "start", className: "w-44", children: [
629
629
  /* @__PURE__ */ e(oe, { children: "Move to" }),
630
630
  /* @__PURE__ */ e(te, {}),
631
631
  i.map((f) => /* @__PURE__ */ e(
@@ -638,12 +638,12 @@ const Is = ["LOW", "MEDIUM", "HIGH", "URGENT"], gt = F.forwardRef(({ className:
638
638
  ))
639
639
  ] })
640
640
  ] }) }),
641
- /* @__PURE__ */ e(Q, { children: /* @__PURE__ */ n(X, { children: [
642
- /* @__PURE__ */ e(J, { asChild: !0, children: /* @__PURE__ */ n(z, { variant: "ghost", size: "sm", title: "Set priority", children: [
641
+ /* @__PURE__ */ e(ee, { children: /* @__PURE__ */ n(Q, { children: [
642
+ /* @__PURE__ */ e(X, { asChild: !0, children: /* @__PURE__ */ n(z, { variant: "ghost", size: "sm", title: "Set priority", children: [
643
643
  /* @__PURE__ */ e(Le, { className: "h-ico-sm w-ico-sm mr-ds-01" }),
644
644
  "Priority"
645
645
  ] }) }),
646
- /* @__PURE__ */ n(Z, { align: "start", className: "w-40", children: [
646
+ /* @__PURE__ */ n(J, { align: "start", className: "w-40", children: [
647
647
  /* @__PURE__ */ e(oe, { children: "Set priority" }),
648
648
  /* @__PURE__ */ e(te, {}),
649
649
  Is.map((f) => /* @__PURE__ */ e(
@@ -657,12 +657,12 @@ const Is = ["LOW", "MEDIUM", "HIGH", "URGENT"], gt = F.forwardRef(({ className:
657
657
  ))
658
658
  ] })
659
659
  ] }) }),
660
- u.length > 0 && /* @__PURE__ */ e(Q, { children: /* @__PURE__ */ n(X, { children: [
661
- /* @__PURE__ */ e(J, { asChild: !0, children: /* @__PURE__ */ n(z, { variant: "ghost", size: "sm", title: "Assign", children: [
660
+ u.length > 0 && /* @__PURE__ */ e(ee, { children: /* @__PURE__ */ n(Q, { children: [
661
+ /* @__PURE__ */ e(X, { asChild: !0, children: /* @__PURE__ */ n(z, { variant: "ghost", size: "sm", title: "Assign", children: [
662
662
  /* @__PURE__ */ e(ve, { className: "h-ico-sm w-ico-sm mr-ds-01" }),
663
663
  "Assign"
664
664
  ] }) }),
665
- /* @__PURE__ */ n(Z, { align: "start", className: "w-44 max-h-48 overflow-y-auto", children: [
665
+ /* @__PURE__ */ n(J, { align: "start", className: "w-44 max-h-48 overflow-y-auto", children: [
666
666
  /* @__PURE__ */ e(oe, { children: "Assign to" }),
667
667
  /* @__PURE__ */ e(te, {}),
668
668
  u.map((f) => /* @__PURE__ */ e(
@@ -675,19 +675,19 @@ const Is = ["LOW", "MEDIUM", "HIGH", "URGENT"], gt = F.forwardRef(({ className:
675
675
  ))
676
676
  ] })
677
677
  ] }) }),
678
- /* @__PURE__ */ e(Q, { children: /* @__PURE__ */ n(X, { children: [
679
- /* @__PURE__ */ e(J, { asChild: !0, children: /* @__PURE__ */ n(z, { variant: "ghost", size: "sm", title: "Set visibility", children: [
678
+ /* @__PURE__ */ e(ee, { children: /* @__PURE__ */ n(Q, { children: [
679
+ /* @__PURE__ */ e(X, { asChild: !0, children: /* @__PURE__ */ n(z, { variant: "ghost", size: "sm", title: "Set visibility", children: [
680
680
  /* @__PURE__ */ e(de, { className: "h-ico-sm w-ico-sm mr-ds-01" }),
681
681
  "Visibility"
682
682
  ] }) }),
683
- /* @__PURE__ */ n(Z, { align: "start", className: "w-40", children: [
683
+ /* @__PURE__ */ n(J, { align: "start", className: "w-40", children: [
684
684
  /* @__PURE__ */ e(j, { onClick: () => h("visibility", "INTERNAL"), children: "Internal only" }),
685
685
  /* @__PURE__ */ e(j, { onClick: () => h("visibility", "EVERYONE"), children: "Visible to all" })
686
686
  ] })
687
687
  ] }) })
688
688
  ] }),
689
689
  /* @__PURE__ */ e("div", { className: "flex-1" }),
690
- /* @__PURE__ */ e(le, { children: /* @__PURE__ */ e(Q, { children: /* @__PURE__ */ n(
690
+ /* @__PURE__ */ e(ce, { children: /* @__PURE__ */ e(ee, { children: /* @__PURE__ */ n(
691
691
  z,
692
692
  {
693
693
  variant: "ghost",
@@ -760,13 +760,13 @@ const Ve = F.forwardRef(({ column: t, index: s, className: a, ...i }, l) => {
760
760
  completedColumnId: h,
761
761
  showCompleted: f,
762
762
  onToggleCompleted: D
763
- } = _(), T = h != null && t.id === h, [c, g] = B(!1), [y, p] = B(t.name), [S, d] = B(!1), [k, E] = B(!1), [W, R] = B(""), [o, x] = B(null), [I, A] = B(""), M = Se(null), $ = m, he = Ae[s % Ae.length], P = t.tasks.length, K = t.wipLimit ?? null, ce = K != null && P > K, fe = Ds(t), ge = () => {
763
+ } = _(), T = h != null && t.id === h, [c, g] = B(!1), [y, p] = B(t.name), [S, d] = B(!1), [k, E] = B(!1), [W, R] = B(""), [o, x] = B(null), [I, A] = B(""), M = Se(null), $ = m, he = Ae[s % Ae.length], P = t.tasks.length, K = t.wipLimit ?? null, le = K != null && P > K, fe = Ds(t), ge = () => {
764
764
  p(t.name), g(!0);
765
- }, ee = () => {
765
+ }, Z = () => {
766
766
  const N = y.trim();
767
767
  N && N !== t.name && v(t.id, N), g(!1);
768
768
  }, ye = (N) => {
769
- N.key === "Enter" && ee(), N.key === "Escape" && (p(t.name), g(!1));
769
+ N.key === "Enter" && Z(), N.key === "Escape" && (p(t.name), g(!1));
770
770
  }, ae = () => {
771
771
  R(""), x(null), A(""), E(!1);
772
772
  }, ne = () => {
@@ -801,7 +801,7 @@ const Ve = F.forwardRef(({ column: t, index: s, className: a, ...i }, l) => {
801
801
  {
802
802
  value: y,
803
803
  onChange: (N) => p(N.target.value),
804
- onBlur: ee,
804
+ onBlur: Z,
805
805
  onKeyDown: ye,
806
806
  "aria-label": "Column name",
807
807
  size: "sm",
@@ -815,7 +815,7 @@ const Ve = F.forwardRef(({ column: t, index: s, className: a, ...i }, l) => {
815
815
  className: "flex-1 truncate text-ds-sm font-semibold text-surface-fg",
816
816
  onDoubleClick: r ? void 0 : ge,
817
817
  title: t.name,
818
- "aria-label": K != null ? `${t.name}, ${P} of ${K} tasks${ce ? ", WIP limit exceeded" : ""}` : `${t.name}, ${P} tasks`,
818
+ "aria-label": K != null ? `${t.name}, ${P} of ${K} tasks${le ? ", WIP limit exceeded" : ""}` : `${t.name}, ${P} tasks`,
819
819
  children: [
820
820
  t.name,
821
821
  /* @__PURE__ */ n("span", { className: "ml-ds-02 text-ds-xs font-normal text-surface-fg-subtle", children: [
@@ -838,9 +838,9 @@ const Ve = F.forwardRef(({ column: t, index: s, className: a, ...i }, l) => {
838
838
  {
839
839
  className: C(
840
840
  "flex-shrink-0 text-ds-xs tabular-nums",
841
- ce ? "font-semibold text-error-11" : "text-surface-fg-subtle"
841
+ le ? "font-semibold text-error-11" : "text-surface-fg-subtle"
842
842
  ),
843
- "aria-label": `WIP limit: ${K}${ce ? ", exceeded" : ""}`,
843
+ "aria-label": `WIP limit: ${K}${le ? ", exceeded" : ""}`,
844
844
  children: [
845
845
  "/ ",
846
846
  K
@@ -875,8 +875,8 @@ const Ve = F.forwardRef(({ column: t, index: s, className: a, ...i }, l) => {
875
875
  children: /* @__PURE__ */ e(_e, { className: "h-ico-sm w-ico-sm" })
876
876
  }
877
877
  ),
878
- !r && /* @__PURE__ */ n(X, { children: [
879
- /* @__PURE__ */ e(J, { asChild: !0, children: /* @__PURE__ */ e(
878
+ !r && /* @__PURE__ */ n(Q, { children: [
879
+ /* @__PURE__ */ e(X, { asChild: !0, children: /* @__PURE__ */ e(
880
880
  z,
881
881
  {
882
882
  variant: "ghost",
@@ -890,7 +890,7 @@ const Ve = F.forwardRef(({ column: t, index: s, className: a, ...i }, l) => {
890
890
  children: /* @__PURE__ */ e(ts, { className: "h-ico-sm w-ico-sm" })
891
891
  }
892
892
  ) }),
893
- /* @__PURE__ */ n(Z, { align: "end", className: "w-48", children: [
893
+ /* @__PURE__ */ n(J, { align: "end", className: "w-48", children: [
894
894
  /* @__PURE__ */ n(j, { onClick: ge, children: [
895
895
  /* @__PURE__ */ e(ss, { className: "mr-ds-03 h-ico-sm w-ico-sm" }),
896
896
  "Rename"
@@ -959,8 +959,8 @@ const Ve = F.forwardRef(({ column: t, index: s, className: a, ...i }, l) => {
959
959
  }
960
960
  ),
961
961
  /* @__PURE__ */ n("div", { className: "flex items-center gap-ds-01", children: [
962
- /* @__PURE__ */ n(X, { children: [
963
- /* @__PURE__ */ e(J, { asChild: !0, children: /* @__PURE__ */ e(
962
+ /* @__PURE__ */ n(Q, { children: [
963
+ /* @__PURE__ */ e(X, { asChild: !0, children: /* @__PURE__ */ e(
964
964
  "button",
965
965
  {
966
966
  className: C(
@@ -972,7 +972,7 @@ const Ve = F.forwardRef(({ column: t, index: s, className: a, ...i }, l) => {
972
972
  children: /* @__PURE__ */ e(ve, { className: "h-3.5 w-3.5" })
973
973
  }
974
974
  ) }),
975
- /* @__PURE__ */ n(Z, { align: "start", className: "w-44 max-h-48 overflow-y-auto", children: [
975
+ /* @__PURE__ */ n(J, { align: "start", className: "w-44 max-h-48 overflow-y-auto", children: [
976
976
  $.length === 0 && /* @__PURE__ */ e("div", { className: "px-ds-03 py-ds-02 text-ds-xs text-surface-fg-subtle", children: "No members found" }),
977
977
  o && /* @__PURE__ */ n(xe, { children: [
978
978
  /* @__PURE__ */ n(j, { onClick: () => x(null), children: [
@@ -1775,10 +1775,10 @@ const It = F.forwardRef(
1775
1775
  ] })
1776
1776
  ) : /* @__PURE__ */ n(xe, { children: [
1777
1777
  /* @__PURE__ */ n(nt, { items: p, strategy: zt, children: [
1778
- /* @__PURE__ */ e(le, { className: "contents", children: s.tasks.map((d, k) => /* @__PURE__ */ n(F.Fragment, { children: [
1778
+ s.tasks.map((d, k) => /* @__PURE__ */ n(F.Fragment, { children: [
1779
1779
  /* @__PURE__ */ e(we, { children: l && l.index === k && /* @__PURE__ */ e($e, {}) }),
1780
- /* @__PURE__ */ e(Q, { children: /* @__PURE__ */ e(Nt, { taskId: d.id, children: w === "compact" ? /* @__PURE__ */ e(wt, { task: d }) : /* @__PURE__ */ e(bt, { task: d }) }) })
1781
- ] }, d.id)) }),
1780
+ /* @__PURE__ */ e(Nt, { taskId: d.id, children: w === "compact" ? /* @__PURE__ */ e(wt, { task: d }) : /* @__PURE__ */ e(bt, { task: d }) })
1781
+ ] }, d.id)),
1782
1782
  /* @__PURE__ */ e(we, { children: l && l.index >= s.tasks.length && /* @__PURE__ */ e($e, {}) })
1783
1783
  ] }),
1784
1784
  s.tasks.length === 0 && !l && /* @__PURE__ */ e(
@@ -1818,7 +1818,7 @@ const Dt = F.forwardRef(
1818
1818
  s.tasks.length,
1819
1819
  " completed ",
1820
1820
  s.tasks.length === 1 ? "task" : "tasks"
1821
- ] }) : s.tasks.length === 0 ? /* @__PURE__ */ e(He, { index: a }) : /* @__PURE__ */ e(le, { className: "contents", children: s.tasks.map((h) => /* @__PURE__ */ e(Q, { children: m === "compact" ? /* @__PURE__ */ e(Ct, { task: h }) : /* @__PURE__ */ e(yt, { task: h }) }, h.id)) }) })
1821
+ ] }) : s.tasks.length === 0 ? /* @__PURE__ */ e(He, { index: a }) : /* @__PURE__ */ e(ce, { className: "contents", children: s.tasks.map((h) => /* @__PURE__ */ e(ee, { children: m === "compact" ? /* @__PURE__ */ e(Ct, { task: h }) : /* @__PURE__ */ e(yt, { task: h }) }, h.id)) }) })
1822
1822
  ]
1823
1823
  }
1824
1824
  );
@@ -2119,8 +2119,8 @@ function zs({ className: t }) {
2119
2119
  {
2120
2120
  items: T,
2121
2121
  strategy: Gt,
2122
- children: /* @__PURE__ */ e(le, { delay: 0.05, className: "contents", children: s.map((d, k) => /* @__PURE__ */ e(
2123
- Q,
2122
+ children: /* @__PURE__ */ e(ce, { delay: 0.05, className: "contents", children: s.map((d, k) => /* @__PURE__ */ e(
2123
+ ee,
2124
2124
  {
2125
2125
  className: "flex-shrink-0",
2126
2126
  children: /* @__PURE__ */ e(
@@ -2162,7 +2162,7 @@ function zs({ className: t }) {
2162
2162
  }
2163
2163
  function Fs({ className: t }) {
2164
2164
  const { columns: s } = _();
2165
- return /* @__PURE__ */ e("div", { className: C("no-scrollbar flex h-full gap-ds-05 overflow-x-auto pb-ds-05", t), children: /* @__PURE__ */ e(le, { delay: 0.05, className: "contents", children: s.map((a, i) => /* @__PURE__ */ e(Q, { className: "flex-shrink-0", children: /* @__PURE__ */ e(Dt, { column: a, index: i }) }, a.id)) }) });
2165
+ return /* @__PURE__ */ e("div", { className: C("no-scrollbar flex h-full gap-ds-05 overflow-x-auto pb-ds-05", t), children: /* @__PURE__ */ e(ce, { delay: 0.05, className: "contents", children: s.map((a, i) => /* @__PURE__ */ e(ee, { className: "flex-shrink-0", children: /* @__PURE__ */ e(Dt, { column: a, index: i }) }, a.id)) }) });
2166
2166
  }
2167
2167
  function Ps() {
2168
2168
  const { readOnly: t, isMobileListView: s } = _();
@@ -1 +1 @@
1
- {"version":3,"file":"board-column.d.ts","sourceRoot":"","sources":["../../src/board/board-column.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAc9B,OAAO,KAAK,EAAE,WAAW,IAAI,eAAe,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAM9E,MAAM,WAAW,gBAAiB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC5E,MAAM,EAAE,eAAe,CAAA;IACvB,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,8DAA8D;IAC9D,WAAW,CAAC,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IACjE,kEAAkE;IAClE,WAAW,CAAC,EAAE,SAAS,GAAG,IAAI,CAAA;CAC/B;AA0BD,eAAO,MAAM,WAAW,yFAmGvB,CAAA;AAQD,MAAM,WAAW,wBAAyB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACpF,MAAM,EAAE,eAAe,CAAA;IACvB,KAAK,EAAE,MAAM,CAAA;CACd;AAED,eAAO,MAAM,mBAAmB,iGA0C/B,CAAA"}
1
+ {"version":3,"file":"board-column.d.ts","sourceRoot":"","sources":["../../src/board/board-column.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAc9B,OAAO,KAAK,EAAE,WAAW,IAAI,eAAe,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAM9E,MAAM,WAAW,gBAAiB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC5E,MAAM,EAAE,eAAe,CAAA;IACvB,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,8DAA8D;IAC9D,WAAW,CAAC,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IACjE,kEAAkE;IAClE,WAAW,CAAC,EAAE,SAAS,GAAG,IAAI,CAAA;CAC/B;AA0BD,eAAO,MAAM,WAAW,yFA+FvB,CAAA;AAQD,MAAM,WAAW,wBAAyB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACpF,MAAM,EAAE,eAAe,CAAA;IACvB,KAAK,EAAE,MAAM,CAAA;CACd;AAED,eAAO,MAAM,mBAAmB,iGA0C/B,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devalok/shilp-sutra-karm",
3
- "version": "0.24.0",
3
+ "version": "0.24.1",
4
4
  "description": "Domain components for Karm — board, tasks, chat, dashboard, client, and admin",
5
5
  "license": "MIT",
6
6
  "type": "module",