@fiestaboard/ui 5.11.0 → 5.12.0

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.
@@ -24,7 +24,11 @@ export interface SidebarLinkProps {
24
24
  export interface SidebarLabels {
25
25
  mainNavigation: string;
26
26
  primaryNavigation: string;
27
- secondaryNavigation: string;
27
+ /**
28
+ * @deprecated No longer rendered. The rail has one nav landmark, named by
29
+ * `primaryNavigation`; there is no second list left to label.
30
+ */
31
+ secondaryNavigation?: string;
28
32
  navigationMenu: string;
29
33
  openMenu: string;
30
34
  closeMenu: string;
@@ -35,8 +39,21 @@ export interface SidebarLabels {
35
39
  }
36
40
  export interface SidebarProps {
37
41
  labels: SidebarLabels;
38
- primaryItems: SidebarNavItem[];
39
- secondaryItems: SidebarNavItem[];
42
+ /**
43
+ * The nav list, top to bottom — one flat array rendered into one <nav>.
44
+ * Order is entirely the app's: put help, settings and sign-out at the end
45
+ * of it like any other destination.
46
+ */
47
+ items?: SidebarNavItem[];
48
+ /**
49
+ * @deprecated Use `items`. Renders as the head of the single nav list.
50
+ */
51
+ primaryItems?: SidebarNavItem[];
52
+ /**
53
+ * @deprecated Use `items`. Renders after `primaryItems` (and after the AI
54
+ * row, which keeps its old position at the seam) in the same single list.
55
+ */
56
+ secondaryItems?: SidebarNavItem[];
40
57
  /**
41
58
  * Renders internal navigation links — inject your router's Link here
42
59
  * (FiestaBoard passes its ViewTransitionLink). External items render a
@@ -56,12 +73,17 @@ export interface SidebarProps {
56
73
  /** Click handler for the logo. When present, the lockup renders as a button. */
57
74
  onLogoClick?: (e: React.MouseEvent) => void;
58
75
  /**
59
- * AI assistant nav entry; omit to hide. Renders as the LAST ROW of the main
60
- * nav list — visually identical to the items around it, scrolling with
61
- * them. It used to be its own one-row section between two hairlines below
62
- * the list; a single entry fenced off by dividers read as a stranded
76
+ * AI assistant nav entry; omit to hide. Renders as a row of the one nav
77
+ * list — visually identical to the items around it, scrolling with them.
78
+ * It used to be its own one-row section between two hairlines below the
79
+ * list; a single entry fenced off by dividers read as a stranded
63
80
  * mini-menu, and every hairline it added shrank the space the list had
64
81
  * before it needed to scroll.
82
+ *
83
+ * With `items` it is the last row before `renderAccount`. With the
84
+ * deprecated primary/secondary pair it sits at the seam between them —
85
+ * where it rendered when those were two separate lists — so consumers
86
+ * migrating on their own schedule see the merge, not a reshuffle.
65
87
  */
66
88
  ai?: {
67
89
  active: boolean;
@@ -70,7 +92,7 @@ export interface SidebarProps {
70
92
  /** Board switcher slots (rendered only when provided). */
71
93
  boardSelector?: React.ReactNode;
72
94
  mobileBoardSelector?: React.ReactNode;
73
- /** Account row inside the secondary nav. */
95
+ /** Account row; renders as the last row of the nav list, scrolling with it. */
74
96
  renderAccount?: (ctx: {
75
97
  variant: "mobile" | "desktop";
76
98
  collapsed: boolean;
@@ -84,4 +106,4 @@ export interface SidebarProps {
84
106
  /** Gap between the app edge and the sidebar in px. */
85
107
  sidebarInset: number;
86
108
  }
87
- export declare const Sidebar: import("react").MemoExoticComponent<({ labels, primaryItems, secondaryItems, renderLink, collapsed, transitioning, onToggleCollapsed, onTransitionEnd, logoIconSrc, onLogoClick, ai, boardSelector, mobileBoardSelector, renderAccount, versionSlot, themeToggleSlot, maxWidth, sidebarInset, }: SidebarProps) => import("react").JSX.Element>;
109
+ export declare const Sidebar: import("react").MemoExoticComponent<({ labels, items, primaryItems, secondaryItems, renderLink, collapsed, transitioning, onToggleCollapsed, onTransitionEnd, logoIconSrc, onLogoClick, ai, boardSelector, mobileBoardSelector, renderAccount, versionSlot, themeToggleSlot, maxWidth, sidebarInset, }: SidebarProps) => import("react").JSX.Element>;
@@ -5,18 +5,20 @@ import { Tooltip as n, TooltipContent as r, TooltipProvider as i, TooltipTrigger
5
5
  import { FIESTA_ICON_DATA_URI as o } from "./fiesta-icon.js";
6
6
  import { FiestaLogo as s } from "./fiesta-logo.js";
7
7
  import { ChevronLeft as ee, ChevronRight as te, Menu as ne, Sparkles as c, X as l } from "lucide-react";
8
- import { Fragment as u, memo as d, useEffect as f, useRef as p, useState as m } from "react";
9
- import { Fragment as h, jsx as g, jsxs as _ } from "react/jsx-runtime";
8
+ import { Fragment as re, memo as u, useEffect as d, useRef as f, useState as p } from "react";
9
+ import { Fragment as m, jsx as h, jsxs as g } from "react/jsx-runtime";
10
10
  //#region src/components/chrome/sidebar.tsx
11
- var v = "nav-active font-semibold", y = "text-sidebar-foreground nav-active-hover", b = "flex items-center gap-3 rounded-lg px-4 py-3 text-base font-medium min-h-[48px]", x = e(b, v), S = e(b, y), C = "flex w-full items-center gap-3 rounded-lg px-4 py-3 text-base font-medium min-h-[48px]", w = e(C, v), T = e(C, y), E = "flex items-center gap-3 py-2 pl-[14px] pr-3 rounded-lg text-sm font-medium transition-colors", D = e(E, v), re = e(E, y), O = "flex w-full items-center gap-3 py-2 pl-[14px] pr-3 rounded-lg text-sm font-medium transition-colors", k = e(O, v), A = e(O, y), j = "whitespace-nowrap overflow-hidden transition-opacity duration-fast", M = e(j, "opacity-0 max-w-0"), N = e(j, "opacity-100 max-w-48 delay-150"), P = "lg:hidden fixed inset-0 z-[var(--z-mobile-backdrop)] bg-black/25 backdrop-blur-[2px] transition-opacity duration-base pointer-events-none", ie = e(P, "opacity-100 pointer-events-auto"), F = e(P, "opacity-0"), I = "lg:hidden fixed top-[calc(var(--mobile-header-height,56px)+16px)] left-3 right-3 z-[var(--z-mobile-menu)] flex max-h-[calc(100dvh-var(--mobile-header-height,56px)-2rem)] flex-col overflow-hidden sidebar-gradient-horizontal", ae = e(I, "opacity-100"), oe = e(I, "opacity-0 pointer-events-none"), L = "clip-path var(--motion-duration-slower) var(--motion-ease-spring), opacity var(--motion-duration-exit) var(--motion-ease-standard)", se = {
11
+ var _ = "nav-active font-semibold", v = "text-sidebar-foreground nav-active-hover", y = "flex items-center gap-3 rounded-lg px-4 py-3 text-base font-medium min-h-[48px]", b = e(y, _), ie = e(y, v), x = "flex w-full items-center gap-3 rounded-lg px-4 py-3 text-base font-medium min-h-[48px]", ae = e(x, _), oe = e(x, v), S = "flex items-center gap-3 py-2 pl-[14px] pr-3 rounded-lg text-sm font-medium transition-colors", se = e(S, _), ce = e(S, v), C = "flex w-full items-center gap-3 py-2 pl-[14px] pr-3 rounded-lg text-sm font-medium transition-colors", w = e(C, _), T = e(C, v), E = "whitespace-nowrap overflow-hidden transition-opacity duration-fast", D = e(E, "opacity-0 max-w-0"), O = e(E, "opacity-100 max-w-48 delay-150"), k = "lg:hidden fixed inset-0 z-[var(--z-mobile-backdrop)] bg-black/25 backdrop-blur-[2px] transition-opacity duration-base pointer-events-none", A = e(k, "opacity-100 pointer-events-auto"), j = e(k, "opacity-0"), M = "lg:hidden fixed top-[calc(var(--mobile-header-height,56px)+16px)] left-3 right-3 z-[var(--z-mobile-menu)] flex max-h-[calc(100dvh-var(--mobile-header-height,56px)-2rem)] flex-col overflow-hidden sidebar-gradient-horizontal", le = e(M, "opacity-100"), ue = e(M, "opacity-0 pointer-events-none"), N = "clip-path var(--motion-duration-slower) var(--motion-ease-spring), opacity var(--motion-duration-exit) var(--motion-ease-standard)", de = {
12
12
  clipPath: "inset(0 0 0 0 round var(--radius-chrome-mobile, 16px))",
13
- transition: L
14
- }, R = {
13
+ transition: N
14
+ }, fe = {
15
15
  clipPath: "inset(0 0 100% 0 round var(--radius-chrome-mobile, 16px))",
16
- transition: L
17
- }, z = "a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])", B = d(function({ labels: d, primaryItems: v, secondaryItems: y, renderLink: b, collapsed: C, transitioning: E = !1, onToggleCollapsed: O, onTransitionEnd: j, logoIconSrc: P = o, onLogoClick: I, ai: L, boardSelector: B, mobileBoardSelector: V, renderAccount: H, versionSlot: U, themeToggleSlot: W, maxWidth: G, sidebarInset: ce }) {
18
- let [K, q] = m(!1), [le, ue] = m(0), J = p(null), Y = p(null), X = p(null);
19
- f(() => {
16
+ transition: N
17
+ }, P = "a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])", F = [], I = u(function({ labels: u, items: _, primaryItems: v, secondaryItems: y, renderLink: x, collapsed: S, transitioning: C = !1, onToggleCollapsed: E, onTransitionEnd: k, logoIconSrc: M = o, onLogoClick: N, ai: I, boardSelector: L, mobileBoardSelector: R, renderAccount: z, versionSlot: B, themeToggleSlot: V, maxWidth: H, sidebarInset: pe }) {
18
+ let U = _ ?? v ?? F, W = _ ? F : y ?? F, G = !!(_ && (v || y)), [K, q] = p(!1), [me, he] = p(0), J = f(null), Y = f(null), X = f(null);
19
+ d(() => {
20
+ G && console.warn("[Sidebar] `items` was passed alongside `primaryItems`/`secondaryItems`. The deprecated props are being IGNORED — fold their entries into `items`, which is one flat list.");
21
+ }, [G]), d(() => {
20
22
  let e = J.current;
21
23
  if (!e) return;
22
24
  let t = null, n = "", r = () => {
@@ -29,12 +31,12 @@ var v = "nav-active font-semibold", y = "text-sidebar-foreground nav-active-hove
29
31
  return i.observe(e), r(), () => {
30
32
  i.disconnect(), t !== null && cancelAnimationFrame(t), document.documentElement.style.removeProperty("--mobile-header-height");
31
33
  };
32
- }, []), f(() => (K ? document.body.style.overflow = "hidden" : document.body.style.overflow = "", () => {
34
+ }, []), d(() => (K ? document.body.style.overflow = "hidden" : document.body.style.overflow = "", () => {
33
35
  document.body.style.overflow = "";
34
- }), [K]), f(() => {
36
+ }), [K]), d(() => {
35
37
  if (K) {
36
38
  let e = Y.current;
37
- (e?.querySelector(z) ?? e)?.focus();
39
+ (e?.querySelector(P) ?? e)?.focus();
38
40
  let t = (e) => {
39
41
  e.key === "Escape" && q(!1);
40
42
  };
@@ -43,11 +45,11 @@ var v = "nav-active font-semibold", y = "text-sidebar-foreground nav-active-hove
43
45
  let e = X.current;
44
46
  X.current = null, e?.focus();
45
47
  }, [K]);
46
- function de(e) {
48
+ function ge(e) {
47
49
  if (e.key !== "Tab") return;
48
50
  let t = Y.current;
49
51
  if (!t) return;
50
- let n = t.querySelectorAll(z);
52
+ let n = t.querySelectorAll(P);
51
53
  if (n.length === 0) {
52
54
  e.preventDefault();
53
55
  return;
@@ -55,239 +57,238 @@ var v = "nav-active font-semibold", y = "text-sidebar-foreground nav-active-hove
55
57
  let r = n[0], i = n[n.length - 1], a = document.activeElement;
56
58
  e.shiftKey ? (a === r || a === t) && (e.preventDefault(), i.focus()) : a === i && (e.preventDefault(), r.focus());
57
59
  }
58
- f(() => {
60
+ d(() => {
59
61
  let e = null, t = () => {
60
62
  e = null;
61
- let t = Math.max(0, (document.body.clientWidth - G) / 2);
62
- ue((e) => e === t ? e : t);
63
+ let t = Math.max(0, (document.body.clientWidth - H) / 2);
64
+ he((e) => e === t ? e : t);
63
65
  }, n = () => {
64
66
  e === null && (e = requestAnimationFrame(t));
65
67
  };
66
68
  return t(), window.addEventListener("resize", n), () => {
67
69
  window.removeEventListener("resize", n), e !== null && cancelAnimationFrame(e);
68
70
  };
69
- }, [G]);
71
+ }, [H]);
70
72
  function Z(e) {
71
- let t = e.icon, n = e.active ? x : S;
72
- return e.external ? /* @__PURE__ */ _("a", {
73
+ let t = e.icon, n = e.active ? b : ie;
74
+ return e.external ? /* @__PURE__ */ g("a", {
73
75
  href: e.href,
74
76
  target: "_blank",
75
77
  rel: "noopener noreferrer",
76
78
  onClick: () => q(!1),
77
79
  className: n,
78
- children: [/* @__PURE__ */ g(t, { className: "h-5 w-5" }), e.label]
79
- }, e.key) : /* @__PURE__ */ g("span", {
80
+ children: [/* @__PURE__ */ h(t, { className: "h-5 w-5" }), e.label]
81
+ }, e.key) : /* @__PURE__ */ h("span", {
80
82
  className: "contents",
81
- children: b({
83
+ children: x({
82
84
  href: e.href,
83
85
  onClick: () => q(!1),
84
86
  onMouseEnter: e.onPrefetch,
85
87
  onFocus: e.onPrefetch,
86
88
  className: n,
87
- children: /* @__PURE__ */ _(h, { children: [/* @__PURE__ */ g(t, { className: "h-5 w-5" }), e.label] })
89
+ children: /* @__PURE__ */ g(m, { children: [/* @__PURE__ */ h(t, { className: "h-5 w-5" }), e.label] })
88
90
  }, e)
89
91
  }, e.key);
90
92
  }
91
93
  function Q(e) {
92
- let t = e.icon, i = e.active ? D : re, o = /* @__PURE__ */ _(h, { children: [/* @__PURE__ */ g(t, { className: "h-5 w-5 flex-shrink-0" }), /* @__PURE__ */ g("span", {
93
- className: C ? M : N,
94
+ let t = e.icon, i = e.active ? se : ce, o = /* @__PURE__ */ g(m, { children: [/* @__PURE__ */ h(t, { className: "h-5 w-5 flex-shrink-0" }), /* @__PURE__ */ h("span", {
95
+ className: S ? D : O,
94
96
  children: e.label
95
- })] }), s = e.external ? /* @__PURE__ */ g("a", {
97
+ })] }), s = e.external ? /* @__PURE__ */ h("a", {
96
98
  href: e.href,
97
99
  target: "_blank",
98
100
  rel: "noopener noreferrer",
99
101
  className: i,
100
- "aria-label": C ? e.label : void 0,
102
+ "aria-label": S ? e.label : void 0,
101
103
  children: o
102
- }) : b({
104
+ }) : x({
103
105
  href: e.href,
104
106
  onMouseEnter: e.onPrefetch,
105
107
  onFocus: e.onPrefetch,
106
108
  className: i,
107
- "aria-label": C ? e.label : void 0,
109
+ "aria-label": S ? e.label : void 0,
108
110
  children: o
109
111
  }, e);
110
- return C ? /* @__PURE__ */ _(n, { children: [/* @__PURE__ */ g(a, {
112
+ return S ? /* @__PURE__ */ g(n, { children: [/* @__PURE__ */ h(a, {
111
113
  asChild: !0,
112
114
  children: s
113
- }), /* @__PURE__ */ g(r, {
115
+ }), /* @__PURE__ */ h(r, {
114
116
  side: "right",
115
117
  className: "font-medium",
116
118
  children: e.label
117
- })] }, e.key) : /* @__PURE__ */ g(u, { children: s }, e.key);
119
+ })] }, e.key) : /* @__PURE__ */ h(re, { children: s }, e.key);
118
120
  }
119
121
  let $ = (t) => {
120
- let n = t === "mobile" ? /* @__PURE__ */ g(s, {
122
+ let n = t === "mobile" ? /* @__PURE__ */ h(s, {
121
123
  size: "sm",
122
124
  className: "logo-on-gradient whitespace-nowrap"
123
- }) : /* @__PURE__ */ g(s, { className: e("logo-on-gradient whitespace-nowrap overflow-hidden transition-opacity duration-fast", C ? "opacity-0 max-w-0" : "opacity-100 max-w-48 delay-150") }), r = /* @__PURE__ */ g("img", {
124
- src: P,
125
+ }) : /* @__PURE__ */ h(s, { className: e("logo-on-gradient whitespace-nowrap overflow-hidden transition-opacity duration-fast", S ? "opacity-0 max-w-0" : "opacity-100 max-w-48 delay-150") }), r = /* @__PURE__ */ h("img", {
126
+ src: M,
125
127
  alt: "",
126
128
  width: 32,
127
129
  height: 32,
128
130
  className: "flex-shrink-0"
129
131
  }), i = t === "mobile" ? "flex items-center gap-3 flex-1 ml-2" : "flex items-center gap-2 overflow-hidden px-4 py-4";
130
- return I ? /* @__PURE__ */ _("button", {
132
+ return N ? /* @__PURE__ */ g("button", {
131
133
  type: "button",
132
- onClick: I,
133
- "aria-label": d.logoButtonAriaLabel,
134
+ onClick: N,
135
+ "aria-label": u.logoButtonAriaLabel,
134
136
  className: e(i, "cursor-pointer text-left", t === "desktop" && "w-full"),
135
137
  children: [r, n]
136
- }) : /* @__PURE__ */ _("div", {
138
+ }) : /* @__PURE__ */ g("div", {
137
139
  className: i,
138
140
  children: [r, n]
139
141
  });
140
142
  };
141
- return /* @__PURE__ */ _(h, { children: [
142
- /* @__PURE__ */ g("header", {
143
+ return /* @__PURE__ */ g(m, { children: [
144
+ /* @__PURE__ */ h("header", {
143
145
  ref: J,
144
146
  className: "lg:hidden fixed top-2 left-3 right-3 z-[var(--z-mobile-header)] overflow-hidden sidebar-gradient-horizontal",
145
- children: /* @__PURE__ */ _("div", {
147
+ children: /* @__PURE__ */ g("div", {
146
148
  className: "relative z-[1] flex min-h-14 flex-wrap items-center gap-y-2 px-3 py-2",
147
149
  children: [
148
- /* @__PURE__ */ g(t, {
150
+ /* @__PURE__ */ h(t, {
149
151
  variant: "ghost",
150
152
  size: "icon",
151
153
  className: "h-9 w-9 flex-shrink-0 -ml-2 text-sidebar-foreground hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",
152
154
  onClick: (e) => {
153
155
  K || (X.current = e.currentTarget), q(!K);
154
156
  },
155
- "aria-label": K ? d.closeMenu : d.openMenu,
156
- children: g(K ? l : ne, { className: "h-6 w-6" })
157
+ "aria-label": K ? u.closeMenu : u.openMenu,
158
+ children: h(K ? l : ne, { className: "h-6 w-6" })
157
159
  }),
158
160
  $("mobile"),
159
- V && /* @__PURE__ */ g("div", {
161
+ R && /* @__PURE__ */ h("div", {
160
162
  className: "ml-auto pl-2 flex-shrink-0",
161
- children: V
163
+ children: R
162
164
  })
163
165
  ]
164
166
  })
165
167
  }),
166
- /* @__PURE__ */ g("div", {
168
+ /* @__PURE__ */ h("div", {
167
169
  "data-testid": "mobile-backdrop",
168
- className: K ? ie : F,
170
+ className: K ? A : j,
169
171
  onClick: () => q(!1),
170
172
  "aria-hidden": "true"
171
173
  }),
172
- /* @__PURE__ */ _("div", {
174
+ /* @__PURE__ */ g("div", {
173
175
  ref: Y,
174
- className: K ? ae : oe,
176
+ className: K ? le : ue,
175
177
  role: K ? "dialog" : void 0,
176
178
  "aria-modal": K ? !0 : void 0,
177
- "aria-label": K ? d.navigationMenu : void 0,
179
+ "aria-label": K ? u.navigationMenu : void 0,
178
180
  "aria-hidden": !K,
179
181
  inert: !K || void 0,
180
182
  tabIndex: K ? -1 : void 0,
181
- onKeyDown: de,
182
- style: K ? se : R,
183
+ onKeyDown: ge,
184
+ style: K ? de : fe,
183
185
  children: [
184
- /* @__PURE__ */ _("nav", {
185
- "aria-label": d.primaryNavigation,
186
+ /* @__PURE__ */ g("nav", {
187
+ "aria-label": u.primaryNavigation,
186
188
  className: "min-h-0 flex-1 space-y-1 overflow-y-auto px-3 py-4",
187
- children: [v.map(Z), L && /* @__PURE__ */ _("button", {
188
- type: "button",
189
- onClick: () => {
190
- L.onOpen(), q(!1);
191
- },
192
- className: L.active ? w : T,
193
- children: [/* @__PURE__ */ g(c, { className: "h-5 w-5" }), d.aiAssistant]
194
- })]
195
- }),
196
- /* @__PURE__ */ g("div", { className: "shrink-0 border-t border-sidebar-border mx-3" }),
197
- /* @__PURE__ */ _("div", {
198
- className: "shrink-0 px-3 py-3 text-sidebar-foreground",
199
- children: [/* @__PURE__ */ _("nav", {
200
- "aria-label": d.secondaryNavigation,
201
- className: "space-y-1",
202
- children: [y.map(Z), H?.({
189
+ children: [
190
+ U.map(Z),
191
+ I && /* @__PURE__ */ g("button", {
192
+ type: "button",
193
+ onClick: () => {
194
+ I.onOpen(), q(!1);
195
+ },
196
+ className: I.active ? ae : oe,
197
+ children: [/* @__PURE__ */ h(c, { className: "h-5 w-5" }), u.aiAssistant]
198
+ }),
199
+ W.map(Z),
200
+ z?.({
203
201
  variant: "mobile",
204
202
  collapsed: !1
205
- })]
206
- }), /* @__PURE__ */ _("div", {
207
- className: "mt-2 flex items-center justify-between gap-2 border-t border-sidebar-border/80 px-4 pt-3",
208
- children: [U, W]
209
- })]
203
+ })
204
+ ]
205
+ }),
206
+ /* @__PURE__ */ h("div", { className: "shrink-0 border-t border-sidebar-border mx-3" }),
207
+ /* @__PURE__ */ g("div", {
208
+ className: "shrink-0 flex items-center justify-between gap-2 px-7 py-3 text-sidebar-foreground",
209
+ children: [B, V]
210
210
  })
211
211
  ]
212
212
  }),
213
- /* @__PURE__ */ g(i, {
213
+ /* @__PURE__ */ h(i, {
214
214
  delayDuration: 0,
215
- children: /* @__PURE__ */ _("aside", {
216
- "aria-label": d.mainNavigation,
217
- className: e("hidden lg:fixed lg:top-3 lg:bottom-3 lg:z-[var(--z-sidebar)] lg:block sidebar-gradient sidebar-transition", C ? "lg:w-16" : "lg:w-64", E && "is-transitioning"),
218
- style: { left: le + ce },
215
+ children: /* @__PURE__ */ g("aside", {
216
+ "aria-label": u.mainNavigation,
217
+ className: e("hidden lg:fixed lg:top-3 lg:bottom-3 lg:z-[var(--z-sidebar)] lg:block sidebar-gradient sidebar-transition", S ? "lg:w-16" : "lg:w-64", C && "is-transitioning"),
218
+ style: { left: me + pe },
219
219
  onTransitionEnd: (e) => {
220
- e.target === e.currentTarget && e.propertyName === "width" && j?.();
220
+ e.target === e.currentTarget && e.propertyName === "width" && k?.();
221
221
  },
222
- children: [/* @__PURE__ */ _(n, { children: [/* @__PURE__ */ g(a, {
222
+ children: [/* @__PURE__ */ g(n, { children: [/* @__PURE__ */ h(a, {
223
223
  asChild: !0,
224
- children: /* @__PURE__ */ g("button", {
225
- onClick: O,
226
- "aria-label": C ? d.expandSidebar : d.collapseSidebar,
224
+ children: /* @__PURE__ */ h("button", {
225
+ onClick: E,
226
+ "aria-label": S ? u.expandSidebar : u.collapseSidebar,
227
227
  className: "absolute -right-3.5 top-[51px] z-[var(--z-sidebar-toggle)] flex h-7 w-7 items-center justify-center rounded-full border border-sidebar-border bg-sidebar text-sidebar-foreground shadow-md transition-colors hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",
228
- children: g(C ? te : ee, { className: "h-3.5 w-3.5" })
228
+ children: h(S ? te : ee, { className: "h-3.5 w-3.5" })
229
229
  })
230
- }), /* @__PURE__ */ g(r, {
230
+ }), /* @__PURE__ */ h(r, {
231
231
  side: "right",
232
- children: C ? d.expandSidebar : d.collapseSidebar
233
- })] }), /* @__PURE__ */ _("div", {
232
+ children: S ? u.expandSidebar : u.collapseSidebar
233
+ })] }), /* @__PURE__ */ g("div", {
234
234
  className: "relative z-[1] flex h-full flex-col overflow-hidden",
235
235
  children: [
236
236
  $("desktop"),
237
- B && /* @__PURE__ */ g("div", {
237
+ L && /* @__PURE__ */ h("div", {
238
238
  className: "shrink-0 px-2 pb-3",
239
- children: B
239
+ children: L
240
240
  }),
241
- /* @__PURE__ */ g("div", { className: "mx-2 border-t border-sidebar-border" }),
242
- /* @__PURE__ */ _("nav", {
243
- "aria-label": d.primaryNavigation,
241
+ /* @__PURE__ */ h("div", { className: "mx-2 border-t border-sidebar-border" }),
242
+ /* @__PURE__ */ g("nav", {
243
+ "aria-label": u.primaryNavigation,
244
244
  className: "min-h-0 flex-1 space-y-1 overflow-y-auto py-4 px-2",
245
- children: [v.map(Q), L && (C ? /* @__PURE__ */ _(n, { children: [/* @__PURE__ */ g(a, {
246
- asChild: !0,
247
- children: /* @__PURE__ */ _("button", {
245
+ children: [
246
+ U.map(Q),
247
+ I && (S ? /* @__PURE__ */ g(n, { children: [/* @__PURE__ */ h(a, {
248
+ asChild: !0,
249
+ children: /* @__PURE__ */ g("button", {
250
+ type: "button",
251
+ onClick: I.onOpen,
252
+ "aria-label": u.aiAssistant,
253
+ className: I.active ? w : T,
254
+ children: [/* @__PURE__ */ h(c, { className: "h-5 w-5 flex-shrink-0" }), /* @__PURE__ */ h("span", {
255
+ className: D,
256
+ children: u.aiAssistant
257
+ })]
258
+ })
259
+ }), /* @__PURE__ */ h(r, {
260
+ side: "right",
261
+ className: "font-medium",
262
+ children: u.aiAssistant
263
+ })] }) : /* @__PURE__ */ g("button", {
248
264
  type: "button",
249
- onClick: L.onOpen,
250
- "aria-label": d.aiAssistant,
251
- className: L.active ? k : A,
252
- children: [/* @__PURE__ */ g(c, { className: "h-5 w-5 flex-shrink-0" }), /* @__PURE__ */ g("span", {
253
- className: M,
254
- children: d.aiAssistant
265
+ onClick: I.onOpen,
266
+ className: I.active ? w : T,
267
+ children: [/* @__PURE__ */ h(c, { className: "h-5 w-5 flex-shrink-0" }), /* @__PURE__ */ h("span", {
268
+ className: O,
269
+ children: u.aiAssistant
255
270
  })]
271
+ })),
272
+ W.map(Q),
273
+ z?.({
274
+ variant: "desktop",
275
+ collapsed: S
256
276
  })
257
- }), /* @__PURE__ */ g(r, {
258
- side: "right",
259
- className: "font-medium",
260
- children: d.aiAssistant
261
- })] }) : /* @__PURE__ */ _("button", {
262
- type: "button",
263
- onClick: L.onOpen,
264
- className: L.active ? k : A,
265
- children: [/* @__PURE__ */ g(c, { className: "h-5 w-5 flex-shrink-0" }), /* @__PURE__ */ g("span", {
266
- className: N,
267
- children: d.aiAssistant
268
- })]
269
- }))]
277
+ ]
270
278
  }),
271
- /* @__PURE__ */ g("div", { className: "mx-2 border-t border-sidebar-border" }),
272
- /* @__PURE__ */ _("div", {
279
+ /* @__PURE__ */ h("div", { className: "mx-2 border-t border-sidebar-border" }),
280
+ /* @__PURE__ */ h("div", {
273
281
  className: "shrink-0 px-2 pt-2 pb-3",
274
- children: [/* @__PURE__ */ _("nav", {
275
- "aria-label": d.secondaryNavigation,
276
- className: "space-y-1",
277
- children: [y.map(Q), H?.({
278
- variant: "desktop",
279
- collapsed: C
280
- })]
281
- }), /* @__PURE__ */ _("div", {
282
- className: e("mt-2 border-t border-sidebar-border/80 py-2", C ? "flex flex-col items-center gap-1" : "flex items-center justify-between gap-2 pl-[14px] pr-3"),
283
- children: [/* @__PURE__ */ g("div", {
284
- className: e("min-w-0 overflow-hidden whitespace-nowrap", C ? "order-2 w-full truncate text-center" : "order-1"),
285
- children: U
286
- }), /* @__PURE__ */ g("div", {
287
- className: e("flex-shrink-0", C ? "order-1" : "order-2"),
288
- children: W
282
+ children: /* @__PURE__ */ g("div", {
283
+ className: e("py-2", S ? "flex flex-col items-center gap-1" : "flex items-center justify-between gap-2 pl-[14px] pr-3"),
284
+ children: [/* @__PURE__ */ h("div", {
285
+ className: e("min-w-0 overflow-hidden whitespace-nowrap", S ? "order-2 w-full truncate text-center" : "order-1"),
286
+ children: B
287
+ }), /* @__PURE__ */ h("div", {
288
+ className: e("flex-shrink-0", S ? "order-1" : "order-2"),
289
+ children: V
289
290
  })]
290
- })]
291
+ })
291
292
  })
292
293
  ]
293
294
  })]
@@ -296,6 +297,6 @@ var v = "nav-active font-semibold", y = "text-sidebar-foreground nav-active-hove
296
297
  ] });
297
298
  });
298
299
  //#endregion
299
- export { B as Sidebar };
300
+ export { I as Sidebar };
300
301
 
301
302
  //# sourceMappingURL=sidebar.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sidebar.js","names":[],"sources":["../../../src/components/chrome/sidebar.tsx"],"mappings":";;;;;;;;;;AAgBA,IAAM,IAAkB,4BAClB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SAH7C,UAAA,CAKE,kBAAC,GAAD,EAAU,WAAU,wBAAyB,CAAA,GAC7C,kBAAC,QAAD;UAAM,WAAW;UAAqB,UAAA,EAAO;SAAkB,CAAA,CACzD;;QAEX,EAAa,IAAI,CAAoB;QACrC,IAAgB;SAAE,SAAS;SAAW;QAAU,CAAC;OAC/C;;MAEL,kBAAC,OAAD,EAAK,WAAU,sCAAuC,CAAA;MAEtD,kBAAC,OAAD;OAAK,WAAU;OAKb,UAAA,kBAAC,OAAD;QACE,WAAW,EACT,QACA,IACI,qCACA,wDACN;QANF,UAAA,CAQE,kBAAC,OAAD;SACE,WAAW,EACT,6CACA,IAAY,wCAAwC,SACtD;SAEC,UAAA;QACE,CAAA,GACL,kBAAC,OAAD;SAAK,WAAW,EAAG,iBAAiB,IAAY,YAAY,SAAS;SAAI,UAAA;QAAqB,CAAA,CAC3F;;MACF,CAAA;KACF;IACA,CAAA,CAAA;;EACQ,CAAA;CACjB,EAAA,CAAA;AAEN,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiestaboard/ui",
3
- "version": "5.11.0",
3
+ "version": "5.12.0",
4
4
  "description": "FiestaUI — the FiestaBoard design system. React components on Base UI with Tailwind v4 design tokens.",
5
5
  "license": "MIT",
6
6
  "repository": {