@rafal.lemieszewski/tide-ui 0.87.0 → 0.87.2

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.
@@ -1,8 +1,8 @@
1
- import { jsx as o, jsxs as x } from "react/jsx-runtime";
2
- import f from "react";
3
- import { cn as a } from "../../lib/utils.js";
4
- import { X as m, TriangleAlert as C, Trash2 as u, Star as p, Search as b, RotateCcw as k, PlusCircle as g, Pencil as y, PanelLeft as z, MoreHorizontal as A, Loader2 as L, ListFilter as I, Info as N, Filter as R, ExternalLink as T, CircleHelp as S, CircleCheck as D, CircleAlert as P, Circle as U, ChevronUp as W, ChevronRight as j, ChevronLeft as B, ChevronDown as F, Check as H, Bookmark as _, ArrowUpToLine as E, ArrowRightToLine as M, ArrowRight as X, ArrowLeftToLine as Y, ArrowLeft as $, ArrowDownWideNarrow as q, ArrowDownToLine as G, ArrowDownNarrowWide as J, AlertCircle as K } from "lucide-react";
5
- const O = {
1
+ import { jsx as o, jsxs as p } from "react/jsx-runtime";
2
+ import u from "react";
3
+ import { cn as s } from "../../lib/utils.js";
4
+ import { X as f, User as m, TrendingUp as C, TriangleAlert as b, Trash2 as g, Star as k, ShieldCheck as y, Ship as A, Settings as z, Search as L, ScrollText as S, RotateCcw as T, PlusCircle as I, Pencil as N, PanelLeft as R, MoreHorizontal as U, LogOut as D, Loader2 as P, ListFilter as j, LayoutDashboard as B, Info as H, House as W, GripVertical as $, Globe as F, Filter as G, ExternalLink as _, Container as E, CircleHelp as M, CircleCheck as O, CircleAlert as V, Circle as X, ChevronUp as q, ChevronRight as J, ChevronLeft as K, ChevronDown as Q, Check as Y, Bookmark as Z, Bell as rr, ArrowUpToLine as er, ArrowRightToLine as or, ArrowRight as tr, ArrowLeftToLine as ir, ArrowLeft as nr, ArrowDownWideNarrow as cr, ArrowDownToLine as lr, ArrowDownNarrowWide as ar, Anchor as sr, AlertCircle as dr } from "lucide-react";
5
+ const hr = {
6
6
  primary: "text-[var(--color-icon-primary)]",
7
7
  secondary: "text-[var(--color-icon-secondary)]",
8
8
  tertiary: "text-[var(--color-icon-tertiary)]",
@@ -19,7 +19,7 @@ const O = {
19
19
  "on-action": "text-[var(--color-icon-on-action)]",
20
20
  inverse: "text-[var(--color-icon-inverse)]",
21
21
  violet: "text-[var(--violet-500)]"
22
- }, Q = {
22
+ }, vr = {
23
23
  s: "w-[var(--size-3xs)] h-[var(--size-3xs)]",
24
24
  // 12px
25
25
  m: "w-[var(--size-2xs)] h-[var(--size-2xs)]",
@@ -28,83 +28,102 @@ const O = {
28
28
  // 20px
29
29
  xl: "w-[var(--size-s)] h-[var(--size-s)]"
30
30
  // 24px
31
- }, v = {
32
- "alert-circle": K,
33
- "arrow-down-narrow-wide": J,
34
- "arrow-down-to-line": G,
35
- "arrow-down-wide-narrow": q,
36
- "arrow-left": $,
37
- "arrow-left-to-line": Y,
38
- "arrow-right": X,
39
- "arrow-right-to-line": M,
40
- "arrow-up-to-line": E,
41
- bookmark: _,
42
- check: H,
43
- "chevron-down": F,
44
- "chevron-left": B,
45
- "chevron-right": j,
46
- "chevron-up": W,
47
- circle: U,
48
- "circle-alert": P,
49
- "circle-check": D,
50
- "circle-help": S,
51
- "external-link": T,
52
- filter: R,
53
- info: N,
54
- "list-filter": I,
55
- "loader-2": L,
56
- "more-horizontal": A,
57
- "panel-left": z,
58
- pencil: y,
59
- "plus-circle": g,
60
- "rotate-ccw": k,
61
- search: b,
62
- star: p,
63
- "trash-2": u,
64
- "triangle-alert": C,
65
- x: m
66
- }, V = /* @__PURE__ */ f.forwardRef(
31
+ }, w = {
32
+ "alert-circle": dr,
33
+ anchor: sr,
34
+ "arrow-down-narrow-wide": ar,
35
+ "arrow-down-to-line": lr,
36
+ "arrow-down-wide-narrow": cr,
37
+ "arrow-left": nr,
38
+ "arrow-left-to-line": ir,
39
+ "arrow-right": tr,
40
+ "arrow-right-to-line": or,
41
+ "arrow-up-to-line": er,
42
+ bell: rr,
43
+ bookmark: Z,
44
+ check: Y,
45
+ "chevron-down": Q,
46
+ "chevron-left": K,
47
+ "chevron-right": J,
48
+ "chevron-up": q,
49
+ circle: X,
50
+ "circle-alert": V,
51
+ "circle-check": O,
52
+ "circle-help": M,
53
+ container: E,
54
+ "external-link": _,
55
+ filter: G,
56
+ globe: F,
57
+ "grip-vertical": $,
58
+ house: W,
59
+ info: H,
60
+ "layout-dashboard": B,
61
+ "list-filter": j,
62
+ "loader-2": P,
63
+ "log-out": D,
64
+ "more-horizontal": U,
65
+ "panel-left": R,
66
+ pencil: N,
67
+ "plus-circle": I,
68
+ "rotate-ccw": T,
69
+ "scroll-text": S,
70
+ search: L,
71
+ settings: z,
72
+ ship: A,
73
+ "shield-check": y,
74
+ star: k,
75
+ "trash-2": g,
76
+ "triangle-alert": b,
77
+ "trending-up": C,
78
+ user: m,
79
+ x: f
80
+ }, wr = /* @__PURE__ */ u.forwardRef(
67
81
  ({
68
82
  name: r,
69
- size: w = "m",
70
- color: s,
71
- className: t,
72
- "aria-label": e,
73
- ...i
74
- }, d) => {
75
- const n = s ? O[s] : "text-current", c = Q[w], l = e ? { "aria-label": e, role: "img" } : { "aria-hidden": !0 };
83
+ size: x = "m",
84
+ color: d,
85
+ className: i,
86
+ "aria-label": t,
87
+ ...n
88
+ }, h) => {
89
+ const c = d ? hr[d] : "text-current", l = vr[x], a = t ? { "aria-label": t, role: "img" } : { "aria-hidden": !0 };
76
90
  if (typeof r != "string")
77
91
  return /* @__PURE__ */ o(
78
92
  r,
79
93
  {
80
- className: a("shrink-0", c, n, t),
81
- ...l,
82
- ...i
94
+ className: s("shrink-0", l, c, i),
95
+ ...a,
96
+ ...n
83
97
  }
84
98
  );
85
- if (r in v) {
86
- const h = v[r];
99
+ if (r in w) {
100
+ const e = w[r];
87
101
  return /* @__PURE__ */ o(
88
- h,
102
+ e,
89
103
  {
90
- ref: d,
91
- className: a("shrink-0", c, n, t),
92
- ...l,
93
- ...i
104
+ ref: h,
105
+ className: s("shrink-0", l, c, i),
106
+ ...a,
107
+ ...n
94
108
  }
95
109
  );
96
110
  }
97
- return console.warn(`Icon "${r}" not found in the static icon map. Use a component reference instead: <Icon name={YourIcon} />`), /* @__PURE__ */ x(
111
+ const v = r.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)).join("");
112
+ return console.warn(
113
+ `[Icon] "${r}" is not in the tide-ui icon set — a ? placeholder is shown instead. To render a Lucide icon, import it directly and pass the component reference (this avoids bundling all of lucide-react):
114
+ import { ${v} } from 'lucide-react'
115
+ <Icon name={${v}} />`
116
+ ), /* @__PURE__ */ p(
98
117
  "svg",
99
118
  {
100
- ref: d,
119
+ ref: h,
101
120
  viewBox: "0 0 24 24",
102
121
  fill: "none",
103
- className: a("shrink-0", c, n, t),
104
- ...l,
105
- ...i,
122
+ className: s("shrink-0", l, c, i),
123
+ ...a,
124
+ ...n,
106
125
  children: [
107
- e && /* @__PURE__ */ o("title", { children: e }),
126
+ t && /* @__PURE__ */ o("title", { children: t }),
108
127
  /* @__PURE__ */ o(
109
128
  "rect",
110
129
  {
@@ -133,9 +152,9 @@ const O = {
133
152
  );
134
153
  }
135
154
  );
136
- V.displayName = "Icon";
155
+ wr.displayName = "Icon";
137
156
  export {
138
- V as Icon,
139
- O as iconColors,
140
- Q as iconSizes
157
+ wr as Icon,
158
+ hr as iconColors,
159
+ vr as iconSizes
141
160
  };
@@ -4,9 +4,10 @@ import * as a from "@radix-ui/react-dialog";
4
4
  import { cva as g } from "class-variance-authority";
5
5
  import { cn as l } from "../../lib/utils.js";
6
6
  import { Button as S } from "./button.js";
7
- const c = i.createContext({ overlay: !1 }), w = ({ modal: t, overlay: e = !1, ...r }) => /* @__PURE__ */ o(c.Provider, { value: { overlay: e }, children: /* @__PURE__ */ o(a.Root, { modal: t ?? e, ...r }) });
8
- w.displayName = "Sheet";
9
- const V = a.Trigger, B = a.Close, C = a.Portal, m = /* @__PURE__ */ i.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ o(
7
+ import { X as w } from "lucide-react";
8
+ const c = i.createContext({ overlay: !1 }), C = ({ modal: t, overlay: e = !1, ...r }) => /* @__PURE__ */ o(c.Provider, { value: { overlay: e }, children: /* @__PURE__ */ o(a.Root, { modal: t ?? e, ...r }) });
9
+ C.displayName = "Sheet";
10
+ const I = a.Trigger, X = a.Close, D = a.Portal, m = /* @__PURE__ */ i.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ o(
10
11
  a.Overlay,
11
12
  {
12
13
  className: l(
@@ -18,7 +19,7 @@ const V = a.Trigger, B = a.Close, C = a.Portal, m = /* @__PURE__ */ i.forwardRef
18
19
  }
19
20
  ));
20
21
  m.displayName = a.Overlay.displayName;
21
- const D = g(
22
+ const O = g(
22
23
  "fixed z-50 gap-[var(--space-l)] bg-[var(--color-surface-primary)] p-[var(--space-3xl)] shadow-xl transition ease-in-out overflow-hidden data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",
23
24
  {
24
25
  variants: {
@@ -33,15 +34,15 @@ const D = g(
33
34
  side: "right"
34
35
  }
35
36
  }
36
- ), O = /* @__PURE__ */ i.forwardRef(({ side: t = "right", className: e, children: r, showClose: p = !0, dismissible: d = !0, overlay: f, onPointerDownOutside: v, onInteractOutside: u, onFocusOutside: h, ...y }, x) => {
37
+ ), P = /* @__PURE__ */ i.forwardRef(({ side: t = "right", className: e, children: r, showClose: p = !0, dismissible: d = !0, overlay: f, onPointerDownOutside: v, onInteractOutside: u, onFocusOutside: h, ...y }, x) => {
37
38
  const b = i.useContext(c), N = f ?? b.overlay;
38
- return /* @__PURE__ */ n(C, { children: [
39
+ return /* @__PURE__ */ n(D, { children: [
39
40
  N && /* @__PURE__ */ o(m, {}),
40
41
  /* @__PURE__ */ n(
41
42
  a.Content,
42
43
  {
43
44
  ref: x,
44
- className: l(D({ side: t }), e),
45
+ className: l(O({ side: t }), e),
45
46
  ...y,
46
47
  onPointerDownOutside: (s) => {
47
48
  d || s.preventDefault(), v?.(s);
@@ -59,7 +60,7 @@ const D = g(
59
60
  {
60
61
  variant: "default",
61
62
  size: "m",
62
- icon: "x",
63
+ icon: w,
63
64
  iconPosition: "only",
64
65
  className: "absolute right-[var(--space-l)] top-[var(--space-l)]",
65
66
  children: /* @__PURE__ */ o("span", { className: "sr-only", children: "Close" })
@@ -70,8 +71,8 @@ const D = g(
70
71
  )
71
72
  ] });
72
73
  });
73
- O.displayName = a.Content.displayName;
74
- const P = ({
74
+ P.displayName = a.Content.displayName;
75
+ const R = ({
75
76
  className: t,
76
77
  ...e
77
78
  }) => /* @__PURE__ */ o(
@@ -84,8 +85,8 @@ const P = ({
84
85
  ...e
85
86
  }
86
87
  );
87
- P.displayName = "SheetHeader";
88
- const R = ({
88
+ R.displayName = "SheetHeader";
89
+ const T = ({
89
90
  className: t,
90
91
  ...e
91
92
  }) => /* @__PURE__ */ o(
@@ -98,8 +99,8 @@ const R = ({
98
99
  ...e
99
100
  }
100
101
  );
101
- R.displayName = "SheetFooter";
102
- const T = /* @__PURE__ */ i.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ o(
102
+ T.displayName = "SheetFooter";
103
+ const j = /* @__PURE__ */ i.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ o(
103
104
  a.Title,
104
105
  {
105
106
  ref: r,
@@ -110,8 +111,8 @@ const T = /* @__PURE__ */ i.forwardRef(({ className: t, ...e }, r) => /* @__PURE
110
111
  ...e
111
112
  }
112
113
  ));
113
- T.displayName = a.Title.displayName;
114
- const j = /* @__PURE__ */ i.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ o(
114
+ j.displayName = a.Title.displayName;
115
+ const z = /* @__PURE__ */ i.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ o(
115
116
  a.Description,
116
117
  {
117
118
  ref: r,
@@ -119,16 +120,16 @@ const j = /* @__PURE__ */ i.forwardRef(({ className: t, ...e }, r) => /* @__PURE
119
120
  ...e
120
121
  }
121
122
  ));
122
- j.displayName = a.Description.displayName;
123
+ z.displayName = a.Description.displayName;
123
124
  export {
124
- w as Sheet,
125
- B as SheetClose,
126
- O as SheetContent,
127
- j as SheetDescription,
128
- R as SheetFooter,
129
- P as SheetHeader,
125
+ C as Sheet,
126
+ X as SheetClose,
127
+ P as SheetContent,
128
+ z as SheetDescription,
129
+ T as SheetFooter,
130
+ R as SheetHeader,
130
131
  m as SheetOverlay,
131
- C as SheetPortal,
132
- T as SheetTitle,
133
- V as SheetTrigger
132
+ D as SheetPortal,
133
+ j as SheetTitle,
134
+ I as SheetTrigger
134
135
  };
@@ -3,18 +3,18 @@ import * as u from "react";
3
3
  import { SidebarProvider as ie, SidebarInset as te, Sidebar as ne, SidebarHeader as ae, SidebarGroup as R, SidebarGroupContent as U, SidebarMenu as j, SidebarMenuItem as O, SidebarMenuButton as x, SidebarGroupLabel as q, SidebarMenuSub as Y, SidebarMenuSubItem as _, SidebarMenuSubButton as ee, SidebarFooter as oe, SidebarRail as se, useSidebar as ce, SidebarTrigger as de } from "../fundamental/sidebar.js";
4
4
  import { Button as pe } from "../fundamental/button.js";
5
5
  import { Icon as s } from "../fundamental/icon.js";
6
- import { Search as Z, ChevronRight as re, ChevronDown as he, Check as K, RotateCcw as ue } from "lucide-react";
6
+ import { Bell as he, CircleHelp as ue, Globe as me, Container as fe, Anchor as be, Ship as ge, TrendingUp as ve, ScrollText as xe, ShieldCheck as ye, House as Ce, LayoutDashboard as we, Search as Z, ChevronRight as re, ChevronDown as ke, Check as K, User as Ne, Settings as Se, LogOut as ze, RotateCcw as Ae } from "lucide-react";
7
7
  import { Avatar as z, AvatarImage as A, AvatarFallback as M } from "../fundamental/avatar.js";
8
8
  import { Separator as $ } from "../fundamental/separator.js";
9
9
  import { Kbd as E } from "../fundamental/kbd.js";
10
10
  import { DropdownMenu as P, DropdownMenuTrigger as W, DropdownMenuContent as G, DropdownMenuLabel as T, DropdownMenuSeparator as H, DropdownMenuItem as y } from "../fundamental/dropdown-menu.js";
11
- import { TooltipProvider as me, Tooltip as C, TooltipTrigger as w, TooltipContent as k } from "../fundamental/tooltip.js";
12
- import { CommandDialog as fe, CommandInput as be, CommandList as ge, CommandEmpty as ve, CommandGroup as D, CommandItem as V } from "../fundamental/command.js";
13
- const xe = {
11
+ import { TooltipProvider as Me, Tooltip as C, TooltipTrigger as w, TooltipContent as k } from "../fundamental/tooltip.js";
12
+ import { CommandDialog as Ve, CommandInput as Le, CommandList as He, CommandEmpty as Te, CommandGroup as D, CommandItem as V } from "../fundamental/command.js";
13
+ const Ee = {
14
14
  name: "John Doe",
15
15
  email: "john@example.com",
16
16
  avatarUrl: "https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?w=32&h=32&fit=crop&crop=face"
17
- }, ye = [
17
+ }, Re = [
18
18
  {
19
19
  name: "Acme Corp",
20
20
  role: "Admin",
@@ -27,17 +27,17 @@ const xe = {
27
27
  plan: "Pro",
28
28
  avatarUrl: "https://useful-toucan-91.convex.cloud/api/storage/5e36a31d-3f0a-4bb0-95db-f5b1c8e8af93"
29
29
  }
30
- ], Ce = {
30
+ ], Ue = {
31
31
  main: [
32
32
  {
33
33
  title: "Home",
34
- icon: "house",
34
+ icon: Ce,
35
35
  url: "/home",
36
36
  isActive: !1
37
37
  },
38
38
  {
39
39
  title: "Boards",
40
- icon: "layout-dashboard",
40
+ icon: we,
41
41
  url: "/boards",
42
42
  isActive: !1
43
43
  }
@@ -45,21 +45,21 @@ const xe = {
45
45
  operations: [
46
46
  {
47
47
  title: "Voyage economics",
48
- icon: "ship",
48
+ icon: ge,
49
49
  url: "/freight-planner",
50
50
  isActive: !1,
51
51
  items: []
52
52
  },
53
53
  {
54
54
  title: "Trade desk",
55
- icon: "trending-up",
55
+ icon: ve,
56
56
  url: "/trade-desk",
57
57
  isActive: !1,
58
58
  items: []
59
59
  },
60
60
  {
61
61
  title: "Agreements",
62
- icon: "scroll-text",
62
+ icon: xe,
63
63
  url: "/agreements",
64
64
  isActive: !0,
65
65
  items: [
@@ -82,7 +82,7 @@ const xe = {
82
82
  },
83
83
  {
84
84
  title: "Compliance",
85
- icon: "shield-check",
85
+ icon: ye,
86
86
  url: "/compliance",
87
87
  isActive: !1,
88
88
  items: []
@@ -91,7 +91,7 @@ const xe = {
91
91
  intelligence: [
92
92
  {
93
93
  title: "Global market",
94
- icon: "globe",
94
+ icon: me,
95
95
  url: "/global-market",
96
96
  isActive: !1,
97
97
  items: [
@@ -102,7 +102,7 @@ const xe = {
102
102
  },
103
103
  {
104
104
  title: "Assets",
105
- icon: "container",
105
+ icon: fe,
106
106
  url: "/assets",
107
107
  isActive: !1,
108
108
  items: [
@@ -114,7 +114,7 @@ const xe = {
114
114
  },
115
115
  {
116
116
  title: "Fixtures",
117
- icon: "anchor",
117
+ icon: be,
118
118
  url: "/fixtures",
119
119
  isActive: !1
120
120
  }
@@ -122,13 +122,13 @@ const xe = {
122
122
  support: [
123
123
  {
124
124
  title: "Notifications",
125
- icon: "bell",
125
+ icon: he,
126
126
  url: "/notifications",
127
127
  isActive: !1
128
128
  },
129
129
  {
130
130
  title: "Help & support",
131
- icon: "circle-help",
131
+ icon: ue,
132
132
  url: "/help-support",
133
133
  isActive: !1
134
134
  }
@@ -148,7 +148,7 @@ function le(o) {
148
148
  }
149
149
  }), n;
150
150
  }
151
- function we({ navigationData: o, user: n, teams: m, onNavigate: t, navigationMode: p, onNavigationModeChange: h }) {
151
+ function je({ navigationData: o, user: n, teams: m, onNavigate: t, navigationMode: p, onNavigationModeChange: h }) {
152
152
  const [f, c] = u.useState(!1), [v, N] = u.useState(""), [b, a] = u.useState(
153
153
  () => le(o)
154
154
  ), [d, g] = u.useState(m[0]), J = (r) => {
@@ -171,7 +171,7 @@ function we({ navigationData: o, user: n, teams: m, onNavigate: t, navigationMod
171
171
  return document.addEventListener("keydown", r), () => document.removeEventListener("keydown", r);
172
172
  }, []), u.useEffect(() => {
173
173
  a(le(o));
174
- }, [o]), /* @__PURE__ */ l(me, { delayDuration: 100, children: [
174
+ }, [o]), /* @__PURE__ */ l(Me, { delayDuration: 100, children: [
175
175
  /* @__PURE__ */ l(ne, { variant: "sidebar", collapsible: "icon", className: "flex h-full flex-col", children: [
176
176
  /* @__PURE__ */ e(ae, { className: "sticky top-0 z-10 h-12 border-b border-[var(--color-border-primary-subtle)] bg-[var(--color-surface-primary)] group-data-[collapsible=icon]:flex group-data-[collapsible=icon]:justify-center group-data-[collapsible=icon]:px-2 box-border", children: /* @__PURE__ */ e("div", { className: "flex h-[22px] w-7 items-center justify-center", children: /* @__PURE__ */ e(
177
177
  "svg",
@@ -448,7 +448,7 @@ function we({ navigationData: o, user: n, teams: m, onNavigate: t, navigationMod
448
448
  d.name
449
449
  ] })
450
450
  ] }),
451
- /* @__PURE__ */ e(s, { name: he, size: "m", className: "opacity-50" })
451
+ /* @__PURE__ */ e(s, { name: ke, size: "m", className: "opacity-50" })
452
452
  ] }),
453
453
  /* @__PURE__ */ l("div", { className: "relative hidden group-data-[collapsible=icon]:block", children: [
454
454
  /* @__PURE__ */ l(z, { size: "s", type: "user", children: [
@@ -535,7 +535,7 @@ function we({ navigationData: o, user: n, teams: m, onNavigate: t, navigationMod
535
535
  /* @__PURE__ */ e(
536
536
  y,
537
537
  {
538
- icon: "user",
538
+ icon: Ne,
539
539
  className: "cursor-pointer",
540
540
  onSelect: () => {
541
541
  t && t("/user/profile");
@@ -546,7 +546,7 @@ function we({ navigationData: o, user: n, teams: m, onNavigate: t, navigationMod
546
546
  /* @__PURE__ */ e(
547
547
  y,
548
548
  {
549
- icon: "settings",
549
+ icon: Se,
550
550
  className: "cursor-pointer",
551
551
  onSelect: () => {
552
552
  t && t("/organization/settings");
@@ -558,7 +558,7 @@ function we({ navigationData: o, user: n, teams: m, onNavigate: t, navigationMod
558
558
  /* @__PURE__ */ e(
559
559
  y,
560
560
  {
561
- icon: "log-out",
561
+ icon: ze,
562
562
  destructive: !0,
563
563
  className: "cursor-pointer",
564
564
  onSelect: () => {
@@ -573,9 +573,9 @@ function we({ navigationData: o, user: n, teams: m, onNavigate: t, navigationMod
573
573
  ] }) }) }),
574
574
  /* @__PURE__ */ e(se, {})
575
575
  ] }),
576
- /* @__PURE__ */ l(fe, { open: f, onOpenChange: c, children: [
576
+ /* @__PURE__ */ l(Ve, { open: f, onOpenChange: c, children: [
577
577
  /* @__PURE__ */ e(
578
- be,
578
+ Le,
579
579
  {
580
580
  placeholder: "Type a command or search...",
581
581
  value: v,
@@ -583,11 +583,11 @@ function we({ navigationData: o, user: n, teams: m, onNavigate: t, navigationMod
583
583
  clearable: !1
584
584
  }
585
585
  ),
586
- /* @__PURE__ */ l(ge, { children: [
587
- /* @__PURE__ */ e(ve, { children: "No results found." }),
586
+ /* @__PURE__ */ l(He, { children: [
587
+ /* @__PURE__ */ e(Te, { children: "No results found." }),
588
588
  /* @__PURE__ */ l(D, { heading: "Quick actions", children: [
589
589
  /* @__PURE__ */ l(V, { onSelect: () => console.log("Reload"), children: [
590
- /* @__PURE__ */ e(s, { name: ue, size: "s", className: "mr-2" }),
590
+ /* @__PURE__ */ e(s, { name: Ae, size: "s", className: "mr-2" }),
591
591
  /* @__PURE__ */ e("span", { children: "Reload Page" }),
592
592
  /* @__PURE__ */ l("span", { className: "text-caption-sm ml-auto text-[var(--color-text-tertiary)]", children: [
593
593
  F() ? "⌘" : "Ctrl",
@@ -632,7 +632,7 @@ function we({ navigationData: o, user: n, teams: m, onNavigate: t, navigationMod
632
632
  ] })
633
633
  ] });
634
634
  }
635
- function ke({
635
+ function Oe({
636
636
  navigationData: o,
637
637
  user: n,
638
638
  activeTeam: m,
@@ -914,7 +914,7 @@ function ke({
914
914
  )
915
915
  ] });
916
916
  }
917
- function Ne() {
917
+ function De() {
918
918
  const { state: o, toggleSidebar: n } = ce(), m = o === "collapsed";
919
919
  return u.useEffect(() => {
920
920
  const t = (p) => {
@@ -929,10 +929,10 @@ function Ne() {
929
929
  ] }) })
930
930
  ] });
931
931
  }
932
- function je({
933
- navigationData: o = Ce,
934
- user: n = xe,
935
- teams: m = ye,
932
+ function Xe({
933
+ navigationData: o = Ue,
934
+ user: n = Ee,
935
+ teams: m = Re,
936
936
  defaultSidebarOpen: t = !0,
937
937
  headerContent: p,
938
938
  headerTabs: h,
@@ -943,7 +943,7 @@ function je({
943
943
  const [N, b] = u.useState("sidebar"), [a] = u.useState(m[0]);
944
944
  return N === "horizontal" ? /* @__PURE__ */ l("div", { className: "h-screen overflow-hidden", style: { display: "flex", flexDirection: "column" }, children: [
945
945
  /* @__PURE__ */ e(
946
- ke,
946
+ Oe,
947
947
  {
948
948
  navigationData: o,
949
949
  user: n,
@@ -956,7 +956,7 @@ function je({
956
956
  /* @__PURE__ */ e("div", { style: { flex: 1, overflow: "auto", minHeight: 0, backgroundColor: "var(--color-surface-base)" }, children: c })
957
957
  ] }) : /* @__PURE__ */ e("div", { className: "h-screen overflow-hidden", children: /* @__PURE__ */ l(ie, { defaultOpen: t, children: [
958
958
  /* @__PURE__ */ e(
959
- we,
959
+ je,
960
960
  {
961
961
  navigationData: o,
962
962
  user: n,
@@ -968,7 +968,7 @@ function je({
968
968
  ),
969
969
  /* @__PURE__ */ l(te, { children: [
970
970
  (p || f || h) && /* @__PURE__ */ l("header", { className: "flex h-12 shrink-0 items-center gap-2 border-b border-[var(--color-border-primary-subtle)] transition-[width,height] ease-linear group-has-[[data-collapsible=icon]]/sidebar-wrapper:h-12 box-border px-[var(--space-m)]", children: [
971
- /* @__PURE__ */ e(Ne, {}),
971
+ /* @__PURE__ */ e(De, {}),
972
972
  /* @__PURE__ */ e($, { layout: "horizontal", className: "mr-2 h-4" }),
973
973
  /* @__PURE__ */ e("div", { className: "flex-1 min-w-0", children: p }),
974
974
  /* @__PURE__ */ l("div", { className: "flex items-center gap-2 ml-auto shrink-0", children: [
@@ -982,5 +982,5 @@ function je({
982
982
  ] }) });
983
983
  }
984
984
  export {
985
- je as AppFrame
985
+ Xe as AppFrame
986
986
  };