@pelatform/ui 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +10 -0
  3. package/css/components/apexcharts.css +101 -0
  4. package/css/components/book.css +19 -0
  5. package/css/components/extra.css +12 -0
  6. package/css/components/image-input.css +51 -0
  7. package/css/components/leaflet.css +25 -0
  8. package/css/components/patterns.css +34 -0
  9. package/css/components/rating.css +89 -0
  10. package/css/components/scrollable.css +118 -0
  11. package/css/components/theme-transition.css +51 -0
  12. package/css/theme.css +237 -0
  13. package/dist/animation.cjs +1936 -0
  14. package/dist/animation.d.cts +379 -0
  15. package/dist/animation.d.ts +379 -0
  16. package/dist/animation.js +1936 -0
  17. package/dist/aria.cjs +139 -0
  18. package/dist/aria.d.cts +31 -0
  19. package/dist/aria.d.ts +31 -0
  20. package/dist/aria.js +139 -0
  21. package/dist/badge-BtI4BMea.d.cts +33 -0
  22. package/dist/badge-BtI4BMea.d.ts +33 -0
  23. package/dist/base.cjs +5559 -0
  24. package/dist/base.d.cts +651 -0
  25. package/dist/base.d.ts +651 -0
  26. package/dist/base.js +5559 -0
  27. package/dist/chunk-3N75YA6Q.cjs +60 -0
  28. package/dist/chunk-CD2BCCQU.js +180 -0
  29. package/dist/chunk-CJXIPSTG.cjs +10 -0
  30. package/dist/chunk-CYFW37N5.js +1355 -0
  31. package/dist/chunk-EZW5GNS4.js +6 -0
  32. package/dist/chunk-HW52LCWN.js +22 -0
  33. package/dist/chunk-I46SELBA.cjs +22 -0
  34. package/dist/chunk-J4JGE3U5.cjs +180 -0
  35. package/dist/chunk-KNS6QRVB.cjs +28 -0
  36. package/dist/chunk-OMPNDLGS.js +576 -0
  37. package/dist/chunk-RQHJBTEU.js +10 -0
  38. package/dist/chunk-S3QFGYE6.js +28 -0
  39. package/dist/chunk-SK6SSJHC.js +9 -0
  40. package/dist/chunk-T74DBLYY.js +60 -0
  41. package/dist/chunk-UP53DCYH.cjs +6 -0
  42. package/dist/chunk-VECBSKBC.cjs +576 -0
  43. package/dist/chunk-VSLPH2IR.cjs +1355 -0
  44. package/dist/chunk-ZDR3OZ7Z.cjs +9 -0
  45. package/dist/colors-CUDWvz1g.d.cts +42 -0
  46. package/dist/colors-CUDWvz1g.d.ts +42 -0
  47. package/dist/components-BgbIL9EW.d.cts +42 -0
  48. package/dist/components-BgbIL9EW.d.ts +42 -0
  49. package/dist/components.cjs +2276 -0
  50. package/dist/components.d.cts +2762 -0
  51. package/dist/components.d.ts +2762 -0
  52. package/dist/components.js +2276 -0
  53. package/dist/default.cjs +9081 -0
  54. package/dist/default.d.cts +1322 -0
  55. package/dist/default.d.ts +1322 -0
  56. package/dist/default.js +9081 -0
  57. package/dist/hooks.cjs +666 -0
  58. package/dist/hooks.d.cts +1176 -0
  59. package/dist/hooks.d.ts +1176 -0
  60. package/dist/hooks.js +666 -0
  61. package/dist/index.cjs +234 -0
  62. package/dist/index.d.cts +298 -0
  63. package/dist/index.d.ts +298 -0
  64. package/dist/index.js +234 -0
  65. package/dist/input-AwYIskrX.d.cts +22 -0
  66. package/dist/input-AwYIskrX.d.ts +22 -0
  67. package/dist/menu-GmSRfRGB.d.cts +43 -0
  68. package/dist/menu-GmSRfRGB.d.ts +43 -0
  69. package/dist/metafile-cjs.json +1 -0
  70. package/dist/metafile-esm.json +1 -0
  71. package/dist/re-export/cva.cjs +6 -0
  72. package/dist/re-export/cva.d.cts +9 -0
  73. package/dist/re-export/cva.d.ts +9 -0
  74. package/dist/re-export/cva.js +6 -0
  75. package/dist/re-export/motion.cjs +2 -0
  76. package/dist/re-export/motion.d.cts +1 -0
  77. package/dist/re-export/motion.d.ts +1 -0
  78. package/dist/re-export/motion.js +2 -0
  79. package/dist/re-export/next-themes.cjs +2 -0
  80. package/dist/re-export/next-themes.d.cts +1 -0
  81. package/dist/re-export/next-themes.d.ts +1 -0
  82. package/dist/re-export/next-themes.js +2 -0
  83. package/dist/re-export/react-day-picker.cjs +2 -0
  84. package/dist/re-export/react-day-picker.d.cts +1 -0
  85. package/dist/re-export/react-day-picker.d.ts +1 -0
  86. package/dist/re-export/react-day-picker.js +2 -0
  87. package/dist/re-export/react-hook-form.cjs +2 -0
  88. package/dist/re-export/react-hook-form.d.cts +1 -0
  89. package/dist/re-export/react-hook-form.d.ts +1 -0
  90. package/dist/re-export/react-hook-form.js +2 -0
  91. package/dist/re-export/sonner.cjs +2 -0
  92. package/dist/re-export/sonner.d.cts +1 -0
  93. package/dist/re-export/sonner.d.ts +1 -0
  94. package/dist/re-export/sonner.js +2 -0
  95. package/dist/re-export/tanstack-query.cjs +2 -0
  96. package/dist/re-export/tanstack-query.d.cts +1 -0
  97. package/dist/re-export/tanstack-query.d.ts +1 -0
  98. package/dist/re-export/tanstack-query.js +2 -0
  99. package/dist/re-export/tanstack-table.cjs +2 -0
  100. package/dist/re-export/tanstack-table.d.cts +1 -0
  101. package/dist/re-export/tanstack-table.d.ts +1 -0
  102. package/dist/re-export/tanstack-table.js +2 -0
  103. package/dist/re-export/zod.cjs +2 -0
  104. package/dist/re-export/zod.d.cts +1 -0
  105. package/dist/re-export/zod.d.ts +1 -0
  106. package/dist/re-export/zod.js +2 -0
  107. package/package.json +171 -0
