@alfadocs/ui-kit 0.66.0 → 0.67.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.
Files changed (153) hide show
  1. package/dist/_chunks/{agenda-card-Bl-SBiCh.js → agenda-card-BxSFkqgY.js} +2 -2
  2. package/dist/_chunks/{agenda-tray-Bh1KfEOG.js → agenda-tray-T-BumlGZ.js} +2 -2
  3. package/dist/_chunks/{ai-consent-banner-Btzmk8OH.js → ai-consent-banner-Dxtx_WAh.js} +2 -2
  4. package/dist/_chunks/{ai-tools-rail-DAfaW8eA.js → ai-tools-rail-CInA_1-E.js} +57 -50
  5. package/dist/_chunks/{alia-sidebar-CN8pA6c-.js → alia-sidebar-Ckv0yCKi.js} +2 -2
  6. package/dist/_chunks/{anamnesis-card-qeLYRG79.js → anamnesis-card-N8pIKWuS.js} +2 -2
  7. package/dist/_chunks/{antenatal-schedule-timeline-BfzFjEyb.js → antenatal-schedule-timeline-35ebkcZT.js} +2 -2
  8. package/dist/_chunks/{appointment-tray-BQnJEora.js → appointment-tray-BMl89NPW.js} +4 -4
  9. package/dist/_chunks/{badge-zsf5i5bH.js → badge-CqGsX32l.js} +46 -42
  10. package/dist/_chunks/{bishop-score-DPN4Ched.js → bishop-score-CjsB9bM-.js} +2 -2
  11. package/dist/_chunks/{bmi-calculator-DuUneHuZ.js → bmi-calculator-n-823_1V.js} +2 -2
  12. package/dist/_chunks/{care-plan-card-D42WD4-T.js → care-plan-card-BwVUyUBb.js} +4 -4
  13. package/dist/_chunks/{care-plan-entry-card-BukNI7Uy.js → care-plan-entry-card-VzdQHcOL.js} +4 -4
  14. package/dist/_chunks/{clinical-note-card-BYo437dU.js → clinical-note-card-gtrxv6zn.js} +2 -2
  15. package/dist/_chunks/{color-picker-9tL7pz5y.js → color-picker-FXpItIaF.js} +198 -175
  16. package/dist/_chunks/{contact-profile-card-CCeJmjbd.js → contact-profile-card-7BMB85T6.js} +2 -2
  17. package/dist/_chunks/{cycle-calculator-D6LTmtQt.js → cycle-calculator-BF0ointe.js} +2 -2
  18. package/dist/_chunks/{dependent-selector-CRWgieHm.js → dependent-selector-DpzGtr_J.js} +2 -2
  19. package/dist/_chunks/{document-scanner-biBS_f6c.js → document-scanner-D2qehl3-.js} +53 -53
  20. package/dist/_chunks/{due-date-calculator-CIG194vq.js → due-date-calculator-DU9AEWNy.js} +3 -3
  21. package/dist/_chunks/{editable-currency-cell-renderer-f3d0Rhue.js → editable-currency-cell-renderer-D1ewvJKO.js} +875 -809
  22. package/dist/_chunks/{fetal-weight-Xf8-ZoDy.js → fetal-weight-BVSzOhuR.js} +2 -2
  23. package/dist/_chunks/{gestational-age-calculator-BGsZaWXW.js → gestational-age-calculator-DBlFdoiP.js} +3 -3
  24. package/dist/_chunks/{hcg-doubling-LH5i6oM7.js → hcg-doubling-if4Q8aSX.js} +2 -2
  25. package/dist/_chunks/{marketplace-app-shell-Cou6XnMJ.js → marketplace-app-shell-D4-T9Qzz.js} +3 -3
  26. package/dist/_chunks/{message-card-Bgcvfj6-.js → message-card-Bx4GmLvf.js} +9 -9
  27. package/dist/_chunks/{message-tray-saAVMeHP.js → message-tray-CVyJajVJ.js} +2 -2
  28. package/dist/_chunks/{operator-hero-CM8949Hd.js → operator-hero-f_KaRhw5.js} +2 -2
  29. package/dist/_chunks/{patient-search-Bw9ONucF.js → patient-search-DR9XUYRQ.js} +2 -2
  30. package/dist/_chunks/{patient-shell-Tgpv0HND.js → patient-shell-BfgufL_q.js} +2 -2
  31. package/dist/_chunks/{patient-summary-card-Bgso0p_l.js → patient-summary-card-hEmr4eTW.js} +4 -4
  32. package/dist/_chunks/{payment-request-card-DBz3hVDz.js → payment-request-card-CYE5vhZ0.js} +3 -3
  33. package/dist/_chunks/{periodontal-chart-card-AYyHtU9K.js → periodontal-chart-card-Dh3KgvYG.js} +2 -2
  34. package/dist/_chunks/{practice-results-CVAgY2RZ.js → practice-results-DND2SAt7.js} +2 -2
  35. package/dist/_chunks/{pregnancy-dating-f9aJbiAk.js → pregnancy-dating-QY-sqpvj.js} +3 -3
  36. package/dist/_chunks/{pregnancy-weight-gain-BMRBeA8V.js → pregnancy-weight-gain-DOJXXNYP.js} +2 -2
  37. package/dist/_chunks/rich-text-editor-DAeCXiQG.js +1973 -0
  38. package/dist/_chunks/{scroll-area-BWqCkEGz.js → scroll-area-5wNK0Cyz.js} +40 -30
  39. package/dist/_chunks/{sidebar-BFwbx74W.js → sidebar-DaB4ulxH.js} +351 -344
  40. package/dist/_chunks/{suggestion-chip-C4kxWUIs.js → suggestion-chip-Bk4PmYTg.js} +30 -30
  41. package/dist/_chunks/{tab-bar-Xetknddo.js → tab-bar-B1ovILzh.js} +2 -2
  42. package/dist/_chunks/{tag-CdA0s_VV.js → tag-BQXwuJq1.js} +41 -38
  43. package/dist/_chunks/{transaction-chip-BZCa6XDn.js → transaction-chip-DK84XCBU.js} +46 -33
  44. package/dist/_chunks/{workflow-map-Bt4Of5dT.js → workflow-map-JAZryZJr.js} +2 -2
  45. package/dist/agent-catalog.json +1 -1
  46. package/dist/components/agenda-card/index.js +1 -1
  47. package/dist/components/agenda-tray/index.js +1 -1
  48. package/dist/components/ai-consent-banner/index.js +1 -1
  49. package/dist/components/ai-tools-rail/index.js +1 -1
  50. package/dist/components/anamnesis-card/index.js +1 -1
  51. package/dist/components/appointment-card/index.js +1 -1
  52. package/dist/components/badge/index.js +1 -1
  53. package/dist/components/bishop-score/index.js +1 -1
  54. package/dist/components/bmi-calculator/index.js +1 -1
  55. package/dist/components/care-plan-card/index.js +1 -1
  56. package/dist/components/care-plan-entry-card/index.js +1 -1
  57. package/dist/components/clinical-note-card/index.js +1 -1
  58. package/dist/components/color-picker/index.js +1 -1
  59. package/dist/components/contact-profile-card/index.js +1 -1
  60. package/dist/components/cycle-calculator/index.js +1 -1
  61. package/dist/components/data-table/cell-renderers/actions-cell-renderer.d.ts +16 -0
  62. package/dist/components/data-table/cell-renderers/tooth-cell-renderer.d.ts +12 -0
  63. package/dist/components/data-table/data-table.d.ts +1 -1
  64. package/dist/components/data-table/index.d.ts +2 -0
  65. package/dist/components/data-table/index.js +13 -12
  66. package/dist/components/data-table/toolbar.d.ts +5 -1
  67. package/dist/components/dependent-selector/index.js +1 -1
  68. package/dist/components/document-scanner/index.js +1 -1
  69. package/dist/components/due-date-calculator/index.js +2 -2
  70. package/dist/components/fetal-weight/index.js +1 -1
  71. package/dist/components/gestational-age-calculator/index.js +1 -1
  72. package/dist/components/hcg-doubling/index.js +1 -1
  73. package/dist/components/message-card/index.js +1 -1
  74. package/dist/components/message-tray/index.js +1 -1
  75. package/dist/components/operator-hero/index.js +1 -1
  76. package/dist/components/patient-search/index.js +1 -1
  77. package/dist/components/patient-summary-card/index.js +1 -1
  78. package/dist/components/payment-card/index.js +1 -1
  79. package/dist/components/periodontal-chart-card/index.js +1 -1
  80. package/dist/components/practice-results/index.js +1 -1
  81. package/dist/components/pregnancy-dating/index.js +1 -1
  82. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  83. package/dist/components/rich-text-editor/editor-toolbar.d.ts +25 -1
  84. package/dist/components/rich-text-editor/index.js +1 -1
  85. package/dist/components/rich-text-editor/rich-text-editor.d.ts +2 -0
  86. package/dist/components/scroll-area/index.js +1 -1
  87. package/dist/components/sidebar/index.js +1 -1
  88. package/dist/components/suggestion-chip/index.js +1 -1
  89. package/dist/components/tab-bar/index.js +1 -1
  90. package/dist/components/tag/index.js +1 -1
  91. package/dist/components/transaction-chip/index.js +1 -1
  92. package/dist/components/workflow/index.js +1 -1
  93. package/dist/i18n/locales/ar.d.ts +14 -1
  94. package/dist/i18n/locales/ar.js +16 -3
  95. package/dist/i18n/locales/de.d.ts +14 -1
  96. package/dist/i18n/locales/de.js +16 -3
  97. package/dist/i18n/locales/el.d.ts +14 -1
  98. package/dist/i18n/locales/el.js +16 -3
  99. package/dist/i18n/locales/en.d.ts +14 -1
  100. package/dist/i18n/locales/en.js +16 -3
  101. package/dist/i18n/locales/es.d.ts +14 -1
  102. package/dist/i18n/locales/es.js +16 -3
  103. package/dist/i18n/locales/fr.d.ts +14 -1
  104. package/dist/i18n/locales/fr.js +16 -3
  105. package/dist/i18n/locales/hi.d.ts +14 -1
  106. package/dist/i18n/locales/hi.js +16 -3
  107. package/dist/i18n/locales/it.d.ts +14 -1
  108. package/dist/i18n/locales/it.js +16 -3
  109. package/dist/i18n/locales/ja.d.ts +14 -1
  110. package/dist/i18n/locales/ja.js +16 -3
  111. package/dist/i18n/locales/nl.d.ts +14 -1
  112. package/dist/i18n/locales/nl.js +14 -3
  113. package/dist/i18n/locales/pl.d.ts +14 -1
  114. package/dist/i18n/locales/pl.js +16 -3
  115. package/dist/i18n/locales/pt.d.ts +14 -1
  116. package/dist/i18n/locales/pt.js +16 -3
  117. package/dist/i18n/locales/ro.d.ts +14 -1
  118. package/dist/i18n/locales/ro.js +16 -3
  119. package/dist/i18n/locales/ru.d.ts +14 -1
  120. package/dist/i18n/locales/ru.js +16 -3
  121. package/dist/i18n/locales/sq.d.ts +14 -1
  122. package/dist/i18n/locales/sq.js +16 -3
  123. package/dist/i18n/locales/sv.d.ts +14 -1
  124. package/dist/i18n/locales/sv.js +14 -3
  125. package/dist/i18n/locales/tr.d.ts +14 -1
  126. package/dist/i18n/locales/tr.js +16 -3
  127. package/dist/i18n/locales/zh.d.ts +14 -1
  128. package/dist/i18n/locales/zh.js +14 -3
  129. package/dist/index.js +508 -507
  130. package/dist/locales/ar.json +16 -3
  131. package/dist/locales/de.json +16 -3
  132. package/dist/locales/el.json +16 -3
  133. package/dist/locales/en.json +16 -3
  134. package/dist/locales/es.json +16 -3
  135. package/dist/locales/fr.json +16 -3
  136. package/dist/locales/hi.json +16 -3
  137. package/dist/locales/it.json +16 -3
  138. package/dist/locales/ja.json +16 -3
  139. package/dist/locales/nl.json +16 -3
  140. package/dist/locales/pl.json +16 -3
  141. package/dist/locales/pt.json +16 -3
  142. package/dist/locales/ro.json +16 -3
  143. package/dist/locales/ru.json +16 -3
  144. package/dist/locales/sq.json +16 -3
  145. package/dist/locales/sv.json +16 -3
  146. package/dist/locales/tr.json +16 -3
  147. package/dist/locales/zh.json +16 -3
  148. package/dist/patterns/alia-assistant/index.js +1 -1
  149. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  150. package/dist/patterns/patient-shell/index.js +1 -1
  151. package/dist/tokens.css +6 -3
  152. package/package.json +1 -1
  153. package/dist/_chunks/rich-text-editor-B5XQNxe8.js +0 -1586
