@humain/ui 2.2.1 → 2.2.3

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.
Files changed (67) hide show
  1. package/dist/components/templates/AppShell/AppShell.d.ts +4 -2
  2. package/dist/components/templates/AppShell/index.d.ts +1 -1
  3. package/dist/components/templates/AppSidebar/AppSidebar.constants.d.ts +4 -0
  4. package/dist/components/templates/AppSidebar/AppSidebar.d.ts +1 -0
  5. package/dist/index.js +19 -18
  6. package/dist/index217.js +6 -24
  7. package/dist/index217.js.map +1 -1
  8. package/dist/index218.js +20 -23
  9. package/dist/index218.js.map +1 -1
  10. package/dist/index219.js +20 -95
  11. package/dist/index219.js.map +1 -1
  12. package/dist/index220.js +92 -88
  13. package/dist/index220.js.map +1 -1
  14. package/dist/index221.js +97 -29
  15. package/dist/index221.js.map +1 -1
  16. package/dist/index222.js +24 -470
  17. package/dist/index222.js.map +1 -1
  18. package/dist/index223.js +450 -196
  19. package/dist/index223.js.map +1 -1
  20. package/dist/index224.js +199 -754
  21. package/dist/index224.js.map +1 -1
  22. package/dist/index225.js +777 -61
  23. package/dist/index225.js.map +1 -1
  24. package/dist/index226.js +58 -181
  25. package/dist/index226.js.map +1 -1
  26. package/dist/index227.js +175 -259
  27. package/dist/index227.js.map +1 -1
  28. package/dist/index228.js +246 -172
  29. package/dist/index228.js.map +1 -1
  30. package/dist/index229.js +195 -32
  31. package/dist/index229.js.map +1 -1
  32. package/dist/index230.js +12 -40
  33. package/dist/index230.js.map +1 -1
  34. package/dist/index231.js +23 -26
  35. package/dist/index231.js.map +1 -1
  36. package/dist/index232.js +45 -22
  37. package/dist/index232.js.map +1 -1
  38. package/dist/index233.js +27 -48
  39. package/dist/index233.js.map +1 -1
  40. package/dist/index234.js +52 -26
  41. package/dist/index234.js.map +1 -1
  42. package/dist/index235.js +40 -225
  43. package/dist/index235.js.map +1 -1
  44. package/dist/index236.js +217 -39
  45. package/dist/index236.js.map +1 -1
  46. package/dist/index237.js +50 -0
  47. package/dist/index237.js.map +1 -0
  48. package/dist/styles.css +1 -1
  49. package/dist/wc/{sidebar.js → AppSidebar.constants.js} +80 -78
  50. package/dist/wc/AppSidebar.constants.js.map +1 -0
  51. package/dist/wc/hf-app-shell.js +346 -343
  52. package/dist/wc/hf-app-shell.js.map +1 -1
  53. package/dist/wc/hf-app-sidebar.js +65 -62
  54. package/dist/wc/hf-app-sidebar.js.map +1 -1
  55. package/dist/wc-react/{sidebar.js → AppSidebar.constants.js} +89 -87
  56. package/dist/wc-react/AppSidebar.constants.js.map +1 -0
  57. package/dist/wc-react/hf-app-shell.js +383 -380
  58. package/dist/wc-react/hf-app-shell.js.map +1 -1
  59. package/dist/wc-react/hf-app-sidebar.js +69 -66
  60. package/dist/wc-react/hf-app-sidebar.js.map +1 -1
  61. package/package.json +1 -1
  62. package/skills/humain-ui/SKILL.md +1 -1
  63. package/skills/humain-ui-wc/SKILL.md +1 -1
  64. package/skills/humain-ui-wc.skill +0 -0
  65. package/skills/humain-ui.skill +0 -0
  66. package/dist/wc/sidebar.js.map +0 -1
  67. package/dist/wc-react/sidebar.js.map +0 -1
@@ -1,17 +1,17 @@
1
1
  import { a as ie, f as p, i as Te, l as Ve, n as We, o as Ue, t as Ge, u as qe } from "./_shared.js";
2
2
  import { t as R } from "./createLucideIcon.js";
