@datawire-ai/busyfile-design-library 1.30.3 → 1.30.4

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 (308) hide show
  1. package/dist/index10.js +46 -46
  2. package/dist/index100.js +10 -69
  3. package/dist/index101.js +219 -10
  4. package/dist/index102.js +13 -124
  5. package/dist/index103.js +29 -135
  6. package/dist/index104.js +134 -13
  7. package/dist/index106.js +3 -3
  8. package/dist/index108.js +10 -181
  9. package/dist/index109.js +3 -7
  10. package/dist/index11.js +6 -6
  11. package/dist/index110.js +10 -217
  12. package/dist/index111.js +4 -30
  13. package/dist/index112.js +46 -10
  14. package/dist/index113.js +15 -4
  15. package/dist/index114.js +648 -10
  16. package/dist/index115.js +1 -1
  17. package/dist/index116.js +22 -22
  18. package/dist/index117.js +23 -649
  19. package/dist/index118.js +22 -15
  20. package/dist/index119.js +39 -4
  21. package/dist/index12.js +67 -67
  22. package/dist/index120.js +18 -47
  23. package/dist/index121.js +12 -25
  24. package/dist/index122.js +205 -21
  25. package/dist/index123.js +21 -38
  26. package/dist/index124.js +399 -17
  27. package/dist/index125.js +6 -2
  28. package/dist/index126.js +25 -2
  29. package/dist/index127.js +29 -12
  30. package/dist/index128.js +5 -206
  31. package/dist/index129.js +2 -22
  32. package/dist/index13.js +95 -95
  33. package/dist/index130.js +47 -394
  34. package/dist/index131.js +65 -6
  35. package/dist/index132.js +52 -25
  36. package/dist/index133.js +5 -29
  37. package/dist/index134.js +5 -5
  38. package/dist/index135.js +16 -2
  39. package/dist/index136.js +5 -52
  40. package/dist/index137.js +8 -64
  41. package/dist/index138.js +17 -52
  42. package/dist/index139.js +4 -4
  43. package/dist/index14.js +15 -15
  44. package/dist/index140.js +3 -3
  45. package/dist/index141.js +5 -15
  46. package/dist/index142.js +5 -5
  47. package/dist/index143.js +3 -7
  48. package/dist/index144.js +4 -16
  49. package/dist/index145.js +6 -4
  50. package/dist/index146.js +24 -4
  51. package/dist/index147.js +6 -5
  52. package/dist/index148.js +4 -5
  53. package/dist/index149.js +5 -3
  54. package/dist/index15.js +54 -54
  55. package/dist/index150.js +4 -3
  56. package/dist/index151.js +4 -6
  57. package/dist/index152.js +5 -24
  58. package/dist/index153.js +4 -6
  59. package/dist/index154.js +7 -3
  60. package/dist/index155.js +5 -6
  61. package/dist/index156.js +4 -5
  62. package/dist/index157.js +3 -3
  63. package/dist/index158.js +5 -4
  64. package/dist/index159.js +58 -4
  65. package/dist/index16.js +12 -12
  66. package/dist/index160.js +65 -7
  67. package/dist/index161.js +240 -5
  68. package/dist/index162.js +39 -4
  69. package/dist/index163.js +4 -4
  70. package/dist/index164.js +7 -6
  71. package/dist/index165.js +13 -58
  72. package/dist/index166.js +7 -66
  73. package/dist/index167.js +10 -240
  74. package/dist/index168.js +9 -38
  75. package/dist/index169.js +8 -4
  76. package/dist/index17.js +30 -30
  77. package/dist/index170.js +16 -7
  78. package/dist/index171.js +24 -14
  79. package/dist/index172.js +20 -8
  80. package/dist/index173.js +52 -9
  81. package/dist/index174.js +41 -10
  82. package/dist/index175.js +9 -8
  83. package/dist/index176.js +20 -16
  84. package/dist/index177.js +17 -24
  85. package/dist/index178.js +7 -20
  86. package/dist/index179.js +23 -53
  87. package/dist/index18.js +18 -18
  88. package/dist/index180.js +19 -42
  89. package/dist/index181.js +16 -10
  90. package/dist/index182.js +6 -20
  91. package/dist/index183.js +4 -16
  92. package/dist/index184.js +4 -6
  93. package/dist/index185.js +4 -23
  94. package/dist/index186.js +5 -19
  95. package/dist/index187.js +4 -16
  96. package/dist/index188.js +5 -5
  97. package/dist/index189.js +7 -4
  98. package/dist/index19.js +29 -29
  99. package/dist/index190.js +6 -4
  100. package/dist/index191.js +5 -4
  101. package/dist/index192.js +3 -4
  102. package/dist/index193.js +1 -1
  103. package/dist/index194.js +3 -6
  104. package/dist/index195.js +3 -7
  105. package/dist/index196.js +4 -6
  106. package/dist/index197.js +3 -5
  107. package/dist/index198.js +3 -3
  108. package/dist/index199.js +3 -3
  109. package/dist/index20.js +6 -6
  110. package/dist/index200.js +524 -3
  111. package/dist/index201.js +127 -3
  112. package/dist/index202.js +133 -4
  113. package/dist/index203.js +5 -4
  114. package/dist/index204.js +3 -4
  115. package/dist/index205.js +23 -3
  116. package/dist/index206.js +110 -5
  117. package/dist/index207.js +16 -3
  118. package/dist/index208.js +2 -24
  119. package/dist/index209.js +2 -110
  120. package/dist/index21.js +22 -22
  121. package/dist/index210.js +8 -15
  122. package/dist/index211.js +17 -522
  123. package/dist/index212.js +15 -126
  124. package/dist/index213.js +4 -132
  125. package/dist/index214.js +6 -2
  126. package/dist/index215.js +7 -2
  127. package/dist/index216.js +4 -8
  128. package/dist/index217.js +7 -19
  129. package/dist/index218.js +17 -16
  130. package/dist/index219.js +5 -5
  131. package/dist/index22.js +31 -32
  132. package/dist/index220.js +5 -5
  133. package/dist/index221.js +13 -6
  134. package/dist/index222.js +10 -4
  135. package/dist/index223.js +14 -7
  136. package/dist/index224.js +5 -17
  137. package/dist/index225.js +6 -5
  138. package/dist/index226.js +8 -5
  139. package/dist/index227.js +6 -13
  140. package/dist/index228.js +56 -10
  141. package/dist/index229.js +9 -14
  142. package/dist/index23.js +24 -24
  143. package/dist/index230.js +3 -3
  144. package/dist/index231.js +5 -6
  145. package/dist/index232.js +9 -8
  146. package/dist/index233.js +4 -5
  147. package/dist/index234.js +5 -56
  148. package/dist/index235.js +4 -9
  149. package/dist/index236.js +11 -5
  150. package/dist/index237.js +10 -5
  151. package/dist/index238.js +10 -9
  152. package/dist/index239.js +11 -5
  153. package/dist/index24.js +6 -6
  154. package/dist/index240.js +11 -5
  155. package/dist/index241.js +10 -4
  156. package/dist/index242.js +7 -11
  157. package/dist/index243.js +6 -10
  158. package/dist/index244.js +4 -9
  159. package/dist/index245.js +6 -11
  160. package/dist/index246.js +8 -11
  161. package/dist/index247.js +6 -10
  162. package/dist/index248.js +23 -7
  163. package/dist/index249.js +18 -6
  164. package/dist/index25.js +10 -10
  165. package/dist/index250.js +7 -5
  166. package/dist/index251.js +10 -6
  167. package/dist/index252.js +10 -8
  168. package/dist/index253.js +21 -6
  169. package/dist/index254.js +10 -23
  170. package/dist/index255.js +9 -18
  171. package/dist/index256.js +9 -7
  172. package/dist/index257.js +4 -10
  173. package/dist/index258.js +5 -10
  174. package/dist/index259.js +16 -21
  175. package/dist/index26.js +10 -10
  176. package/dist/index260.js +9 -10
  177. package/dist/index261.js +18 -9
  178. package/dist/index262.js +15 -9
  179. package/dist/index263.js +12 -4
  180. package/dist/index264.js +29 -5
  181. package/dist/index265.js +11 -15
  182. package/dist/index266.js +25 -9
  183. package/dist/index267.js +5 -18
  184. package/dist/index268.js +62 -13
  185. package/dist/index269.js +69 -13
  186. package/dist/index27.js +21 -21
  187. package/dist/index270.js +9 -30
  188. package/dist/index271.js +13 -12
  189. package/dist/index272.js +63 -23
  190. package/dist/index273.js +68 -6
  191. package/dist/index274.js +31 -65
  192. package/dist/index275.js +9 -69
  193. package/dist/index276.js +152 -8
  194. package/dist/index277.js +107 -13
  195. package/dist/index278.js +5 -66
  196. package/dist/index279.js +13 -68
  197. package/dist/index28.js +202 -214
  198. package/dist/index280.js +4 -31
  199. package/dist/index281.js +23 -9
  200. package/dist/index282.js +6 -153
  201. package/dist/index283.js +6 -108
  202. package/dist/index284.js +4 -5
  203. package/dist/index285.js +15 -12
  204. package/dist/index286.js +8 -3
  205. package/dist/index287.js +5 -22
  206. package/dist/index288.js +4 -5
  207. package/dist/index289.js +512 -5
  208. package/dist/index29.js +42 -42
  209. package/dist/index290.js +50 -4
  210. package/dist/index291.js +17 -15
  211. package/dist/index292.js +6 -8
  212. package/dist/index293.js +8 -5
  213. package/dist/index294.js +7 -4
  214. package/dist/index295.js +8 -512
  215. package/dist/index296.js +13 -50
  216. package/dist/index297.js +10 -17
  217. package/dist/index298.js +14 -6
  218. package/dist/index299.js +6 -8
  219. package/dist/index3.js +13 -14
  220. package/dist/index30.js +113 -113
  221. package/dist/index300.js +15 -7
  222. package/dist/index301.js +28 -8
  223. package/dist/index302.js +12 -12
  224. package/dist/index303.js +23 -11
  225. package/dist/index304.js +13 -15
  226. package/dist/index305.js +27 -6
  227. package/dist/index306.js +5 -16
  228. package/dist/index307.js +4 -28
  229. package/dist/index308.js +57 -13
  230. package/dist/index31.js +18 -18
  231. package/dist/index32.js +3 -3
  232. package/dist/index33.js +80 -80
  233. package/dist/index34.js +13 -13
  234. package/dist/index35.js +60 -60
  235. package/dist/index36.js +92 -92
  236. package/dist/index4.js +9 -9
  237. package/dist/index40.js +57 -6
  238. package/dist/index41.js +25 -55
  239. package/dist/index42.js +130 -25
  240. package/dist/index43.js +23 -132
  241. package/dist/index44.js +238 -23
  242. package/dist/index45.js +29 -238
  243. package/dist/index46.js +251 -29
  244. package/dist/index47.js +18 -251
  245. package/dist/index48.js +10 -18
  246. package/dist/index49.js +261 -10
  247. package/dist/index5.js +18 -18
  248. package/dist/index50.js +13 -261
  249. package/dist/index51.js +31 -13
  250. package/dist/index52.js +334 -26
  251. package/dist/index53.js +37 -335
  252. package/dist/index54.js +23 -37
  253. package/dist/index55.js +8 -16
  254. package/dist/index56.js +5 -11
  255. package/dist/index57.js +3 -6
  256. package/dist/index58.js +13 -10
  257. package/dist/index59.js +74 -12
  258. package/dist/index6.js +8 -8
  259. package/dist/index60.js +83 -69
  260. package/dist/index61.js +13 -89
  261. package/dist/index62.js +11 -5
  262. package/dist/index63.js +20 -17
  263. package/dist/index64.js +69 -20
  264. package/dist/index65.js +15 -71
  265. package/dist/index66.js +13 -9
  266. package/dist/index67.js +7 -7
  267. package/dist/index68.js +8 -13
  268. package/dist/index69.js +2 -14
  269. package/dist/index7.js +46 -46
  270. package/dist/index70.js +10 -2
  271. package/dist/index71.js +8 -4
  272. package/dist/index72.js +6 -14
  273. package/dist/index73.js +13 -6
  274. package/dist/index74.js +22 -13
  275. package/dist/index75.js +160 -19
  276. package/dist/index76.js +21 -161
  277. package/dist/index77.js +33 -23
  278. package/dist/index78.js +13 -33
  279. package/dist/index79.js +10 -4
  280. package/dist/index8.js +25 -28
  281. package/dist/index80.js +174 -17
  282. package/dist/index81.js +10 -176
  283. package/dist/index82.js +862 -10
  284. package/dist/index83.js +27 -853
  285. package/dist/index84.js +10 -36
  286. package/dist/index85.js +243 -10
  287. package/dist/index86.js +298 -230
  288. package/dist/index87.js +216 -300
  289. package/dist/index88.js +10 -227
  290. package/dist/index89.js +7 -10
  291. package/dist/index9.js +19 -19
  292. package/dist/index90.js +27 -2
  293. package/dist/index91.js +65 -30
  294. package/dist/index92.js +51 -242
  295. package/dist/index93.js +5 -26
  296. package/dist/index94.js +24 -6
  297. package/dist/index95.js +33 -67
  298. package/dist/index96.js +178 -48
  299. package/dist/index97.js +7 -5
  300. package/dist/index98.js +68 -23
  301. package/dist/index99.js +124 -32
  302. package/package.json +6 -7
  303. package/dist/index309.js +0 -25
  304. package/dist/index310.js +0 -15
  305. package/dist/index311.js +0 -30
  306. package/dist/index312.js +0 -7
  307. package/dist/index313.js +0 -7
  308. package/dist/index314.js +0 -59