@@ -1,53 +1,53 @@
1
- import { jsx as s, jsxs as c, Fragment as $ } from "react/jsx-runtime";
2
- import { forwardRef as g, useState as _, useEffect as W, useCallback as J, useRef as U, useMemo as O, useId as is, useContext as Q, createContext as ss } from "react";
3
- import * as R from "@radix-ui/react-dialog";
1
+ import { jsx as s, jsxs as u, Fragment as q } from "react/jsx-runtime";
2
+ import { forwardRef as g, useState as R, useEffect as U, useCallback as ss, useRef as $, useMemo as O, useId as is, useContext as Z, createContext as W } from "react";
3
+ import * as B from "@radix-ui/react-dialog";
4
4
  import * as K from "@radix-ui/react-collapsible";
5
- import * as P from "@radix-ui/react-accordion";
5
+ import * as E from "@radix-ui/react-accordion";
6
6
  import * as b from "@radix-ui/react-tooltip";
7
- import { a as ns } from "./accordion-9lJSMMsZ.js";
7
+ import { a as ts } from "./accordion-9lJSMMsZ.js";
8
8
  import { Slot as os } from "@radix-ui/react-slot";
9
9
  import { c as T } from "./index-D2ZczOXr.js";
10
- import { useTranslation as B } from "react-i18next";
11
- import { u as ts } from "./use-edge-resize-ZnGG7gyO.js";
12
- import { c as ls } from "./compose-refs-C0k0tdqF.js";
13
- import { u as cs } from "./registry-nPAVE19X.js";
14
- import { X as us } from "./x-CCcI3eJp.js";
15
- import { c as q } from "./createLucideIcon-CrFbzy84.js";
16
- import { G as ms } from "./grip-vertical-Dlg0_k5C.js";
10
+ import { useTranslation as D } from "react-i18next";
11
+ import { u as ls } from "./use-edge-resize-ZnGG7gyO.js";
12
+ import { c as cs } from "./compose-refs-C0k0tdqF.js";
13
+ import { u as us } from "./registry-nPAVE19X.js";
14
+ import { X as ms } from "./x-CCcI3eJp.js";
15
+ import { c as X } from "./createLucideIcon-CrFbzy84.js";
16
+ import { G as vs } from "./grip-vertical-Dlg0_k5C.js";
17
17
  import { C as H } from "./chevron-right-BrpYejk0.js";
18
- import { S as vs } from "./star-vav0SJ9e.js";
18
+ import { S as fs } from "./star-vav0SJ9e.js";
19
19
  /**
20
20
  * @license lucide-react v1.8.0 - ISC
21
21
  *
22
22
  * This source code is licensed under the ISC license.
23
23
  * See the LICENSE file in the root directory of this source tree.
24
24
  */
25
- const fs = [
25
+ const ps = [
26
26
  ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
27
27
  ["path", { d: "M9 3v18", key: "fh3hqa" }],
28
28
  ["path", { d: "m16 15-3-3 3-3", key: "14y99z" }]
29
- ], ps = q("panel-left-close", fs);
29
+ ], gs = X("panel-left-close", ps);
30
30
  /**
31
31
  * @license lucide-react v1.8.0 - ISC
32
32
  *
33
33
  * This source code is licensed under the ISC license.
34
34
  * See the LICENSE file in the root directory of this source tree.
35
35
  */
36
- const gs = [
36
+ const bs = [
37
37
  ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
38
38
  ["path", { d: "M9 3v18", key: "fh3hqa" }],
39
39
  ["path", { d: "m14 9 3 3-3 3", key: "8010ee" }]
40
- ], bs = q("panel-left-open", gs);
40
+ ], hs = X("panel-left-open", bs);
41
41
  /**
42
42
  * @license lucide-react v1.8.0 - ISC
43
43
  *
44
44
  * This source code is licensed under the ISC license.
45
45
  * See the LICENSE file in the root directory of this source tree.
46
46
  */