3
3
  import { t as Ke } from "./calendar.js";
4
- import { t as Ze } from "./chevron-right.js";
5
- import { t as Je } from "./circle.js";
6
- import { t as Qe } from "./file-text.js";
7
- import { t as Xe } from "./house.js";
4
+ import { t as Xe } from "./chevron-right.js";
5
+ import { t as Ze } from "./circle.js";
6
+ import { t as Je } from "./file-text.js";
7
+ import { t as Qe } from "./house.js";
8
8
  import { t as ue } from "./message-circle.js";
9
- import { a as fe, c as me, d as be, f as he, g as A, h as Ye, l as ge, m as et, n as ve, o as D, p as tt, r as xe, s as O, t as at, u as ot } from "./sidebar.js";
9
+ import { _ as Ye, a as fe, c as D, d as me, f as et, g as tt, h as at, i as be, l as P, m as he, n as ge, p as ve, r as ot, s as xe, t as Ne, u as Se, v as A } from "./AppSidebar.constants.js";
10
10
  import { t as rt } from "./settings.js";
11
11
  import { t as se } from "./Avatar.js";
12
12
  import { t as nt } from "./workflow.js";
13
- import { t as Ne } from "./dist.js";
14
- import { t as Se } from "./Badge.js";
13
+ import { t as ye } from "./dist.js";
14
+ import { t as Ce } from "./Badge.js";
15
15
  import { t as it } from "./Separator3.js";
16
16
  import { a as st, i as lt, s as ct } from "./Popover.js";
17
17
  import { n as M, r as B, t as H } from "./tooltip2.js";
@@ -72,7 +72,7 @@ var pt = [
72
72
  r: "4",
73
73
  key: "nufk8"
74
74
  }]
75
- ], ht = R("users", bt), ye = "280px", Ce = "116px";
75
+ ], ht = R("users", bt);
76
76
  function Ae(e, t) {
77
77
  return t == null ? e : `${e}, ${typeof t == "number" ? `${t} ${t === 1 ? "item" : "items"}` : t}`;
78
78
  }
@@ -223,8 +223,11 @@ function U({ logo: e, compactedLogo: t, subtext: o, className: r, ...i }) {
223
223
  children: "HUMAIN"
224
224
  })] })
225
225
  }), o && /* @__PURE__ */ a("p", {
226
- className: "text-sm text-sidebar-foreground",
227
- children: o
226
+ className: "ps-11 text-sm text-sidebar-foreground",
227
+ children: /* @__PURE__ */ a("span", {
228
+ "data-slot": "app-sidebar-logo-subtext",
229
+ children: o
230
+ })
228
231
  })]
229
232
  }), /* @__PURE__ */ a("button", {
230
233
  type: "button",
@@ -263,22 +266,22 @@ function K({ children: e, className: t }) {
263
266
  });
264
267
  }
265
268
  K.displayName = "AppSidebar.Footer";