package/dist/index28.js CHANGED
@@ -1,103 +1,103 @@
1
1
  "use client";
2
- import { j as t } from "./index40.js";
3
- import { Root as m } from "./index41.js";
4
- import { cva as z } from "./index78.js";
2
+ import { jsx as t, jsxs as x } from "react/jsx-runtime";
3
+ import { Root as m } from "./index40.js";
4
+ import { cva as _ } from "./index77.js";
5
5
  import * as o from "react";
6
- import { Button as M } from "./index3.js";
6
+ import { Button as C } from "./index3.js";
7
7
  import { cn as r } from "./index37.js";
8
- import { Skeleton as S } from "./index20.js";
9
- import { Tooltip as _, TooltipTrigger as C, TooltipContent as E } from "./index53.js";
10
- import { Divider as I } from "./index16.js";
11
- import T from "./index79.js";
12
- const A = "sidebar_state", B = 60 * 60 * 24 * 7, D = "14.375rem", R = "4.5rem", O = "b", j = o.createContext(null);
13
- function v() {
14
- const a = o.useContext(j);
8
+ import { Skeleton as N } from "./index20.js";
9
+ import { Tooltip as I, TooltipTrigger as E, TooltipContent as T } from "./index52.js";
10
+ import { Divider as A } from "./index16.js";
11
+ import B from "./index78.js";
12
+ const D = "sidebar_state", O = 60 * 60 * 24 * 7, R = "14.375rem", j = "4.5rem", K = "b", k = o.createContext(null);
13
+ function w() {
14
+ const a = o.useContext(k);
15
15
  if (!a)
16
16
  throw new Error("useSidebar must be used within a SidebarProvider.");
17
17
  return a;
18
18
  }
19
- const U = ({
19
+ const X = ({
20
20
  defaultOpen: a = !0,
21
21
  open: e,
22
- onOpenChange: s,
23
- className: i,
22
+ onOpenChange: i,
23
+ className: s,
24
24
  style: n,
25
- children: d,
25
+ children: c,
26
26
  ...u
27
27
  }) => {
28
- const [g, b] = o.useState(!1), [f, N] = o.useState(a), p = e ?? f, x = o.useCallback(
29
- (l) => {
30
- const c = typeof l == "function" ? l(p) : l;
31
- s ? s(c) : N(c), document.cookie = `${A}=${c}; path=/; max-age=${B}`;
28
+ const [g, b] = o.useState(!1), [f, z] = o.useState(a), p = e ?? f, h = o.useCallback(
29
+ (d) => {
30
+ const l = typeof d == "function" ? d(p) : d;
31
+ i ? i(l) : z(l), document.cookie = `${D}=${l}; path=/; max-age=${O}`;
32
32
  },
33
- [s, p]
34
- ), h = o.useCallback(() => x((l) => !l), [!1, x, b]);
33
+ [i, p]
34
+ ), v = o.useCallback(() => h((d) => !d), [!1, h, b]);
35
35
  o.useEffect(() => {
36
- const l = (c) => {
37
- c.key === O && (c.metaKey || c.ctrlKey) && (c.preventDefault(), h());
36
+ const d = (l) => {
37
+ l.key === K && (l.metaKey || l.ctrlKey) && (l.preventDefault(), v());
38
38
  };
39
- return window.addEventListener("keydown", l), () => window.removeEventListener("keydown", l);
40
- }, [h]);
41
- const y = p ? "expanded" : "collapsed", k = o.useMemo(
39
+ return window.addEventListener("keydown", d), () => window.removeEventListener("keydown", d);
40
+ }, [v]);
41
+ const S = p ? "expanded" : "collapsed", M = o.useMemo(
42
42
  () => ({
43
- state: y,
43
+ state: S,
44
44
  open: p,
45
- setOpen: x,
45
+ setOpen: h,
46
46
  isMobile: !1,
47
47
  openMobile: g,
48
48
  setOpenMobile: b,
49
- toggleSidebar: h
49
+ toggleSidebar: v
50
50
  }),
51
- [y, p, x, !1, g, b, h]
51
+ [S, p, h, !1, g, b, v]
52
52
  );
53
- return /* @__PURE__ */ t.jsx(j.Provider, { value: k, children: /* @__PURE__ */ t.jsx(
53
+ return /* @__PURE__ */ t(k.Provider, { value: M, children: /* @__PURE__ */ t(
54
54
  "div",
55
55
  {
56
56
  "data-slot": "sidebar-wrapper",
57
57
  style: {
58
- "--sidebar-width": D,
59
- "--sidebar-width-icon": R,
58
+ "--sidebar-width": R,
59
+ "--sidebar-width-icon": j,
60
60
  ...n
61
61
  },
62
62
  className: r(
63
63
  "group/sidebar-wrapper has-data-[variant=inset]:bg-brand-50 flex min-h-svh w-full",
64
- i
64
+ s
65
65
  ),
66
66
  ...u,
67
- children: d
67
+ children: c
68
68
  }
69
69
  ) });
70
- }, X = ({
70
+ }, Y = ({
71
71
  side: a = "left",
72
72
  variant: e = "sidebar",
73
- collapsible: s = "offcanvas",
74
- className: i,
73
+ collapsible: i = "offcanvas",
74
+ className: s,
75
75
  children: n,
76
- ...d
76
+ ...c
77
77
  }) => {
78
- const { state: u } = v();
79
- return s === "none" ? /* @__PURE__ */ t.jsx(
78
+ const { state: u } = w();
79
+ return i === "none" ? /* @__PURE__ */ t(
80
80
  "div",
81
81
  {
82
82
  "data-slot": "sidebar",
83
83
  className: r(
84
84
  "bg-brand-50 text-brand-950 flex h-full w-(--sidebar-width) flex-col",
85
- i
85
+ s
86
86
  ),
87
- ...d,
87
+ ...c,
88
88
  children: n
89
89
  }
90
- ) : /* @__PURE__ */ t.jsxs(
90
+ ) : /* @__PURE__ */ x(
91
91
  "div",
92
92
  {
93
93
  className: "text-brand-950 group peer hidden md:block",
94
94
  "data-state": u,
95
- "data-collapsible": u === "collapsed" ? s : "",
95
+ "data-collapsible": u === "collapsed" ? i : "",
96
96
  "data-variant": e,
97
97
  "data-side": a,
98
98
  "data-slot": "sidebar",
99
99
  children: [
100
- /* @__PURE__ */ t.jsx(
100
+ /* @__PURE__ */ t(
101
101
  "div",
102
102
  {
103
103
  "data-slot": "sidebar-gap",
@@ -109,7 +109,7 @@ const U = ({
109
109
  )
110
110
  }
111
111
  ),
112
- /* @__PURE__ */ t.jsx(
112
+ /* @__PURE__ */ t(
113
113
  "div",
114
114
  {
115
115
  "data-slot": "sidebar-container",
@@ -118,10 +118,10 @@ const U = ({
118
118
  a === "left" ? "left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]" : "right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",
119
119
  // Adjust the padding for floating and inset variants.
120
120
  e === "floating" || e === "inset" ? "p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]" : "group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l border-neutral-black-5",
121
- i
121
+ s
122
122
  ),
123
- ...d,
124
- children: /* @__PURE__ */ t.jsx(
123
+ ...c,
124
+ children: /* @__PURE__ */ t(
125
125
  "div",
126
126
  {
127
127
  "data-sidebar": "sidebar",
@@ -135,14 +135,14 @@ const U = ({
135
135
  ]
136
136
  }
137
137
  );
138
- }, Y = ({
138
+ }, J = ({
139
139
  className: a,
140
140
  onClick: e,
141
- ...s
141
+ ...i
142
142
  }) => {
143
- const { toggleSidebar: i } = v();
144
- return /* @__PURE__ */ t.jsxs(
145
- M,
143
+ const { toggleSidebar: s } = w();
144
+ return /* @__PURE__ */ x(
145
+ C,
146
146
  {
147
147
  "data-sidebar": "trigger",
148
148
  "data-slot": "sidebar-trigger",
@@ -150,21 +150,21 @@ const U = ({
150
150
  size: "icon",
151
151
  className: r("size-8", a),
152
152
  onClick: (n) => {
153
- e == null || e(n), i();
153
+ e == null || e(n), s();
154
154
  },
155
- ...s,
155
+ ...i,
156
156
  children: [
157
- /* @__PURE__ */ t.jsx(T, { className: "text-brand-950 size-6" }),
158
- /* @__PURE__ */ t.jsx("span", { className: "sr-only", children: "Toggle Sidebar" })
157
+ /* @__PURE__ */ t(B, { className: "text-brand-950 size-6" }),
158
+ /* @__PURE__ */ t("span", { className: "sr-only", children: "Toggle Sidebar" })
159
159
  ]
160
160
  }
161
161
  );
162
- }, J = ({
162
+ }, Q = ({
163
163
  className: a,
164
164
  ...e
165
165
  }) => {
166
- const { toggleSidebar: s } = v();
167
- return /* @__PURE__ */ t.jsx(
166
+ const { toggleSidebar: i } = w();
167
+ return /* @__PURE__ */ t(
168
168
  "button",
169
169
  {
170
170
  type: "button",
@@ -172,7 +172,7 @@ const U = ({
172
172
  "data-slot": "sidebar-rail",
173
173
  "aria-label": "Toggle Sidebar",
174
174
  tabIndex: -1,
175
- onClick: s,
175
+ onClick: i,
176
176
  title: "Toggle Sidebar",
177
177
  className: r(
178
178
  "hover:after:bg-sidebar-border absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear group-data-[side=left]:-right-4 group-data-[side=right]:left-0 after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] sm:flex",
@@ -186,10 +186,10 @@ const U = ({
186
186
  ...e
187
187
  }
188
188
  );
189
- }, Q = ({
189
+ }, Z = ({
190
190
  className: a,
191
191
  ...e
192
- }) => /* @__PURE__ */ t.jsx(
192
+ }) => /* @__PURE__ */ t(
193
193
  "main",
194
194
  {
195
195
  "data-slot": "sidebar-inset",
@@ -200,10 +200,10 @@ const U = ({
200
200
  ),
201
201
  ...e
202
202
  }
203
- ), Z = ({
203
+ ), ee = ({
204
204
  className: a,
205
205
  ...e
206
- }) => /* @__PURE__ */ t.jsx(
206
+ }) => /* @__PURE__ */ t(
207
207
  "div",
208
208
  {
209
209
  "data-slot": "sidebar-header",
@@ -211,10 +211,10 @@ const U = ({
211
211
  className: r("flex flex-col gap-2", a),
212
212
  ...e
213
213
  }
214
- ), ee = ({
214
+ ), ae = ({
215
215
  className: a,
216
216
  ...e
217
- }) => /* @__PURE__ */ t.jsx(
217
+ }) => /* @__PURE__ */ t(
218
218
  "div",
219
219
  {
220
220
  "data-slot": "sidebar-footer",
@@ -225,21 +225,21 @@ const U = ({
225
225
  ),
226
226
  ...e
227
227
  }
228
- ), ae = ({
228
+ ), te = ({
229
229
  className: a,
230
230
  ...e
231
- }) => /* @__PURE__ */ t.jsx(
232
- I,
231
+ }) => /* @__PURE__ */ t(
232
+ A,
233
233
  {
234
234
  "data-slot": "sidebar-separator",
235
235
  "data-sidebar": "separator",
236
236
  className: r("bg-sidebar-border mx-2 w-auto", a),
237
237
  ...e
238
238
  }
239
- ), te = ({
239
+ ), re = ({
240
240
  className: a,
241
241
  ...e
242
- }) => /* @__PURE__ */ t.jsx(
242
+ }) => /* @__PURE__ */ t(
243
243
  "div",
244
244
  {
245
245
  "data-slot": "sidebar-content",
@@ -250,7 +250,7 @@ const U = ({
250
250
  ),
251
251
  ...e
252
252
  }
253
- ), re = ({ className: a, ...e }) => /* @__PURE__ */ t.jsx(
253
+ ), ie = ({ className: a, ...e }) => /* @__PURE__ */ t(
254
254
  "div",
255
255
  {
256
256
  "data-slot": "sidebar-group",
@@ -261,47 +261,41 @@ const U = ({
261
261
  ), se = ({
262
262
  className: a,
263
263
  asChild: e = !1,
264
- ...s
265
- }) => {
266
- const i = e ? m : "div";
267
- return /* @__PURE__ */ t.jsx(
268
- i,
269
- {
270
- "data-slot": "sidebar-group-label",
271
- "data-sidebar": "group-label",
272
- className: r(
273
- "text-brand-950/70 ring-sidebar-ring flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium outline-hidden transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
274
- "group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",
275
- a
276
- ),
277
- ...s
278
- }
279
- );
280
- }, ie = ({
264
+ ...i
265
+ }) => /* @__PURE__ */ t(
266
+ e ? m : "div",
267
+ {
268
+ "data-slot": "sidebar-group-label",
269
+ "data-sidebar": "group-label",
270
+ className: r(
271
+ "text-brand-950/70 ring-sidebar-ring flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium outline-hidden transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
272
+ "group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",
273
+ a
274
+ ),
275
+ ...i
276
+ }
277
+ ), ne = ({
281
278
  className: a,
282
279
  asChild: e = !1,
283
- ...s
284
- }) => {
285
- const i = e ? m : "button";
286
- return /* @__PURE__ */ t.jsx(
287
- i,
288
- {
289
- "data-slot": "sidebar-group-action",
290
- "data-sidebar": "group-action",
291
- className: r(
292
- "text-brand-950 ring-sidebar-ring hover:bg-sidebar-accent hover:text-secondary-50 absolute top-3.5 right-3 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
293
- // Increases the hit area of the button on mobile.
294
- "after:absolute after:-inset-2 md:after:hidden",
295
- "group-data-[collapsible=icon]:hidden",
296
- a
297
- ),
298
- ...s
299
- }
300
- );
301
- }, ne = ({
280
+ ...i
281
+ }) => /* @__PURE__ */ t(
282
+ e ? m : "button",
283
+ {
284
+ "data-slot": "sidebar-group-action",
285
+ "data-sidebar": "group-action",
286
+ className: r(
287
+ "text-brand-950 ring-sidebar-ring hover:bg-sidebar-accent hover:text-secondary-50 absolute top-3.5 right-3 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
288
+ // Increases the hit area of the button on mobile.
289
+ "after:absolute after:-inset-2 md:after:hidden",
290
+ "group-data-[collapsible=icon]:hidden",
291
+ a
292
+ ),
293
+ ...i
294
+ }
295
+ ), oe = ({
302
296
  className: a,
303
297
  ...e
304
- }) => /* @__PURE__ */ t.jsx(
298
+ }) => /* @__PURE__ */ t(
305
299
  "div",
306
300
  {
307
301
  "data-slot": "sidebar-group-content",
@@ -309,7 +303,7 @@ const U = ({
309
303
  className: r("w-full text-sm", a),
310
304
  ...e
311
305
  }
312
- ), oe = ({ className: a, ...e }) => /* @__PURE__ */ t.jsx(
306
+ ), de = ({ className: a, ...e }) => /* @__PURE__ */ t(
313
307
  "ul",
314
308
  {
315
309
  "data-slot": "sidebar-menu",
@@ -320,10 +314,10 @@ const U = ({
320
314
  ),
321
315
  ...e
322
316
  }
323
- ), de = ({
317
+ ), le = ({
324
318
  className: a,
325
319
  ...e
326
- }) => /* @__PURE__ */ t.jsx(
320
+ }) => /* @__PURE__ */ t(
327
321
  "li",
328
322
  {
329
323
  "data-slot": "sidebar-menu-item",
@@ -331,7 +325,7 @@ const U = ({
331
325
  className: r("group/menu-item relative justify-center", a),
332
326
  ...e
333
327
  }
334
- ), K = z(
328
+ ), G = _(
335
329
  "peer/menu-button flex w-full items-center gap-2 text-neutral-black-1 overflow-hidden rounded-lg py-2.5 px-3 text-left text-sm outline-hidden ring-sidebar-ring transition-[width,height,padding,color] duration-300 hover:bg-brand-700 hover:text-secondary-50 focus-visible:ring-2 active:bg-primary-2 active:text-secondary-50 disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-primary-2 data-[active=true]:font-normal data-[active=true]:text-primary-1 data-[state=open]:hover:bg-primary-2 data-[state=open]:hover:text-primary-1 group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 cursor-pointer",
336
330
  {
337
331
  variants: {
@@ -350,32 +344,32 @@ const U = ({
350
344
  size: "default"
351
345
  }
352
346
  }
353
- ), le = ({
347
+ ), ce = ({
354
348
  asChild: a = !1,
355
349
  isActive: e = !1,
356
- variant: s = "default",
357
- size: i = "default",
350
+ variant: i = "default",
351
+ size: s = "default",
358
352
  tooltip: n,
359
- className: d,
353
+ className: c,
360
354
  ...u
361
355
  }) => {
362
- const w = a ? m : "button", { isMobile: g, state: b } = v(), f = /* @__PURE__ */ t.jsx(
363
- w,
356
+ const y = a ? m : "button", { isMobile: g, state: b } = w(), f = /* @__PURE__ */ t(
357
+ y,
364
358
  {
365
359
  "data-slot": "sidebar-menu-button",
366
360
  "data-sidebar": "menu-button",
367
- "data-size": i,
361
+ "data-size": s,
368
362
  "data-active": e,
369
- className: r(K({ variant: s, size: i }), d),
363
+ className: r(G({ variant: i, size: s }), c),
370
364
  ...u
371
365
  }
372
366
  );
373
367
  return n ? (typeof n == "string" && (n = {
374
368
  children: n
375
- }), /* @__PURE__ */ t.jsxs(_, { children: [
376
- /* @__PURE__ */ t.jsx(C, { asChild: !0, children: f }),
377
- /* @__PURE__ */ t.jsx(
378
- E,
369
+ }), /* @__PURE__ */ x(I, { children: [
370
+ /* @__PURE__ */ t(E, { asChild: !0, children: f }),
371
+ /* @__PURE__ */ t(
372
+ T,
379
373
  {
380
374
  side: "right",
381
375
  align: "center",
@@ -384,36 +378,33 @@ const U = ({
384
378
  }
385
379
  )
386
380
  ] })) : f;
387
- }, ce = ({
381
+ }, ue = ({
388
382
  className: a,
389
383
  asChild: e = !1,
390
- showOnHover: s = !1,
391
- ...i
392
- }) => {
393
- const n = e ? m : "button";
394
- return /* @__PURE__ */ t.jsx(
395
- n,
396
- {
397
- "data-slot": "sidebar-menu-action",
398
- "data-sidebar": "menu-action",
399
- className: r(
400
- "text-brand-950 ring-sidebar-ring hover:bg-sidebar-accent hover:text-secondary-50 peer-hover/menu-button:text-secondary-50 absolute top-1.5 right-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
401
- // Increases the hit area of the button on mobile.
402
- "after:absolute after:-inset-2 md:after:hidden",
403
- "peer-data-[size=sm]/menu-button:top-1",
404
- "peer-data-[size=default]/menu-button:top-1.5",
405
- "peer-data-[size=lg]/menu-button:top-2.5",
406
- "group-data-[collapsible=icon]:hidden",
407
- s && "peer-data-[active=true]/menu-button:text-secondary-50 group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 md:opacity-0",
408
- a
409
- ),
410
- ...i
411
- }
412
- );
413
- }, ue = ({
384
+ showOnHover: i = !1,
385
+ ...s
386
+ }) => /* @__PURE__ */ t(
387
+ e ? m : "button",
388
+ {
389
+ "data-slot": "sidebar-menu-action",
390
+ "data-sidebar": "menu-action",
391
+ className: r(
392
+ "text-brand-950 ring-sidebar-ring hover:bg-sidebar-accent hover:text-secondary-50 peer-hover/menu-button:text-secondary-50 absolute top-1.5 right-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
393
+ // Increases the hit area of the button on mobile.
394
+ "after:absolute after:-inset-2 md:after:hidden",
395
+ "peer-data-[size=sm]/menu-button:top-1",
396
+ "peer-data-[size=default]/menu-button:top-1.5",
397
+ "peer-data-[size=lg]/menu-button:top-2.5",
398
+ "group-data-[collapsible=icon]:hidden",
399
+ i && "peer-data-[active=true]/menu-button:text-secondary-50 group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 md:opacity-0",
400
+ a
401
+ ),
402
+ ...s
403
+ }
404
+ ), be = ({
414
405
  className: a,
415
406
  ...e
416
- }) => /* @__PURE__ */ t.jsx(
407
+ }) => /* @__PURE__ */ t(
417
408
  "div",
418
409
  {
419
410
  "data-slot": "sidebar-menu-badge",
@@ -429,44 +420,44 @@ const U = ({
429
420
  ),
430
421
  ...e
431
422
  }
432
- ), be = ({
423
+ ), pe = ({
433
424
  className: a,
434
425
  showIcon: e = !1,
435
- ...s
426
+ ...i
436
427
  }) => {
437
- const i = o.useMemo(() => `${Math.floor(Math.random() * 40) + 50}%`, []);
438
- return /* @__PURE__ */ t.jsxs(
428
+ const s = o.useMemo(() => `${Math.floor(Math.random() * 40) + 50}%`, []);
429
+ return /* @__PURE__ */ x(
439
430
  "div",
440
431
  {
441
432
  "data-slot": "sidebar-menu-skeleton",
442
433
  "data-sidebar": "menu-skeleton",
443
434
  className: r("flex h-8 items-center gap-2 rounded-md px-2", a),
444
- ...s,
435
+ ...i,
445
436
  children: [
446
- e && /* @__PURE__ */ t.jsx(
447
- S,
437
+ e && /* @__PURE__ */ t(
438
+ N,
448
439
  {
449
440
  className: "size-4 rounded-md",
450
441
  "data-sidebar": "menu-skeleton-icon"
451
442
  }
452
443
  ),
453
- /* @__PURE__ */ t.jsx(
454
- S,
444
+ /* @__PURE__ */ t(
445
+ N,
455
446
  {
456
447
  className: "h-4 max-w-(--skeleton-width) flex-1",
457
448
  "data-sidebar": "menu-skeleton-text",
458
449
  style: {
459
- "--skeleton-width": i
450
+ "--skeleton-width": s
460
451
  }
461
452
  }
462
453
  )
463
454
  ]
464
455
  }
465
456
  );
466
- }, pe = ({
457
+ }, me = ({
467
458
  className: a,
468
459
  ...e
469
- }) => /* @__PURE__ */ t.jsx(
460
+ }) => /* @__PURE__ */ t(
470
461
  "ul",
471
462
  {
472
463
  "data-slot": "sidebar-menu-sub",
@@ -478,10 +469,10 @@ const U = ({
478
469
  ),
479
470
  ...e
480
471
  }
481
- ), me = ({
472
+ ), ge = ({
482
473
  className: a,
483
474
  ...e
484
- }) => /* @__PURE__ */ t.jsx(
475
+ }) => /* @__PURE__ */ t(
485
476
  "li",
486
477
  {
487
478
  "data-slot": "sidebar-menu-sub-item",
@@ -489,55 +480,52 @@ const U = ({
489
480
  className: r("group/menu-sub-item relative", a),
490
481
  ...e
491
482
  }
492
- ), ge = ({
483
+ ), fe = ({
493
484
  asChild: a = !1,
494
485
  size: e = "md",
495
- isActive: s = !1,
496
- className: i,
486
+ isActive: i = !1,
487
+ className: s,
497
488
  ...n
498
- }) => {
499
- const d = a ? m : "a";
500
- return /* @__PURE__ */ t.jsx(
501
- d,
502
- {
503
- "data-slot": "sidebar-menu-sub-button",
504
- "data-sidebar": "menu-sub-button",
505
- "data-size": e,
506
- "data-active": s,
507
- className: r(
508
- "text-brand-950 ring-sidebar-ring hover:bg-brand-700 hover:text-secondary-50 active:bg-brand-700 active:text-secondary-50 [&>svg]:text-secondary-50 flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 outline-hidden focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",
509
- "data-[active=true]:bg-brand-700 data-[active=true]:text-secondary-50",
510
- e === "sm" && "text-xs",
511
- e === "md" && "text-sm",
512
- "group-data-[collapsible=icon]:hidden",
513
- i
514
- ),
515
- ...n
516
- }
517
- );
518
- };
489
+ }) => /* @__PURE__ */ t(
490
+ a ? m : "a",
491
+ {
492
+ "data-slot": "sidebar-menu-sub-button",
493
+ "data-sidebar": "menu-sub-button",
494
+ "data-size": e,
495
+ "data-active": i,
496
+ className: r(
497
+ "text-brand-950 ring-sidebar-ring hover:bg-brand-700 hover:text-secondary-50 active:bg-brand-700 active:text-secondary-50 [&>svg]:text-secondary-50 flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 outline-hidden focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",
498
+ "data-[active=true]:bg-brand-700 data-[active=true]:text-secondary-50",
499
+ e === "sm" && "text-xs",
500
+ e === "md" && "text-sm",
501
+ "group-data-[collapsible=icon]:hidden",
502
+ s
503
+ ),
504
+ ...n
505
+ }
506
+ );
519
507
  export {
520
- X as Sidebar,
521
- te as SidebarContent,
522
- ee as SidebarFooter,
523
- re as SidebarGroup,
524
- ie as SidebarGroupAction,
525
- ne as SidebarGroupContent,
508
+ Y as Sidebar,
509
+ re as SidebarContent,
510
+ ae as SidebarFooter,
511
+ ie as SidebarGroup,
512
+ ne as SidebarGroupAction,
513
+ oe as SidebarGroupContent,
526
514
  se as SidebarGroupLabel,
527
- Z as SidebarHeader,
528
- Q as SidebarInset,
529
- oe as SidebarMenu,
530
- ce as SidebarMenuAction,
531
- ue as SidebarMenuBadge,
532
- le as SidebarMenuButton,
533
- de as SidebarMenuItem,
534
- be as SidebarMenuSkeleton,
535
- pe as SidebarMenuSub,
536
- ge as SidebarMenuSubButton,
537
- me as SidebarMenuSubItem,
538
- U as SidebarProvider,
539
- J as SidebarRail,
540
- ae as SidebarSeparator,
541
- Y as SidebarTrigger,
542
- v as useSidebar
515
+ ee as SidebarHeader,
516
+ Z as SidebarInset,
517
+ de as SidebarMenu,
518
+ ue as SidebarMenuAction,
519
+ be as SidebarMenuBadge,
520
+ ce as SidebarMenuButton,
521
+ le as SidebarMenuItem,
522
+ pe as SidebarMenuSkeleton,
523
+ me as SidebarMenuSub,
524
+ fe as SidebarMenuSubButton,
525
+ ge as SidebarMenuSubItem,
526
+ X as SidebarProvider,
527
+ Q as SidebarRail,
528
+ te as SidebarSeparator,
529
+ J as SidebarTrigger,
530
+ w as useSidebar
543
531
  };