@@ -0,0 +1,1355 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});'use client';
2
+
3
+
4
+
5
+ var _chunkVECBSKBCcjs = require('./chunk-VECBSKBC.cjs');
6
+
7
+
8
+ var _chunkCJXIPSTGcjs = require('./chunk-CJXIPSTG.cjs');
9
+
10
+ // src/ui/default/alert.tsx
11
+ var _classvarianceauthority = require('class-variance-authority');
12
+ var _lucidereact = require('lucide-react');
13
+ var _jsxruntime = require('react/jsx-runtime');
14
+ var alertVariants = _classvarianceauthority.cva.call(void 0, "flex items-stretch w-full gap-2 group-[.toaster]:w-(--width)", {
15
+ variants: {
16
+ variant: {
17
+ secondary: "",
18
+ primary: "",
19
+ destructive: "",
20
+ success: "",
21
+ info: "",
22
+ mono: "",
23
+ warning: ""
24
+ },
25
+ icon: {
26
+ primary: "",
27
+ destructive: "",
28
+ success: "",
29
+ info: "",
30
+ warning: ""
31
+ },
32
+ appearance: {
33
+ solid: "",
34
+ outline: "",
35
+ light: "",
36
+ stroke: "text-foreground"
37
+ },
38
+ size: {
39
+ lg: "rounded-lg p-4 gap-3 text-base [&>[data-slot=alert-icon]>svg]:size-6 *:data-slot=alert-icon:mt-0.5 [&_[data-slot=alert-close]]:mt-1",
40
+ md: "rounded-lg p-3.5 gap-2.5 text-sm [&>[data-slot=alert-icon]>svg]:size-5 *:data-slot=alert-icon:mt-0 [&_[data-slot=alert-close]]:mt-0.5",
41
+ sm: "rounded-md px-3 py-2.5 gap-2 text-xs [&>[data-slot=alert-icon]>svg]:size-4 *:data-alert-icon:mt-0.5 [&_[data-slot=alert-close]]:mt-0.25 [&_[data-slot=alert-close]_svg]:size-3.5"
42
+ }
43
+ },
44
+ compoundVariants: [
45
+ /* Solid */
46
+ {
47
+ variant: "secondary",
48
+ appearance: "solid",
49
+ className: "bg-muted text-foreground"
50
+ },
51
+ {
52
+ variant: "primary",
53
+ appearance: "solid",
54
+ className: "bg-primary text-primary-foreground"
55
+ },
56
+ {
57
+ variant: "destructive",
58
+ appearance: "solid",
59
+ className: "bg-destructive text-destructive-foreground"
60
+ },
61
+ {
62
+ variant: "success",
63
+ appearance: "solid",
64
+ className: "bg-[var(--color-success,var(--color-green-500))] text-[var(--color-success-foreground,var(--color-white))]"
65
+ },
66
+ {
67
+ variant: "info",
68
+ appearance: "solid",
69
+ className: "bg-[var(--color-info,var(--color-violet-600))] text-[var(--color-info-foreground,var(--color-white))]"
70
+ },
71
+ {
72
+ variant: "warning",
73
+ appearance: "solid",
74
+ className: "bg-[var(--color-warning,var(--color-yellow-500))] text-[var(--color-warning-foreground,var(--color-white))]"
75
+ },
76
+ {
77
+ variant: "mono",
78
+ appearance: "solid",
79
+ className: "bg-zinc-950 text-white dark:bg-zinc-300 dark:text-black *:data-slot-[alert=close]:text-white"
80
+ },
81
+ /* Outline */
82
+ {
83
+ variant: "secondary",
84
+ appearance: "outline",
85
+ className: "border border-border bg-background text-foreground [&_[data-slot=alert-close]]:text-foreground"
86
+ },
87
+ {
88
+ variant: "primary",
89
+ appearance: "outline",
90
+ className: "border border-border bg-background text-primary [&_[data-slot=alert-close]]:text-foreground"
91
+ },
92
+ {
93
+ variant: "destructive",
94
+ appearance: "outline",
95
+ className: "border border-border bg-background text-destructive [&_[data-slot=alert-close]]:text-foreground"
96
+ },
97
+ {
98
+ variant: "success",
99
+ appearance: "outline",
100
+ className: "border border-border bg-background text-[var(--color-success,var(--color-green-500))] [&_[data-slot=alert-close]]:text-foreground"
101
+ },
102
+ {
103
+ variant: "info",
104
+ appearance: "outline",
105
+ className: "border border-border bg-background text-[var(--color-info,var(--color-violet-600))] [&_[data-slot=alert-close]]:text-foreground"
106
+ },
107
+ {
108
+ variant: "warning",
109
+ appearance: "outline",
110
+ className: "border border-border bg-background text-[var(--color-warning,var(--color-yellow-500))] [&_[data-slot=alert-close]]:text-foreground"
111
+ },
112
+ {
113
+ variant: "mono",
114
+ appearance: "outline",
115
+ className: "border border-border bg-background text-foreground [&_[data-slot=alert-close]]:text-foreground"
116
+ },
117
+ /* Light */
118
+ {
119
+ variant: "secondary",
120
+ appearance: "light",
121
+ className: "bg-muted border border-border text-foreground"
122
+ },
123
+ {
124
+ variant: "primary",
125
+ appearance: "light",
126
+ className: "text-foreground bg-[var(--color-primary-soft,var(--color-blue-50))] border border-[var(--color-primary-alpha,var(--color-blue-100))] [&_[data-slot=alert-icon]]:text-primary dark:bg-[var(--color-primary-soft,var(--color-blue-950))] dark:border-[var(--color-primary-alpha,var(--color-blue-900))]"
127
+ },
128
+ {
129
+ variant: "destructive",
130
+ appearance: "light",
131
+ className: "bg-[var(--color-destructive-soft,var(--color-red-50))] border border-[var(--color-destructive-alpha,var(--color-red-100))] text-foreground [&_[data-slot=alert-icon]]:text-destructive dark:bg-[var(--color-destructive-soft,var(--color-red-950))] dark:border-[var(--color-destructive-alpha,var(--color-red-900))] "
132
+ },
133
+ {
134
+ variant: "success",
135
+ appearance: "light",
136
+ className: "bg-[var(--color-success-soft,var(--color-green-50))] border border-[var(--color-success-alpha,var(--color-green-200))] text-foreground [&_[data-slot=alert-icon]]:text-[var(--color-success-foreground,var(--color-green-600))] dark:bg-[var(--color-success-soft,var(--color-green-950))] dark:border-[var(--color-success-alpha,var(--color-green-900))]"
137
+ },
138
+ {
139
+ variant: "info",
140
+ appearance: "light",
141
+ className: "bg-[var(--color-info-soft,var(--color-violet-50))] border border-[var(--color-info-alpha,var(--color-violet-100))] text-foreground [&_[data-slot=alert-icon]]:text-[var(--color-info-foreground,var(--color-violet-600))] dark:bg-[var(--color-info-soft,var(--color-violet-950))] dark:border-[var(--color-info-alpha,var(--color-violet-900))]"
142
+ },
143
+ {
144
+ variant: "warning",
145
+ appearance: "light",
146
+ className: "bg-[var(--color-warning-soft,var(--color-yellow-50))] border border-[var(--color-warning-alpha,var(--color-yellow-200))] text-foreground [&_[data-slot=alert-icon]]:text-[var(--color-warning-foreground,var(--color-yellow-600))] dark:bg-[var(--color-warning-soft,var(--color-yellow-950))] dark:border-[var(--color-warning-alpha,var(--color-yellow-900))]"
147
+ },
148
+ /* Mono */
149
+ {
150
+ variant: "mono",
151
+ icon: "primary",
152
+ className: "[&_[data-slot=alert-icon]]:text-primary"
153
+ },
154
+ {
155
+ variant: "mono",
156
+ icon: "warning",
157
+ className: "[&_[data-slot=alert-icon]]:text-[var(--color-warning-foreground,var(--color-yellow-600))]"
158
+ },
159
+ {
160
+ variant: "mono",
161
+ icon: "success",
162
+ className: "[&_[data-slot=alert-icon]]:text-[var(--color-success-foreground,var(--color-green-600))]"
163
+ },
164
+ {
165
+ variant: "mono",
166
+ icon: "destructive",
167
+ className: "[&_[data-slot=alert-icon]]:text-destructive"
168
+ },
169
+ {
170
+ variant: "mono",
171
+ icon: "info",
172
+ className: "[&_[data-slot=alert-icon]]:text-[var(--color-info-foreground,var(--color-violet-600))]"
173
+ }
174
+ ],
175
+ defaultVariants: {
176
+ variant: "secondary",
177
+ appearance: "solid",
178
+ size: "md"
179
+ }
180
+ });
181
+ function Alert({
182
+ className,
183
+ variant,
184
+ size,
185
+ icon,
186
+ appearance,
187
+ close = false,
188
+ onClose,
189
+ children,
190
+ ...props
191
+ }) {
192
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
193
+ "div",
194
+ {
195
+ "data-slot": "alert",
196
+ role: "alert",
197
+ className: _chunkCJXIPSTGcjs.cn.call(void 0, alertVariants({ variant, size, icon, appearance }), className),
198
+ ...props,
199
+ children: [
200
+ children,
201
+ close && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
202
+ "button",
203
+ {
204
+ onClick: onClose,
205
+ "aria-label": "Dismiss",
206
+ "data-slot": "alert-close",
207
+ className: _chunkCJXIPSTGcjs.cn.call(void 0, "group size-4 shrink-0 cursor-pointer"),
208
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.X, { className: "size-4 opacity-60 group-hover:opacity-100" })
209
+ }
210
+ )
211
+ ]
212
+ }
213
+ );
214
+ }
215
+ function AlertTitle({ className, ...props }) {
216
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-slot": "alert-title", className: _chunkCJXIPSTGcjs.cn.call(void 0, "grow tracking-tight", className), ...props });
217
+ }
218
+ function AlertIcon({ children, className, ...props }) {
219
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-slot": "alert-icon", className: _chunkCJXIPSTGcjs.cn.call(void 0, "shrink-0", className), ...props, children });
220
+ }
221
+ function AlertToolbar({ children, className, ...props }) {
222
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-slot": "alert-toolbar", className: _chunkCJXIPSTGcjs.cn.call(void 0, className), ...props, children });
223
+ }
224
+ function AlertDescription({ className, ...props }) {
225
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
226
+ "div",
227
+ {
228
+ "data-slot": "alert-description",
229
+ className: _chunkCJXIPSTGcjs.cn.call(void 0, "text-sm [&_p]:mb-2 [&_p]:leading-relaxed", className),
230
+ ...props
231
+ }
232
+ );
233
+ }
234
+ function AlertContent({ className, ...props }) {
235
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
236
+ "div",
237
+ {
238
+ "data-slot": "alert-content",
239
+ className: _chunkCJXIPSTGcjs.cn.call(void 0, "space-y-2 [&_[data-slot=alert-title]]:font-semibold", className),
240
+ ...props
241
+ }
242
+ );
243
+ }
244
+
245
+ // src/ui/default/alert-dialog.tsx
246
+ var _radixui = require('radix-ui');
247
+
248
+ function AlertDialog({ ...props }) {
249
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _radixui.AlertDialog.Root, { "data-slot": "alert-dialog", ...props });
250
+ }
251
+ function AlertDialogTrigger({
252
+ ...props
253
+ }) {
254
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _radixui.AlertDialog.Trigger, { "data-slot": "alert-dialog-trigger", ...props });
255
+ }
256
+ function AlertDialogPortal({ ...props }) {
257
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _radixui.AlertDialog.Portal, { "data-slot": "alert-dialog-portal", ...props });
258
+ }
259
+ function AlertDialogOverlay({
260
+ className,
261
+ ...props
262
+ }) {
263
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
264
+ _radixui.AlertDialog.Overlay,
265
+ {
266
+ "data-slot": "alert-dialog-overlay",
267
+ className: _chunkCJXIPSTGcjs.cn.call(void 0,
268
+ "data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/30 [backdrop-filter:blur(4px)] data-[state=closed]:animate-out data-[state=open]:animate-in",
269
+ className
270
+ ),
271
+ ...props
272
+ }
273
+ );
274
+ }
275
+ function AlertDialogContent({
276
+ className,
277
+ ...props
278
+ }) {
279
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, AlertDialogPortal, { children: [
280
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDialogOverlay, {}),
281
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
282
+ _radixui.AlertDialog.Content,
283
+ {
284
+ "data-slot": "alert-dialog-content",
285
+ className: _chunkCJXIPSTGcjs.cn.call(void 0,
286
+ "data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-black/5 shadow-lg duration-200 data-[state=closed]:animate-out data-[state=open]:animate-in sm:rounded-lg",
287
+ className
288
+ ),
289
+ ...props
290
+ }
291
+ )
292
+ ] });
293
+ }
294
+ var AlertDialogHeader = ({ className, ...props }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
295
+ "div",
296
+ {
297
+ "data-slot": "alert-dialog-header",
298
+ className: _chunkCJXIPSTGcjs.cn.call(void 0, "flex flex-col space-y-2 text-center sm:text-left", className),
299
+ ...props
300
+ }
301
+ );
302
+ var AlertDialogFooter = ({ className, ...props }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
303
+ "div",
304
+ {
305
+ "data-slot": "alert-dialog-footer",
306
+ className: _chunkCJXIPSTGcjs.cn.call(void 0, "flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2.5", className),
307
+ ...props
308
+ }
309
+ );
310
+ function AlertDialogTitle({
311
+ className,
312
+ ...props
313
+ }) {
314
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
315
+ _radixui.AlertDialog.Title,
316
+ {
317
+ "data-slot": "alert-dialog-title",
318
+ className: _chunkCJXIPSTGcjs.cn.call(void 0, "font-semibold text-lg", className),
319
+ ...props
320
+ }
321
+ );
322
+ }
323
+ function AlertDialogDescription({
324
+ className,
325
+ ...props
326
+ }) {
327
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
328
+ _radixui.AlertDialog.Description,
329
+ {
330
+ "data-slot": "alert-dialog-description",
331
+ className: _chunkCJXIPSTGcjs.cn.call(void 0, "text-muted-foreground text-sm", className),
332
+ ...props
333
+ }
334
+ );
335
+ }
336
+ function AlertDialogAction({
337
+ className,
338
+ variant,
339
+ ...props
340
+ }) {
341
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
342
+ _radixui.AlertDialog.Action,
343
+ {
344
+ "data-slot": "alert-dialog-action",
345
+ className: _chunkCJXIPSTGcjs.cn.call(void 0, _chunkVECBSKBCcjs.buttonVariants.call(void 0, { variant }), className),
346
+ ...props
347
+ }
348
+ );
349
+ }
350
+ function AlertDialogCancel({
351
+ className,
352
+ ...props
353
+ }) {
354
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
355
+ _radixui.AlertDialog.Cancel,
356
+ {
357
+ "data-slot": "alert-dialog-cancel",
358
+ className: _chunkCJXIPSTGcjs.cn.call(void 0, _chunkVECBSKBCcjs.buttonVariants.call(void 0, { variant: "outline" }), "mt-2 sm:mt-0", className),
359
+ ...props
360
+ }
361
+ );
362
+ }
363
+
364
+ // src/ui/default/dialog.tsx
365
+
366
+
367
+
368
+
369
+ var dialogContentVariants = _classvarianceauthority.cva.call(void 0,
370
+ "flex flex-col fixed outline-0 z-50 border border-border bg-background p-6 shadow-lg shadow-black/5 duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 sm:rounded-lg",
371
+ {
372
+ variants: {
373
+ variant: {
374
+ default: "left-[50%] top-[50%] max-w-lg translate-x-[-50%] translate-y-[-50%] w-full",
375
+ fullscreen: "inset-5"
376
+ }
377
+ },
378
+ defaultVariants: {
379
+ variant: "default"
380
+ }
381
+ }
382
+ );
383
+ function Dialog({ ...props }) {
384
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _radixui.Dialog.Root, { "data-slot": "dialog", ...props });
385
+ }
386
+ function DialogTrigger({ ...props }) {
387
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _radixui.Dialog.Trigger, { "data-slot": "dialog-trigger", ...props });
388
+ }
389
+ function DialogPortal({ ...props }) {
390
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _radixui.Dialog.Portal, { "data-slot": "dialog-portal", ...props });
391
+ }
392
+ function DialogClose({ ...props }) {
393
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _radixui.Dialog.Close, { "data-slot": "dialog-close", ...props });
394
+ }
395
+ function DialogOverlay({
396
+ className,
397
+ ...props
398
+ }) {
399
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
400
+ _radixui.Dialog.Overlay,
401
+ {
402
+ "data-slot": "dialog-overlay",
403
+ className: _chunkCJXIPSTGcjs.cn.call(void 0,
404
+ "data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/30 [backdrop-filter:blur(4px)] data-[state=closed]:animate-out data-[state=open]:animate-in",
405
+ className
406
+ ),
407
+ ...props
408
+ }
409
+ );
410
+ }
411
+ function DialogContent({
412
+ className,
413
+ children,
414
+ showCloseButton = true,
415
+ overlay = true,
416
+ variant,
417
+ ...props
418
+ }) {
419
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, DialogPortal, { children: [
420
+ overlay && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogOverlay, {}),
421
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
422
+ _radixui.Dialog.Content,
423
+ {
424
+ "data-slot": "dialog-content",
425
+ className: _chunkCJXIPSTGcjs.cn.call(void 0, dialogContentVariants({ variant }), className),
426
+ ...props,
427
+ children: [
428
+ children,
429
+ showCloseButton && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, DialogClose, { className: "absolute end-5 top-5 cursor-pointer rounded-sm opacity-60 outline-0 ring-offset-background transition-opacity hover:opacity-100 focus:outline-hidden disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground", children: [
430
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.X, { className: "size-4" }),
431
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "sr-only", children: "Close" })
432
+ ] })
433
+ ]
434
+ }
435
+ )
436
+ ] });
437
+ }
438
+ var DialogHeader = ({ className, ...props }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
439
+ "div",
440
+ {
441
+ "data-slot": "dialog-header",
442
+ className: _chunkCJXIPSTGcjs.cn.call(void 0, "mb-5 flex flex-col space-y-1 text-center sm:text-start", className),
443
+ ...props
444
+ }
445
+ );
446
+ var DialogFooter = ({ className, ...props }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
447
+ "div",
448
+ {
449
+ "data-slot": "dialog-footer",
450
+ className: _chunkCJXIPSTGcjs.cn.call(void 0,
451
+ "flex flex-col-reverse pt-5 sm:flex-row sm:justify-end sm:space-x-2.5",
452
+ className
453
+ ),
454
+ ...props
455
+ }
456
+ );
457
+ function DialogTitle({ className, ...props }) {
458
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
459
+ _radixui.Dialog.Title,
460
+ {
461
+ "data-slot": "dialog-title",
462
+ className: _chunkCJXIPSTGcjs.cn.call(void 0, "font-semibold text-lg leading-none tracking-tight", className),
463
+ ...props
464
+ }
465
+ );
466
+ }
467
+ var DialogBody = ({ className, ...props }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-slot": "dialog-body", className: _chunkCJXIPSTGcjs.cn.call(void 0, "grow", className), ...props });
468
+ function DialogDescription({
469
+ className,
470
+ ...props
471
+ }) {
472
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
473
+ _radixui.Dialog.Description,
474
+ {
475
+ "data-slot": "dialog-description",
476
+ className: _chunkCJXIPSTGcjs.cn.call(void 0, "text-muted-foreground text-sm", className),
477
+ ...props
478
+ }
479
+ );
480
+ }
481
+
482
+ // src/ui/default/command.tsx
483
+ var _cmdk = require('cmdk');
484
+
485
+
486
+ function Command({ className, ...props }) {
487
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
488
+ _cmdk.Command,
489
+ {
490
+ className: _chunkCJXIPSTGcjs.cn.call(void 0,
491
+ "flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",
492
+ className
493
+ ),
494
+ ...props
495
+ }
496
+ );
497
+ }
498
+ var CommandDialog = ({ children, className, ...props }) => {
499
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Dialog, { ...props, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, DialogContent, { className: _chunkCJXIPSTGcjs.cn.call(void 0, "overflow-hidden p-0 shadow-lg", className), children: [
500
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogTitle, { className: "hidden" }),
501
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Command, { className: "[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5", children })
502
+ ] }) });
503
+ };
504
+ function CommandInput({
505
+ className,
506
+ ...props
507
+ }) {
508
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
509
+ "div",
510
+ {
511
+ className: "flex items-center border-border border-b px-3",
512
+ "cmdk-input-wrapper": "",
513
+ "data-slot": "command-input",
514
+ children: [
515
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Search, { className: "me-2 h-4 w-4 shrink-0 opacity-50" }),
516
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
517
+ _cmdk.Command.Input,
518
+ {
519
+ className: _chunkCJXIPSTGcjs.cn.call(void 0,
520
+ "flex h-11 w-full rounded-md bg-transparent py-3 text-foreground text-sm outline-hidden placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",
521
+ className
522
+ ),
523
+ ...props
524
+ }
525
+ )
526
+ ]
527
+ }
528
+ );
529
+ }
530
+ function CommandList({ className, ...props }) {
531
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
532
+ _cmdk.Command.List,
533
+ {
534
+ "data-slot": "command-list",
535
+ className: _chunkCJXIPSTGcjs.cn.call(void 0, "max-h-[300px] overflow-y-auto overflow-x-hidden", className),
536
+ ...props
537
+ }
538
+ );
539
+ }
540
+ function CommandEmpty({ ...props }) {
541
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
542
+ _cmdk.Command.Empty,
543
+ {
544
+ "data-slot": "command-empty",
545
+ className: "py-6 text-center text-sm",
546
+ ...props
547
+ }
548
+ );
549
+ }
550
+ function CommandGroup({
551
+ className,
552
+ ...props
553
+ }) {
554
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
555
+ _cmdk.Command.Group,
556
+ {
557
+ "data-slot": "command-group",
558
+ className: _chunkCJXIPSTGcjs.cn.call(void 0,
559
+ "overflow-hidden p-1.5 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group-heading]]:text-xs",
560
+ className
561
+ ),
562
+ ...props
563
+ }
564
+ );
565
+ }
566
+ function CommandSeparator({
567
+ className,
568
+ ...props
569
+ }) {
570
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
571
+ _cmdk.Command.Separator,
572
+ {
573
+ "data-slot": "command-separator",
574
+ className: _chunkCJXIPSTGcjs.cn.call(void 0, "-mx-1.5 h-px bg-border", className),
575
+ ...props
576
+ }
577
+ );
578
+ }
579
+ function CommandItem({ className, ...props }) {
580
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
581
+ _cmdk.Command.Item,
582
+ {
583
+ "data-slot": "command-item",
584
+ className: _chunkCJXIPSTGcjs.cn.call(void 0,
585
+ "relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-foreground text-sm outline-hidden data-[disabled=true]:pointer-events-none data-[selected=true]:bg-accent data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
586
+ "[&_svg:not([role=img]):not([class*=text-])]:opacity-60",
587
+ className
588
+ ),
589
+ ...props
590
+ }
591
+ );
592
+ }
593
+ var CommandShortcut = ({ className, ...props }) => {
594
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
595
+ "span",
596
+ {
597
+ "data-slot": "command-shortcut",
598
+ className: _chunkCJXIPSTGcjs.cn.call(void 0, "ms-auto text-muted-foreground text-xs tracking-widest", className),
599
+ ...props
600
+ }
601
+ );
602
+ };
603
+ function CommandCheck({ icon: Icon = _lucidereact.Check, className, ...props }) {
604
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
605
+ Icon,
606
+ {
607
+ "data-slot": "command-check",
608
+ "data-check": "true",
609
+ className: _chunkCJXIPSTGcjs.cn.call(void 0, "ms-auto size-4 text-primary", className),
610
+ ...props
611
+ }
612
+ );
613
+ }
614
+
615
+ // src/ui/default/dropdown-menu.tsx
616
+
617
+
618
+
619
+ function DropdownMenu({ ...props }) {
620
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _radixui.DropdownMenu.Root, { "data-slot": "dropdown-menu", ...props });
621
+ }
622
+ function DropdownMenuPortal({
623
+ ...props
624
+ }) {
625
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _radixui.DropdownMenu.Portal, { "data-slot": "dropdown-menu-portal", ...props });
626
+ }
627
+ function DropdownMenuTrigger({
628
+ ...props
629
+ }) {
630
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
631
+ _radixui.DropdownMenu.Trigger,
632
+ {
633
+ className: "select-none",
634
+ "data-slot": "dropdown-menu-trigger",
635
+ ...props
636
+ }
637
+ );
638
+ }
639
+ function DropdownMenuSubTrigger({
640
+ className,
641
+ inset,
642
+ children,
643
+ ...props
644
+ }) {
645
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
646
+ _radixui.DropdownMenu.SubTrigger,
647
+ {
648
+ "data-slot": "dropdown-menu-sub-trigger",
649
+ className: _chunkCJXIPSTGcjs.cn.call(void 0,
650
+ "flex cursor-default select-none items-center gap-2 rounded-md px-2 py-1.5 text-sm outline-hidden",
651
+ "focus:bg-accent focus:text-foreground",
652
+ "data-[state=open]:bg-accent data-[state=open]:text-foreground",
653
+ "data-[here=true]:bg-accent data-[here=true]:text-foreground",
654
+ "[&>svg]:pointer-events-none [&>svg]:size-4 [&>svg]:shrink-0 [&_svg:not([role=img]):not([class*=text-])]:opacity-60",
655
+ inset && "ps-8",
656
+ className
657
+ ),
658
+ ...props,
659
+ children: [
660
+ children,
661
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
662
+ _lucidereact.ChevronRight,
663
+ {
664
+ "data-slot": "dropdown-menu-sub-trigger-indicator",
665
+ className: "ms-auto size-3.5! rtl:rotate-180"
666
+ }
667
+ )
668
+ ]
669
+ }
670
+ );
671
+ }
672
+ function DropdownMenuSubContent({
673
+ className,
674
+ ...props
675
+ }) {
676
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
677
+ _radixui.DropdownMenu.SubContent,
678
+ {
679
+ "data-slot": "dropdown-menu-sub-content",
680
+ className: _chunkCJXIPSTGcjs.cn.call(void 0,
681
+ "data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] space-y-0.5 overflow-hidden rounded-md border border-border bg-popover p-2 text-popover-foreground shadow-black/5 shadow-md data-[state=closed]:animate-out data-[state=open]:animate-in",
682
+ className
683
+ ),
684
+ ...props
685
+ }
686
+ );
687
+ }
688
+ function DropdownMenuContent({
689
+ className,
690
+ sideOffset = 4,
691
+ ...props
692
+ }) {
693
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _radixui.DropdownMenu.Portal, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
694
+ _radixui.DropdownMenu.Content,
695
+ {
696
+ "data-slot": "dropdown-menu-content",
697
+ sideOffset,
698
+ className: _chunkCJXIPSTGcjs.cn.call(void 0,
699
+ "data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] space-y-0.5 overflow-hidden rounded-md border border-border bg-popover p-2 text-popover-foreground shadow-black/5 shadow-md data-[state=closed]:animate-out data-[state=open]:animate-in",
700
+ className
701
+ ),
702
+ ...props
703
+ }
704
+ ) });
705
+ }
706
+ function DropdownMenuGroup({ ...props }) {
707
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _radixui.DropdownMenu.Group, { "data-slot": "dropdown-menu-group", ...props });
708
+ }
709
+ function DropdownMenuItem({
710
+ className,
711
+ inset,
712
+ variant,
713
+ ...props
714
+ }) {
715
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
716
+ _radixui.DropdownMenu.Item,
717
+ {
718
+ "data-slot": "dropdown-menu-item",
719
+ className: _chunkCJXIPSTGcjs.cn.call(void 0,
720
+ "relative flex cursor-default select-none items-center gap-2 rounded-md px-2 py-1.5 text-foreground text-sm outline-hidden transition-colors data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg:not([class*=size-])]:size-4 [&_svg:not([role=img]):not([class*=text-])]:opacity-60 [&_svg]:pointer-events-none [&_svg]:shrink-0",
721
+ "focus:bg-accent focus:text-foreground",
722
+ "data-[active=true]:bg-accent data-[active=true]:text-accent-foreground",
723
+ inset && "ps-8",
724
+ variant === "destructive" && "text-destructive hover:bg-destructive/5 hover:text-destructive focus:bg-destructive/5 focus:text-destructive data-[active=true]:bg-destructive/5",
725
+ className
726
+ ),
727
+ ...props
728
+ }
729
+ );
730
+ }
731
+ function DropdownMenuCheckboxItem({
732
+ className,
733
+ children,
734
+ checked,
735
+ ...props
736
+ }) {
737
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
738
+ _radixui.DropdownMenu.CheckboxItem,
739
+ {
740
+ "data-slot": "dropdown-menu-checkbox-item",
741
+ className: _chunkCJXIPSTGcjs.cn.call(void 0,
742
+ "relative flex cursor-default select-none items-center rounded-md py-1.5 ps-8 pe-2 text-sm outline-hidden transition-colors focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50",
743
+ className
744
+ ),
745
+ checked,
746
+ ...props,
747
+ children: [
748
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "absolute start-2 flex h-3.5 w-3.5 items-center justify-center text-muted-foreground", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _radixui.DropdownMenu.ItemIndicator, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Check, { className: "h-4 w-4 text-primary" }) }) }),
749
+ children
750
+ ]
751
+ }
752
+ );
753
+ }
754
+ function DropdownMenuRadioItem({
755
+ className,
756
+ children,
757
+ ...props
758
+ }) {
759
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
760
+ _radixui.DropdownMenu.RadioItem,
761
+ {
762
+ "data-slot": "dropdown-menu-radio-item",
763
+ className: _chunkCJXIPSTGcjs.cn.call(void 0,
764
+ "relative flex cursor-default select-none items-center rounded-md py-1.5 ps-6 pe-2 text-sm outline-hidden transition-colors focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50",
765
+ className
766
+ ),
767
+ ...props,
768
+ children: [
769
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "absolute start-1.5 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _radixui.DropdownMenu.ItemIndicator, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Circle, { className: "h-1.5 w-1.5 fill-primary stroke-primary" }) }) }),
770
+ children
771
+ ]
772
+ }
773
+ );
774
+ }
775
+ function DropdownMenuLabel({
776
+ className,
777
+ inset,
778
+ ...props
779
+ }) {
780
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
781
+ _radixui.DropdownMenu.Label,
782
+ {
783
+ "data-slot": "dropdown-menu-label",
784
+ className: _chunkCJXIPSTGcjs.cn.call(void 0,
785
+ "px-2 py-1.5 font-medium text-muted-foreground text-xs",
786
+ inset && "ps-8",
787
+ className
788
+ ),
789
+ ...props
790
+ }
791
+ );
792
+ }
793
+ function DropdownMenuRadioGroup({
794
+ ...props
795
+ }) {
796
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _radixui.DropdownMenu.RadioGroup, { "data-slot": "dropdown-menu-radio-group", ...props });
797
+ }
798
+ function DropdownMenuSeparator({
799
+ className,
800
+ ...props
801
+ }) {
802
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
803
+ _radixui.DropdownMenu.Separator,
804
+ {
805
+ "data-slot": "dropdown-menu-separator",
806
+ className: _chunkCJXIPSTGcjs.cn.call(void 0, "-mx-2 my-1.5 h-px bg-muted", className),
807
+ ...props
808
+ }
809
+ );
810
+ }
811
+ function DropdownMenuShortcut({ className, ...props }) {
812
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
813
+ "span",
814
+ {
815
+ "data-slot": "dropdown-menu-shortcut",
816
+ className: _chunkCJXIPSTGcjs.cn.call(void 0, "ms-auto text-xs tracking-widest opacity-60", className),
817
+ ...props
818
+ }
819
+ );
820
+ }
821
+ function DropdownMenuSub({ ...props }) {
822
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _radixui.DropdownMenu.Sub, { "data-slot": "dropdown-menu-sub", ...props });
823
+ }
824
+
825
+ // src/ui/default/collapsible.tsx
826
+
827
+
828
+ function Collapsible({ ...props }) {
829
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _radixui.Collapsible.Root, { "data-slot": "collapsible", ...props });
830
+ }
831
+ function CollapsibleTrigger({
832
+ ...props
833
+ }) {
834
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _radixui.Collapsible.CollapsibleTrigger, { "data-slot": "collapsible-trigger", ...props });
835
+ }
836
+ function CollapsibleContent({
837
+ className,
838
+ children,
839
+ ...props
840
+ }) {
841
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
842
+ _radixui.Collapsible.CollapsibleContent,
843
+ {
844
+ "data-slot": "collapsible-content",
845
+ className: _chunkCJXIPSTGcjs.cn.call(void 0,
846
+ "overflow-hidden transition-all data-[state=closed]:animate-collapsible-up data-[state=open]:animate-collapsible-down",
847
+ className
848
+ ),
849
+ ...props,
850
+ children
851
+ }
852
+ );
853
+ }
854
+
855
+ // src/ui/default/drawer.tsx
856
+ var _vaul = require('vaul');
857
+
858
+ var Drawer = ({
859
+ shouldScaleBackground = true,
860
+ ...props
861
+ }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _vaul.Drawer.Root, { shouldScaleBackground, ...props });
862
+ function DrawerTrigger({ ...props }) {
863
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _vaul.Drawer.Trigger, { "data-slot": "drawer-trigger", ...props });
864
+ }
865
+ function DrawerPortal({ ...props }) {
866
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _vaul.Drawer.Portal, { "data-slot": "drawer-portal", ...props });
867
+ }
868
+ function DrawerClose({ ...props }) {
869
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _vaul.Drawer.Close, { "data-slot": "drawer-close", ...props });
870
+ }
871
+ function DrawerOverlay({
872
+ className,
873
+ ...props
874
+ }) {
875
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
876
+ _vaul.Drawer.Overlay,
877
+ {
878
+ "data-slot": "drawer-overlay",
879
+ className: _chunkCJXIPSTGcjs.cn.call(void 0, "fixed inset-0 z-50 bg-black/80", className),
880
+ ...props
881
+ }
882
+ );
883
+ }
884
+ function DrawerContent({
885
+ className,
886
+ children,
887
+ ...props
888
+ }) {
889
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, DrawerPortal, { children: [
890
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DrawerOverlay, {}),
891
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
892
+ _vaul.Drawer.Content,
893
+ {
894
+ "data-slot": "drawer-content",
895
+ className: _chunkCJXIPSTGcjs.cn.call(void 0,
896
+ "fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-[10px] border bg-background",
897
+ className
898
+ ),
899
+ ...props,
900
+ children: [
901
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted" }),
902
+ children
903
+ ]
904
+ }
905
+ )
906
+ ] });
907
+ }
908
+ var DrawerHeader = ({ className, ...props }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
909
+ "div",
910
+ {
911
+ "data-slot": "drawer-header",
912
+ className: _chunkCJXIPSTGcjs.cn.call(void 0, "grid gap-1.5 p-4 text-center sm:text-left", className),
913
+ ...props
914
+ }
915
+ );
916
+ var DrawerFooter = ({ className, ...props }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
917
+ "div",
918
+ {
919
+ "data-slot": "drawer-footer",
920
+ className: _chunkCJXIPSTGcjs.cn.call(void 0, "mt-auto flex flex-col gap-2 p-4", className),
921
+ ...props
922
+ }
923
+ );
924
+ function DrawerTitle({ className, ...props }) {
925
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
926
+ _vaul.Drawer.Title,
927
+ {
928
+ "data-slot": "drawer-title",
929
+ className: _chunkCJXIPSTGcjs.cn.call(void 0, "font-semibold text-lg leading-none tracking-tight", className),
930
+ ...props
931
+ }
932
+ );
933
+ }
934
+ function DrawerDescription({
935
+ className,
936
+ ...props
937
+ }) {
938
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
939
+ _vaul.Drawer.Description,
940
+ {
941
+ "data-slot": "drawer-description",
942
+ className: _chunkCJXIPSTGcjs.cn.call(void 0, "text-muted-foreground text-sm", className),
943
+ ...props
944
+ }
945
+ );
946
+ }
947
+
948
+ // src/ui/default/tooltip.tsx
949
+
950
+
951
+ function TooltipProvider({
952
+ delayDuration = 0,
953
+ ...props
954
+ }) {
955
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
956
+ _radixui.Tooltip.Provider,
957
+ {
958
+ "data-slot": "tooltip-provider",
959
+ delayDuration,
960
+ ...props
961
+ }
962
+ );
963
+ }
964
+ function Tooltip({ ...props }) {
965
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TooltipProvider, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _radixui.Tooltip.Root, { "data-slot": "tooltip", ...props }) });
966
+ }
967
+ function TooltipTrigger({ ...props }) {
968
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _radixui.Tooltip.Trigger, { "data-slot": "tooltip-trigger", ...props });
969
+ }
970
+ function TooltipContent({
971
+ className,
972
+ sideOffset = 0,
973
+ children,
974
+ ...props
975
+ }) {
976
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _radixui.Tooltip.Portal, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
977
+ _radixui.Tooltip.Content,
978
+ {
979
+ "data-slot": "tooltip-content",
980
+ sideOffset,
981
+ className: _chunkCJXIPSTGcjs.cn.call(void 0,
982
+ "fade-in-0 zoom-in-95 data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) animate-in text-balance rounded-md bg-foreground px-3 py-1.5 text-background text-xs data-[state=closed]:animate-out",
983
+ className
984
+ ),
985
+ ...props,
986
+ children: [
987
+ children,
988
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _radixui.Tooltip.Arrow, { className: "z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px] bg-foreground fill-foreground" })
989
+ ]
990
+ }
991
+ ) });
992
+ }
993
+
994
+ // src/ui/default/badge.tsx
995
+
996
+
997
+
998
+ var badgeVariants = _classvarianceauthority.cva.call(void 0,
999
+ "inline-flex items-center whitespace-nowrap justify-center border border-transparent font-medium focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2 [&_svg]:-ms-px [&_svg]:shrink-0",
1000
+ {
1001
+ variants: {
1002
+ variant: {
1003
+ primary: "bg-primary text-primary-foreground",
1004
+ secondary: "bg-secondary text-secondary-foreground",
1005
+ success: "bg-[var(--color-success-accent,var(--color-green-500))] text-[var(--color-success-foreground,var(--color-white))]",
1006
+ warning: "bg-[var(--color-warning-accent,var(--color-yellow-500))] text-[var(--color-warning-foreground,var(--color-white))]",
1007
+ info: "bg-[var(--color-info-accent,var(--color-violet-500))] text-[var(--color-info-foreground,var(--color-white))]",
1008
+ outline: "bg-transparent border border-border text-secondary-foreground",
1009
+ destructive: "bg-destructive text-destructive-foreground"
1010
+ },
1011
+ appearance: {
1012
+ default: "",
1013
+ light: "",
1014
+ outline: "",
1015
+ ghost: "border-transparent bg-transparent"
1016
+ },
1017
+ disabled: {
1018
+ true: "opacity-50 pointer-events-none"
1019
+ },
1020
+ size: {
1021
+ lg: "rounded-md px-[0.5rem] h-7 min-w-7 gap-1.5 text-xs [&_svg]:size-3.5",
1022
+ md: "rounded-md px-[0.45rem] h-6 min-w-6 gap-1.5 text-xs [&_svg]:size-3.5 ",
1023
+ sm: "rounded-sm px-[0.325rem] h-5 min-w-5 gap-1 text-[0.6875rem] leading-[0.75rem] [&_svg]:size-3",
1024
+ xs: "rounded-sm px-[0.25rem] h-4 min-w-4 gap-1 text-[0.625rem] leading-[0.5rem] [&_svg]:size-3"
1025
+ },
1026
+ shape: {
1027
+ default: "",
1028
+ circle: "rounded-full"
1029
+ }
1030
+ },
1031
+ compoundVariants: [
1032
+ /* Light */
1033
+ {
1034
+ variant: "primary",
1035
+ appearance: "light",
1036
+ className: "text-[var(--color-primary-accent,var(--color-blue-700))] bg-[var(--color-primary-soft,var(--color-blue-50))] dark:bg-[var(--color-primary-soft,var(--color-blue-950))] dark:text-[var(--color-primary-soft,var(--color-blue-600))]"
1037
+ },
1038
+ {
1039
+ variant: "secondary",
1040
+ appearance: "light",
1041
+ className: "bg-secondary dark:bg-secondary/50 text-secondary-foreground"
1042
+ },
1043
+ {
1044
+ variant: "success",
1045
+ appearance: "light",
1046
+ className: "text-[var(--color-success-accent,var(--color-green-800))] bg-[var(--color-success-soft,var(--color-green-100))] dark:bg-[var(--color-success-soft,var(--color-green-950))] dark:text-[var(--color-success-soft,var(--color-green-600))]"
1047
+ },
1048
+ {
1049
+ variant: "warning",
1050
+ appearance: "light",
1051
+ className: "text-[var(--color-warning-accent,var(--color-yellow-700))] bg-[var(--color-warning-soft,var(--color-yellow-100))] dark:bg-[var(--color-warning-soft,var(--color-yellow-950))] dark:text-[var(--color-warning-soft,var(--color-yellow-600))]"
1052
+ },
1053
+ {
1054
+ variant: "info",
1055
+ appearance: "light",
1056
+ className: "text-[var(--color-info-accent,var(--color-violet-700))] bg-[var(--color-info-soft,var(--color-violet-100))] dark:bg-[var(--color-info-soft,var(--color-violet-950))] dark:text-[var(--color-info-soft,var(--color-violet-400))]"
1057
+ },
1058
+ {
1059
+ variant: "destructive",
1060
+ appearance: "light",
1061
+ className: "text-[var(--color-destructive-accent,var(--color-red-700))] bg-[var(--color-destructive-soft,var(--color-red-50))] dark:bg-[var(--color-destructive-soft,var(--color-red-950))] dark:text-[var(--color-destructive-soft,var(--color-red-600))]"
1062
+ },
1063
+ /* Outline */
1064
+ {
1065
+ variant: "primary",
1066
+ appearance: "outline",
1067
+ className: "text-[var(--color-primary-accent,var(--color-blue-700))] border-[var(--color-primary-soft,var(--color-blue-100))] bg-[var(--color-primary-soft,var(--color-blue-50))] dark:bg-[var(--color-primary-soft,var(--color-blue-950))] dark:border-[var(--color-primary-soft,var(--color-blue-900))] dark:text-[var(--color-primary-soft,var(--color-blue-600))]"
1068
+ },
1069
+ {
1070
+ variant: "success",
1071
+ appearance: "outline",
1072
+ className: "text-[var(--color-success-accent,var(--color-green-700))] border-[var(--color-success-soft,var(--color-green-200))] bg-[var(--color-success-soft,var(--color-green-50))] dark:bg-[var(--color-success-soft,var(--color-green-950))] dark:border-[var(--color-success-soft,var(--color-green-900))] dark:text-[var(--color-success-soft,var(--color-green-600))]"
1073
+ },
1074
+ {
1075
+ variant: "warning",
1076
+ appearance: "outline",
1077
+ className: "text-[var(--color-warning-accent,var(--color-yellow-700))] border-[var(--color-warning-soft,var(--color-yellow-200))] bg-[var(--color-warning-soft,var(--color-yellow-50))] dark:bg-[var(--color-warning-soft,var(--color-yellow-950))] dark:border-[var(--color-warning-soft,var(--color-yellow-900))] dark:text-[var(--color-warning-soft,var(--color-yellow-600))]"
1078
+ },
1079
+ {
1080
+ variant: "info",
1081
+ appearance: "outline",
1082
+ className: "text-[var(--color-info-accent,var(--color-violet-700))] border-[var(--color-info-soft,var(--color-violet-100))] bg-[var(--color-info-soft,var(--color-violet-50))] dark:bg-[var(--color-info-soft,var(--color-violet-950))] dark:border-[var(--color-info-soft,var(--color-violet-900))] dark:text-[var(--color-info-soft,var(--color-violet-400))]"
1083
+ },
1084
+ {
1085
+ variant: "destructive",
1086
+ appearance: "outline",
1087
+ className: "text-[var(--color-destructive-accent,var(--color-red-700))] border-[var(--color-destructive-soft,var(--color-red-100))] bg-[var(--color-destructive-soft,var(--color-red-50))] dark:bg-[var(--color-destructive-soft,var(--color-red-950))] dark:border-[var(--color-destructive-soft,var(--color-red-900))] dark:text-[var(--color-destructive-soft,var(--color-red-600))]"
1088
+ },
1089
+ /* Ghost */
1090
+ {
1091
+ variant: "primary",
1092
+ appearance: "ghost",
1093
+ className: "text-primary"
1094
+ },
1095
+ {
1096
+ variant: "secondary",
1097
+ appearance: "ghost",
1098
+ className: "text-secondary-foreground"
1099
+ },
1100
+ {
1101
+ variant: "success",
1102
+ appearance: "ghost",
1103
+ className: "text-[var(--color-success-accent,var(--color-green-500))]"
1104
+ },
1105
+ {
1106
+ variant: "warning",
1107
+ appearance: "ghost",
1108
+ className: "text-[var(--color-warning-accent,var(--color-yellow-500))]"
1109
+ },
1110
+ {
1111
+ variant: "info",
1112
+ appearance: "ghost",
1113
+ className: "text-[var(--color-info-accent,var(--color-violet-500))]"
1114
+ },
1115
+ {
1116
+ variant: "destructive",
1117
+ appearance: "ghost",
1118
+ className: "text-destructive"
1119
+ },
1120
+ { size: "lg", appearance: "ghost", className: "px-0" },
1121
+ { size: "md", appearance: "ghost", className: "px-0" },
1122
+ { size: "sm", appearance: "ghost", className: "px-0" },
1123
+ { size: "xs", appearance: "ghost", className: "px-0" }
1124
+ ],
1125
+ defaultVariants: {
1126
+ variant: "primary",
1127
+ appearance: "default",
1128
+ size: "md"
1129
+ }
1130
+ }
1131
+ );
1132
+ var badgeButtonVariants = _classvarianceauthority.cva.call(void 0,
1133
+ "cursor-pointer transition-all inline-flex items-center justify-center leading-none size-3.5 [&>svg]:opacity-100! [&>svg]:size-3.5! p-0 rounded-md -me-0.5 opacity-60 hover:opacity-100",
1134
+ {
1135
+ variants: {
1136
+ variant: {
1137
+ default: ""
1138
+ }
1139
+ },
1140
+ defaultVariants: {
1141
+ variant: "default"
1142
+ }
1143
+ }
1144
+ );
1145
+ function Badge({
1146
+ className,
1147
+ variant,
1148
+ size,
1149
+ appearance,
1150
+ shape,
1151
+ asChild = false,
1152
+ disabled,
1153
+ ...props
1154
+ }) {
1155
+ const Comp = asChild ? _radixui.Slot.Slot : "span";
1156
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1157
+ Comp,
1158
+ {
1159
+ "data-slot": "badge",
1160
+ className: _chunkCJXIPSTGcjs.cn.call(void 0, badgeVariants({ variant, size, appearance, shape, disabled }), className),
1161
+ ...props
1162
+ }
1163
+ );
1164
+ }
1165
+ function BadgeButton({
1166
+ className,
1167
+ variant,
1168
+ asChild = false,
1169
+ ...props
1170
+ }) {
1171
+ const Comp = asChild ? _radixui.Slot.Slot : "span";
1172
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1173
+ Comp,
1174
+ {
1175
+ "data-slot": "badge-button",
1176
+ className: _chunkCJXIPSTGcjs.cn.call(void 0, badgeButtonVariants({ variant, className })),
1177
+ role: "button",
1178
+ ...props
1179
+ }
1180
+ );
1181
+ }
1182
+ function BadgeDot({ className, ...props }) {
1183
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1184
+ "span",
1185
+ {
1186
+ "data-slot": "badge-dot",
1187
+ className: _chunkCJXIPSTGcjs.cn.call(void 0, "size-1.5 rounded-full bg-[currentColor] opacity-75", className),
1188
+ ...props
1189
+ }
1190
+ );
1191
+ }
1192
+
1193
+ // src/ui/default/avatar.tsx
1194
+
1195
+
1196
+
1197
+ var avatarStatusVariants = _classvarianceauthority.cva.call(void 0,
1198
+ "flex items-center rounded-full size-2 border-2 border-background",
1199
+ {
1200
+ variants: {
1201
+ variant: {
1202
+ online: "bg-green-600",
1203
+ offline: "bg-zinc-400 dark:bg-zinc-500",
1204
+ busy: "bg-yellow-600",
1205
+ away: "bg-blue-600"
1206
+ }
1207
+ },
1208
+ defaultVariants: {
1209
+ variant: "online"
1210
+ }
1211
+ }
1212
+ );
1213
+ function Avatar({ className, ...props }) {
1214
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1215
+ _radixui.Avatar.Root,
1216
+ {
1217
+ "data-slot": "avatar",
1218
+ className: _chunkCJXIPSTGcjs.cn.call(void 0, "relative flex size-10 shrink-0", className),
1219
+ ...props
1220
+ }
1221
+ );
1222
+ }
1223
+ function AvatarImage({ className, ...props }) {
1224
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkCJXIPSTGcjs.cn.call(void 0, "relative overflow-hidden rounded-full", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1225
+ _radixui.Avatar.Image,
1226
+ {
1227
+ "data-slot": "avatar-image",
1228
+ className: _chunkCJXIPSTGcjs.cn.call(void 0, "aspect-square h-full w-full"),
1229
+ ...props
1230
+ }
1231
+ ) });
1232
+ }
1233
+ function AvatarFallback({
1234
+ className,
1235
+ ...props
1236
+ }) {
1237
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1238
+ _radixui.Avatar.Fallback,
1239
+ {
1240
+ "data-slot": "avatar-fallback",
1241
+ className: _chunkCJXIPSTGcjs.cn.call(void 0,
1242
+ "flex h-full w-full items-center justify-center rounded-full border border-border bg-accent text-accent-foreground text-xs",
1243
+ className
1244
+ ),
1245
+ ...props
1246
+ }
1247
+ );
1248
+ }
1249
+ function AvatarIndicator({ className, ...props }) {
1250
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1251
+ "div",
1252
+ {
1253
+ "data-slot": "avatar-indicator",
1254
+ className: _chunkCJXIPSTGcjs.cn.call(void 0, "absolute flex size-6 items-center justify-center", className),
1255
+ ...props
1256
+ }
1257
+ );
1258
+ }
1259
+ function AvatarStatus({
1260
+ className,
1261
+ variant,
1262
+ ...props
1263
+ }) {
1264
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1265
+ "div",
1266
+ {
1267
+ "data-slot": "avatar-status",
1268
+ className: _chunkCJXIPSTGcjs.cn.call(void 0, avatarStatusVariants({ variant }), className),
1269
+ ...props
1270
+ }
1271
+ );
1272
+ }
1273
+
1274
+
1275
+
1276
+
1277
+
1278
+
1279
+
1280
+
1281
+
1282
+
1283
+
1284
+
1285
+
1286
+
1287
+
1288
+
1289
+
1290
+
1291
+
1292
+
1293
+
1294
+
1295
+
1296
+
1297
+
1298
+
1299
+
1300
+
1301
+
1302
+
1303
+
1304
+
1305
+
1306
+
1307
+
1308
+
1309
+
1310
+
1311
+
1312
+
1313
+
1314
+
1315
+
1316
+
1317
+
1318
+
1319
+
1320
+
1321
+
1322
+
1323
+
1324
+
1325
+
1326
+
1327
+
1328
+
1329
+
1330
+
1331
+
1332
+
1333
+
1334
+
1335
+
1336
+
1337
+
1338
+
1339
+
1340
+
1341
+
1342
+
1343
+
1344
+
1345
+
1346
+
1347
+
1348
+
1349
+
1350
+
1351
+
1352
+
1353
+
1354
+
1355
+ exports.Alert = Alert; exports.AlertTitle = AlertTitle; exports.AlertIcon = AlertIcon; exports.AlertToolbar = AlertToolbar; exports.AlertDescription = AlertDescription; exports.AlertContent = AlertContent; exports.AlertDialog = AlertDialog; exports.AlertDialogTrigger = AlertDialogTrigger; exports.AlertDialogPortal = AlertDialogPortal; exports.AlertDialogOverlay = AlertDialogOverlay; exports.AlertDialogContent = AlertDialogContent; exports.AlertDialogHeader = AlertDialogHeader; exports.AlertDialogFooter = AlertDialogFooter; exports.AlertDialogTitle = AlertDialogTitle; exports.AlertDialogDescription = AlertDialogDescription; exports.AlertDialogAction = AlertDialogAction; exports.AlertDialogCancel = AlertDialogCancel; exports.Dialog = Dialog; exports.DialogTrigger = DialogTrigger; exports.DialogPortal = DialogPortal; exports.DialogClose = DialogClose; exports.DialogOverlay = DialogOverlay; exports.DialogContent = DialogContent; exports.DialogHeader = DialogHeader; exports.DialogFooter = DialogFooter; exports.DialogTitle = DialogTitle; exports.DialogBody = DialogBody; exports.DialogDescription = DialogDescription; exports.Command = Command; exports.CommandDialog = CommandDialog; exports.CommandInput = CommandInput; exports.CommandList = CommandList; exports.CommandEmpty = CommandEmpty; exports.CommandGroup = CommandGroup; exports.CommandSeparator = CommandSeparator; exports.CommandItem = CommandItem; exports.CommandShortcut = CommandShortcut; exports.CommandCheck = CommandCheck; exports.DropdownMenu = DropdownMenu; exports.DropdownMenuPortal = DropdownMenuPortal; exports.DropdownMenuTrigger = DropdownMenuTrigger; exports.DropdownMenuSubTrigger = DropdownMenuSubTrigger; exports.DropdownMenuSubContent = DropdownMenuSubContent; exports.DropdownMenuContent = DropdownMenuContent; exports.DropdownMenuGroup = DropdownMenuGroup; exports.DropdownMenuItem = DropdownMenuItem; exports.DropdownMenuCheckboxItem = DropdownMenuCheckboxItem; exports.DropdownMenuRadioItem = DropdownMenuRadioItem; exports.DropdownMenuLabel = DropdownMenuLabel; exports.DropdownMenuRadioGroup = DropdownMenuRadioGroup; exports.DropdownMenuSeparator = DropdownMenuSeparator; exports.DropdownMenuShortcut = DropdownMenuShortcut; exports.DropdownMenuSub = DropdownMenuSub; exports.Collapsible = Collapsible; exports.CollapsibleTrigger = CollapsibleTrigger; exports.CollapsibleContent = CollapsibleContent; exports.Drawer = Drawer; exports.DrawerTrigger = DrawerTrigger; exports.DrawerPortal = DrawerPortal; exports.DrawerClose = DrawerClose; exports.DrawerOverlay = DrawerOverlay; exports.DrawerContent = DrawerContent; exports.DrawerHeader = DrawerHeader; exports.DrawerFooter = DrawerFooter; exports.DrawerTitle = DrawerTitle; exports.DrawerDescription = DrawerDescription; exports.TooltipProvider = TooltipProvider; exports.Tooltip = Tooltip; exports.TooltipTrigger = TooltipTrigger; exports.TooltipContent = TooltipContent; exports.badgeVariants = badgeVariants; exports.Badge = Badge; exports.BadgeButton = BadgeButton; exports.BadgeDot = BadgeDot; exports.avatarStatusVariants = avatarStatusVariants; exports.Avatar = Avatar; exports.AvatarImage = AvatarImage; exports.AvatarFallback = AvatarFallback; exports.AvatarIndicator = AvatarIndicator; exports.AvatarStatus = AvatarStatus;