266
- function Z({ children: e, "aria-label": t = "Sidebar navigation", className: o }) {
267
- const r = /* @__PURE__ */ a(be, {
269
+ function X({ children: e, "aria-label": t = "Sidebar navigation", className: o }) {
270
+ const r = /* @__PURE__ */ a(ve, {
268
271
  className: "gap-0.5 group-data-[collapsible=icon]:items-center group-data-[collapsible=icon]:gap-1",
269
272
  children: h.Children.map(e, (i) => /* @__PURE__ */ a(he, { children: i }))
270
273
  });
271
274
  return /* @__PURE__ */ a(D, {
272
275
  "data-slot": "app-sidebar-nav",
273
276
  className: p("shrink-0 p-0 group-data-[collapsible=icon]:w-auto", o),
274
- children: /* @__PURE__ */ a(O, { children: /* @__PURE__ */ a("nav", {
277
+ children: /* @__PURE__ */ a(P, { children: /* @__PURE__ */ a("nav", {
275
278
  "aria-label": t,
276
279
  children: r
277
280
  }) })
278
281
  });
279
282
  }
280
- Z.displayName = "AppSidebar.Nav";
281
- w(Z, "content");
283
+ X.displayName = "AppSidebar.Nav";
284
+ w(X, "content");
282
285
  function De({ label: e, className: t }) {
283
286
  return /* @__PURE__ */ l("div", {
284
287
  "data-slot": "app-sidebar-nav-section",
@@ -301,15 +304,15 @@ function De({ label: e, className: t }) {
301
304
  });
302
305
  }
303
306
  De.displayName = "AppSidebar.NavSection";
304
- var Oe = Ne("relative flex w-full items-center gap-1.5 rounded-lg px-2 py-2 text-sm font-normal transition-[color,background-color] duration-200 ease-smooth motion-reduce:transition-none", {
307
+ var Pe = ye("relative flex w-full items-center gap-1.5 rounded-lg px-2 py-2 text-sm font-normal transition-[color,background-color] duration-200 ease-smooth motion-reduce:transition-none", {
305
308
  variants: { state: {
306
309
  default: "text-sidebar-foreground hover:bg-sidebar-accent",
307
310
  active: "bg-primary/10 text-sidebar-foreground"
308
311
  } },
309
312
  defaultVariants: { state: "default" }
310
313
  });
311
- function Pe({ icon: e, label: t, isActive: o = !1, badge: r, onClick: i, href: s, className: c, children: u }) {
312
- const { state: m, containerRef: f } = A(), { side: n } = W(), b = m === "collapsed", d = h.Children.count(u) > 0, S = h.Children.toArray(u).some((N) => h.isValidElement(N) && N.props.isActive === !0), x = o || S, [y, v] = h.useState(x && d), X = h.useId(), Y = n === "right" ? "left" : "right", Re = "linear-gradient(108deg, var(--opacity-white-87) 0.5219%, var(--opacity-white-75) 98.419%)", Me = n === "right" ? "justify-end rounded-l-xl rounded-r-none" : "justify-start rounded-r-xl rounded-l-none", Be = n === "right" ? "rounded-l-xl" : "rounded-r-xl", He = h.useMemo(() => ({ getBoundingClientRect: () => {
314
+ function Oe({ icon: e, label: t, isActive: o = !1, badge: r, onClick: i, href: s, className: c, children: u }) {
315
+ const { state: m, containerRef: f } = A(), { side: n } = W(), b = m === "collapsed", d = h.Children.count(u) > 0, S = h.Children.toArray(u).some((N) => h.isValidElement(N) && N.props.isActive === !0), x = o || S, [y, v] = h.useState(x && d), Q = h.useId(), Y = n === "right" ? "left" : "right", Re = "linear-gradient(108deg, var(--opacity-white-87) 0.5219%, var(--opacity-white-75) 98.419%)", Me = n === "right" ? "justify-end rounded-l-xl rounded-r-none" : "justify-start rounded-r-xl rounded-l-none", Be = n === "right" ? "rounded-l-xl" : "rounded-r-xl", He = h.useMemo(() => ({ getBoundingClientRect: () => {
313
316
  const N = f.current, C = N?.getBoundingClientRect(), ne = N?.ownerDocument.defaultView?.innerHeight ?? C?.height ?? 0, j = C ? n === "right" ? C.left : C.right : 0;
314
317
  return {
315
318
  x: j,
@@ -332,17 +335,17 @@ function Pe({ icon: e, label: t, isActive: o = !1, badge: r, onClick: i, href: s
332
335
  }), te = /* @__PURE__ */ a("span", {
333
336
  className: "flex-1 text-start group-data-[collapsible=icon]:hidden",
334
337
  children: t
335
- }), ae = r != null && /* @__PURE__ */ a(Se, {
338
+ }), ae = r != null && /* @__PURE__ */ a(Ce, {
336
339
  size: "sm",
337
340
  variant: "soft",
338
341
  color: "primary",
339
342
  className: "px-1.5 group-data-[collapsible=icon]:hidden",
340
343
  "aria-hidden": "true",
341
344
  children: r
342
- }), oe = d && /* @__PURE__ */ a(Ze, {
345
+ }), oe = d && /* @__PURE__ */ a(Xe, {
343
346
  "aria-hidden": "true",
344
347
  className: p("size-4 shrink-0 text-muted-foreground transition-transform duration-200 ease-smooth group-data-[collapsible=icon]:hidden motion-reduce:transition-none", y ? "rotate-90" : "rtl:rotate-180", x && y && "text-primary")
345
- }), E = p(Oe({ state: x ? "active" : "default" }), "focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring", "min-h-11 group-data-[collapsible=icon]:justify-center group-data-[collapsible=icon]:px-0 group-data-[collapsible=icon]:py-2 group-data-[collapsible=icon]:w-11 group-data-[collapsible=icon]:h-11", c), L = o ? { "aria-current": "page" } : {};
348
+ }), E = p(Pe({ state: x ? "active" : "default" }), "focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring", "min-h-11 group-data-[collapsible=icon]:justify-center group-data-[collapsible=icon]:px-0 group-data-[collapsible=icon]:py-2 group-data-[collapsible=icon]:w-11 group-data-[collapsible=icon]:h-11", c), L = o ? { "aria-current": "page" } : {};
346
349
  if (b) {
347
350
  const N = /* @__PURE__ */ a("span", {
348
351
  "data-slot": "nav-icon",
@@ -421,7 +424,7 @@ function Pe({ icon: e, label: t, isActive: o = !1, badge: r, onClick: i, href: s
421
424
  className: p(E, "cursor-pointer"),
422
425
  "aria-label": I,
423
426
  "aria-expanded": d ? y : void 0,
424
- "aria-controls": d ? X : void 0,
427
+ "aria-controls": d ? Q : void 0,
425
428
  ...L,
426
429
  "data-slot": "app-sidebar-nav-item",
427
430
  children: [
@@ -432,19 +435,19 @@ function Pe({ icon: e, label: t, isActive: o = !1, badge: r, onClick: i, href: s
432
435
  ]
433
436
  });
434
437
  return d ? /* @__PURE__ */ l(T, { children: [re, y && /* @__PURE__ */ a("ul", {
435
- id: X,
438
+ id: Q,
436
439
  role: "group",
437
440
  "aria-label": `${t} sub-navigation`,
438
441
  className: "ms-4 flex flex-col items-start border-s border-sidebar-border py-1 ps-2",
439
442
  children: u
440
443
  })] }) : re;
441
444
  }
442
- Pe.displayName = "AppSidebar.NavItem";
445
+ Oe.displayName = "AppSidebar.NavItem";
443
446
  function _e({ label: e, badge: t, isActive: o = !1, href: r, onClick: i, className: s }) {
444
- const c = Ae(e, t), u = p(Oe({ state: o ? "active" : "default" }), "min-h-11 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring", "transition-[color,background-color,transform] ltr:hover:translate-x-0.5 rtl:hover:-translate-x-0.5 motion-reduce:ltr:hover:translate-x-0 motion-reduce:rtl:hover:translate-x-0", s), m = o ? { "aria-current": "page" } : {}, f = /* @__PURE__ */ l(T, { children: [/* @__PURE__ */ a("span", {
447
+ const c = Ae(e, t), u = p(Pe({ state: o ? "active" : "default" }), "min-h-11 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring", "transition-[color,background-color,transform] ltr:hover:translate-x-0.5 rtl:hover:-translate-x-0.5 motion-reduce:ltr:hover:translate-x-0 motion-reduce:rtl:hover:translate-x-0", s), m = o ? { "aria-current": "page" } : {}, f = /* @__PURE__ */ l(T, { children: [/* @__PURE__ */ a("span", {
445
448
  className: "flex-1 text-start",
446
449
  children: e
447
- }), t != null && /* @__PURE__ */ a(Se, {
450
+ }), t != null && /* @__PURE__ */ a(Ce, {
448
451
  size: "sm",
449
452
  variant: "soft",
450
453
  color: "primary",
@@ -470,27 +473,27 @@ function _e({ label: e, badge: t, isActive: o = !1, href: r, onClick: i, classNa
470
473
  });
471
474
  }
472
475
  _e.displayName = "AppSidebar.NavSub";
473
- function P({ count: e = 3, className: t }) {
476
+ function O({ count: e = 3, className: t }) {
474
477
  const o = Ie(e, 3);
475
478
  return /* @__PURE__ */ a(D, {
476
479
  className: p("shrink-0 p-0 group-data-[collapsible=icon]:w-auto", t),
477
- children: /* @__PURE__ */ a(O, { children: /* @__PURE__ */ a(be, {
480
+ children: /* @__PURE__ */ a(P, { children: /* @__PURE__ */ a(ve, {
478
481
  className: "gap-0.5 group-data-[collapsible=icon]:items-center group-data-[collapsible=icon]:gap-2",
479
- children: Array.from({ length: o }).map((r, i) => /* @__PURE__ */ a(he, { children: /* @__PURE__ */ a(et, {}) }, `nav-skeleton-${i}`))
482
+ children: Array.from({ length: o }).map((r, i) => /* @__PURE__ */ a(he, { children: /* @__PURE__ */ a(tt, {}) }, `nav-skeleton-${i}`))
480
483
  }) })
481
484
  });
482
485
  }
483
- P.displayName = "AppSidebar.NavSkeleton";
484
- w(P, "content");
485
- function J({ label: e = "Recent Chats", children: t, className: o }) {
486
+ O.displayName = "AppSidebar.NavSkeleton";
487
+ w(O, "content");
488
+ function Z({ label: e = "Recent Chats", children: t, className: o }) {
486
489
  const { state: r } = A();
487
490
  return r === "collapsed" ? null : /* @__PURE__ */ l(D, {
488
491
  "data-slot": "app-sidebar-chat-list",
489
492
  className: p("mt-4 flex min-h-0 flex-1 flex-col p-0", o),
490
- children: [/* @__PURE__ */ a(me, {
493
+ children: [/* @__PURE__ */ a(Se, {
491
494
  className: "shrink-0 px-3 py-1 text-xs font-bold text-muted-foreground",
492
495
  children: e
493
- }), /* @__PURE__ */ a(O, {
496
+ }), /* @__PURE__ */ a(P, {
494
497
  className: "flex-1 overflow-hidden",
495
498
  children: /* @__PURE__ */ a("div", {
496
499
  className: "flex h-full flex-col overflow-y-auto pb-5 rounded-md focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring",
@@ -502,9 +505,9 @@ function J({ label: e = "Recent Chats", children: t, className: o }) {
502
505
  })]
503
506
  });
504
507
  }
505
- J.displayName = "AppSidebar.ChatList";
506
- w(J, "content");
507
- var yt = Ne("flex w-full items-center justify-between gap-2 rounded-md px-3 py-2 min-h-11 transition-[color,background-color,transform] duration-200 ease-smooth cursor-pointer motion-reduce:transition-none ltr:hover:translate-x-0.5 rtl:hover:-translate-x-0.5 motion-reduce:ltr:hover:translate-x-0 motion-reduce:rtl:hover:translate-x-0", {
508
+ Z.displayName = "AppSidebar.ChatList";
509
+ w(Z, "content");
510
+ var yt = ye("flex w-full items-center justify-between gap-2 rounded-md px-3 py-2 min-h-11 transition-[color,background-color,transform] duration-200 ease-smooth cursor-pointer motion-reduce:transition-none ltr:hover:translate-x-0.5 rtl:hover:-translate-x-0.5 motion-reduce:ltr:hover:translate-x-0 motion-reduce:rtl:hover:translate-x-0", {
508
511
  variants: { state: {
509
512
  default: "hover:bg-muted",
510
513
  hover: "bg-muted",
@@ -563,21 +566,21 @@ function _({ count: e = 5, label: t = "Recent Chats", className: o }) {
563
566
  const r = Ie(e, 5);
564
567
  return /* @__PURE__ */ l(D, {
565
568
  className: p("mt-4 flex min-h-0 flex-1 flex-col p-0 group-data-[collapsible=icon]:hidden", o),
566
- children: [/* @__PURE__ */ a(me, {
569
+ children: [/* @__PURE__ */ a(Se, {
567
570
  className: "shrink-0 px-3 py-1 text-xs font-bold text-muted-foreground",
568
571
  children: t
569
- }), /* @__PURE__ */ a(O, {
572
+ }), /* @__PURE__ */ a(P, {
570
573
  className: "flex-1 overflow-hidden",
571
574
  children: /* @__PURE__ */ a("div", {
572
575
  className: "flex h-full flex-col overflow-y-auto pb-5",
573
- children: Array.from({ length: r }).map((i, s) => /* @__PURE__ */ a(tt, {}, `chat-skeleton-${s}`))
576
+ children: Array.from({ length: r }).map((i, s) => /* @__PURE__ */ a(at, {}, `chat-skeleton-${s}`))
574
577
  })
575
578
  })]
576
579
  });
577
580
  }
578
581
  _.displayName = "AppSidebar.ChatListSkeleton";
579
582
  w(_, "content");
580
- function Q({ name: e, subtitle: t, avatarSrc: o, isOnline: r = !1, onExpand: i, className: s }) {
583
+ function J({ name: e, subtitle: t, avatarSrc: o, isOnline: r = !1, onExpand: i, className: s }) {
581
584
  const { state: c } = A(), { side: u } = W(), m = c === "collapsed", f = u === "right" ? "left" : "right";
582
585
  if (m) {
583
586
  const n = /* @__PURE__ */ a("button", {
@@ -637,10 +640,10 @@ function Q({ name: e, subtitle: t, avatarSrc: o, isOnline: r = !1, onExpand: i,
637
640
  })]
638
641
  });
639
642
  }
640
- Q.displayName = "AppSidebar.Account";
641
- w(Q, "footer");
643
+ J.displayName = "AppSidebar.Account";
644
+ w(J, "footer");
642
645
  function z({ className: e }) {
643
- return /* @__PURE__ */ a(at, { className: e });
646
+ return /* @__PURE__ */ a(ot, { className: e });
644
647
  }
645
648
  z.displayName = "AppSidebar.AccountSkeleton";
646
649
  w(z, "footer");
@@ -649,11 +652,11 @@ function je({ navCount: e = 4, chatCount: t = 5, logo: o, compactedLogo: r, coll
649
652
  containerRef: n,
650
653
  explicitSide: s
651
654
  }), S = ke(b, u);
652
- return /* @__PURE__ */ a(ve, {
655
+ return /* @__PURE__ */ a(be, {
653
656
  collapsible: i,
654
657
  side: d,
655
- width: ye,
656
- collapsedWidth: Ce,
658
+ width: ge,
659
+ collapsedWidth: Ne,
657
660
  className: p("bg-transparent", m),
658
661
  children: /* @__PURE__ */ l("div", {
659
662
  "data-slot": "app-sidebar-surface",
@@ -664,18 +667,18 @@ function je({ navCount: e = 4, chatCount: t = 5, logo: o, compactedLogo: r, coll
664
667
  backgroundClass: S
665
668
  }),
666
669
  children: [
667
- /* @__PURE__ */ a(ge, {
670
+ /* @__PURE__ */ a(me, {
668
671
  className: "h-[68px] w-full p-2",
669
672
  children: /* @__PURE__ */ a(U, {
670
673
  logo: o,
671
674
  compactedLogo: r
672
675
  })
673
676
  }),
674
- /* @__PURE__ */ l(xe, {
677
+ /* @__PURE__ */ l(fe, {
675
678
  className: "flex w-full flex-col gap-0 overflow-hidden pt-3 group-data-[collapsible=icon]:items-center",
676
- children: [/* @__PURE__ */ a(P, { count: e }), /* @__PURE__ */ a(_, { count: t })]
679
+ children: [/* @__PURE__ */ a(O, { count: e }), /* @__PURE__ */ a(_, { count: t })]
677
680
  }),
678
- /* @__PURE__ */ a(fe, {
681
+ /* @__PURE__ */ a(xe, {
679
682
  className: "w-full gap-0 p-0 group-data-[collapsible=icon]:items-center",
680
683
  children: /* @__PURE__ */ a(z, {})
681
684
  })
@@ -692,11 +695,11 @@ function $e({ logo: e, compactedLogo: t, logoSubtext: o, collapsible: r = "icon"
692
695
  }), y = ke(S, c), v = vt(m);
693
696
  return /* @__PURE__ */ a(Ee.Provider, {
694
697
  value: { side: x },
695
- children: /* @__PURE__ */ a(ve, {
698
+ children: /* @__PURE__ */ a(be, {
696
699
  collapsible: r,
697
700
  side: x,
698
- width: ye,
699
- collapsedWidth: Ce,
701
+ width: ge,
702
+ collapsedWidth: Ne,
700
703
  dir: f,
701
704
  className: p("bg-transparent", u),
702
705
  ...n,
@@ -709,7 +712,7 @@ function $e({ logo: e, compactedLogo: t, logoSubtext: o, collapsible: r = "icon"
709
712
  backgroundClass: y
710
713
  }),
711
714
  children: [
712
- /* @__PURE__ */ a(ge, {
715
+ /* @__PURE__ */ a(me, {
713
716
  className: "h-[68px] w-full p-2",
714
717
  children: /* @__PURE__ */ a(U, {
715
718
  logo: e,
@@ -717,11 +720,11 @@ function $e({ logo: e, compactedLogo: t, logoSubtext: o, collapsible: r = "icon"
717
720
  subtext: o
718
721
  })
719
722
  }),
720
- /* @__PURE__ */ a(xe, {
723
+ /* @__PURE__ */ a(fe, {
721
724
  className: "flex w-full flex-col gap-0 overflow-hidden pt-3 group-data-[collapsible=icon]:items-center",
722
725
  children: v.explicitContent ? v.explicitContent.props.children : v.content
723
726
  }),
724
- /* @__PURE__ */ a(fe, {
727
+ /* @__PURE__ */ a(xe, {
725
728
  className: "w-full gap-0 p-0 group-data-[collapsible=icon]:items-center",
726
729
  children: v.explicitFooter ? v.explicitFooter.props.children : v.footer
727
730
  })
@@ -735,15 +738,15 @@ var k = Object.assign($e, {
735
738
  Header: G,
736
739
  Content: q,
737
740
  Footer: K,
738
- Nav: Z,
741
+ Nav: X,
739
742
  NavSection: De,
740
- NavItem: Pe,
743
+ NavItem: Oe,
741
744
  NavSub: _e,
742
- NavSkeleton: P,
743
- ChatList: J,
745
+ NavSkeleton: O,
746
+ ChatList: Z,
744
747
  ChatItem: ze,
745
748
  ChatListSkeleton: _,
746
- Account: Q,
749
+ Account: J,
747
750
  AccountSkeleton: z,
748
751
  Skeleton: je
749
752
  }), F = {
@@ -760,10 +763,10 @@ var k = Object.assign($e, {
760
763
  rounded: "boolean",
761
764
  logoSubtext: "string"
762
765
  }, Ct = {
763
- home: Xe,
766
+ home: Qe,
764
767
  users: ht,
765
768
  calendar: Ke,
766
- "file-text": Qe,
769
+ "file-text": Je,
767
770
  settings: rt,
768
771
  "message-circle": ue,
769
772
  workflow: nt
@@ -778,7 +781,7 @@ function kt(e) {
778
781
  if (o) return g.createElement(o, { "aria-hidden": !0 });
779
782
  de.has(t) || (de.add(t), console.warn(`[hf-app-sidebar] Unsupported nav item icon "${t}". Falling back to "circle".`));
780
783
  }
781
- return g.createElement(Je, { "aria-hidden": !0 });
784
+ return g.createElement(Ze, { "aria-hidden": !0 });
782
785
  }
783
786
  function wt(e) {
784
787
  return e.type === "section";
@@ -841,7 +844,7 @@ var Fe = class extends Ge {
841
844
  subtitle: r.subtitle,
842
845
  avatarSrc: r.avatarSrc,
843
846
  isOnline: r.isOnline
844
- }))), t && f.push(g.createElement(ot, {
847
+ }))), t && f.push(g.createElement(et, {
845
848
  key: "inset",
846
849
  connected: e.connected
847
850
  }, Ve(t))), g.createElement(Ye, {