@pos-360/horizon 0.1.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,11 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var clsx = require('clsx');
4
- var tailwindMerge = require('tailwind-merge');
5
- var React9 = require('react');
6
- var reactSlot = require('@radix-ui/react-slot');
3
+ var chunkTMZLQK74_js = require('./chunk-TMZLQK74.js');
7
4
  var classVarianceAuthority = require('class-variance-authority');
8
5
  var jsxRuntime = require('react/jsx-runtime');
6
+ var React9 = require('react');
7
+ var reactSlot = require('@radix-ui/react-slot');
9
8
  var CheckboxPrimitive = require('@radix-ui/react-checkbox');
10
9
  var lucideReact = require('lucide-react');
11
10
  var DialogPrimitive = require('@radix-ui/react-dialog');
@@ -14,6 +13,7 @@ var PopoverPrimitive = require('@radix-ui/react-popover');
14
13
  var framerMotion = require('framer-motion');
15
14
  var SelectPrimitive = require('@radix-ui/react-select');
16
15
  var TabsPrimitive = require('@radix-ui/react-tabs');
16
+ var LabelPrimitive = require('@radix-ui/react-label');
17
17
 
18
18
  function _interopNamespace(e) {
19
19
  if (e && e.__esModule) return e;
@@ -40,9 +40,31 @@ var DropdownMenuPrimitive__namespace = /*#__PURE__*/_interopNamespace(DropdownMe
40
40
  var PopoverPrimitive__namespace = /*#__PURE__*/_interopNamespace(PopoverPrimitive);
41
41
  var SelectPrimitive__namespace = /*#__PURE__*/_interopNamespace(SelectPrimitive);
42
42
  var TabsPrimitive__namespace = /*#__PURE__*/_interopNamespace(TabsPrimitive);
43
+ var LabelPrimitive__namespace = /*#__PURE__*/_interopNamespace(LabelPrimitive);
43
44
 
44
- function cn(...inputs) {
45
- return tailwindMerge.twMerge(clsx.clsx(inputs));
45
+ var badgeVariants = classVarianceAuthority.cva(
46
+ "inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2",
47
+ {
48
+ variants: {
49
+ variant: {
50
+ default: "border-transparent bg-blue-600 text-white hover:bg-blue-700",
51
+ secondary: "border-transparent bg-gray-100 text-gray-900 hover:bg-gray-200 dark:bg-neutral-700 dark:text-gray-100 dark:hover:bg-neutral-600",
52
+ destructive: "border-transparent bg-red-600 text-white hover:bg-red-700",
53
+ outline: "border-gray-300 text-gray-700 dark:border-neutral-600 dark:text-gray-300",
54
+ success: "border-transparent bg-green-100 text-green-800 dark:bg-green-900/30 dark:text-green-400",
55
+ warning: "border-transparent bg-yellow-100 text-yellow-800 dark:bg-yellow-900/30 dark:text-yellow-400",
56
+ info: "border-transparent bg-blue-100 text-blue-800 dark:bg-blue-900/30 dark:text-blue-400",
57
+ purple: "border-transparent bg-purple-100 text-purple-800 dark:bg-purple-900/30 dark:text-purple-400",
58
+ purpleOutline: "border-purple-300 dark:border-purple-600 bg-transparent text-purple-700 dark:text-purple-300 hover:bg-purple-50 dark:hover:bg-purple-900/20"
59
+ }
60
+ },
61
+ defaultVariants: {
62
+ variant: "default"
63
+ }
64
+ }
65
+ );
66
+ function Badge({ className, variant, ...props }) {
67
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { className: chunkTMZLQK74_js.cn(badgeVariants({ variant }), className), ...props });
46
68
  }
47
69
  var buttonVariants = classVarianceAuthority.cva(
48
70
  "group inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
@@ -85,7 +107,7 @@ var Button = React9__namespace.forwardRef(
85
107
  return /* @__PURE__ */ jsxRuntime.jsx(
86
108
  Comp,
87
109
  {
88
- className: cn(buttonVariants({ variant, size, className })),
110
+ className: chunkTMZLQK74_js.cn(buttonVariants({ variant, size, className })),
89
111
  ref,
90
112
  ...props,
91
113
  children
@@ -96,7 +118,7 @@ var Button = React9__namespace.forwardRef(
96
118
  return /* @__PURE__ */ jsxRuntime.jsxs(
97
119
  Comp,
98
120
  {
99
- className: cn(buttonVariants({ variant, size, className })),
121
+ className: chunkTMZLQK74_js.cn(buttonVariants({ variant, size, className })),
100
122
  ref,
101
123
  ...props,
102
124
  children: [
@@ -109,35 +131,11 @@ var Button = React9__namespace.forwardRef(
109
131
  }
110
132
  );
111
133
  Button.displayName = "Button";
112
- var badgeVariants = classVarianceAuthority.cva(
113
- "inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2",
114
- {
115
- variants: {
116
- variant: {
117
- default: "border-transparent bg-blue-600 text-white hover:bg-blue-700",
118
- secondary: "border-transparent bg-gray-100 text-gray-900 hover:bg-gray-200 dark:bg-neutral-700 dark:text-gray-100 dark:hover:bg-neutral-600",
119
- destructive: "border-transparent bg-red-600 text-white hover:bg-red-700",
120
- outline: "border-gray-300 text-gray-700 dark:border-neutral-600 dark:text-gray-300",
121
- success: "border-transparent bg-green-100 text-green-800 dark:bg-green-900/30 dark:text-green-400",
122
- warning: "border-transparent bg-yellow-100 text-yellow-800 dark:bg-yellow-900/30 dark:text-yellow-400",
123
- info: "border-transparent bg-blue-100 text-blue-800 dark:bg-blue-900/30 dark:text-blue-400",
124
- purple: "border-transparent bg-purple-100 text-purple-800 dark:bg-purple-900/30 dark:text-purple-400",
125
- purpleOutline: "border-purple-300 dark:border-purple-600 bg-transparent text-purple-700 dark:text-purple-300 hover:bg-purple-50 dark:hover:bg-purple-900/20"
126
- }
127
- },
128
- defaultVariants: {
129
- variant: "default"
130
- }
131
- }
132
- );
133
- function Badge({ className, variant, ...props }) {
134
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn(badgeVariants({ variant }), className), ...props });
135
- }
136
134
  var Card = React9__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
137
135
  "div",
138
136
  {
139
137
  ref,
140
- className: cn(
138
+ className: chunkTMZLQK74_js.cn(
141
139
  "rounded-lg border border-gray-200 bg-white text-gray-900 shadow dark:border-neutral-700 dark:bg-neutral-800 dark:text-gray-100",
142
140
  className
143
141
  ),
@@ -149,7 +147,7 @@ var CardHeader = React9__namespace.forwardRef(({ className, ...props }, ref) =>
149
147
  "div",
150
148
  {
151
149
  ref,
152
- className: cn("flex flex-col space-y-1.5 p-4", className),
150
+ className: chunkTMZLQK74_js.cn("flex flex-col space-y-1.5 p-4", className),
153
151
  ...props
154
152
  }
155
153
  ));
@@ -158,7 +156,7 @@ var CardTitle = React9__namespace.forwardRef(({ className, ...props }, ref) => /
158
156
  "div",
159
157
  {
160
158
  ref,
161
- className: cn("font-semibold leading-none tracking-tight", className),
159
+ className: chunkTMZLQK74_js.cn("font-semibold leading-none tracking-tight", className),
162
160
  ...props
163
161
  }
164
162
  ));
@@ -167,7 +165,7 @@ var CardDescription = React9__namespace.forwardRef(({ className, ...props }, ref
167
165
  "div",
168
166
  {
169
167
  ref,
170
- className: cn("text-sm text-gray-500 dark:text-gray-400", className),
168
+ className: chunkTMZLQK74_js.cn("text-sm text-gray-500 dark:text-gray-400", className),
171
169
  ...props
172
170
  }
173
171
  ));
@@ -176,7 +174,7 @@ var CardContent = React9__namespace.forwardRef(({ className, ...props }, ref) =>
176
174
  "div",
177
175
  {
178
176
  ref,
179
- className: cn("sm:p-6 p-4 sm:pt-0 pt-0", className),
177
+ className: chunkTMZLQK74_js.cn("sm:p-6 p-4 sm:pt-0 pt-0", className),
180
178
  ...props
181
179
  }
182
180
  ));
@@ -185,7 +183,7 @@ var CardFooter = React9__namespace.forwardRef(({ className, ...props }, ref) =>
185
183
  "div",
186
184
  {
187
185
  ref,
188
- className: cn("flex items-center p-6 pt-0", className),
186
+ className: chunkTMZLQK74_js.cn("flex items-center p-6 pt-0", className),
189
187
  ...props
190
188
  }
191
189
  ));
@@ -194,7 +192,7 @@ var Checkbox = React9__namespace.forwardRef(({ className, ...props }, ref) => /*
194
192
  CheckboxPrimitive__namespace.Root,
195
193
  {
196
194
  ref,
197
- className: cn(
195
+ className: chunkTMZLQK74_js.cn(
198
196
  "peer h-4 w-4 shrink-0 rounded-sm border border-gray-300 shadow focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-blue-600 data-[state=checked]:border-blue-600 data-[state=checked]:text-white dark:border-neutral-600 dark:data-[state=checked]:bg-blue-600",
199
197
  className
200
198
  ),
@@ -202,7 +200,7 @@ var Checkbox = React9__namespace.forwardRef(({ className, ...props }, ref) => /*
202
200
  children: /* @__PURE__ */ jsxRuntime.jsx(
203
201
  CheckboxPrimitive__namespace.Indicator,
204
202
  {
205
- className: cn("flex items-center justify-center text-current"),
203
+ className: chunkTMZLQK74_js.cn("flex items-center justify-center text-current"),
206
204
  children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Check, { className: "h-3.5 w-3.5", strokeWidth: 3 })
207
205
  }
208
206
  )
@@ -217,7 +215,7 @@ var DialogOverlay = React9__namespace.forwardRef(({ className, ...props }, ref)
217
215
  DialogPrimitive__namespace.Overlay,
218
216
  {
219
217
  ref,
220
- className: cn(
218
+ className: chunkTMZLQK74_js.cn(
221
219
  "fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
222
220
  className
223
221
  ),
@@ -231,7 +229,7 @@ var DialogContent = React9__namespace.forwardRef(({ className, children, ...prop
231
229
  DialogPrimitive__namespace.Content,
232
230
  {
233
231
  ref,
234
- className: cn(
232
+ className: chunkTMZLQK74_js.cn(
235
233
  "fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border border-gray-200 bg-white p-6 shadow-lg 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 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg dark:border-neutral-700 dark:bg-neutral-800",
236
234
  className
237
235
  ),
@@ -253,7 +251,7 @@ var DialogHeader = ({
253
251
  }) => /* @__PURE__ */ jsxRuntime.jsx(
254
252
  "div",
255
253
  {
256
- className: cn(
254
+ className: chunkTMZLQK74_js.cn(
257
255
  "flex flex-col space-y-1.5 text-center sm:text-left",
258
256
  className
259
257
  ),
@@ -267,7 +265,7 @@ var DialogFooter = ({
267
265
  }) => /* @__PURE__ */ jsxRuntime.jsx(
268
266
  "div",
269
267
  {
270
- className: cn(
268
+ className: chunkTMZLQK74_js.cn(
271
269
  "flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",
272
270
  className
273
271
  ),
@@ -279,7 +277,7 @@ var DialogTitle = React9__namespace.forwardRef(({ className, ...props }, ref) =>
279
277
  DialogPrimitive__namespace.Title,
280
278
  {
281
279
  ref,
282
- className: cn(
280
+ className: chunkTMZLQK74_js.cn(
283
281
  "text-lg font-semibold leading-none tracking-tight text-gray-900 dark:text-gray-100",
284
282
  className
285
283
  ),
@@ -291,7 +289,7 @@ var DialogDescription = React9__namespace.forwardRef(({ className, ...props }, r
291
289
  DialogPrimitive__namespace.Description,
292
290
  {
293
291
  ref,
294
- className: cn("text-sm text-gray-500 dark:text-gray-400", className),
292
+ className: chunkTMZLQK74_js.cn("text-sm text-gray-500 dark:text-gray-400", className),
295
293
  ...props
296
294
  }
297
295
  ));
@@ -306,7 +304,7 @@ var DropdownMenuSubTrigger = React9__namespace.forwardRef(({ className, inset, c
306
304
  DropdownMenuPrimitive__namespace.SubTrigger,
307
305
  {
308
306
  ref,
309
- className: cn(
307
+ className: chunkTMZLQK74_js.cn(
310
308
  "flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-gray-100 data-[state=open]:bg-gray-100 dark:focus:bg-gray-700 dark:data-[state=open]:bg-gray-700 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
311
309
  inset && "pl-8",
312
310
  className
@@ -323,7 +321,7 @@ var DropdownMenuSubContent = React9__namespace.forwardRef(({ className, ...props
323
321
  DropdownMenuPrimitive__namespace.SubContent,
324
322
  {
325
323
  ref,
326
- className: cn(
324
+ className: chunkTMZLQK74_js.cn(
327
325
  "z-50 min-w-[8rem] overflow-hidden rounded-md border border-gray-200 bg-white p-1 text-gray-900 shadow-lg 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 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 origin-[--radix-dropdown-menu-content-transform-origin] dark:border-neutral-700 dark:bg-neutral-800 dark:text-gray-100",
328
326
  className
329
327
  ),
@@ -336,7 +334,7 @@ var DropdownMenuContent = React9__namespace.forwardRef(({ className, sideOffset
336
334
  {
337
335
  ref,
338
336
  sideOffset,
339
- className: cn(
337
+ className: chunkTMZLQK74_js.cn(
340
338
  "z-50 max-h-[var(--radix-dropdown-menu-content-available-height)] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border border-gray-200 bg-white p-1 text-gray-900 shadow-md dark:border-neutral-700 dark:bg-neutral-800 dark:text-gray-100",
341
339
  "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 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 origin-[--radix-dropdown-menu-content-transform-origin]",
342
340
  className
@@ -349,7 +347,7 @@ var DropdownMenuItem = React9__namespace.forwardRef(({ className, inset, ...prop
349
347
  DropdownMenuPrimitive__namespace.Item,
350
348
  {
351
349
  ref,
352
- className: cn(
350
+ className: chunkTMZLQK74_js.cn(
353
351
  "relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-gray-100 focus:text-gray-900 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 dark:focus:bg-gray-700 dark:focus:text-gray-100 [&>svg]:size-4 [&>svg]:shrink-0",
354
352
  inset && "pl-8",
355
353
  className
@@ -362,7 +360,7 @@ var DropdownMenuCheckboxItem = React9__namespace.forwardRef(({ className, childr
362
360
  DropdownMenuPrimitive__namespace.CheckboxItem,
363
361
  {
364
362
  ref,
365
- className: cn(
363
+ className: chunkTMZLQK74_js.cn(
366
364
  "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-gray-100 focus:text-gray-900 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 dark:focus:bg-gray-700 dark:focus:text-gray-100",
367
365
  className
368
366
  ),
@@ -379,7 +377,7 @@ var DropdownMenuRadioItem = React9__namespace.forwardRef(({ className, children,
379
377
  DropdownMenuPrimitive__namespace.RadioItem,
380
378
  {
381
379
  ref,
382
- className: cn(
380
+ className: chunkTMZLQK74_js.cn(
383
381
  "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-gray-100 focus:text-gray-900 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 dark:focus:bg-gray-700 dark:focus:text-gray-100",
384
382
  className
385
383
  ),
@@ -395,7 +393,7 @@ var DropdownMenuLabel = React9__namespace.forwardRef(({ className, inset, ...pro
395
393
  DropdownMenuPrimitive__namespace.Label,
396
394
  {
397
395
  ref,
398
- className: cn(
396
+ className: chunkTMZLQK74_js.cn(
399
397
  "px-2 py-1.5 text-sm font-semibold",
400
398
  inset && "pl-8",
401
399
  className
@@ -408,7 +406,7 @@ var DropdownMenuSeparator = React9__namespace.forwardRef(({ className, ...props
408
406
  DropdownMenuPrimitive__namespace.Separator,
409
407
  {
410
408
  ref,
411
- className: cn("-mx-1 my-1 h-px bg-gray-100 dark:bg-neutral-700", className),
409
+ className: chunkTMZLQK74_js.cn("-mx-1 my-1 h-px bg-gray-100 dark:bg-neutral-700", className),
412
410
  ...props
413
411
  }
414
412
  ));
@@ -420,7 +418,7 @@ var DropdownMenuShortcut = ({
420
418
  return /* @__PURE__ */ jsxRuntime.jsx(
421
419
  "span",
422
420
  {
423
- className: cn("ml-auto text-xs tracking-widest opacity-60", className),
421
+ className: chunkTMZLQK74_js.cn("ml-auto text-xs tracking-widest opacity-60", className),
424
422
  ...props
425
423
  }
426
424
  );
@@ -504,7 +502,7 @@ var PopoverContent = React9__namespace.forwardRef(({ className, align = "center"
504
502
  damping: 25,
505
503
  mass: 0.8
506
504
  },
507
- className: cn(
505
+ className: chunkTMZLQK74_js.cn(
508
506
  "z-50 w-72 rounded-xl border border-white/20 bg-white/80 backdrop-blur-xl p-4 text-gray-900 shadow-lg outline-none dark:border-neutral-700/50 dark:bg-neutral-900/80 dark:text-neutral-100 origin-[--radix-popover-content-transform-origin]",
509
507
  className
510
508
  ),
@@ -547,7 +545,7 @@ var SelectTrigger = React9__namespace.forwardRef(({ className, children, ...prop
547
545
  SelectPrimitive__namespace.Trigger,
548
546
  {
549
547
  ref,
550
- className: cn(
548
+ className: chunkTMZLQK74_js.cn(
551
549
  "flex h-10 w-full items-center justify-between rounded-md border border-gray-300 bg-white px-3 py-2 text-sm text-gray-900 placeholder:text-gray-400 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 dark:border-neutral-600 dark:bg-neutral-800 dark:text-gray-100 dark:placeholder:text-gray-500 [&>span]:line-clamp-1",
552
550
  className
553
551
  ),
@@ -563,7 +561,7 @@ var SelectScrollUpButton = React9__namespace.forwardRef(({ className, ...props }
563
561
  SelectPrimitive__namespace.ScrollUpButton,
564
562
  {
565
563
  ref,
566
- className: cn(
564
+ className: chunkTMZLQK74_js.cn(
567
565
  "flex cursor-default items-center justify-center py-1",
568
566
  className
569
567
  ),
@@ -576,7 +574,7 @@ var SelectScrollDownButton = React9__namespace.forwardRef(({ className, ...props
576
574
  SelectPrimitive__namespace.ScrollDownButton,
577
575
  {
578
576
  ref,
579
- className: cn(
577
+ className: chunkTMZLQK74_js.cn(
580
578
  "flex cursor-default items-center justify-center py-1",
581
579
  className
582
580
  ),
@@ -633,7 +631,7 @@ var SelectContent = React9__namespace.forwardRef(({ className, children, positio
633
631
  damping: 25,
634
632
  mass: 0.8
635
633
  },
636
- className: cn(
634
+ className: chunkTMZLQK74_js.cn(
637
635
  "relative z-50 max-h-[--radix-select-content-available-height] min-w-[8rem] overflow-hidden rounded-xl border border-white/20 bg-white/80 backdrop-blur-xl text-gray-900 shadow-lg dark:border-neutral-700/50 dark:bg-neutral-900/80 dark:text-gray-100 origin-[--radix-select-content-transform-origin]",
638
636
  position === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
639
637
  className
@@ -643,7 +641,7 @@ var SelectContent = React9__namespace.forwardRef(({ className, children, positio
643
641
  /* @__PURE__ */ jsxRuntime.jsx(
644
642
  SelectPrimitive__namespace.Viewport,
645
643
  {
646
- className: cn(
644
+ className: chunkTMZLQK74_js.cn(
647
645
  "p-1",
648
646
  position === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"
649
647
  ),
@@ -662,7 +660,7 @@ var SelectLabel = React9__namespace.forwardRef(({ className, ...props }, ref) =>
662
660
  SelectPrimitive__namespace.Label,
663
661
  {
664
662
  ref,
665
- className: cn("px-2 py-1.5 text-sm font-semibold", className),
663
+ className: chunkTMZLQK74_js.cn("px-2 py-1.5 text-sm font-semibold", className),
666
664
  ...props
667
665
  }
668
666
  ));
@@ -671,7 +669,7 @@ var SelectItem = React9__namespace.forwardRef(({ className, children, ...props }
671
669
  SelectPrimitive__namespace.Item,
672
670
  {
673
671
  ref,
674
- className: cn(
672
+ className: chunkTMZLQK74_js.cn(
675
673
  "relative flex w-full cursor-default select-none items-center rounded-lg py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-black/5 focus:text-gray-900 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 dark:focus:bg-white/10 dark:focus:text-gray-100 transition-colors",
676
674
  className
677
675
  ),
@@ -687,7 +685,7 @@ var SelectSeparator = React9__namespace.forwardRef(({ className, ...props }, ref
687
685
  SelectPrimitive__namespace.Separator,
688
686
  {
689
687
  ref,
690
- className: cn("-mx-1 my-1 h-px bg-gray-200/50 dark:bg-neutral-700/50", className),
688
+ className: chunkTMZLQK74_js.cn("-mx-1 my-1 h-px bg-gray-200/50 dark:bg-neutral-700/50", className),
691
689
  ...props
692
690
  }
693
691
  ));
@@ -696,7 +694,7 @@ function Skeleton({ className }) {
696
694
  return /* @__PURE__ */ jsxRuntime.jsx(
697
695
  "div",
698
696
  {
699
- className: cn(
697
+ className: chunkTMZLQK74_js.cn(
700
698
  "animate-pulse rounded-md bg-neutral-200 dark:bg-neutral-800",
701
699
  className
702
700
  )
@@ -704,28 +702,28 @@ function Skeleton({ className }) {
704
702
  );
705
703
  }
706
704
  function SkeletonText({ className }) {
707
- return /* @__PURE__ */ jsxRuntime.jsx(Skeleton, { className: cn("h-4", className) });
705
+ return /* @__PURE__ */ jsxRuntime.jsx(Skeleton, { className: chunkTMZLQK74_js.cn("h-4", className) });
708
706
  }
709
707
  function SkeletonTitle({ className }) {
710
- return /* @__PURE__ */ jsxRuntime.jsx(Skeleton, { className: cn("h-6 w-48", className) });
708
+ return /* @__PURE__ */ jsxRuntime.jsx(Skeleton, { className: chunkTMZLQK74_js.cn("h-6 w-48", className) });
711
709
  }
712
710
  function SkeletonSubtitle({ className }) {
713
- return /* @__PURE__ */ jsxRuntime.jsx(Skeleton, { className: cn("h-3 w-64", className) });
711
+ return /* @__PURE__ */ jsxRuntime.jsx(Skeleton, { className: chunkTMZLQK74_js.cn("h-3 w-64", className) });
714
712
  }
715
713
  function SkeletonAvatar({ className }) {
716
- return /* @__PURE__ */ jsxRuntime.jsx(Skeleton, { className: cn("w-10 h-10 rounded", className) });
714
+ return /* @__PURE__ */ jsxRuntime.jsx(Skeleton, { className: chunkTMZLQK74_js.cn("w-10 h-10 rounded", className) });
717
715
  }
718
716
  function SkeletonBadge({ className }) {
719
- return /* @__PURE__ */ jsxRuntime.jsx(Skeleton, { className: cn("h-6 w-24", className) });
717
+ return /* @__PURE__ */ jsxRuntime.jsx(Skeleton, { className: chunkTMZLQK74_js.cn("h-6 w-24", className) });
720
718
  }
721
719
  function SkeletonIcon({ className }) {
722
- return /* @__PURE__ */ jsxRuntime.jsx(Skeleton, { className: cn("w-6 h-6 rounded", className) });
720
+ return /* @__PURE__ */ jsxRuntime.jsx(Skeleton, { className: chunkTMZLQK74_js.cn("w-6 h-6 rounded", className) });
723
721
  }
724
722
  function SkeletonButton({ className }) {
725
- return /* @__PURE__ */ jsxRuntime.jsx(Skeleton, { className: cn("h-10 w-24 rounded-md", className) });
723
+ return /* @__PURE__ */ jsxRuntime.jsx(Skeleton, { className: chunkTMZLQK74_js.cn("h-10 w-24 rounded-md", className) });
726
724
  }
727
725
  function SkeletonInput({ className }) {
728
- return /* @__PURE__ */ jsxRuntime.jsx(Skeleton, { className: cn("h-10 w-full rounded-md", className) });
726
+ return /* @__PURE__ */ jsxRuntime.jsx(Skeleton, { className: chunkTMZLQK74_js.cn("h-10 w-full rounded-md", className) });
729
727
  }
730
728
  function SkeletonTableRow({
731
729
  columns = 4,
@@ -743,7 +741,7 @@ function SkeletonCard({ className }) {
743
741
  return /* @__PURE__ */ jsxRuntime.jsxs(
744
742
  "div",
745
743
  {
746
- className: cn(
744
+ className: chunkTMZLQK74_js.cn(
747
745
  "rounded-lg border bg-card p-6 space-y-4",
748
746
  className
749
747
  ),
@@ -763,7 +761,7 @@ var Table = React9__namespace.forwardRef(({ className, ...props }, ref) => /* @_
763
761
  "table",
764
762
  {
765
763
  ref,
766
- className: cn("w-full caption-bottom text-sm", className),
764
+ className: chunkTMZLQK74_js.cn("w-full caption-bottom text-sm", className),
767
765
  ...props
768
766
  }
769
767
  ) }));
@@ -772,7 +770,7 @@ var TableHeader = React9__namespace.forwardRef(({ className, ...props }, ref) =>
772
770
  "thead",
773
771
  {
774
772
  ref,
775
- className: cn("[&_tr]:border-b [&_tr]:border-gray-200 dark:[&_tr]:border-gray-700", className),
773
+ className: chunkTMZLQK74_js.cn("[&_tr]:border-b [&_tr]:border-gray-200 dark:[&_tr]:border-gray-700", className),
776
774
  ...props
777
775
  }
778
776
  ));
@@ -781,7 +779,7 @@ var TableBody = React9__namespace.forwardRef(({ className, ...props }, ref) => /
781
779
  "tbody",
782
780
  {
783
781
  ref,
784
- className: cn("[&_tr:last-child]:border-0", className),
782
+ className: chunkTMZLQK74_js.cn("[&_tr:last-child]:border-0", className),
785
783
  ...props
786
784
  }
787
785
  ));
@@ -790,7 +788,7 @@ var TableFooter = React9__namespace.forwardRef(({ className, ...props }, ref) =>
790
788
  "tfoot",
791
789
  {
792
790
  ref,
793
- className: cn(
791
+ className: chunkTMZLQK74_js.cn(
794
792
  "border-t border-gray-200 bg-gray-50 font-medium dark:border-neutral-700 dark:bg-neutral-800/50 [&>tr]:last:border-b-0",
795
793
  className
796
794
  ),
@@ -802,7 +800,7 @@ var TableRow = React9__namespace.forwardRef(({ className, ...props }, ref) => /*
802
800
  "tr",
803
801
  {
804
802
  ref,
805
- className: cn(
803
+ className: chunkTMZLQK74_js.cn(
806
804
  "border-b border-gray-200 transition-colors hover:bg-gray-50 data-[state=selected]:bg-gray-100 dark:border-neutral-700 dark:hover:bg-neutral-800/50 dark:data-[state=selected]:bg-gray-800",
807
805
  className
808
806
  ),
@@ -814,7 +812,7 @@ var TableHead = React9__namespace.forwardRef(({ className, ...props }, ref) => /
814
812
  "th",
815
813
  {
816
814
  ref,
817
- className: cn(
815
+ className: chunkTMZLQK74_js.cn(
818
816
  "h-12 px-4 text-left align-middle font-medium text-gray-500 dark:text-gray-400 [&:has([role=checkbox])]:pr-0",
819
817
  className
820
818
  ),
@@ -826,7 +824,7 @@ var TableCell = React9__namespace.forwardRef(({ className, ...props }, ref) => /
826
824
  "td",
827
825
  {
828
826
  ref,
829
- className: cn("p-4 align-middle [&:has([role=checkbox])]:pr-0", className),
827
+ className: chunkTMZLQK74_js.cn("p-4 align-middle [&:has([role=checkbox])]:pr-0", className),
830
828
  ...props
831
829
  }
832
830
  ));
@@ -835,7 +833,7 @@ var TableCaption = React9__namespace.forwardRef(({ className, ...props }, ref) =
835
833
  "caption",
836
834
  {
837
835
  ref,
838
- className: cn("mt-4 text-sm text-gray-500 dark:text-gray-400", className),
836
+ className: chunkTMZLQK74_js.cn("mt-4 text-sm text-gray-500 dark:text-gray-400", className),
839
837
  ...props
840
838
  }
841
839
  ));
@@ -916,7 +914,7 @@ var TabsList = React9__namespace.forwardRef(({ className, children, ...props },
916
914
  else if (ref) ref.current = node;
917
915
  listRef.current = node;
918
916
  },
919
- className: cn(
917
+ className: chunkTMZLQK74_js.cn(
920
918
  "relative inline-flex h-10 items-center justify-center rounded-lg bg-gray-100 p-1 text-gray-500 dark:bg-neutral-800 dark:text-gray-400",
921
919
  className
922
920
  ),
@@ -961,7 +959,7 @@ var TabsTrigger = React9__namespace.forwardRef(({ className, value, ...props },
961
959
  else if (ref) ref.current = node;
962
960
  },
963
961
  value,
964
- className: cn(
962
+ className: chunkTMZLQK74_js.cn(
965
963
  "relative z-10 inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1.5 text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",
966
964
  isActive ? "text-gray-900 dark:text-gray-100" : "text-gray-500 dark:text-gray-400",
967
965
  className
@@ -975,7 +973,7 @@ var TabsContent = React9__namespace.forwardRef(({ className, ...props }, ref) =>
975
973
  TabsPrimitive__namespace.Content,
976
974
  {
977
975
  ref,
978
- className: cn(
976
+ className: chunkTMZLQK74_js.cn(
979
977
  "mt-2 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2",
980
978
  className
981
979
  ),
@@ -988,7 +986,7 @@ var Textarea = React9__namespace.forwardRef(
988
986
  return /* @__PURE__ */ jsxRuntime.jsx(
989
987
  "textarea",
990
988
  {
991
- className: cn(
989
+ className: chunkTMZLQK74_js.cn(
992
990
  "flex min-h-[80px] w-full rounded-md border border-gray-300 bg-white px-3 py-2 text-sm text-gray-900 placeholder:text-gray-400 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 dark:border-neutral-600 dark:bg-neutral-800 dark:text-gray-100 dark:placeholder:text-gray-500",
993
991
  className
994
992
  ),
@@ -999,9 +997,247 @@ var Textarea = React9__namespace.forwardRef(
999
997
  }
1000
998
  );
1001
999
  Textarea.displayName = "Textarea";
1000
+ var headingVariants = classVarianceAuthority.cva(
1001
+ "font-bricolage tracking-tight text-neutral-900 dark:text-neutral-50",
1002
+ {
1003
+ variants: {
1004
+ level: {
1005
+ 1: "text-4xl sm:text-5xl lg:text-6xl",
1006
+ 2: "text-3xl sm:text-4xl lg:text-5xl",
1007
+ 3: "text-2xl sm:text-3xl lg:text-4xl",
1008
+ 4: "text-xl sm:text-2xl lg:text-3xl",
1009
+ 5: "text-lg sm:text-xl lg:text-2xl",
1010
+ 6: "text-base sm:text-lg lg:text-xl"
1011
+ },
1012
+ weight: {
1013
+ regular: "font-normal",
1014
+ medium: "font-medium",
1015
+ semibold: "font-semibold",
1016
+ bold: "font-bold"
1017
+ },
1018
+ align: {
1019
+ left: "text-left",
1020
+ center: "text-center",
1021
+ right: "text-right"
1022
+ }
1023
+ },
1024
+ defaultVariants: {
1025
+ level: 1,
1026
+ weight: "bold",
1027
+ align: "left"
1028
+ }
1029
+ }
1030
+ );
1031
+ var Heading = React9__namespace.forwardRef(
1032
+ ({ className, level = 1, weight, align, as, children, ...props }, ref) => {
1033
+ const Tag = as || `h${level}`;
1034
+ return /* @__PURE__ */ jsxRuntime.jsx(
1035
+ Tag,
1036
+ {
1037
+ ref,
1038
+ className: chunkTMZLQK74_js.cn(headingVariants({ level, weight, align, className })),
1039
+ ...props,
1040
+ children
1041
+ }
1042
+ );
1043
+ }
1044
+ );
1045
+ Heading.displayName = "Heading";
1046
+ var textVariants = classVarianceAuthority.cva("font-bricolage text-neutral-700 dark:text-neutral-300", {
1047
+ variants: {
1048
+ size: {
1049
+ xs: "text-xs leading-4",
1050
+ sm: "text-sm leading-5",
1051
+ base: "text-base leading-6",
1052
+ lg: "text-lg leading-7",
1053
+ xl: "text-xl leading-8",
1054
+ "2xl": "text-2xl leading-9",
1055
+ "3xl": "text-3xl leading-10",
1056
+ "4xl": "text-4xl leading-[2.75rem]"
1057
+ },
1058
+ weight: {
1059
+ regular: "font-normal",
1060
+ medium: "font-medium",
1061
+ semibold: "font-semibold"
1062
+ },
1063
+ align: {
1064
+ left: "text-left",
1065
+ center: "text-center",
1066
+ right: "text-right",
1067
+ justify: "text-justify"
1068
+ },
1069
+ color: {
1070
+ default: "text-neutral-700 dark:text-neutral-300",
1071
+ muted: "text-neutral-500 dark:text-neutral-400",
1072
+ accent: "text-blue-600 dark:text-blue-400",
1073
+ success: "text-emerald-600 dark:text-emerald-400",
1074
+ warning: "text-amber-600 dark:text-amber-400",
1075
+ error: "text-red-600 dark:text-red-400"
1076
+ }
1077
+ },
1078
+ defaultVariants: {
1079
+ size: "base",
1080
+ weight: "regular",
1081
+ align: "left",
1082
+ color: "default"
1083
+ }
1084
+ });
1085
+ var Text = React9__namespace.forwardRef(
1086
+ ({ className, size, weight, align, color, asChild = false, as = "p", children, ...props }, ref) => {
1087
+ const Comp = asChild ? reactSlot.Slot : as;
1088
+ return /* @__PURE__ */ jsxRuntime.jsx(
1089
+ Comp,
1090
+ {
1091
+ ref,
1092
+ className: chunkTMZLQK74_js.cn(textVariants({ size, weight, align, color, className })),
1093
+ ...props,
1094
+ children
1095
+ }
1096
+ );
1097
+ }
1098
+ );
1099
+ Text.displayName = "Text";
1100
+ var labelVariants = classVarianceAuthority.cva(
1101
+ "font-bricolage font-medium text-neutral-900 dark:text-neutral-100 peer-disabled:cursor-not-allowed peer-disabled:opacity-70",
1102
+ {
1103
+ variants: {
1104
+ variant: {
1105
+ default: "",
1106
+ eyebrow: "uppercase tracking-[0.2em]"
1107
+ },
1108
+ size: {
1109
+ xs: "text-[10px] leading-3",
1110
+ sm: "text-xs leading-4",
1111
+ base: "text-sm leading-5",
1112
+ lg: "text-base leading-6",
1113
+ xl: "text-lg leading-7"
1114
+ },
1115
+ weight: {
1116
+ medium: "font-medium",
1117
+ semibold: "font-semibold",
1118
+ bold: "font-bold"
1119
+ },
1120
+ required: {
1121
+ true: "after:content-['*'] after:ml-0.5 after:text-red-500",
1122
+ false: ""
1123
+ }
1124
+ },
1125
+ defaultVariants: {
1126
+ variant: "default",
1127
+ size: "base",
1128
+ weight: "medium",
1129
+ required: false
1130
+ }
1131
+ }
1132
+ );
1133
+ var Label3 = React9__namespace.forwardRef(({ className, variant, size, weight, required, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1134
+ LabelPrimitive__namespace.Root,
1135
+ {
1136
+ ref,
1137
+ className: chunkTMZLQK74_js.cn(labelVariants({ variant, size, weight, required, className })),
1138
+ ...props
1139
+ }
1140
+ ));
1141
+ Label3.displayName = LabelPrimitive__namespace.Root.displayName;
1142
+ var captionVariants = classVarianceAuthority.cva(
1143
+ "font-bricolage text-xs leading-4 text-neutral-500 dark:text-neutral-400",
1144
+ {
1145
+ variants: {
1146
+ weight: {
1147
+ regular: "font-normal",
1148
+ medium: "font-medium"
1149
+ },
1150
+ align: {
1151
+ left: "text-left",
1152
+ center: "text-center",
1153
+ right: "text-right"
1154
+ },
1155
+ color: {
1156
+ default: "text-neutral-500 dark:text-neutral-400",
1157
+ muted: "text-neutral-400 dark:text-neutral-500",
1158
+ accent: "text-blue-500 dark:text-blue-400",
1159
+ success: "text-emerald-500 dark:text-emerald-400",
1160
+ warning: "text-amber-500 dark:text-amber-400",
1161
+ error: "text-red-500 dark:text-red-400"
1162
+ }
1163
+ },
1164
+ defaultVariants: {
1165
+ weight: "regular",
1166
+ align: "left",
1167
+ color: "default"
1168
+ }
1169
+ }
1170
+ );
1171
+ var Caption = React9__namespace.forwardRef(
1172
+ ({ className, weight, align, color, children, ...props }, ref) => {
1173
+ return /* @__PURE__ */ jsxRuntime.jsx(
1174
+ "span",
1175
+ {
1176
+ ref,
1177
+ className: chunkTMZLQK74_js.cn(captionVariants({ weight, align, color, className })),
1178
+ ...props,
1179
+ children
1180
+ }
1181
+ );
1182
+ }
1183
+ );
1184
+ Caption.displayName = "Caption";
1185
+ var codeVariants = classVarianceAuthority.cva("font-mono", {
1186
+ variants: {
1187
+ variant: {
1188
+ inline: "px-1.5 py-0.5 text-sm rounded-md bg-neutral-100 dark:bg-neutral-800 text-neutral-800 dark:text-neutral-200 border border-neutral-200 dark:border-neutral-700",
1189
+ block: "block p-4 text-sm rounded-lg bg-neutral-900 dark:bg-neutral-950 text-neutral-100 overflow-x-auto"
1190
+ },
1191
+ color: {
1192
+ default: "",
1193
+ accent: "bg-blue-50 dark:bg-blue-950/30 text-blue-700 dark:text-blue-300 border-blue-200 dark:border-blue-800",
1194
+ success: "bg-emerald-50 dark:bg-emerald-950/30 text-emerald-700 dark:text-emerald-300 border-emerald-200 dark:border-emerald-800",
1195
+ warning: "bg-amber-50 dark:bg-amber-950/30 text-amber-700 dark:text-amber-300 border-amber-200 dark:border-amber-800",
1196
+ error: "bg-red-50 dark:bg-red-950/30 text-red-700 dark:text-red-300 border-red-200 dark:border-red-800"
1197
+ }
1198
+ },
1199
+ compoundVariants: [
1200
+ {
1201
+ variant: "block",
1202
+ color: ["accent", "success", "warning", "error"],
1203
+ className: "border"
1204
+ }
1205
+ ],
1206
+ defaultVariants: {
1207
+ variant: "inline",
1208
+ color: "default"
1209
+ }
1210
+ });
1211
+ var Code = React9__namespace.forwardRef(
1212
+ ({ className, variant, color, children, ...props }, ref) => {
1213
+ const isBlock = variant === "block";
1214
+ if (isBlock) {
1215
+ return /* @__PURE__ */ jsxRuntime.jsx(
1216
+ "pre",
1217
+ {
1218
+ ref,
1219
+ className: chunkTMZLQK74_js.cn(codeVariants({ variant, color, className })),
1220
+ ...props,
1221
+ children: /* @__PURE__ */ jsxRuntime.jsx("code", { children })
1222
+ }
1223
+ );
1224
+ }
1225
+ return /* @__PURE__ */ jsxRuntime.jsx(
1226
+ "code",
1227
+ {
1228
+ ref,
1229
+ className: chunkTMZLQK74_js.cn(codeVariants({ variant, color, className })),
1230
+ ...props,
1231
+ children
1232
+ }
1233
+ );
1234
+ }
1235
+ );
1236
+ Code.displayName = "Code";
1002
1237
 
1003
1238
  exports.Badge = Badge;
1004
1239
  exports.Button = Button;
1240
+ exports.Caption = Caption;
1005
1241
  exports.Card = Card;
1006
1242
  exports.CardContent = CardContent;
1007
1243
  exports.CardDescription = CardDescription;
@@ -1009,6 +1245,7 @@ exports.CardFooter = CardFooter;
1009
1245
  exports.CardHeader = CardHeader;
1010
1246
  exports.CardTitle = CardTitle;
1011
1247
  exports.Checkbox = Checkbox;
1248
+ exports.Code = Code;
1012
1249
  exports.Dialog = Dialog;
1013
1250
  exports.DialogClose = DialogClose;
1014
1251
  exports.DialogContent = DialogContent;
@@ -1034,6 +1271,8 @@ exports.DropdownMenuSub = DropdownMenuSub;
1034
1271
  exports.DropdownMenuSubContent = DropdownMenuSubContent;
1035
1272
  exports.DropdownMenuSubTrigger = DropdownMenuSubTrigger;
1036
1273
  exports.DropdownMenuTrigger = DropdownMenuTrigger;
1274
+ exports.Heading = Heading;
1275
+ exports.Label = Label3;
1037
1276
  exports.Popover = Popover;
1038
1277
  exports.PopoverAnchor = PopoverAnchor;
1039
1278
  exports.PopoverContent = PopoverContent;
@@ -1072,9 +1311,14 @@ exports.Tabs = Tabs;
1072
1311
  exports.TabsContent = TabsContent;
1073
1312
  exports.TabsList = TabsList;
1074
1313
  exports.TabsTrigger = TabsTrigger;
1314
+ exports.Text = Text;
1075
1315
  exports.Textarea = Textarea;
1076
1316
  exports.badgeVariants = badgeVariants;
1077
1317
  exports.buttonVariants = buttonVariants;
1078
- exports.cn = cn;
1079
- //# sourceMappingURL=chunk-J6RXKZE5.js.map
1080
- //# sourceMappingURL=chunk-J6RXKZE5.js.map
1318
+ exports.captionVariants = captionVariants;
1319
+ exports.codeVariants = codeVariants;
1320
+ exports.headingVariants = headingVariants;
1321
+ exports.labelVariants = labelVariants;
1322
+ exports.textVariants = textVariants;
1323
+ //# sourceMappingURL=chunk-FOXFMLET.js.map
1324
+ //# sourceMappingURL=chunk-FOXFMLET.js.map