47
- const hs = [
47
+ const xs = [
48
48
  ["path", { d: "M16 7h6v6", key: "box55l" }],
49
49
  ["path", { d: "m22 7-8.5 8.5-5-5L2 17", key: "1t1m79" }]
50
- ], xs = q("trending-up", hs), ys = {
50
+ ], ys = X("trending-up", xs), ws = {
51
51
  id: "sidebar",
52
52
  capabilities: ["expand"],
53
53
  state: {
@@ -78,11 +78,11 @@ const hs = [
78
78
  description: "Each Sidebar.Item emits its key as data-nav-id."
79
79
  }
80
80
  }
81
- }, G = ss({
81
+ }, G = W({
82
82
  mode: "expanded",
83
83
  density: "default"
84
- }), y = () => Q(G), es = "ui.sidebar.state";
85
- function ws(e) {
84
+ }), y = () => Z(G), es = "ui.sidebar.state";
85
+ function Ns(e) {
86
86
  if (typeof window > "u") return e;
87
87
  try {
88
88
  const a = window.localStorage.getItem(es);
@@ -91,14 +91,14 @@ function ws(e) {
91
91
  }
92
92
  return e;
93
93
  }
94
- function Ns(e) {
94
+ function zs(e) {
95
95
  if (!(typeof window > "u"))
96
96
  try {
97
97
  window.localStorage.setItem(es, e);
98
98
  } catch {
99
99
  }
100
100
  }
101
- const X = T(
101
+ const J = T(
102
102
  [
103
103
  "ds:flex ds:flex-col",
104
104
  // Sidebar sits at the page background in light mode (white-on-white
@@ -119,6 +119,9 @@ const X = T(
119
119
  // solid background (e.g. AppFrame's `<main>` surface), otherwise
120
120
  // the shadow that projects towards the inline-end gets covered.
121
121
  "ds:relative ds:z-[1] ds:shadow-[var(--shadow-md)]",
122
+ // Accessible (AAA) theme prefers a solid border over a soft shadow as the
123
+ // separation cue — swap the resting elevation for a real 1px `border-e`.
124
+ "ds:[.theme-accessible_&]:border-e ds:[.theme-accessible_&]:shadow-none",
122
125
  "ds:h-full",
123
126
  "ds:transition-[inline-size] ds:duration-[var(--animation-duration)]",
124
127
  "ds:motion-reduce:transition-none",
@@ -141,7 +144,7 @@ const X = T(
141
144
  },
142
145
  defaultVariants: { mode: "expanded", density: "default" }
143
146
  }
144
- ), zs = 192, Ss = 384, js = 248, ks = [
147
+ ), Ss = 192, js = 384, Cs = 248, ks = [
145
148
  "ds:absolute ds:[inset-block:0] ds:end-0 ds:z-[2]",
146
149
  "ds:w-[var(--resizable-handle-size)]",
147
150
  "ds:cursor-col-resize ds:select-none ds:touch-none",
@@ -155,63 +158,63 @@ const X = T(
155
158
  "ds:before:[inset-block:0]",
156
159
  "ds:before:[inline-size:var(--min-target-size)]",
157
160
  "ds:before:[inset-inline:calc(0px_-_(var(--min-target-size)_-_var(--resizable-handle-size))_/_2)]"
158
- ].join(" "), Cs = g(
161
+ ].join(" "), Ts = g(
159
162
  ({
160
163
  state: e,
161
164
  defaultState: a = "expanded",
162
165
  onStateChange: r,
163
- density: i = "default",
164
- open: n,
165
- onOpenChange: t,
166
- resizable: l = !1,
167
- "aria-label": o,
168
- className: u,
169
- children: f,
170
- id: p,
166
+ density: n = "default",
167
+ open: t,
168
+ onOpenChange: l,
169
+ resizable: o = !1,
170
+ "aria-label": i,
171
+ className: m,
172
+ children: p,
173
+ id: f,
171
174
  ...h
172
- }, N) => {
173
- const { t: x } = B(), d = e !== void 0, [w, z] = _(
174
- () => d ? e : ws(a)
175
- ), v = d ? e : w;
176
- W(() => {
177
- d || Ns(w);
178
- }, [w, d]);
179
- const S = J(
180
- (C) => {
181
- d || z(C), r == null || r(C);
175
+ }, w) => {
176
+ const { t: x } = D(), d = e !== void 0, [N, z] = R(
177
+ () => d ? e : Ns(a)
178
+ ), c = d ? e : N;
179
+ U(() => {
180
+ d || zs(N);
181
+ }, [N, d]);
182
+ const S = ss(
183
+ (k) => {
184
+ d || z(k), r == null || r(k);
182
185
  },
183
186
  [d, r]
184
- ), j = o ?? x("navigation.sidebar.label"), k = U(v);
185
- W(() => {
186
- k.current = v;
187
- }, [v]);
187
+ ), j = i ?? x("navigation.sidebar.label"), C = $(c);
188
+ U(() => {
189
+ C.current = c;
190
+ }, [c]);
188
191
  const F = O(
189
192
  () => ({
190
- getIsCollapsed: () => k.current !== "expanded",
193
+ getIsCollapsed: () => C.current !== "expanded",
191
194
  toggleCollapsed: () => {
192
- const C = k.current === "expanded" ? "icon" : "expanded";
193
- S(C);
195
+ const k = C.current === "expanded" ? "icon" : "expanded";
196
+ S(k);
194
197
  }
195
198
  }),
196
199
  [S]
197
200
  );
198
- cs(ys, F, p);
199
- const D = U(null), A = O(() => ls(N, D), [N]), { separatorProps: L, isResizing: E } = ts({
201
+ us(ws, F, f);
202
+ const A = $(null), _ = O(() => cs(w, A), [w]), { separatorProps: M, isResizing: P } = ls({
200
203
  edge: "inline-end",
201
- targetRef: D,
204
+ targetRef: A,
202
205
  cssProperty: "--sidebar-modern-expanded-size",
203
- minSize: zs,
204
- maxSize: Ss,
205
- defaultSize: js,
206
- disabled: !l || v !== "expanded"
207
- }), M = l && v === "expanded";
208
- return v === "overlay" ? /* @__PURE__ */ s(
206
+ minSize: Ss,
207
+ maxSize: js,
208
+ defaultSize: Cs,
209
+ disabled: !o || c !== "expanded"
210
+ }), L = o && c === "expanded";
211
+ return c === "overlay" ? /* @__PURE__ */ s(
209
212
  G.Provider,
210
213
  {
211
- value: { mode: "overlay", density: i, transitionTo: S },
212
- children: /* @__PURE__ */ s(R.Root, { open: n, onOpenChange: t, children: /* @__PURE__ */ c(R.Portal, { children: [
214
+ value: { mode: "overlay", density: n, transitionTo: S },
215
+ children: /* @__PURE__ */ s(B.Root, { open: t, onOpenChange: l, children: /* @__PURE__ */ u(B.Portal, { children: [
213
216
  /* @__PURE__ */ s(
214
- R.Overlay,
217
+ B.Overlay,
215
218
  {
216
219
  className: [
217
220
  "ds:fixed ds:inset-0 ds:z-[var(--z-modal-backdrop)]",
@@ -222,38 +225,38 @@ const X = T(
222
225
  ].join(" ")
223
226
  }
224
227
  ),
225
- /* @__PURE__ */ c(
226
- R.Content,
228
+ /* @__PURE__ */ u(
229
+ B.Content,
227
230
  {
228
231
  "aria-label": j,
229
232
  className: [
230
233
  "ds:fixed ds:z-[var(--z-modal)]",
231
234
  "ds:inset-inline-start-0 ds:inset-block-start-0",
232
235
  "ds:h-dvh",
233
- X({ mode: "overlay", density: i }),
236
+ J({ mode: "overlay", density: n }),
234
237
  "ds:shadow-[var(--shadow-xl)]",
235
238
  "ds:data-[state=open]:animate-in ds:data-[state=closed]:animate-out",
236
239
  "ds:data-[state=open]:slide-in-from-left ds:data-[state=closed]:slide-out-to-left",
237
240
  "ds:rtl:data-[state=open]:slide-in-from-right ds:rtl:data-[state=closed]:slide-out-to-right",
238
241
  "ds:motion-reduce:animate-none",
239
242
  "ds:focus:outline-none",
240
- u ?? ""
243
+ m ?? ""
241
244
  ].filter(Boolean).join(" "),
242
245
  children: [
243
246
  /* @__PURE__ */ s(
244
247
  "nav",
245
248
  {
246
- ref: A,
247
- id: p,
249
+ ref: _,
250
+ id: f,
248
251
  "aria-label": j,
249
252
  "data-component": "sidebar",
250
- "data-component-id": p,
253
+ "data-component-id": f,
251
254
  className: "ds:flex ds:flex-col ds:h-full",
252
255
  ...h,
253
- children: f
256
+ children: p
254
257
  }
255
258
  ),
256
- /* @__PURE__ */ s(R.Close, { asChild: !0, children: /* @__PURE__ */ s(
259
+ /* @__PURE__ */ s(B.Close, { asChild: !0, children: /* @__PURE__ */ s(
257
260
  "button",
258
261
  {
259
262
  type: "button",
@@ -267,7 +270,7 @@ const X = T(
267
270
  "ds:focus-visible:outline-solid ds:focus-visible:outline-[var(--ring)]",
268
271
  "ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]"
269
272
  ].join(" "),
270
- children: /* @__PURE__ */ s(us, { "aria-hidden": "true", className: "ds:size-4" })
273
+ children: /* @__PURE__ */ s(ms, { "aria-hidden": "true", className: "ds:size-4" })
271
274
  }
272
275
  ) })
273
276
  ]
@@ -278,32 +281,32 @@ const X = T(
278
281
  ) : /* @__PURE__ */ s(
279
282
  G.Provider,
280
283
  {
281
- value: { mode: v, density: i, transitionTo: S },
282
- children: /* @__PURE__ */ s(b.Provider, { delayDuration: 300, children: /* @__PURE__ */ c(
284
+ value: { mode: c, density: n, transitionTo: S },
285
+ children: /* @__PURE__ */ s(b.Provider, { delayDuration: 300, children: /* @__PURE__ */ u(
283
286
  "nav",
284
287
  {
285
- ref: A,
286
- id: p,
288
+ ref: _,
289
+ id: f,
287
290
  "aria-label": j,
288
291
  "data-component": "sidebar",
289
- "data-component-id": p,
290
- "data-mode": v,
291
- "data-density": i,
292
- "data-resizing": E ? "" : void 0,
292
+ "data-component-id": f,
293
+ "data-mode": c,
294
+ "data-density": n,
295
+ "data-resizing": P ? "" : void 0,
293
296
  className: [
294
- X({ mode: v, density: i }),
295
- i === "compact" ? "ds:density-compact" : "",
296
- u ?? ""
297
+ J({ mode: c, density: n }),
298
+ n === "compact" ? "ds:density-compact" : "",
299
+ m ?? ""
297
300
  ].filter(Boolean).join(" "),
298
301
  ...h,
299
302
  children: [
300
- f,
301
- M ? /* @__PURE__ */ s(
303
+ p,
304
+ L ? /* @__PURE__ */ s(
302
305
  "div",
303
306
  {
304
- ...L,
307
+ ...M,
305
308
  "aria-label": x("navigation.sidebar.resize"),
306
- "data-resizing": E ? "" : void 0,
309
+ "data-resizing": P ? "" : void 0,
307
310
  className: ks
308
311
  }
309
312
  ) : null
@@ -314,9 +317,9 @@ const X = T(
314
317
  );
315
318
  }
316
319
  );
317
- Cs.displayName = "Sidebar";
318
- const Ts = g(({ className: e, ...a }, r) => {
319
- const { mode: i } = y();
320
+ Ts.displayName = "Sidebar";
321
+ const Is = g(({ className: e, ...a }, r) => {
322
+ const { mode: n } = y();
320
323
  return /* @__PURE__ */ s(
321
324
  "div",
322
325
  {
@@ -326,7 +329,7 @@ const Ts = g(({ className: e, ...a }, r) => {
326
329
  "ds:min-h-[var(--min-target-size)]",
327
330
  // Icon-rail is 64px — shrink horizontal padding so a 44×44
328
331
  // control fits centred inside the header.
329
- i === "icon" ? "ds:justify-center ds:ps-[var(--spacing-xs)] ds:pe-[var(--spacing-xs)]" : "ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)]",
332
+ n === "icon" ? "ds:justify-center ds:ps-[var(--spacing-xs)] ds:pe-[var(--spacing-xs)]" : "ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)]",
330
333
  "ds:py-[var(--spacing-sm)]",
331
334
  // Hairline border + downward chrome shadow cast the header as a
332
335
  // sticky top band above the scrolling body.
@@ -338,8 +341,8 @@ const Ts = g(({ className: e, ...a }, r) => {
338
341
  }
339
342
  );
340
343
  });
341
- Ts.displayName = "SidebarHeader";
342
- const Is = g(
344
+ Is.displayName = "SidebarHeader";
345
+ const Bs = g(
343
346
  ({ className: e, ...a }, r) => /* @__PURE__ */ s(
344
347
  "div",
345
348
  {
@@ -354,9 +357,9 @@ const Is = g(
354
357
  }
355
358
  )
356
359
  );
357
- Is.displayName = "SidebarBody";
360
+ Bs.displayName = "SidebarBody";
358
361
  const Rs = g(({ className: e, ...a }, r) => {
359
- const { mode: i } = y();
362
+ const { mode: n } = y();
360
363
  return /* @__PURE__ */ s(
361
364
  "div",
362
365
  {
@@ -365,7 +368,7 @@ const Rs = g(({ className: e, ...a }, r) => {
365
368
  "ds:relative ds:flex ds:items-center ds:gap-[var(--spacing-xs)]",
366
369
  // Icon-rail is 64px — two 44×44 controls can't sit side-by-side,
367
370
  // so switch to a vertical stack and let each row self-centre.
368
- i === "icon" ? "ds:flex-col ds:ps-[var(--spacing-xs)] ds:pe-[var(--spacing-xs)]" : "ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)]",
371
+ n === "icon" ? "ds:flex-col ds:ps-[var(--spacing-xs)] ds:pe-[var(--spacing-xs)]" : "ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)]",
369
372
  "ds:min-h-[var(--min-target-size)]",
370
373
  "ds:py-[var(--spacing-sm)]",
371
374
  // Hairline border + upward chrome shadow cast the footer as a
@@ -379,7 +382,7 @@ const Rs = g(({ className: e, ...a }, r) => {
379
382
  );
380
383
  });
381
384
  Rs.displayName = "SidebarFooter";
382
- const Bs = [
385
+ const Ds = [
383
386
  "ds:group/section-label ds:flex ds:w-full ds:items-center",
384
387
  "type-eyebrow",
385
388
  "ds:text-[var(--muted-foreground)]",
@@ -389,7 +392,7 @@ const Bs = [
389
392
  "ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
390
393
  "ds:focus-visible:outline-[var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
391
394
  "ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none"
392
- ].join(" "), Y = [
395
+ ].join(" "), Q = [
393
396
  "ds:inline-flex ds:shrink-0 ds:items-center ds:justify-center",
394
397
  "ds:size-4",
395
398
  "ds:text-[var(--accent)]",
@@ -399,22 +402,22 @@ const Bs = [
399
402
  label: e,
400
403
  icon: a,
401
404
  collapsible: r = !0,
402
- defaultOpen: i = !0,
403
- open: n,
404
- onOpenChange: t,
405
- className: l,
406
- children: o,
407
- ...u
408
- }, f) => {
409
- const { mode: p } = y(), h = p === "icon", N = r && !h && !!e, x = [
405
+ defaultOpen: n = !0,
406
+ open: t,
407
+ onOpenChange: l,
408
+ className: o,
409
+ children: i,
410
+ ...m
411
+ }, p) => {
412
+ const { mode: f } = y(), h = f === "icon", w = r && !h && !!e, x = [
410
413
  "ds:flex ds:flex-col",
411
414
  "ds:gap-[var(--spacing-xs)]",
412
415
  "ds:mt-[var(--spacing-sm)]",
413
- l ?? ""
416
+ o ?? ""
414
417
  ].filter(Boolean).join(" ");
415
- if (!N)
416
- return /* @__PURE__ */ c("div", { ref: f, className: x, ...u, children: [
417
- !!e || !!a ? /* @__PURE__ */ c(
418
+ if (!w)
419
+ return /* @__PURE__ */ u("div", { ref: p, className: x, ...m, children: [
420
+ !!e || !!a ? /* @__PURE__ */ u(
418
421
  "span",
419
422
  {
420
423
  className: [
@@ -426,26 +429,26 @@ const Bs = [
426
429
  h && !a ? "ds:sr-only" : ""
427
430
  ].filter(Boolean).join(" "),
428
431
  children: [
429
- a ? /* @__PURE__ */ s("span", { "aria-hidden": "true", className: Y, children: a }) : null,
432
+ a ? /* @__PURE__ */ s("span", { "aria-hidden": "true", className: Q, children: a }) : null,
430
433
  e ? /* @__PURE__ */ s("span", { className: h ? "ds:sr-only" : "", children: e }) : null
431
434
  ]
432
435
  }
433
436
  ) : null,
434
- o
437
+ i
435
438
  ] });
436
439
  const d = "section";
437
440
  return /* @__PURE__ */ s(
438
- P.Root,
441
+ E.Root,
439
442
  {
440
443
  type: "single",
441
444
  collapsible: !0,
442
- defaultValue: n === void 0 && i ? d : void 0,
443
- value: n === void 0 ? void 0 : n ? d : "",
444
- onValueChange: t ? (w) => t(w === d) : void 0,
445
+ defaultValue: t === void 0 && n ? d : void 0,
446
+ value: t === void 0 ? void 0 : t ? d : "",
447
+ onValueChange: l ? (N) => l(N === d) : void 0,
445
448
  asChild: !0,
446
- children: /* @__PURE__ */ s("div", { ref: f, className: x, ...u, children: /* @__PURE__ */ c(P.Item, { value: d, children: [
447
- /* @__PURE__ */ s(P.Header, { className: "ds:flex", children: /* @__PURE__ */ c(P.Trigger, { className: Bs, children: [
448
- a ? /* @__PURE__ */ s("span", { "aria-hidden": "true", className: Y, children: a }) : null,
449
+ children: /* @__PURE__ */ s("div", { ref: p, className: x, ...m, children: /* @__PURE__ */ u(E.Item, { value: d, children: [
450
+ /* @__PURE__ */ s(E.Header, { className: "ds:flex", children: /* @__PURE__ */ u(E.Trigger, { className: Ds, children: [
451
+ a ? /* @__PURE__ */ s("span", { "aria-hidden": "true", className: Q, children: a }) : null,
449
452
  /* @__PURE__ */ s("span", { className: "ds:flex-1 ds:text-start", children: e }),
450
453
  /* @__PURE__ */ s(
451
454
  H,
@@ -456,11 +459,11 @@ const Bs = [
456
459
  )
457
460
  ] }) }),
458
461
  /* @__PURE__ */ s(
459
- ns,
462
+ ts,
460
463
  {
461
464
  "aria-label": e,
462
465
  className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)] ds:[&>div]:contents",
463
- children: o
466
+ children: i
464
467
  }
465
468
  )
466
469
  ] }) })
@@ -469,7 +472,7 @@ const Bs = [
469
472
  }
470
473
  );
471
474
  as.displayName = "SidebarSection";
472
- const Ds = [
475
+ const As = [
473
476
  "ds:group ds:flex ds:w-full ds:items-center ds:gap-[var(--spacing-sm)]",
474
477
  "ds:min-h-[var(--min-target-size)]",
475
478
  "ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)]",
@@ -480,29 +483,29 @@ const Ds = [
480
483
  "ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
481
484
  "ds:focus-visible:outline-[var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
482
485
  "ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none"
483
- ].join(" "), As = g(
486
+ ].join(" "), _s = g(
484
487
  ({
485
488
  label: e,
486
489
  icon: a,
487
490
  children: r,
488
- className: i,
489
- defaultOpen: n,
490
- open: t,
491
- onOpenChange: l,
492
- ...o
493
- }, u) => {
494
- const { mode: f } = y();
495
- return /* @__PURE__ */ c(
491
+ className: n,
492
+ defaultOpen: t,
493
+ open: l,
494
+ onOpenChange: o,
495
+ ...i
496
+ }, m) => {
497
+ const { mode: p } = y();
498
+ return /* @__PURE__ */ u(
496
499
  K.Root,
497
500
  {
498
- ref: u,
499
- defaultOpen: n,
500
- open: t,
501
- onOpenChange: l,
502
- className: i,
503
- ...o,
501
+ ref: m,
502
+ defaultOpen: t,
503
+ open: l,
504
+ onOpenChange: o,
505
+ className: n,
506
+ ...i,
504
507
  children: [
505
- /* @__PURE__ */ c(K.Trigger, { className: Ds, children: [
508
+ /* @__PURE__ */ u(K.Trigger, { className: As, children: [
506
509
  a ? /* @__PURE__ */ s(
507
510
  "span",
508
511
  {
@@ -516,12 +519,12 @@ const Ds = [
516
519
  {
517
520
  className: [
518
521
  "ds:flex-1 ds:text-start",
519
- f === "icon" ? "ds:sr-only" : ""
522
+ p === "icon" ? "ds:sr-only" : ""
520
523
  ].join(" "),
521
524
  children: e
522
525
  }
523
526
  ),
524
- f !== "icon" ? /* @__PURE__ */ s(
527
+ p !== "icon" ? /* @__PURE__ */ s(
525
528
  H,
526
529
  {
527
530
  "aria-hidden": "true",
@@ -546,8 +549,8 @@ const Ds = [
546
549
  );
547
550
  }
548
551
  );
549
- As.displayName = "SidebarGroup";
550
- const Es = T(
552
+ _s.displayName = "SidebarGroup";
553
+ const Ps = T(
551
554
  [
552
555
  // Every row is a pin-hover parent so inline pin / reorder affordances can
553
556
  // fade in on hover of the whole row — keep `group/item` on this selector.
@@ -608,56 +611,55 @@ const Es = T(
608
611
  isActive: !1
609
612
  }
610
613
  }
611
- ), rs = g(
614
+ ), rs = W(null), ds = g(
612
615
  ({
613
616
  asChild: e = !1,
614
617
  isActive: a = !1,
615
618
  isPinned: r = !1,
616
- onPinChange: i,
617
- pinLabel: n,
618
- className: t,
619
- children: l,
620
- "aria-label": o,
621
- ...u
622
- }, f) => {
623
- const { mode: p, density: h } = y(), N = e ? os : "a", x = i !== void 0 && p !== "icon", d = /* @__PURE__ */ s(
624
- N,
619
+ onPinChange: n,
620
+ pinLabel: t,
621
+ className: l,
622
+ children: o,
623
+ "aria-label": i,
624
+ ...m
625
+ }, p) => {
626
+ const { mode: f, density: h } = y(), w = e ? os : "a", x = n !== void 0 && f !== "icon", [d, N] = R(null), z = f === "icon" && i != null && d ? `${i}, ${d}` : i, c = /* @__PURE__ */ s(
627
+ w,
625
628
  {
626
- ref: f,
629
+ ref: p,
627
630
  "aria-current": a ? "page" : void 0,
628
- "aria-label": o,
629
- className: Es({
630
- mode: p,
631
+ "aria-label": z,
632
+ className: Ps({
633
+ mode: f,
631
634
  density: h,
632
635
  isActive: a,
633
- className: x ? "ds:flex-1 ds:min-w-0" : t
636
+ className: x ? "ds:flex-1 ds:min-w-0" : l
634
637
  }),
635
- ...u,
636
- children: l
638
+ ...m,
639
+ children: o
637
640
  }
638
- ), w = x ? /* @__PURE__ */ c(
641
+ ), S = x ? /* @__PURE__ */ u(
639
642
  "div",
640
643
  {
641
644
  className: [
642
645
  "ds:group/item ds:flex ds:items-center ds:gap-[var(--spacing-2xs)]",
643
- t ?? ""
646
+ l ?? ""
644
647
  ].filter(Boolean).join(" "),
645
648
  children: [
646
- d,
649
+ c,
647
650
  /* @__PURE__ */ s(
648
- Z,
651
+ Y,
649
652
  {
650
653
  isPinned: r,
651
- label: n ?? o ?? "",
652
- onPinChange: i
654
+ label: t ?? i ?? "",
655
+ onPinChange: n
653
656
  }
654
657
  )
655
658
  ]
656
659
  }
657
- ) : d;
658
- return p === "icon" && o ? /* @__PURE__ */ c(b.Root, { children: [
659
- /* @__PURE__ */ s(b.Trigger, { asChild: !0, children: w }),
660
- /* @__PURE__ */ s(b.Portal, { children: /* @__PURE__ */ c(
660
+ ) : c, j = f === "icon" && i ? /* @__PURE__ */ u(b.Root, { children: [
661
+ /* @__PURE__ */ s(b.Trigger, { asChild: !0, children: S }),
662
+ /* @__PURE__ */ s(b.Portal, { children: /* @__PURE__ */ u(
661
663
  b.Content,
662
664
  {
663
665
  side: "right",
@@ -670,19 +672,20 @@ const Es = T(
670
672
  "ds:animate-in ds:fade-in ds:zoom-in-95 ds:motion-reduce:animate-none"
671
673
  ].join(" "),
672
674
  children: [
673
- o,
675
+ i,
674
676
  /* @__PURE__ */ s(b.Arrow, { className: "ds:fill-[var(--foreground)]" })
675
677
  ]
676
678
  }
677
679
  ) })
678
- ] }) : w;
680
+ ] }) : S;
681
+ return /* @__PURE__ */ s(rs.Provider, { value: N, children: j });
679
682
  }
680
683
  );
681
- rs.displayName = "SidebarItem";
682
- const Ps = g(({ className: e, children: a, ...r }, i) => /* @__PURE__ */ s(
684
+ ds.displayName = "SidebarItem";
685
+ const Es = g(({ className: e, children: a, ...r }, n) => /* @__PURE__ */ s(
683
686
  "span",
684
687
  {
685
- ref: i,
688
+ ref: n,
686
689
  "aria-hidden": "true",
687
690
  className: [
688
691
  "ds:inline-flex ds:shrink-0 ds:items-center ds:justify-center",
@@ -700,18 +703,18 @@ const Ps = g(({ className: e, children: a, ...r }, i) => /* @__PURE__ */ s(
700
703
  children: a
701
704
  }
702
705
  ));
703
- Ps.displayName = "SidebarItemIcon";
704
- const _s = g(({ className: e, children: a, ...r }, i) => {
705
- const { mode: n } = y();
706
+ Es.displayName = "SidebarItemIcon";
707
+ const Hs = g(({ className: e, children: a, ...r }, n) => {
708
+ const { mode: t } = y();
706
709
  return /* @__PURE__ */ s(
707
710
  "span",
708
711
  {
709
- ref: i,
712
+ ref: n,
710
713
  className: [
711
714
  "ds:flex-1",
712
715
  "ds:overflow-hidden ds:text-ellipsis ds:whitespace-nowrap ds:break-normal",
713
716
  "ds:text-start",
714
- n === "icon" ? "ds:sr-only" : "",
717
+ t === "icon" ? "ds:sr-only" : "",
715
718
  e ?? ""
716
719
  ].filter(Boolean).join(" "),
717
720
  ...r,
@@ -719,18 +722,22 @@ const _s = g(({ className: e, children: a, ...r }, i) => {
719
722
  }
720
723
  );
721
724
  });
722
- _s.displayName = "SidebarItemLabel";
723
- const Hs = g(({ className: e, children: a, ...r }, i) => {
724
- const { mode: n } = y(), t = n === "icon";
725
- return /* @__PURE__ */ s(
725
+ Hs.displayName = "SidebarItemLabel";
726
+ const Fs = g(({ className: e, children: a, ...r }, n) => {
727
+ const { mode: t } = y(), l = t === "icon", o = Z(rs);
728
+ return U(() => {
729
+ if (!o || !l) return;
730
+ const i = a == null || a === !1 ? null : String(a).trim() || null;
731
+ return o(i), () => o(null);
732
+ }, [o, a, l]), /* @__PURE__ */ s(
726
733
  "span",
727
734
  {
728
- ref: i,
729
- "aria-hidden": t ? "true" : void 0,
735
+ ref: n,
736
+ "aria-hidden": l ? "true" : void 0,
730
737
  className: [
731
738
  "ds:inline-flex ds:items-center ds:justify-center",
732
739
  "ds:font-[var(--font-weight-semibold)]",
733
- t ? [
740
+ l ? [
734
741
  "ds:absolute ds:top-[2px] ds:end-[2px]",
735
742
  "ds:min-w-0 ds:size-[10px] ds:ps-0 ds:pe-0",
736
743
  "ds:rounded-[var(--radius-full)]",
@@ -751,8 +758,8 @@ const Hs = g(({ className: e, children: a, ...r }, i) => {
751
758
  }
752
759
  );
753
760
  });
754
- Hs.displayName = "SidebarItemBadge";
755
- const Fs = T(
761
+ Fs.displayName = "SidebarItemBadge";
762
+ const Ms = T(
756
763
  [
757
764
  "ds:flex ds:items-center ds:gap-[var(--spacing-sm)]",
758
765
  "ds:min-h-[var(--min-target-size)]",
@@ -765,16 +772,16 @@ const Fs = T(
765
772
  "ds:forced-colors:focus-visible:outline-[CanvasText]",
766
773
  "ds:no-underline"
767
774
  ].join(" ")
768
- ), Ls = g(({ logo: e, name: a, showChevron: r = !0, className: i, ...n }, t) => {
769
- const { mode: l } = y(), o = l !== "icon";
770
- return /* @__PURE__ */ c(
775
+ ), Ls = g(({ logo: e, name: a, showChevron: r = !0, className: n, ...t }, l) => {
776
+ const { mode: o } = y(), i = o !== "icon";
777
+ return /* @__PURE__ */ u(
771
778
  "button",
772
779
  {
773
- ref: t,
780
+ ref: l,
774
781
  type: "button",
775
782
  "aria-label": a,
776
- className: [Fs(), i].filter(Boolean).join(" "),
777
- ...n,
783
+ className: [Ms(), n].filter(Boolean).join(" "),
784
+ ...t,
778
785
  children: [
779
786
  /* @__PURE__ */ s(
780
787
  "span",
@@ -784,7 +791,7 @@ const Fs = T(
784
791
  children: e
785
792
  }
786
793
  ),
787
- o ? /* @__PURE__ */ c($, { children: [
794
+ i ? /* @__PURE__ */ u(q, { children: [
788
795
  /* @__PURE__ */ s("span", { className: "ds:truncate ds:flex-1 ds:text-start ds:max-w-[var(--header-workspace-max-inline-size)]", children: a }),
789
796
  r ? /* @__PURE__ */ s(
790
797
  H,
@@ -799,7 +806,7 @@ const Fs = T(
799
806
  );
800
807
  });
801
808
  Ls.displayName = "SidebarWorkspaceSwitcher";
802
- const Ms = T(
809
+ const Vs = T(
803
810
  [
804
811
  "ds:flex ds:items-center ds:justify-center ds:gap-[var(--spacing-xs)]",
805
812
  "ds:min-h-[var(--min-target-size)]",
@@ -822,17 +829,17 @@ const Ms = T(
822
829
  },
823
830
  defaultVariants: { mode: "expanded" }
824
831
  }
825
- ), Vs = g(({ icon: e, label: a, shortcut: r, className: i, ...n }, t) => {
826
- const { mode: l } = y(), o = l !== "icon";
827
- return /* @__PURE__ */ c(
832
+ ), Ks = g(({ icon: e, label: a, shortcut: r, className: n, ...t }, l) => {
833
+ const { mode: o } = y(), i = o !== "icon";
834
+ return /* @__PURE__ */ u(
828
835
  "button",
829
836
  {
830
- ref: t,
837
+ ref: l,
831
838
  type: "button",
832
839
  "aria-label": a,
833
840
  "aria-keyshortcuts": r,
834
- className: [Ms({ mode: l }), i].filter(Boolean).join(" "),
835
- ...n,
841
+ className: [Vs({ mode: o }), n].filter(Boolean).join(" "),
842
+ ...t,
836
843
  children: [
837
844
  /* @__PURE__ */ s(
838
845
  "span",
@@ -842,7 +849,7 @@ const Ms = T(
842
849
  children: e
843
850
  }
844
851
  ),
845
- o ? /* @__PURE__ */ c($, { children: [
852
+ i ? /* @__PURE__ */ u(q, { children: [
846
853
  /* @__PURE__ */ s("span", { className: "ds:truncate", children: a }),
847
854
  r ? /* @__PURE__ */ s("kbd", { className: "ds:ms-auto ds:text-[length:var(--font-size-xs)] ds:font-[family-name:var(--font-mono)] ds:opacity-80", children: r }) : null
848
855
  ] }) : null
@@ -850,8 +857,8 @@ const Ms = T(
850
857
  }
851
858
  );
852
859
  });
853
- Vs.displayName = "SidebarPrimaryAction";
854
- const Ks = [
860
+ Ks.displayName = "SidebarPrimaryAction";
861
+ const Us = [
855
862
  "ds:inline-flex ds:items-center ds:justify-center ds:shrink-0",
856
863
  "ds:size-6 ds:rounded-[var(--radius-sm)]",
857
864
  // Lift above the Sidebar's opt-in resize handle (z-[2]). When `resizable`,
@@ -875,25 +882,25 @@ const Ks = [
875
882
  "ds:forced-colors:focus-visible:outline-[CanvasText]",
876
883
  "ds:transition-[color,opacity,background-color] ds:duration-[var(--animation-duration)]",
877
884
  "ds:motion-reduce:transition-none"
878
- ].join(" "), Z = g(
879
- ({ isPinned: e, onPinChange: a, label: r, className: i, onClick: n, ...t }, l) => {
880
- const { t: o } = B(), { mode: u } = y();
881
- if (u === "icon") return null;
882
- const f = e ? o("navigation.sidebar.unpinItem", "Unpin {{label}}", { label: r }) : o("navigation.sidebar.pinItem", "Pin {{label}}", { label: r });
885
+ ].join(" "), Y = g(
886
+ ({ isPinned: e, onPinChange: a, label: r, className: n, onClick: t, ...l }, o) => {
887
+ const { t: i } = D(), { mode: m } = y();
888
+ if (m === "icon") return null;
889
+ const p = e ? i("navigation.sidebar.unpinItem", "Unpin {{label}}", { label: r }) : i("navigation.sidebar.pinItem", "Pin {{label}}", { label: r });
883
890
  return /* @__PURE__ */ s(
884
891
  "button",
885
892
  {
886
- ref: l,
893
+ ref: o,
887
894
  type: "button",
888
- "aria-label": f,
895
+ "aria-label": p,
889
896
  "aria-pressed": e,
890
- className: [Ks, i].filter(Boolean).join(" "),
891
- onClick: (p) => {
892
- p.preventDefault(), p.stopPropagation(), a == null || a(!e), n == null || n(p);
897
+ className: [Us, n].filter(Boolean).join(" "),
898
+ onClick: (f) => {
899
+ f.preventDefault(), f.stopPropagation(), a == null || a(!e), t == null || t(f);
893
900
  },
894
- ...t,
901
+ ...l,
895
902
  children: /* @__PURE__ */ s(
896
- vs,
903
+ fs,
897
904
  {
898
905
  "aria-hidden": "true",
899
906
  className: "ds:size-4",
@@ -904,24 +911,24 @@ const Ks = [
904
911
  );
905
912
  }
906
913
  );
907
- Z.displayName = "SidebarPinButton";
908
- const ds = ss(null), Us = () => Q(ds), Os = g(
909
- ({ heading: e, emptyMessage: a, onReorder: r, className: i, children: n, ...t }, l) => {
910
- const { t: o } = B(), u = e ?? o("navigation.sidebar.favorites", "Favourites"), f = Array.isArray(n) ? n.filter(Boolean) : n ? [n] : [], p = f.length, h = p > 0, [N, x] = _(null), [d, w] = _(""), z = U(!1), v = J((j) => {
911
- z.current = !z.current, w(z.current ? j : `${j}​`);
914
+ Y.displayName = "SidebarPinButton";
915
+ const ns = W(null), $s = () => Z(ns), Os = g(
916
+ ({ heading: e, emptyMessage: a, onReorder: r, className: n, children: t, ...l }, o) => {
917
+ const { t: i } = D(), m = e ?? i("navigation.sidebar.favorites", "Favourites"), p = Array.isArray(t) ? t.filter(Boolean) : t ? [t] : [], f = p.length, h = f > 0, [w, x] = R(null), [d, N] = R(""), z = $(!1), c = ss((j) => {
918
+ z.current = !z.current, N(z.current ? j : `${j}​`);
912
919
  }, []), S = O(
913
- () => ({ onReorder: r, count: p, dragSource: N, setDragSource: x, announce: v }),
914
- [r, p, N, v]
920
+ () => ({ onReorder: r, count: f, dragSource: w, setDragSource: x, announce: c }),
921
+ [r, f, w, c]
915
922
  );
916
- return !h && !a ? null : /* @__PURE__ */ s(ds.Provider, { value: S, children: /* @__PURE__ */ c(
923
+ return !h && !a ? null : /* @__PURE__ */ s(ns.Provider, { value: S, children: /* @__PURE__ */ u(
917
924
  as,
918
925
  {
919
- ref: l,
920
- label: u,
921
- className: i,
922
- ...t,
926
+ ref: o,
927
+ label: m,
928
+ className: n,
929
+ ...l,
923
930
  children: [
924
- h ? f : /* @__PURE__ */ s("p", { className: "ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)] type-meta ds:text-[color:var(--muted-foreground)]", children: a }),
931
+ h ? p : /* @__PURE__ */ s("p", { className: "ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)] type-meta ds:text-[color:var(--muted-foreground)]", children: a }),
925
932
  /* @__PURE__ */ s("span", { role: "status", "aria-live": "polite", className: "ds:sr-only", children: d })
926
933
  ]
927
934
  }
@@ -948,7 +955,7 @@ const Gs = T(
948
955
  },
949
956
  defaultVariants: { dragging: !1, dropTarget: !1 }
950
957
  }
951
- ), $s = [
958
+ ), qs = [
952
959
  "ds:inline-flex ds:items-center ds:justify-center ds:shrink-0",
953
960
  "ds:size-6 ds:rounded-[var(--radius-sm)]",
954
961
  "ds:cursor-grab ds:active:cursor-grabbing",
@@ -962,93 +969,93 @@ const Gs = T(
962
969
  "ds:focus-visible:outline-[var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
963
970
  "ds:forced-colors:focus-visible:outline-[CanvasText]",
964
971
  "ds:transition-[color,opacity,background-color] ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none"
965
- ].join(" "), qs = g(
972
+ ].join(" "), Zs = g(
966
973
  ({
967
974
  index: e,
968
975
  isActive: a = !1,
969
976
  asChild: r = !1,
970
- reorderLabel: i,
971
- isPinned: n = !1,
972
- onPinChange: t,
973
- pinLabel: l,
974
- "aria-label": o,
975
- className: u,
976
- children: f,
977
- ...p
977
+ reorderLabel: n,
978
+ isPinned: t = !1,
979
+ onPinChange: l,
980
+ pinLabel: o,
981
+ "aria-label": i,
982
+ className: m,
983
+ children: p,
984
+ ...f
978
985
  }, h) => {
979
- const { t: N } = B(), { mode: x } = y(), d = Us(), [w, z] = _(!1), v = !!(d != null && d.onReorder) && x !== "icon", S = i ?? o ?? "", j = is(), k = (m, I) => {
986
+ const { t: w } = D(), { mode: x } = y(), d = $s(), [N, z] = R(!1), c = !!(d != null && d.onReorder) && x !== "icon", S = n ?? i ?? "", j = is(), C = (v, I) => {
980
987
  if (!(d != null && d.onReorder)) return;
981
988
  const V = Math.max(0, Math.min(d.count - 1, I));
982
- V !== m && (d.onReorder(m, V), d.announce(
983
- N(
989
+ V !== v && (d.onReorder(v, V), d.announce(
990
+ w(
984
991
  "navigation.sidebar.reorderAnnounce",
985
992
  "{{label}} moved to position {{to}} of {{total}}",
986
993
  { label: S, to: V + 1, total: d.count }
987
994
  )
988
995
  ));
989
- }, F = (m) => {
990
- v && (m.altKey && m.key === "ArrowUp" ? (m.preventDefault(), k(e, e - 1)) : m.altKey && m.key === "ArrowDown" ? (m.preventDefault(), k(e, e + 1)) : m.key === "Home" && m.altKey ? (m.preventDefault(), k(e, 0)) : m.key === "End" && m.altKey && (m.preventDefault(), k(e, d.count - 1)));
991
- }, D = (m) => {
992
- v && (d == null || d.setDragSource(e), m.dataTransfer && (m.dataTransfer.effectAllowed = "move", m.dataTransfer.setData("ds:text/plain", String(e))));
993
- }, A = () => {
996
+ }, F = (v) => {
997
+ c && (v.altKey && v.key === "ArrowUp" ? (v.preventDefault(), C(e, e - 1)) : v.altKey && v.key === "ArrowDown" ? (v.preventDefault(), C(e, e + 1)) : v.key === "Home" && v.altKey ? (v.preventDefault(), C(e, 0)) : v.key === "End" && v.altKey && (v.preventDefault(), C(e, d.count - 1)));
998
+ }, A = (v) => {
999
+ c && (d == null || d.setDragSource(e), v.dataTransfer && (v.dataTransfer.effectAllowed = "move", v.dataTransfer.setData("ds:text/plain", String(e))));
1000
+ }, _ = () => {
994
1001
  d == null || d.setDragSource(null), z(!1);
995
- }, L = (m) => {
996
- !v || (d == null ? void 0 : d.dragSource) === null || (m.preventDefault(), m.dataTransfer && (m.dataTransfer.dropEffect = "move"), z(!0));
997
- }, E = () => z(!1), M = (m) => {
998
- if (!v) return;
999
- m.preventDefault();
1002
+ }, M = (v) => {
1003
+ !c || (d == null ? void 0 : d.dragSource) === null || (v.preventDefault(), v.dataTransfer && (v.dataTransfer.dropEffect = "move"), z(!0));
1004
+ }, P = () => z(!1), L = (v) => {
1005
+ if (!c) return;
1006
+ v.preventDefault();
1000
1007
  const I = d == null ? void 0 : d.dragSource;
1001
- z(!1), !(I == null || I === e) && k(I, e);
1002
- }, C = (d == null ? void 0 : d.dragSource) === e;
1003
- return /* @__PURE__ */ c(
1008
+ z(!1), !(I == null || I === e) && C(I, e);
1009
+ }, k = (d == null ? void 0 : d.dragSource) === e;
1010
+ return /* @__PURE__ */ u(
1004
1011
  "div",
1005
1012
  {
1006
1013
  className: Gs({
1007
- dragging: C,
1008
- dropTarget: w && !C
1014
+ dragging: k,
1015
+ dropTarget: N && !k
1009
1016
  }),
1010
- draggable: v || void 0,
1011
- onDragStart: v ? D : void 0,
1012
- onDragEnd: v ? A : void 0,
1013
- onDragOver: L,
1014
- onDragLeave: E,
1015
- onDrop: M,
1017
+ draggable: c || void 0,
1018
+ onDragStart: c ? A : void 0,
1019
+ onDragEnd: c ? _ : void 0,
1020
+ onDragOver: M,
1021
+ onDragLeave: P,
1022
+ onDrop: L,
1016
1023
  children: [
1017
1024
  /* @__PURE__ */ s(
1018
- rs,
1025
+ ds,
1019
1026
  {
1020
1027
  ref: h,
1021
1028
  isActive: a,
1022
1029
  asChild: r,
1023
- "aria-label": o,
1024
- "aria-describedby": v ? j : void 0,
1025
- draggable: v ? !1 : void 0,
1026
- className: [v ? "ds:flex-1 ds:min-w-0" : "", u ?? ""].filter(Boolean).join(" "),
1027
- ...p,
1028
- children: f
1030
+ "aria-label": i,
1031
+ "aria-describedby": c ? j : void 0,
1032
+ draggable: c ? !1 : void 0,
1033
+ className: [c ? "ds:flex-1 ds:min-w-0" : "", m ?? ""].filter(Boolean).join(" "),
1034
+ ...f,
1035
+ children: p
1029
1036
  }
1030
1037
  ),
1031
- v ? /* @__PURE__ */ s(
1038
+ c ? /* @__PURE__ */ s(
1032
1039
  "button",
1033
1040
  {
1034
1041
  type: "button",
1035
1042
  id: j,
1036
- "aria-label": N(
1043
+ "aria-label": w(
1037
1044
  "navigation.sidebar.reorderHandle",
1038
1045
  "Reorder {{label}}. Press Alt + Up or Alt + Down to move.",
1039
1046
  { label: S }
1040
1047
  ),
1041
- className: $s,
1048
+ className: qs,
1042
1049
  onKeyDown: F,
1043
- children: /* @__PURE__ */ s(ms, { "aria-hidden": "true", className: "ds:size-4" })
1050
+ children: /* @__PURE__ */ s(vs, { "aria-hidden": "true", className: "ds:size-4" })
1044
1051
  }
1045
1052
  ) : null,
1046
- t && x !== "icon" ? /* @__PURE__ */ s(
1047
- Z,
1053
+ l && x !== "icon" ? /* @__PURE__ */ s(
1054
+ Y,
1048
1055
  {
1049
- isPinned: n,
1050
- label: l ?? o ?? "",
1051
- onPinChange: t
1056
+ isPinned: t,
1057
+ label: o ?? i ?? "",
1058
+ onPinChange: l
1052
1059
  }
1053
1060
  ) : null
1054
1061
  ]
@@ -1056,8 +1063,8 @@ const Gs = T(
1056
1063
  );
1057
1064
  }
1058
1065
  );
1059
- qs.displayName = "SidebarFavoriteItem";
1060
- const Zs = T(
1066
+ Zs.displayName = "SidebarFavoriteItem";
1067
+ const Ws = T(
1061
1068
  [
1062
1069
  "ds:flex ds:items-center ds:gap-[var(--spacing-sm)]",
1063
1070
  "ds:min-h-[var(--min-target-size)]",
@@ -1070,16 +1077,16 @@ const Zs = T(
1070
1077
  "ds:forced-colors:focus-visible:outline-[CanvasText]",
1071
1078
  "ds:no-underline"
1072
1079
  ].join(" ")
1073
- ), Ws = g(({ avatar: e, name: a, subtitle: r, subtitleLabel: i, className: n, ...t }, l) => {
1074
- const { mode: o } = y(), u = o !== "icon", f = typeof r == "string" ? r : i;
1075
- return /* @__PURE__ */ c(
1080
+ ), Xs = g(({ avatar: e, name: a, subtitle: r, subtitleLabel: n, className: t, ...l }, o) => {
1081
+ const { mode: i } = y(), m = i !== "icon", p = typeof r == "string" ? r : n;
1082
+ return /* @__PURE__ */ u(
1076
1083
  "button",
1077
1084
  {
1078
- ref: l,
1085
+ ref: o,
1079
1086
  type: "button",
1080
- "aria-label": f ? `${a}, ${f}` : a,
1081
- className: [Zs(), n].filter(Boolean).join(" "),
1082
- ...t,
1087
+ "aria-label": p ? `${a}, ${p}` : a,
1088
+ className: [Ws(), t].filter(Boolean).join(" "),
1089
+ ...l,
1083
1090
  children: [
1084
1091
  /* @__PURE__ */ s(
1085
1092
  "span",
@@ -1089,7 +1096,7 @@ const Zs = T(
1089
1096
  children: e
1090
1097
  }
1091
1098
  ),
1092
- u ? /* @__PURE__ */ c("span", { className: "ds:flex-1 ds:min-w-0 ds:text-start", children: [
1099
+ m ? /* @__PURE__ */ u("span", { className: "ds:flex-1 ds:min-w-0 ds:text-start", children: [
1093
1100
  /* @__PURE__ */ s("span", { className: "ds:block ds:truncate type-label", children: a }),
1094
1101
  r ? typeof r == "string" ? /* @__PURE__ */ s("span", { className: "ds:block ds:truncate type-meta ds:text-[color:var(--muted-foreground)]", children: r }) : /* @__PURE__ */ s("span", { className: "ds:flex ds:items-center ds:gap-[length:var(--spacing-xs)] ds:min-w-0 type-meta ds:text-[color:var(--muted-foreground)]", children: r }) : null
1095
1102
  ] }) : null
@@ -1097,8 +1104,8 @@ const Zs = T(
1097
1104
  }
1098
1105
  );
1099
1106
  });
1100
- Ws.displayName = "SidebarProfilePill";
1101
- const Xs = [
1107
+ Xs.displayName = "SidebarProfilePill";
1108
+ const Ys = [
1102
1109
  "ds:inline-flex ds:items-center ds:justify-center ds:shrink-0",
1103
1110
  "ds:min-w-[var(--min-target-size)] ds:min-h-[var(--min-target-size)]",
1104
1111
  "ds:rounded-[var(--radius-sm)]",
@@ -1108,29 +1115,29 @@ const Xs = [
1108
1115
  "ds:focus-visible:outline-[var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
1109
1116
  "ds:forced-colors:focus-visible:outline-[CanvasText]",
1110
1117
  "ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none"
1111
- ].join(" "), Ys = g(({ className: e, "aria-label": a, onClick: r, ...i }, n) => {
1112
- const { t } = B(), { mode: l, transitionTo: o } = y();
1113
- if (l === "overlay") return null;
1114
- const u = l === "expanded", f = a ?? (u ? t("navigation.sidebar.collapse", "Collapse sidebar") : t("navigation.sidebar.expand", "Expand sidebar")), p = /* @__PURE__ */ s(
1118
+ ].join(" "), Js = g(({ className: e, "aria-label": a, onClick: r, ...n }, t) => {
1119
+ const { t: l } = D(), { mode: o, transitionTo: i } = y();
1120
+ if (o === "overlay") return null;
1121
+ const m = o === "expanded", p = a ?? (m ? l("navigation.sidebar.collapse", "Collapse sidebar") : l("navigation.sidebar.expand", "Expand sidebar")), f = /* @__PURE__ */ s(
1115
1122
  "button",
1116
1123
  {
1117
- ref: n,
1124
+ ref: t,
1118
1125
  type: "button",
1119
- "aria-label": f,
1120
- "aria-expanded": u,
1126
+ "aria-label": p,
1127
+ "aria-expanded": m,
1121
1128
  onClick: (h) => {
1122
- o == null || o(u ? "icon" : "expanded"), r == null || r(h);
1129
+ i == null || i(m ? "icon" : "expanded"), r == null || r(h);
1123
1130
  },
1124
- className: [Xs, e].filter(Boolean).join(" "),
1125
- ...i,
1126
- children: u ? /* @__PURE__ */ s(
1127
- ps,
1131
+ className: [Ys, e].filter(Boolean).join(" "),
1132
+ ...n,
1133
+ children: m ? /* @__PURE__ */ s(
1134
+ gs,
1128
1135
  {
1129
1136
  "aria-hidden": "true",
1130
1137
  className: "ds:size-4 ds:rtl:-scale-x-100"
1131
1138
  }
1132
1139
  ) : /* @__PURE__ */ s(
1133
- bs,
1140
+ hs,
1134
1141
  {
1135
1142
  "aria-hidden": "true",
1136
1143
  className: "ds:size-4 ds:rtl:-scale-x-100"
@@ -1138,12 +1145,12 @@ const Xs = [
1138
1145
  )
1139
1146
  }
1140
1147
  );
1141
- return /* @__PURE__ */ c(b.Root, { children: [
1142
- /* @__PURE__ */ s(b.Trigger, { asChild: !0, children: p }),
1143
- /* @__PURE__ */ s(b.Portal, { children: /* @__PURE__ */ c(
1148
+ return /* @__PURE__ */ u(b.Root, { children: [
1149
+ /* @__PURE__ */ s(b.Trigger, { asChild: !0, children: f }),
1150
+ /* @__PURE__ */ s(b.Portal, { children: /* @__PURE__ */ u(
1144
1151
  b.Content,
1145
1152
  {
1146
- side: l === "icon" ? "right" : "top",
1153
+ side: o === "icon" ? "right" : "top",
1147
1154
  sideOffset: 6,
1148
1155
  className: [
1149
1156
  "ds:z-[var(--z-tooltip)] ds:max-w-[16rem]",
@@ -1153,15 +1160,15 @@ const Xs = [
1153
1160
  "ds:animate-in ds:fade-in ds:zoom-in-95 ds:motion-reduce:animate-none"
1154
1161
  ].join(" "),
1155
1162
  children: [
1156
- f,
1163
+ p,
1157
1164
  /* @__PURE__ */ s(b.Arrow, { className: "ds:fill-[var(--foreground)]" })
1158
1165
  ]
1159
1166
  }
1160
1167
  ) })
1161
1168
  ] });
1162
1169
  });
1163
- Ys.displayName = "SidebarCollapseTrigger";
1164
- const Js = T(
1170
+ Js.displayName = "SidebarCollapseTrigger";
1171
+ const Qs = T(
1165
1172
  [
1166
1173
  "ds:flex ds:items-center ds:gap-[var(--spacing-sm)]",
1167
1174
  "ds:rounded-[var(--radius-md)]",
@@ -1192,18 +1199,18 @@ const Js = T(
1192
1199
  },
1193
1200
  defaultVariants: { mode: "expanded" }
1194
1201
  }
1195
- ), Qs = g(({ title: e, description: a, icon: r, className: i, ...n }, t) => {
1196
- const { mode: l } = y(), o = l === "icon", u = (
1202
+ ), se = g(({ title: e, description: a, icon: r, className: n, ...t }, l) => {
1203
+ const { mode: o } = y(), i = o === "icon", m = (
1197
1204
  // aria-label only in icon mode (where the copy is hidden) — in
1198
1205
  // expanded mode the accessible name comes from the visible contents
1199
1206
  // so the description isn't excluded from it.
1200
- /* @__PURE__ */ c(
1207
+ /* @__PURE__ */ u(
1201
1208
  "a",
1202
1209
  {
1203
- ref: t,
1204
- "aria-label": o ? e : void 0,
1205
- className: Js({ mode: l, className: i }),
1206
- ...n,
1210
+ ref: l,
1211
+ "aria-label": i ? e : void 0,
1212
+ className: Qs({ mode: o, className: n }),
1213
+ ...t,
1207
1214
  children: [
1208
1215
  /* @__PURE__ */ s(
1209
1216
  "span",
@@ -1214,11 +1221,11 @@ const Js = T(
1214
1221
  "ds:rounded-[var(--radius-sm)]",
1215
1222
  "ds:bg-[var(--accent)] ds:text-[var(--accent-foreground)]"
1216
1223
  ].join(" "),
1217
- children: r ?? /* @__PURE__ */ s(xs, { className: "ds:size-4" })
1224
+ children: r ?? /* @__PURE__ */ s(ys, { className: "ds:size-4" })
1218
1225
  }
1219
1226
  ),
1220
- o ? null : /* @__PURE__ */ c($, { children: [
1221
- /* @__PURE__ */ c("span", { className: "ds:flex-1 ds:min-w-0 ds:text-start", children: [
1227
+ i ? null : /* @__PURE__ */ u(q, { children: [
1228
+ /* @__PURE__ */ u("span", { className: "ds:flex-1 ds:min-w-0 ds:text-start", children: [
1222
1229
  /* @__PURE__ */ s("span", { className: "ds:block ds:line-clamp-2 type-label", children: e }),
1223
1230
  a ? (
1224
1231
  // Foreground (not muted) on the tinted surface — the gradient
@@ -1238,9 +1245,9 @@ const Js = T(
1238
1245
  }
1239
1246
  )
1240
1247
  );
1241
- return o ? /* @__PURE__ */ c(b.Root, { children: [
1242
- /* @__PURE__ */ s(b.Trigger, { asChild: !0, children: u }),
1243
- /* @__PURE__ */ s(b.Portal, { children: /* @__PURE__ */ c(
1248
+ return i ? /* @__PURE__ */ u(b.Root, { children: [
1249
+ /* @__PURE__ */ s(b.Trigger, { asChild: !0, children: m }),
1250
+ /* @__PURE__ */ s(b.Portal, { children: /* @__PURE__ */ u(
1244
1251
  b.Content,
1245
1252
  {
1246
1253
  side: "right",
@@ -1258,29 +1265,29 @@ const Js = T(
1258
1265
  ]
1259
1266
  }
1260
1267
  ) })
1261
- ] }) : u;
1268
+ ] }) : m;
1262
1269
  });
1263
- Qs.displayName = "SidebarUpgradeChip";
1270
+ se.displayName = "SidebarUpgradeChip";
1264
1271
  export {
1265
- Cs as S,
1266
- Is as a,
1267
- Ys as b,
1268
- qs as c,
1272
+ Ts as S,
1273
+ Bs as a,
1274
+ Js as b,
1275
+ Zs as c,
1269
1276
  Os as d,
1270
1277
  Rs as e,
1271
- As as f,
1272
- Ts as g,
1273
- rs as h,
1274
- Hs as i,
1275
- Ps as j,
1276
- _s as k,
1277
- Z as l,
1278
- Vs as m,
1279
- Ws as n,
1278
+ _s as f,
1279
+ Is as g,
1280
+ ds as h,
1281
+ Fs as i,
1282
+ Es as j,
1283
+ Hs as k,
1284
+ Y as l,
1285
+ Ks as m,
1286
+ Xs as n,
1280
1287
  as as o,
1281
- Qs as p,
1288
+ se as p,
1282
1289
  Ls as q,
1283
- ys as s,
1290
+ ws as s,
1284
1291
  y as u
1285
1292
  };
1286
- //# sourceMappingURL=sidebar-BFwbx74W.js.map
1293
+ //# sourceMappingURL=sidebar-DaB4ulxH.js.map