@dilipod/ui 0.2.9 → 0.2.11

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.
package/dist/index.js CHANGED
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var React21 = require('react');
3
+ var React24 = require('react');
4
4
  var reactSlot = require('@radix-ui/react-slot');
5
5
  var classVarianceAuthority = require('class-variance-authority');
6
6
  var clsx = require('clsx');
7
7
  var tailwindMerge = require('tailwind-merge');
8
8
  var jsxRuntime = require('react/jsx-runtime');
9
9
  var SheetPrimitive = require('@radix-ui/react-dialog');
10
- var react = require('@phosphor-icons/react');
10
+ var react_star = require('@phosphor-icons/react');
11
11
  require('react-dom');
12
12
  var AccordionPrimitive = require('@radix-ui/react-accordion');
13
13
  var NavigationMenuPrimitive = require('@radix-ui/react-navigation-menu');
@@ -33,15 +33,146 @@ function _interopNamespace(e) {
33
33
  return Object.freeze(n);
34
34
  }
35
35
 
36
- var React21__namespace = /*#__PURE__*/_interopNamespace(React21);
36
+ var React24__namespace = /*#__PURE__*/_interopNamespace(React24);
37
37
  var SheetPrimitive__namespace = /*#__PURE__*/_interopNamespace(SheetPrimitive);
38
+ var react_star__namespace = /*#__PURE__*/_interopNamespace(react_star);
38
39
  var AccordionPrimitive__namespace = /*#__PURE__*/_interopNamespace(AccordionPrimitive);
39
40
  var NavigationMenuPrimitive__namespace = /*#__PURE__*/_interopNamespace(NavigationMenuPrimitive);
40
41
  var AvatarPrimitive__namespace = /*#__PURE__*/_interopNamespace(AvatarPrimitive);
41
42
  var DropdownMenuPrimitive__namespace = /*#__PURE__*/_interopNamespace(DropdownMenuPrimitive);
42
43
  var ToastPrimitives__namespace = /*#__PURE__*/_interopNamespace(ToastPrimitives);
43
44
 
44
- // src/components/button.tsx
45
+ var __defProp = Object.defineProperty;
46
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
47
+ var __getOwnPropNames = Object.getOwnPropertyNames;
48
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
49
+ var __export = (target, all) => {
50
+ for (var name in all)
51
+ __defProp(target, name, { get: all[name], enumerable: true });
52
+ };
53
+ var __copyProps = (to, from, except, desc) => {
54
+ if (from && typeof from === "object" || typeof from === "function") {
55
+ for (let key of __getOwnPropNames(from))
56
+ if (!__hasOwnProp.call(to, key) && key !== except)
57
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
58
+ }
59
+ return to;
60
+ };
61
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget);
62
+
63
+ // src/index.ts
64
+ var index_exports = {};
65
+ __export(index_exports, {
66
+ Accordion: () => Accordion,
67
+ AccordionContent: () => AccordionContent,
68
+ AccordionItem: () => AccordionItem,
69
+ AccordionTrigger: () => AccordionTrigger,
70
+ Alert: () => Alert,
71
+ Avatar: () => Avatar,
72
+ AvatarFallback: () => AvatarFallback,
73
+ AvatarImage: () => AvatarImage,
74
+ Badge: () => Badge,
75
+ Button: () => Button,
76
+ Card: () => Card,
77
+ CardContent: () => CardContent,
78
+ CardDescription: () => CardDescription,
79
+ CardFooter: () => CardFooter,
80
+ CardHeader: () => CardHeader,
81
+ CardTitle: () => CardTitle,
82
+ Checkbox: () => Checkbox,
83
+ CodeBlock: () => CodeBlock,
84
+ Dialog: () => Dialog,
85
+ DialogClose: () => DialogClose,
86
+ DialogContent: () => DialogContent,
87
+ DialogDescription: () => DialogDescription,
88
+ DialogFooter: () => DialogFooter,
89
+ DialogHeader: () => DialogHeader,
90
+ DialogOverlay: () => DialogOverlay,
91
+ DialogPortal: () => DialogPortal,
92
+ DialogTitle: () => DialogTitle,
93
+ DialogTrigger: () => DialogTrigger,
94
+ Divider: () => Divider,
95
+ DropdownMenu: () => DropdownMenu,
96
+ DropdownMenuCheckboxItem: () => DropdownMenuCheckboxItem,
97
+ DropdownMenuContent: () => DropdownMenuContent,
98
+ DropdownMenuGroup: () => DropdownMenuGroup,
99
+ DropdownMenuItem: () => DropdownMenuItem,
100
+ DropdownMenuLabel: () => DropdownMenuLabel,
101
+ DropdownMenuPortal: () => DropdownMenuPortal,
102
+ DropdownMenuRadioGroup: () => DropdownMenuRadioGroup,
103
+ DropdownMenuRadioItem: () => DropdownMenuRadioItem,
104
+ DropdownMenuSeparator: () => DropdownMenuSeparator,
105
+ DropdownMenuShortcut: () => DropdownMenuShortcut,
106
+ DropdownMenuSub: () => DropdownMenuSub,
107
+ DropdownMenuSubContent: () => DropdownMenuSubContent,
108
+ DropdownMenuSubTrigger: () => DropdownMenuSubTrigger,
109
+ DropdownMenuTrigger: () => DropdownMenuTrigger,
110
+ EmptyState: () => EmptyState,
111
+ FormField: () => FormField,
112
+ IconBox: () => IconBox,
113
+ Input: () => Input,
114
+ Label: () => Label2,
115
+ Logo: () => Logo,
116
+ MetricCard: () => MetricCard,
117
+ NavigationMenu: () => NavigationMenu,
118
+ NavigationMenuContent: () => NavigationMenuContent,
119
+ NavigationMenuIndicator: () => NavigationMenuIndicator,
120
+ NavigationMenuItem: () => NavigationMenuItem,
121
+ NavigationMenuLink: () => NavigationMenuLink,
122
+ NavigationMenuList: () => NavigationMenuList,
123
+ NavigationMenuTrigger: () => NavigationMenuTrigger,
124
+ NavigationMenuViewport: () => NavigationMenuViewport,
125
+ Progress: () => Progress,
126
+ Separator: () => Separator2,
127
+ Sheet: () => Sheet,
128
+ SheetClose: () => SheetClose,
129
+ SheetContent: () => SheetContent,
130
+ SheetDescription: () => SheetDescription,
131
+ SheetFooter: () => SheetFooter,
132
+ SheetHeader: () => SheetHeader,
133
+ SheetOverlay: () => SheetOverlay,
134
+ SheetPortal: () => SheetPortal,
135
+ SheetTitle: () => SheetTitle,
136
+ SheetTrigger: () => SheetTrigger,
137
+ Sidebar: () => Sidebar,
138
+ SidebarNavItem: () => SidebarNavItem,
139
+ Stat: () => Stat,
140
+ Table: () => Table,
141
+ TableBody: () => TableBody,
142
+ TableCaption: () => TableCaption,
143
+ TableCell: () => TableCell,
144
+ TableFooter: () => TableFooter,
145
+ TableHead: () => TableHead,
146
+ TableHeader: () => TableHeader,
147
+ TableRow: () => TableRow,
148
+ Tag: () => Tag,
149
+ Textarea: () => Textarea,
150
+ Toast: () => Toast,
151
+ ToastAction: () => ToastAction,
152
+ ToastClose: () => ToastClose,
153
+ ToastDescription: () => ToastDescription,
154
+ ToastIcon: () => ToastIcon,
155
+ ToastProvider: () => ToastProvider,
156
+ ToastTitle: () => ToastTitle,
157
+ ToastViewport: () => ToastViewport,
158
+ Toaster: () => Toaster,
159
+ UsageBar: () => UsageBar,
160
+ UsageChart: () => UsageChart,
161
+ alertVariants: () => alertVariants,
162
+ badgeVariants: () => badgeVariants,
163
+ buttonVariants: () => buttonVariants,
164
+ cn: () => cn,
165
+ iconBoxVariants: () => iconBoxVariants,
166
+ metricCardVariants: () => metricCardVariants,
167
+ navigationMenuTriggerStyle: () => navigationMenuTriggerStyle,
168
+ progressVariants: () => progressVariants,
169
+ statVariants: () => statVariants,
170
+ tagVariants: () => tagVariants,
171
+ toast: () => toast,
172
+ usageBarVariants: () => usageBarVariants,
173
+ useToast: () => useToast,
174
+ valueVariants: () => valueVariants
175
+ });
45
176
  function cn(...inputs) {
46
177
  return tailwindMerge.twMerge(clsx.clsx(inputs));
47
178
  }
@@ -71,7 +202,7 @@ var buttonVariants = classVarianceAuthority.cva(
71
202
  }
72
203
  }
73
204
  );
74
- var Button = React21__namespace.forwardRef(
205
+ var Button = React24__namespace.forwardRef(
75
206
  ({ className, variant, size, asChild = false, loading, loadingText, children, disabled, ...props }, ref) => {
76
207
  const Comp = asChild ? reactSlot.Slot : "button";
77
208
  const isDisabled = disabled || loading;
@@ -124,7 +255,7 @@ var Sheet = SheetPrimitive__namespace.Root;
124
255
  var SheetTrigger = SheetPrimitive__namespace.Trigger;
125
256
  var SheetClose = SheetPrimitive__namespace.Close;
126
257
  var SheetPortal = SheetPrimitive__namespace.Portal;
127
- var SheetOverlay = React21__namespace.forwardRef(({ className, ...props }, ref) => (
258
+ var SheetOverlay = React24__namespace.forwardRef(({ className, ...props }, ref) => (
128
259
  // @ts-ignore - Radix Dialog Overlay accepts className at runtime
129
260
  /* @__PURE__ */ jsxRuntime.jsx(
130
261
  SheetPrimitive__namespace.Overlay,
@@ -155,7 +286,7 @@ var sheetVariants = classVarianceAuthority.cva(
155
286
  }
156
287
  }
157
288
  );
158
- var SheetContent = React21__namespace.forwardRef(({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(SheetPortal, { children: [
289
+ var SheetContent = React24__namespace.forwardRef(({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(SheetPortal, { children: [
159
290
  /* @__PURE__ */ jsxRuntime.jsx(SheetOverlay, {}),
160
291
  /* @__PURE__ */ jsxRuntime.jsxs(
161
292
  SheetPrimitive__namespace.Content,
@@ -166,7 +297,7 @@ var SheetContent = React21__namespace.forwardRef(({ side = "right", className, c
166
297
  children: [
167
298
  children,
168
299
  /* @__PURE__ */ jsxRuntime.jsxs(SheetPrimitive__namespace.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-white transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-[var(--cyan)] focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-gray-100", children: [
169
- /* @__PURE__ */ jsxRuntime.jsx(react.X, { className: "h-4 w-4" }),
300
+ /* @__PURE__ */ jsxRuntime.jsx(react_star.X, { className: "h-4 w-4" }),
170
301
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Close" })
171
302
  ] })
172
303
  ]
@@ -202,7 +333,7 @@ var SheetFooter = ({
202
333
  }
203
334
  );
204
335
  SheetFooter.displayName = "SheetFooter";
205
- var SheetTitle = React21__namespace.forwardRef(({ className, ...props }, ref) => (
336
+ var SheetTitle = React24__namespace.forwardRef(({ className, ...props }, ref) => (
206
337
  // @ts-ignore - Radix Dialog Title accepts className at runtime
207
338
  /* @__PURE__ */ jsxRuntime.jsx(
208
339
  SheetPrimitive__namespace.Title,
@@ -214,7 +345,7 @@ var SheetTitle = React21__namespace.forwardRef(({ className, ...props }, ref) =>
214
345
  )
215
346
  ));
216
347
  SheetTitle.displayName = SheetPrimitive__namespace.Title.displayName;
217
- var SheetDescription = React21__namespace.forwardRef(({ className, ...props }, ref) => (
348
+ var SheetDescription = React24__namespace.forwardRef(({ className, ...props }, ref) => (
218
349
  // @ts-ignore - Radix Dialog Description accepts className at runtime
219
350
  /* @__PURE__ */ jsxRuntime.jsx(
220
351
  SheetPrimitive__namespace.Description,
@@ -314,7 +445,7 @@ var badgeVariants = classVarianceAuthority.cva(
314
445
  }
315
446
  }
316
447
  );
317
- var Badge = React21__namespace.forwardRef(
448
+ var Badge = React24__namespace.forwardRef(
318
449
  ({ className, variant, size, pulse, pulseColor: pulseColorProp, children, ...props }, ref) => {
319
450
  const getPulseColorClass = () => {
320
451
  const color = pulseColorProp || variant || "default";
@@ -368,7 +499,7 @@ var Badge = React21__namespace.forwardRef(
368
499
  }
369
500
  );
370
501
  Badge.displayName = "Badge";
371
- var Card = React21__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
502
+ var Card = React24__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
372
503
  "div",
373
504
  {
374
505
  ref,
@@ -380,7 +511,7 @@ var Card = React21__namespace.forwardRef(({ className, ...props }, ref) => /* @_
380
511
  }
381
512
  ));
382
513
  Card.displayName = "Card";
383
- var CardHeader = React21__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
514
+ var CardHeader = React24__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
384
515
  "div",
385
516
  {
386
517
  ref,
@@ -389,7 +520,7 @@ var CardHeader = React21__namespace.forwardRef(({ className, ...props }, ref) =>
389
520
  }
390
521
  ));
391
522
  CardHeader.displayName = "CardHeader";
392
- var CardTitle = React21__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
523
+ var CardTitle = React24__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
393
524
  "h3",
394
525
  {
395
526
  ref,
@@ -401,7 +532,7 @@ var CardTitle = React21__namespace.forwardRef(({ className, ...props }, ref) =>
401
532
  }
402
533
  ));
403
534
  CardTitle.displayName = "CardTitle";
404
- var CardDescription = React21__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
535
+ var CardDescription = React24__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
405
536
  "p",
406
537
  {
407
538
  ref,
@@ -410,9 +541,9 @@ var CardDescription = React21__namespace.forwardRef(({ className, ...props }, re
410
541
  }
411
542
  ));
412
543
  CardDescription.displayName = "CardDescription";
413
- var CardContent = React21__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className: cn("p-6 pt-0", className), ...props }));
544
+ var CardContent = React24__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className: cn("p-6 pt-0", className), ...props }));
414
545
  CardContent.displayName = "CardContent";
415
- var CardFooter = React21__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
546
+ var CardFooter = React24__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
416
547
  "div",
417
548
  {
418
549
  ref,
@@ -435,7 +566,7 @@ var progressVariants = classVarianceAuthority.cva("h-full rounded-full transitio
435
566
  variant: "default"
436
567
  }
437
568
  });
438
- var Progress = React21__namespace.forwardRef(
569
+ var Progress = React24__namespace.forwardRef(
439
570
  ({ className, value, variant, showLabel, label = "Progress", size = "default", ...props }, ref) => {
440
571
  const clampedValue = Math.min(100, Math.max(0, value));
441
572
  const heightClass = {
@@ -502,7 +633,7 @@ var iconBoxVariants = classVarianceAuthority.cva(
502
633
  }
503
634
  }
504
635
  );
505
- var IconBox = React21__namespace.forwardRef(
636
+ var IconBox = React24__namespace.forwardRef(
506
637
  ({ className, variant, size, rounded, children, ...props }, ref) => {
507
638
  return /* @__PURE__ */ jsxRuntime.jsx(
508
639
  "div",
@@ -538,7 +669,7 @@ var tagVariants = classVarianceAuthority.cva(
538
669
  }
539
670
  }
540
671
  );
541
- var Tag = React21__namespace.forwardRef(
672
+ var Tag = React24__namespace.forwardRef(
542
673
  ({ className, variant, size, icon, children, ...props }, ref) => {
543
674
  return /* @__PURE__ */ jsxRuntime.jsxs(
544
675
  "span",
@@ -592,7 +723,7 @@ var valueVariants = classVarianceAuthority.cva("font-bold", {
592
723
  color: "default"
593
724
  }
594
725
  });
595
- var Stat = React21__namespace.forwardRef(
726
+ var Stat = React24__namespace.forwardRef(
596
727
  ({
597
728
  className,
598
729
  variant,
@@ -633,7 +764,318 @@ var Stat = React21__namespace.forwardRef(
633
764
  }
634
765
  );
635
766
  Stat.displayName = "Stat";
636
- var Input = React21__namespace.forwardRef(
767
+ var metricCardVariants = classVarianceAuthority.cva("p-5", {
768
+ variants: {
769
+ variant: {
770
+ default: "",
771
+ outlined: "border-l-4"
772
+ }
773
+ },
774
+ defaultVariants: {
775
+ variant: "default"
776
+ }
777
+ });
778
+ var iconContainerVariants = classVarianceAuthority.cva("p-2 rounded-lg shrink-0", {
779
+ variants: {
780
+ color: {
781
+ cyan: "bg-[var(--cyan)]/10",
782
+ purple: "bg-purple-50",
783
+ green: "bg-green-50",
784
+ amber: "bg-amber-50",
785
+ red: "bg-red-50",
786
+ gray: "bg-gray-100"
787
+ }
788
+ },
789
+ defaultVariants: {
790
+ color: "cyan"
791
+ }
792
+ });
793
+ var iconVariants = classVarianceAuthority.cva("h-5 w-5", {
794
+ variants: {
795
+ color: {
796
+ cyan: "text-[var(--cyan)]",
797
+ purple: "text-purple-500",
798
+ green: "text-green-500",
799
+ amber: "text-amber-500",
800
+ red: "text-red-500",
801
+ gray: "text-gray-500"
802
+ }
803
+ },
804
+ defaultVariants: {
805
+ color: "cyan"
806
+ }
807
+ });
808
+ var MetricCard = React24__namespace.forwardRef(
809
+ ({
810
+ className,
811
+ variant,
812
+ value,
813
+ label,
814
+ icon: Icon,
815
+ iconColor = "cyan",
816
+ borderColor,
817
+ ...props
818
+ }, ref) => {
819
+ return /* @__PURE__ */ jsxRuntime.jsx(
820
+ Card,
821
+ {
822
+ ref,
823
+ className: cn(
824
+ metricCardVariants({ variant }),
825
+ variant === "outlined" && borderColor,
826
+ className
827
+ ),
828
+ ...props,
829
+ children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
830
+ Icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn(iconContainerVariants({ color: iconColor })), children: /* @__PURE__ */ jsxRuntime.jsx(Icon, { className: cn(iconVariants({ color: iconColor })) }) }),
831
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0", children: [
832
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-2xl font-bold text-[var(--black)] truncate", children: value }),
833
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-gray-500 truncate", children: label })
834
+ ] })
835
+ ] })
836
+ }
837
+ );
838
+ }
839
+ );
840
+ MetricCard.displayName = "MetricCard";
841
+ var usageBarVariants = classVarianceAuthority.cva("space-y-3", {
842
+ variants: {
843
+ size: {
844
+ sm: "",
845
+ default: "",
846
+ lg: ""
847
+ }
848
+ },
849
+ defaultVariants: {
850
+ size: "default"
851
+ }
852
+ });
853
+ var progressColorVariants = classVarianceAuthority.cva("", {
854
+ variants: {
855
+ color: {
856
+ cyan: "[&>div]:bg-[var(--cyan)]",
857
+ purple: "[&>div]:bg-purple-500",
858
+ green: "[&>div]:bg-green-500",
859
+ amber: "[&>div]:bg-amber-500",
860
+ red: "[&>div]:bg-red-500"
861
+ }
862
+ },
863
+ defaultVariants: {
864
+ color: "cyan"
865
+ }
866
+ });
867
+ var UsageBar = React24__namespace.forwardRef(
868
+ ({
869
+ className,
870
+ size,
871
+ label,
872
+ used,
873
+ included,
874
+ icon: Icon,
875
+ color = "cyan",
876
+ showOverLimit = true,
877
+ ...props
878
+ }, ref) => {
879
+ const percentage = included > 0 ? Math.min(used / included * 100, 100) : 0;
880
+ const isOverLimit = used > included;
881
+ const progressHeight = {
882
+ sm: "h-1.5",
883
+ default: "h-2.5",
884
+ lg: "h-3"
885
+ }[size || "default"];
886
+ return /* @__PURE__ */ jsxRuntime.jsxs(
887
+ "div",
888
+ {
889
+ ref,
890
+ className: cn(usageBarVariants({ size }), className),
891
+ ...props,
892
+ children: [
893
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between", children: [
894
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
895
+ Icon && /* @__PURE__ */ jsxRuntime.jsx(Icon, { className: cn(
896
+ "h-5 w-5",
897
+ isOverLimit ? "text-red-500" : "text-gray-500"
898
+ ) }),
899
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-medium text-[var(--black)]", children: label })
900
+ ] }),
901
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-right", children: [
902
+ /* @__PURE__ */ jsxRuntime.jsx(
903
+ "span",
904
+ {
905
+ className: cn(
906
+ "text-lg font-semibold",
907
+ isOverLimit ? "text-red-500" : "text-[var(--black)]"
908
+ ),
909
+ children: used.toLocaleString()
910
+ }
911
+ ),
912
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-gray-500", children: [
913
+ " / ",
914
+ included.toLocaleString()
915
+ ] })
916
+ ] })
917
+ ] }),
918
+ /* @__PURE__ */ jsxRuntime.jsx(
919
+ Progress,
920
+ {
921
+ value: percentage,
922
+ className: cn(
923
+ progressHeight,
924
+ isOverLimit ? "[&>div]:bg-red-500" : progressColorVariants({ color })
925
+ )
926
+ }
927
+ ),
928
+ isOverLimit && showOverLimit && /* @__PURE__ */ jsxRuntime.jsxs("p", { className: "text-sm text-red-500", children: [
929
+ "Over limit by ",
930
+ (used - included).toLocaleString(),
931
+ " actions"
932
+ ] })
933
+ ]
934
+ }
935
+ );
936
+ }
937
+ );
938
+ UsageBar.displayName = "UsageBar";
939
+ var UsageChart = React24__namespace.forwardRef(
940
+ ({
941
+ className,
942
+ data,
943
+ height = 200,
944
+ primaryColor = "var(--cyan)",
945
+ secondaryColor = "#a855f7",
946
+ showTooltip = true,
947
+ formatValue = (v) => v.toLocaleString(),
948
+ ...props
949
+ }, ref) => {
950
+ const [hoveredIndex, setHoveredIndex] = React24__namespace.useState(null);
951
+ const maxValue = React24__namespace.useMemo(() => {
952
+ return Math.max(
953
+ ...data.map((d) => d.value + (d.secondaryValue || 0)),
954
+ 1
955
+ );
956
+ }, [data]);
957
+ const scaledMax = maxValue * 1.1;
958
+ const barWidth = 100 / Math.max(data.length, 1);
959
+ const barGap = barWidth * 0.3;
960
+ const actualBarWidth = barWidth - barGap;
961
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref, className: cn("w-full", className), ...props, children: [
962
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", style: { height }, children: [
963
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-0 flex flex-col justify-between pointer-events-none", children: [0, 1, 2, 3, 4].map((i) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center w-full", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full border-t border-gray-100" }) }, i)) }),
964
+ /* @__PURE__ */ jsxRuntime.jsx(
965
+ "svg",
966
+ {
967
+ className: "absolute inset-0 w-full h-full",
968
+ preserveAspectRatio: "none",
969
+ children: data.map((point, index) => {
970
+ const primaryHeight = point.value / scaledMax * 100;
971
+ const secondaryHeight = point.secondaryValue ? point.secondaryValue / scaledMax * 100 : 0;
972
+ const totalHeight = primaryHeight + secondaryHeight;
973
+ const x = index * barWidth + barGap / 2;
974
+ const isHovered = hoveredIndex === index;
975
+ return /* @__PURE__ */ jsxRuntime.jsxs(
976
+ "g",
977
+ {
978
+ onMouseEnter: () => setHoveredIndex(index),
979
+ onMouseLeave: () => setHoveredIndex(null),
980
+ className: "cursor-pointer",
981
+ children: [
982
+ /* @__PURE__ */ jsxRuntime.jsx(
983
+ "rect",
984
+ {
985
+ x: `${x}%`,
986
+ y: "0",
987
+ width: `${actualBarWidth}%`,
988
+ height: "100%",
989
+ fill: isHovered ? "rgba(0,0,0,0.02)" : "transparent",
990
+ rx: "4"
991
+ }
992
+ ),
993
+ point.secondaryValue !== void 0 && point.secondaryValue > 0 && /* @__PURE__ */ jsxRuntime.jsx(
994
+ "rect",
995
+ {
996
+ x: `${x}%`,
997
+ y: `${100 - totalHeight}%`,
998
+ width: `${actualBarWidth}%`,
999
+ height: `${secondaryHeight}%`,
1000
+ fill: secondaryColor,
1001
+ rx: "4",
1002
+ className: "transition-all duration-200",
1003
+ style: {
1004
+ opacity: isHovered ? 1 : 0.85
1005
+ }
1006
+ }
1007
+ ),
1008
+ /* @__PURE__ */ jsxRuntime.jsx(
1009
+ "rect",
1010
+ {
1011
+ x: `${x}%`,
1012
+ y: `${100 - primaryHeight - (point.secondaryValue ? 0 : 0)}%`,
1013
+ width: `${actualBarWidth}%`,
1014
+ height: `${primaryHeight}%`,
1015
+ fill: primaryColor,
1016
+ rx: point.secondaryValue ? "0" : "4",
1017
+ style: {
1018
+ borderTopLeftRadius: point.secondaryValue ? 0 : 4,
1019
+ borderTopRightRadius: point.secondaryValue ? 0 : 4
1020
+ },
1021
+ className: "transition-all duration-200"
1022
+ }
1023
+ )
1024
+ ]
1025
+ },
1026
+ index
1027
+ );
1028
+ })
1029
+ }
1030
+ ),
1031
+ showTooltip && hoveredIndex !== null && data[hoveredIndex] && /* @__PURE__ */ jsxRuntime.jsxs(
1032
+ "div",
1033
+ {
1034
+ className: "absolute z-10 px-3 py-2 text-sm bg-[var(--black)] text-white rounded-lg shadow-lg pointer-events-none transform -translate-x-1/2",
1035
+ style: {
1036
+ left: `${(hoveredIndex + 0.5) * barWidth}%`,
1037
+ top: -8
1038
+ },
1039
+ children: [
1040
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "font-medium", children: data[hoveredIndex].label }),
1041
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 mt-1", children: [
1042
+ /* @__PURE__ */ jsxRuntime.jsx(
1043
+ "span",
1044
+ {
1045
+ className: "w-2 h-2 rounded-full",
1046
+ style: { backgroundColor: primaryColor }
1047
+ }
1048
+ ),
1049
+ /* @__PURE__ */ jsxRuntime.jsx("span", { children: formatValue(data[hoveredIndex].value) })
1050
+ ] }),
1051
+ data[hoveredIndex].secondaryValue !== void 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
1052
+ /* @__PURE__ */ jsxRuntime.jsx(
1053
+ "span",
1054
+ {
1055
+ className: "w-2 h-2 rounded-full",
1056
+ style: { backgroundColor: secondaryColor }
1057
+ }
1058
+ ),
1059
+ /* @__PURE__ */ jsxRuntime.jsx("span", { children: formatValue(data[hoveredIndex].secondaryValue) })
1060
+ ] })
1061
+ ]
1062
+ }
1063
+ )
1064
+ ] }),
1065
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex mt-3", children: data.map((point, index) => /* @__PURE__ */ jsxRuntime.jsx(
1066
+ "div",
1067
+ {
1068
+ className: "text-center text-xs text-gray-500 truncate",
1069
+ style: { width: `${barWidth}%` },
1070
+ children: point.label
1071
+ },
1072
+ index
1073
+ )) })
1074
+ ] });
1075
+ }
1076
+ );
1077
+ UsageChart.displayName = "UsageChart";
1078
+ var Input = React24__namespace.forwardRef(
637
1079
  ({ className, type, error, ...props }, ref) => {
638
1080
  return /* @__PURE__ */ jsxRuntime.jsx(
639
1081
  "input",
@@ -673,7 +1115,7 @@ var NODES = [
673
1115
  ];
674
1116
  var Primitive = NODES.reduce((primitive, node) => {
675
1117
  const Slot2 = reactSlot.createSlot(`Primitive.${node}`);
676
- const Node = React21__namespace.forwardRef((props, forwardedRef) => {
1118
+ const Node = React24__namespace.forwardRef((props, forwardedRef) => {
677
1119
  const { asChild, ...primitiveProps } = props;
678
1120
  const Comp = asChild ? Slot2 : node;
679
1121
  if (typeof window !== "undefined") {
@@ -685,7 +1127,7 @@ var Primitive = NODES.reduce((primitive, node) => {
685
1127
  return { ...primitive, [node]: Node };
686
1128
  }, {});
687
1129
  var NAME = "Label";
688
- var Label = React21__namespace.forwardRef((props, forwardedRef) => {
1130
+ var Label = React24__namespace.forwardRef((props, forwardedRef) => {
689
1131
  return /* @__PURE__ */ jsxRuntime.jsx(
690
1132
  Primitive.label,
691
1133
  {
@@ -705,7 +1147,7 @@ var Root2 = Label;
705
1147
  var labelVariants = classVarianceAuthority.cva(
706
1148
  "text-sm font-medium leading-none text-[var(--black)] peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
707
1149
  );
708
- var Label2 = React21__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1150
+ var Label2 = React24__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
709
1151
  Root2,
710
1152
  {
711
1153
  ref,
@@ -714,7 +1156,7 @@ var Label2 = React21__namespace.forwardRef(({ className, ...props }, ref) => /*
714
1156
  }
715
1157
  ));
716
1158
  Label2.displayName = Root2.displayName;
717
- var Textarea = React21__namespace.forwardRef(
1159
+ var Textarea = React24__namespace.forwardRef(
718
1160
  ({ className, error, ...props }, ref) => {
719
1161
  return /* @__PURE__ */ jsxRuntime.jsx(
720
1162
  "textarea",
@@ -732,7 +1174,11 @@ var Textarea = React21__namespace.forwardRef(
732
1174
  }
733
1175
  );
734
1176
  Textarea.displayName = "Textarea";
735
- var Checkbox = React21__namespace.forwardRef(
1177
+
1178
+ // src/icons.ts
1179
+ var icons_exports = {};
1180
+ __reExport(icons_exports, react_star__namespace);
1181
+ var Checkbox = React24__namespace.forwardRef(
736
1182
  ({ className, checked, onCheckedChange, ...props }, ref) => {
737
1183
  return /* @__PURE__ */ jsxRuntime.jsxs("label", { className: "relative inline-flex items-center cursor-pointer", children: [
738
1184
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -756,7 +1202,7 @@ var Checkbox = React21__namespace.forwardRef(
756
1202
  "peer-disabled:cursor-not-allowed peer-disabled:opacity-50",
757
1203
  className
758
1204
  ),
759
- children: checked && /* @__PURE__ */ jsxRuntime.jsx(react.Check, { className: "h-3.5 w-3.5 text-white", weight: "bold" })
1205
+ children: checked && /* @__PURE__ */ jsxRuntime.jsx(icons_exports.Check, { className: "h-3.5 w-3.5 text-white", weight: "bold" })
760
1206
  }
761
1207
  )
762
1208
  ] });
@@ -764,7 +1210,7 @@ var Checkbox = React21__namespace.forwardRef(
764
1210
  );
765
1211
  Checkbox.displayName = "Checkbox";
766
1212
  var Accordion = AccordionPrimitive__namespace.Root;
767
- var AccordionItem = React21__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1213
+ var AccordionItem = React24__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
768
1214
  AccordionPrimitive__namespace.Item,
769
1215
  {
770
1216
  ref,
@@ -773,7 +1219,7 @@ var AccordionItem = React21__namespace.forwardRef(({ className, ...props }, ref)
773
1219
  }
774
1220
  ));
775
1221
  AccordionItem.displayName = "AccordionItem";
776
- var AccordionTrigger = React21__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(AccordionPrimitive__namespace.Header, { className: "flex", children: /* @__PURE__ */ jsxRuntime.jsxs(
1222
+ var AccordionTrigger = React24__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(AccordionPrimitive__namespace.Header, { className: "flex", children: /* @__PURE__ */ jsxRuntime.jsxs(
777
1223
  AccordionPrimitive__namespace.Trigger,
778
1224
  {
779
1225
  ref,
@@ -784,12 +1230,12 @@ var AccordionTrigger = React21__namespace.forwardRef(({ className, children, ...
784
1230
  ...props,
785
1231
  children: [
786
1232
  children,
787
- /* @__PURE__ */ jsxRuntime.jsx(react.CaretDown, { className: "h-4 w-4 shrink-0 text-gray-500 transition-transform duration-200" })
1233
+ /* @__PURE__ */ jsxRuntime.jsx(icons_exports.CaretDown, { className: "h-4 w-4 shrink-0 text-gray-500 transition-transform duration-200" })
788
1234
  ]
789
1235
  }
790
1236
  ) }));
791
1237
  AccordionTrigger.displayName = AccordionPrimitive__namespace.Trigger.displayName;
792
- var AccordionContent = React21__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1238
+ var AccordionContent = React24__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
793
1239
  AccordionPrimitive__namespace.Content,
794
1240
  {
795
1241
  ref,
@@ -820,7 +1266,7 @@ var NODES2 = [
820
1266
  ];
821
1267
  var Primitive2 = NODES2.reduce((primitive, node) => {
822
1268
  const Slot2 = reactSlot.createSlot(`Primitive.${node}`);
823
- const Node = React21__namespace.forwardRef((props, forwardedRef) => {
1269
+ const Node = React24__namespace.forwardRef((props, forwardedRef) => {
824
1270
  const { asChild, ...primitiveProps } = props;
825
1271
  const Comp = asChild ? Slot2 : node;
826
1272
  if (typeof window !== "undefined") {
@@ -834,7 +1280,7 @@ var Primitive2 = NODES2.reduce((primitive, node) => {
834
1280
  var NAME2 = "Separator";
835
1281
  var DEFAULT_ORIENTATION = "horizontal";
836
1282
  var ORIENTATIONS = ["horizontal", "vertical"];
837
- var Separator = React21__namespace.forwardRef((props, forwardedRef) => {
1283
+ var Separator = React24__namespace.forwardRef((props, forwardedRef) => {
838
1284
  const { decorative, orientation: orientationProp = DEFAULT_ORIENTATION, ...domProps } = props;
839
1285
  const orientation = isValidOrientation(orientationProp) ? orientationProp : DEFAULT_ORIENTATION;
840
1286
  const ariaOrientation = orientation === "vertical" ? orientation : void 0;
@@ -854,7 +1300,7 @@ function isValidOrientation(orientation) {
854
1300
  return ORIENTATIONS.includes(orientation);
855
1301
  }
856
1302
  var Root4 = Separator;
857
- var Separator2 = React21__namespace.forwardRef(
1303
+ var Separator2 = React24__namespace.forwardRef(
858
1304
  ({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
859
1305
  Root4,
860
1306
  {
@@ -871,7 +1317,7 @@ var Separator2 = React21__namespace.forwardRef(
871
1317
  )
872
1318
  );
873
1319
  Separator2.displayName = Root4.displayName;
874
- var NavigationMenu = React21__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
1320
+ var NavigationMenu = React24__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
875
1321
  NavigationMenuPrimitive__namespace.Root,
876
1322
  {
877
1323
  ref,
@@ -887,7 +1333,7 @@ var NavigationMenu = React21__namespace.forwardRef(({ className, children, ...pr
887
1333
  }
888
1334
  ));
889
1335
  NavigationMenu.displayName = NavigationMenuPrimitive__namespace.Root.displayName;
890
- var NavigationMenuList = React21__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1336
+ var NavigationMenuList = React24__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
891
1337
  NavigationMenuPrimitive__namespace.List,
892
1338
  {
893
1339
  ref,
@@ -903,7 +1349,7 @@ var NavigationMenuItem = NavigationMenuPrimitive__namespace.Item;
903
1349
  var navigationMenuTriggerStyle = classVarianceAuthority.cva(
904
1350
  "group inline-flex h-10 w-max items-center justify-center rounded-md bg-white px-4 py-2 text-sm font-medium text-[var(--black)] transition-colors hover:bg-gray-100 hover:text-[var(--black)] focus:bg-gray-100 focus:text-[var(--black)] focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[state=open]:text-[var(--black)] data-[state=open]:bg-gray-100/50 data-[state=open]:hover:bg-gray-100 data-[state=open]:focus:bg-gray-100"
905
1351
  );
906
- var NavigationMenuTrigger = React21__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
1352
+ var NavigationMenuTrigger = React24__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
907
1353
  NavigationMenuPrimitive__namespace.Trigger,
908
1354
  {
909
1355
  ref,
@@ -913,7 +1359,7 @@ var NavigationMenuTrigger = React21__namespace.forwardRef(({ className, children
913
1359
  children,
914
1360
  " ",
915
1361
  /* @__PURE__ */ jsxRuntime.jsx(
916
- react.CaretDown,
1362
+ icons_exports.CaretDown,
917
1363
  {
918
1364
  className: "relative top-[1px] ml-1 h-3 w-3 transition duration-200 group-data-[state=open]:rotate-180",
919
1365
  "aria-hidden": "true"
@@ -923,7 +1369,7 @@ var NavigationMenuTrigger = React21__namespace.forwardRef(({ className, children
923
1369
  }
924
1370
  ));
925
1371
  NavigationMenuTrigger.displayName = NavigationMenuPrimitive__namespace.Trigger.displayName;
926
- var NavigationMenuContent = React21__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1372
+ var NavigationMenuContent = React24__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
927
1373
  NavigationMenuPrimitive__namespace.Content,
928
1374
  {
929
1375
  ref,
@@ -936,7 +1382,7 @@ var NavigationMenuContent = React21__namespace.forwardRef(({ className, ...props
936
1382
  ));
937
1383
  NavigationMenuContent.displayName = NavigationMenuPrimitive__namespace.Content.displayName;
938
1384
  var NavigationMenuLink = NavigationMenuPrimitive__namespace.Link;
939
- var NavigationMenuViewport = React21__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("absolute left-0 top-full flex justify-center"), children: /* @__PURE__ */ jsxRuntime.jsx(
1385
+ var NavigationMenuViewport = React24__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("absolute left-0 top-full flex justify-center"), children: /* @__PURE__ */ jsxRuntime.jsx(
940
1386
  NavigationMenuPrimitive__namespace.Viewport,
941
1387
  {
942
1388
  className: cn(
@@ -948,7 +1394,7 @@ var NavigationMenuViewport = React21__namespace.forwardRef(({ className, ...prop
948
1394
  }
949
1395
  ) }));
950
1396
  NavigationMenuViewport.displayName = NavigationMenuPrimitive__namespace.Viewport.displayName;
951
- var NavigationMenuIndicator = React21__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1397
+ var NavigationMenuIndicator = React24__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
952
1398
  NavigationMenuPrimitive__namespace.Indicator,
953
1399
  {
954
1400
  ref,
@@ -961,7 +1407,7 @@ var NavigationMenuIndicator = React21__namespace.forwardRef(({ className, ...pro
961
1407
  }
962
1408
  ));
963
1409
  NavigationMenuIndicator.displayName = NavigationMenuPrimitive__namespace.Indicator.displayName;
964
- var Avatar = React21__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1410
+ var Avatar = React24__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
965
1411
  AvatarPrimitive__namespace.Root,
966
1412
  {
967
1413
  ref,
@@ -973,7 +1419,7 @@ var Avatar = React21__namespace.forwardRef(({ className, ...props }, ref) => /*
973
1419
  }
974
1420
  ));
975
1421
  Avatar.displayName = AvatarPrimitive__namespace.Root.displayName;
976
- var AvatarImage = React21__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1422
+ var AvatarImage = React24__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
977
1423
  AvatarPrimitive__namespace.Image,
978
1424
  {
979
1425
  ref,
@@ -982,7 +1428,7 @@ var AvatarImage = React21__namespace.forwardRef(({ className, ...props }, ref) =
982
1428
  }
983
1429
  ));
984
1430
  AvatarImage.displayName = AvatarPrimitive__namespace.Image.displayName;
985
- var AvatarFallback = React21__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1431
+ var AvatarFallback = React24__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
986
1432
  AvatarPrimitive__namespace.Fallback,
987
1433
  {
988
1434
  ref,
@@ -1000,7 +1446,7 @@ var DropdownMenuGroup = DropdownMenuPrimitive__namespace.Group;
1000
1446
  var DropdownMenuPortal = DropdownMenuPrimitive__namespace.Portal;
1001
1447
  var DropdownMenuSub = DropdownMenuPrimitive__namespace.Sub;
1002
1448
  var DropdownMenuRadioGroup = DropdownMenuPrimitive__namespace.RadioGroup;
1003
- var DropdownMenuSubTrigger = React21__namespace.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
1449
+ var DropdownMenuSubTrigger = React24__namespace.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
1004
1450
  DropdownMenuPrimitive__namespace.SubTrigger,
1005
1451
  {
1006
1452
  ref,
@@ -1012,12 +1458,12 @@ var DropdownMenuSubTrigger = React21__namespace.forwardRef(({ className, inset,
1012
1458
  ...props,
1013
1459
  children: [
1014
1460
  children,
1015
- /* @__PURE__ */ jsxRuntime.jsx(react.CaretRight, { className: "ml-auto" })
1461
+ /* @__PURE__ */ jsxRuntime.jsx(icons_exports.CaretRight, { className: "ml-auto" })
1016
1462
  ]
1017
1463
  }
1018
1464
  ));
1019
1465
  DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive__namespace.SubTrigger.displayName;
1020
- var DropdownMenuSubContent = React21__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1466
+ var DropdownMenuSubContent = React24__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1021
1467
  DropdownMenuPrimitive__namespace.SubContent,
1022
1468
  {
1023
1469
  ref,
@@ -1029,7 +1475,7 @@ var DropdownMenuSubContent = React21__namespace.forwardRef(({ className, ...prop
1029
1475
  }
1030
1476
  ));
1031
1477
  DropdownMenuSubContent.displayName = DropdownMenuPrimitive__namespace.SubContent.displayName;
1032
- var DropdownMenuContent = React21__namespace.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuPrimitive__namespace.Portal, { children: /* @__PURE__ */ jsxRuntime.jsx(
1478
+ var DropdownMenuContent = React24__namespace.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuPrimitive__namespace.Portal, { children: /* @__PURE__ */ jsxRuntime.jsx(
1033
1479
  DropdownMenuPrimitive__namespace.Content,
1034
1480
  {
1035
1481
  ref,
@@ -1042,7 +1488,7 @@ var DropdownMenuContent = React21__namespace.forwardRef(({ className, sideOffset
1042
1488
  }
1043
1489
  ) }));
1044
1490
  DropdownMenuContent.displayName = DropdownMenuPrimitive__namespace.Content.displayName;
1045
- var DropdownMenuItem = React21__namespace.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1491
+ var DropdownMenuItem = React24__namespace.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1046
1492
  DropdownMenuPrimitive__namespace.Item,
1047
1493
  {
1048
1494
  ref,
@@ -1055,7 +1501,7 @@ var DropdownMenuItem = React21__namespace.forwardRef(({ className, inset, ...pro
1055
1501
  }
1056
1502
  ));
1057
1503
  DropdownMenuItem.displayName = DropdownMenuPrimitive__namespace.Item.displayName;
1058
- var DropdownMenuCheckboxItem = React21__namespace.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
1504
+ var DropdownMenuCheckboxItem = React24__namespace.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
1059
1505
  DropdownMenuPrimitive__namespace.CheckboxItem,
1060
1506
  {
1061
1507
  ref,
@@ -1066,13 +1512,13 @@ var DropdownMenuCheckboxItem = React21__namespace.forwardRef(({ className, child
1066
1512
  checked,
1067
1513
  ...props,
1068
1514
  children: [
1069
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuPrimitive__namespace.ItemIndicator, { children: /* @__PURE__ */ jsxRuntime.jsx(react.Check, { className: "h-4 w-4" }) }) }),
1515
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuPrimitive__namespace.ItemIndicator, { children: /* @__PURE__ */ jsxRuntime.jsx(icons_exports.Check, { className: "h-4 w-4" }) }) }),
1070
1516
  children
1071
1517
  ]
1072
1518
  }
1073
1519
  ));
1074
1520
  DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive__namespace.CheckboxItem.displayName;
1075
- var DropdownMenuRadioItem = React21__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
1521
+ var DropdownMenuRadioItem = React24__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
1076
1522
  DropdownMenuPrimitive__namespace.RadioItem,
1077
1523
  {
1078
1524
  ref,
@@ -1082,13 +1528,13 @@ var DropdownMenuRadioItem = React21__namespace.forwardRef(({ className, children
1082
1528
  ),
1083
1529
  ...props,
1084
1530
  children: [
1085
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuPrimitive__namespace.ItemIndicator, { children: /* @__PURE__ */ jsxRuntime.jsx(react.Circle, { className: "h-2 w-2 fill-current" }) }) }),
1531
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuPrimitive__namespace.ItemIndicator, { children: /* @__PURE__ */ jsxRuntime.jsx(icons_exports.Circle, { className: "h-2 w-2 fill-current" }) }) }),
1086
1532
  children
1087
1533
  ]
1088
1534
  }
1089
1535
  ));
1090
1536
  DropdownMenuRadioItem.displayName = DropdownMenuPrimitive__namespace.RadioItem.displayName;
1091
- var DropdownMenuLabel = React21__namespace.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1537
+ var DropdownMenuLabel = React24__namespace.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1092
1538
  DropdownMenuPrimitive__namespace.Label,
1093
1539
  {
1094
1540
  ref,
@@ -1101,7 +1547,7 @@ var DropdownMenuLabel = React21__namespace.forwardRef(({ className, inset, ...pr
1101
1547
  }
1102
1548
  ));
1103
1549
  DropdownMenuLabel.displayName = DropdownMenuPrimitive__namespace.Label.displayName;
1104
- var DropdownMenuSeparator = React21__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1550
+ var DropdownMenuSeparator = React24__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1105
1551
  DropdownMenuPrimitive__namespace.Separator,
1106
1552
  {
1107
1553
  ref,
@@ -1123,7 +1569,7 @@ var DropdownMenuShortcut = ({
1123
1569
  );
1124
1570
  };
1125
1571
  DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
1126
- var SidebarNavItem = React21__namespace.forwardRef(
1572
+ var SidebarNavItem = React24__namespace.forwardRef(
1127
1573
  ({ item, isActive, className, LinkComponent, ...props }, ref) => {
1128
1574
  const Icon = item.icon;
1129
1575
  const baseClassName = cn(
@@ -1163,7 +1609,7 @@ var SidebarNavItem = React21__namespace.forwardRef(
1163
1609
  }
1164
1610
  );
1165
1611
  SidebarNavItem.displayName = "SidebarNavItem";
1166
- var Sidebar = React21__namespace.forwardRef(
1612
+ var Sidebar = React24__namespace.forwardRef(
1167
1613
  ({
1168
1614
  mainNav = [],
1169
1615
  bottomNav = [],
@@ -1216,16 +1662,27 @@ var Sidebar = React21__namespace.forwardRef(
1216
1662
  item.name
1217
1663
  )) }),
1218
1664
  children,
1219
- (bottomNav.length > 0 || helpLink) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "px-3 pb-3 space-y-1 border-t pt-3", children: [
1220
- bottomNav.map((item) => /* @__PURE__ */ jsxRuntime.jsx(
1221
- SidebarNavItem,
1665
+ bottomNav.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "px-3 pb-3 space-y-1 border-t pt-3", children: bottomNav.map((item) => /* @__PURE__ */ jsxRuntime.jsx(
1666
+ SidebarNavItem,
1667
+ {
1668
+ item,
1669
+ isActive: isActive(item.href),
1670
+ LinkComponent
1671
+ },
1672
+ item.name
1673
+ )) }),
1674
+ (helpLink || assistantButton) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "px-3 pb-4 pt-3 border-t", children: [
1675
+ assistantButton && /* @__PURE__ */ jsxRuntime.jsxs(
1676
+ "button",
1222
1677
  {
1223
- item,
1224
- isActive: isActive(item.href),
1225
- LinkComponent
1226
- },
1227
- item.name
1228
- )),
1678
+ onClick: assistantButton.onClick,
1679
+ className: "flex w-full items-center gap-3 rounded-lg bg-[var(--cyan)]/10 px-3 py-2.5 text-sm font-medium text-[var(--cyan)] hover:bg-[var(--cyan)]/20 transition-colors mb-2",
1680
+ children: [
1681
+ assistantButton.icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-7 w-7 items-center justify-center rounded-full bg-[var(--cyan)] text-white", children: /* @__PURE__ */ jsxRuntime.jsx(assistantButton.icon, { className: "h-4 w-4" }) }),
1682
+ /* @__PURE__ */ jsxRuntime.jsx("span", { children: assistantButton.label || "Ask Assistant" })
1683
+ ]
1684
+ }
1685
+ ),
1229
1686
  helpLink && /* @__PURE__ */ jsxRuntime.jsxs(
1230
1687
  "a",
1231
1688
  {
@@ -1237,16 +1694,7 @@ var Sidebar = React21__namespace.forwardRef(
1237
1694
  ]
1238
1695
  }
1239
1696
  )
1240
- ] }),
1241
- assistantButton && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute bottom-4 left-4", children: /* @__PURE__ */ jsxRuntime.jsx(
1242
- "button",
1243
- {
1244
- onClick: assistantButton.onClick,
1245
- className: "flex h-10 w-10 items-center justify-center rounded-full bg-[var(--cyan)] text-white shadow-lg hover:bg-[var(--cyan)]/90 transition-colors",
1246
- title: assistantButton.label,
1247
- children: assistantButton.icon && /* @__PURE__ */ jsxRuntime.jsx(assistantButton.icon, { className: "h-5 w-5" })
1248
- }
1249
- ) })
1697
+ ] })
1250
1698
  ]
1251
1699
  }
1252
1700
  );
@@ -1271,7 +1719,7 @@ var alertVariants = classVarianceAuthority.cva(
1271
1719
  }
1272
1720
  }
1273
1721
  );
1274
- var Alert = React21__namespace.forwardRef(
1722
+ var Alert = React24__namespace.forwardRef(
1275
1723
  ({ className, variant, icon, title, action, children, ...props }, ref) => {
1276
1724
  return /* @__PURE__ */ jsxRuntime.jsx(
1277
1725
  "div",
@@ -1294,7 +1742,7 @@ var Alert = React21__namespace.forwardRef(
1294
1742
  }
1295
1743
  );
1296
1744
  Alert.displayName = "Alert";
1297
- var EmptyState = React21__namespace.forwardRef(
1745
+ var EmptyState = React24__namespace.forwardRef(
1298
1746
  ({ className, icon, title, description, action, size = "default", ...props }, ref) => {
1299
1747
  const paddingClass = {
1300
1748
  sm: "p-8",
@@ -1322,7 +1770,7 @@ var EmptyState = React21__namespace.forwardRef(
1322
1770
  }
1323
1771
  );
1324
1772
  EmptyState.displayName = "EmptyState";
1325
- var CodeBlock = React21__namespace.forwardRef(
1773
+ var CodeBlock = React24__namespace.forwardRef(
1326
1774
  ({ className, children, language, ...props }, ref) => {
1327
1775
  return /* @__PURE__ */ jsxRuntime.jsx(
1328
1776
  "pre",
@@ -1340,15 +1788,15 @@ var CodeBlock = React21__namespace.forwardRef(
1340
1788
  }
1341
1789
  );
1342
1790
  CodeBlock.displayName = "CodeBlock";
1343
- var FormField = React21__namespace.forwardRef(
1791
+ var FormField = React24__namespace.forwardRef(
1344
1792
  ({ label, error, helperText, hint, required, id, className, children, ...props }, ref) => {
1345
- const fieldId = id || React21__namespace.useId();
1793
+ const fieldId = id || React24__namespace.useId();
1346
1794
  const errorId = `${fieldId}-error`;
1347
1795
  const helperId = `${fieldId}-helper`;
1348
- const enhancedChildren = React21__namespace.Children.map(children, (child) => {
1349
- if (React21__namespace.isValidElement(child)) {
1796
+ const enhancedChildren = React24__namespace.Children.map(children, (child) => {
1797
+ if (React24__namespace.isValidElement(child)) {
1350
1798
  const childProps = child.props;
1351
- return React21__namespace.cloneElement(child, {
1799
+ return React24__namespace.cloneElement(child, {
1352
1800
  id: fieldId,
1353
1801
  "aria-invalid": error ? "true" : void 0,
1354
1802
  "aria-describedby": error ? errorId : helperText ? helperId : void 0,
@@ -1372,7 +1820,7 @@ var FormField = React21__namespace.forwardRef(
1372
1820
  }
1373
1821
  );
1374
1822
  FormField.displayName = "FormField";
1375
- var Table = React21__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: "overflow-x-auto", children: /* @__PURE__ */ jsxRuntime.jsx(
1823
+ var Table = React24__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: "overflow-x-auto", children: /* @__PURE__ */ jsxRuntime.jsx(
1376
1824
  "table",
1377
1825
  {
1378
1826
  ref,
@@ -1381,11 +1829,11 @@ var Table = React21__namespace.forwardRef(({ className, ...props }, ref) => /* @
1381
1829
  }
1382
1830
  ) }));
1383
1831
  Table.displayName = "Table";
1384
- var TableHeader = React21__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("thead", { ref, className: cn("", className), ...props }));
1832
+ var TableHeader = React24__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("thead", { ref, className: cn("", className), ...props }));
1385
1833
  TableHeader.displayName = "TableHeader";
1386
- var TableBody = React21__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("tbody", { ref, className: cn("", className), ...props }));
1834
+ var TableBody = React24__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("tbody", { ref, className: cn("", className), ...props }));
1387
1835
  TableBody.displayName = "TableBody";
1388
- var TableFooter = React21__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1836
+ var TableFooter = React24__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1389
1837
  "tfoot",
1390
1838
  {
1391
1839
  ref,
@@ -1394,7 +1842,7 @@ var TableFooter = React21__namespace.forwardRef(({ className, ...props }, ref) =
1394
1842
  }
1395
1843
  ));
1396
1844
  TableFooter.displayName = "TableFooter";
1397
- var TableRow = React21__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1845
+ var TableRow = React24__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1398
1846
  "tr",
1399
1847
  {
1400
1848
  ref,
@@ -1403,7 +1851,7 @@ var TableRow = React21__namespace.forwardRef(({ className, ...props }, ref) => /
1403
1851
  }
1404
1852
  ));
1405
1853
  TableRow.displayName = "TableRow";
1406
- var TableHead = React21__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1854
+ var TableHead = React24__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1407
1855
  "th",
1408
1856
  {
1409
1857
  ref,
@@ -1415,7 +1863,7 @@ var TableHead = React21__namespace.forwardRef(({ className, ...props }, ref) =>
1415
1863
  }
1416
1864
  ));
1417
1865
  TableHead.displayName = "TableHead";
1418
- var TableCell = React21__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1866
+ var TableCell = React24__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1419
1867
  "td",
1420
1868
  {
1421
1869
  ref,
@@ -1424,7 +1872,7 @@ var TableCell = React21__namespace.forwardRef(({ className, ...props }, ref) =>
1424
1872
  }
1425
1873
  ));
1426
1874
  TableCell.displayName = "TableCell";
1427
- var TableCaption = React21__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1875
+ var TableCaption = React24__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1428
1876
  "caption",
1429
1877
  {
1430
1878
  ref,
@@ -1433,7 +1881,7 @@ var TableCaption = React21__namespace.forwardRef(({ className, ...props }, ref)
1433
1881
  }
1434
1882
  ));
1435
1883
  TableCaption.displayName = "TableCaption";
1436
- var Divider = React21__namespace.forwardRef(
1884
+ var Divider = React24__namespace.forwardRef(
1437
1885
  ({ className, text, orientation = "horizontal", ...props }, ref) => {
1438
1886
  if (orientation === "vertical") {
1439
1887
  return /* @__PURE__ */ jsxRuntime.jsx(
@@ -1475,33 +1923,33 @@ var Dialog = SheetPrimitive__namespace.Root;
1475
1923
  var DialogTrigger = SheetPrimitive__namespace.Trigger;
1476
1924
  var DialogPortal = SheetPrimitive__namespace.Portal;
1477
1925
  var DialogClose = SheetPrimitive__namespace.Close;
1478
- var DialogOverlay = React21__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1926
+ var DialogOverlay = React24__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1479
1927
  SheetPrimitive__namespace.Overlay,
1480
1928
  {
1481
1929
  ref,
1482
1930
  className: cn(
1483
- "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",
1931
+ "fixed inset-0 z-50 bg-black/60 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 duration-150",
1484
1932
  className
1485
1933
  ),
1486
1934
  ...props
1487
1935
  }
1488
1936
  ));
1489
1937
  DialogOverlay.displayName = SheetPrimitive__namespace.Overlay.displayName;
1490
- var DialogContent = React21__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(DialogPortal, { children: [
1938
+ var DialogContent = React24__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(DialogPortal, { children: [
1491
1939
  /* @__PURE__ */ jsxRuntime.jsx(DialogOverlay, {}),
1492
1940
  /* @__PURE__ */ jsxRuntime.jsxs(
1493
1941
  SheetPrimitive__namespace.Content,
1494
1942
  {
1495
1943
  ref,
1496
1944
  className: cn(
1497
- "fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border border-border 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",
1945
+ "fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border border-border bg-white p-6 shadow-lg duration-150 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-[0.97] data-[state=open]:zoom-in-[0.97] sm:rounded-lg",
1498
1946
  className
1499
1947
  ),
1500
1948
  ...props,
1501
1949
  children: [
1502
1950
  children,
1503
1951
  /* @__PURE__ */ jsxRuntime.jsxs(SheetPrimitive__namespace.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-white transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-[var(--cyan)] focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-gray-100", children: [
1504
- /* @__PURE__ */ jsxRuntime.jsx(react.X, { className: "h-4 w-4" }),
1952
+ /* @__PURE__ */ jsxRuntime.jsx(react_star.X, { className: "h-4 w-4" }),
1505
1953
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Close" })
1506
1954
  ] })
1507
1955
  ]
@@ -1537,7 +1985,7 @@ var DialogFooter = ({
1537
1985
  }
1538
1986
  );
1539
1987
  DialogFooter.displayName = "DialogFooter";
1540
- var DialogTitle = React21__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1988
+ var DialogTitle = React24__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1541
1989
  SheetPrimitive__namespace.Title,
1542
1990
  {
1543
1991
  ref,
@@ -1549,7 +1997,7 @@ var DialogTitle = React21__namespace.forwardRef(({ className, ...props }, ref) =
1549
1997
  }
1550
1998
  ));
1551
1999
  DialogTitle.displayName = SheetPrimitive__namespace.Title.displayName;
1552
- var DialogDescription = React21__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
2000
+ var DialogDescription = React24__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1553
2001
  SheetPrimitive__namespace.Description,
1554
2002
  {
1555
2003
  ref,
@@ -1559,7 +2007,7 @@ var DialogDescription = React21__namespace.forwardRef(({ className, ...props },
1559
2007
  ));
1560
2008
  DialogDescription.displayName = SheetPrimitive__namespace.Description.displayName;
1561
2009
  var ToastProvider = ToastPrimitives__namespace.Provider;
1562
- var ToastViewport = React21__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
2010
+ var ToastViewport = React24__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1563
2011
  ToastPrimitives__namespace.Viewport,
1564
2012
  {
1565
2013
  ref,
@@ -1572,14 +2020,14 @@ var ToastViewport = React21__namespace.forwardRef(({ className, ...props }, ref)
1572
2020
  ));
1573
2021
  ToastViewport.displayName = ToastPrimitives__namespace.Viewport.displayName;
1574
2022
  var toastVariants = classVarianceAuthority.cva(
1575
- "group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-sm border p-4 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-bottom-full",
2023
+ "group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-sm border-none p-4 transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-bottom-full",
1576
2024
  {
1577
2025
  variants: {
1578
2026
  variant: {
1579
- default: "border-gray-200 bg-white text-[var(--black)]",
1580
- success: "border-emerald-200 bg-emerald-50 text-emerald-900",
1581
- error: "border-red-200 bg-red-50 text-red-900",
1582
- warning: "border-amber-200 bg-amber-50 text-amber-900"
2027
+ default: "bg-[var(--black)] text-white",
2028
+ success: "bg-[var(--black)] text-white",
2029
+ error: "bg-[var(--black)] text-white",
2030
+ warning: "bg-[var(--black)] text-white"
1583
2031
  }
1584
2032
  },
1585
2033
  defaultVariants: {
@@ -1587,7 +2035,7 @@ var toastVariants = classVarianceAuthority.cva(
1587
2035
  }
1588
2036
  }
1589
2037
  );
1590
- var Toast = React21__namespace.forwardRef(({ className, variant, ...props }, ref) => {
2038
+ var Toast = React24__namespace.forwardRef(({ className, variant, ...props }, ref) => {
1591
2039
  return /* @__PURE__ */ jsxRuntime.jsx(
1592
2040
  ToastPrimitives__namespace.Root,
1593
2041
  {
@@ -1598,7 +2046,7 @@ var Toast = React21__namespace.forwardRef(({ className, variant, ...props }, ref
1598
2046
  );
1599
2047
  });
1600
2048
  Toast.displayName = ToastPrimitives__namespace.Root.displayName;
1601
- var ToastAction = React21__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
2049
+ var ToastAction = React24__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1602
2050
  ToastPrimitives__namespace.Action,
1603
2051
  {
1604
2052
  ref,
@@ -1610,21 +2058,21 @@ var ToastAction = React21__namespace.forwardRef(({ className, ...props }, ref) =
1610
2058
  }
1611
2059
  ));
1612
2060
  ToastAction.displayName = ToastPrimitives__namespace.Action.displayName;
1613
- var ToastClose = React21__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
2061
+ var ToastClose = React24__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1614
2062
  ToastPrimitives__namespace.Close,
1615
2063
  {
1616
2064
  ref,
1617
2065
  className: cn(
1618
- "absolute right-2 top-2 rounded-sm p-1 text-gray-500 opacity-0 transition-opacity hover:text-gray-900 focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100",
2066
+ "absolute right-3 top-3 rounded-sm p-1 text-white/60 transition-colors hover:text-white focus:outline-none",
1619
2067
  className
1620
2068
  ),
1621
2069
  "toast-close": "",
1622
2070
  ...props,
1623
- children: /* @__PURE__ */ jsxRuntime.jsx(react.X, { size: 16 })
2071
+ children: /* @__PURE__ */ jsxRuntime.jsx(react_star.X, { size: 16 })
1624
2072
  }
1625
2073
  ));
1626
2074
  ToastClose.displayName = ToastPrimitives__namespace.Close.displayName;
1627
- var ToastTitle = React21__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
2075
+ var ToastTitle = React24__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1628
2076
  ToastPrimitives__namespace.Title,
1629
2077
  {
1630
2078
  ref,
@@ -1633,11 +2081,11 @@ var ToastTitle = React21__namespace.forwardRef(({ className, ...props }, ref) =>
1633
2081
  }
1634
2082
  ));
1635
2083
  ToastTitle.displayName = ToastPrimitives__namespace.Title.displayName;
1636
- var ToastDescription = React21__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
2084
+ var ToastDescription = React24__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1637
2085
  ToastPrimitives__namespace.Description,
1638
2086
  {
1639
2087
  ref,
1640
- className: cn("text-sm opacity-90", className),
2088
+ className: cn("text-sm text-white/70", className),
1641
2089
  ...props
1642
2090
  }
1643
2091
  ));
@@ -1645,13 +2093,13 @@ ToastDescription.displayName = ToastPrimitives__namespace.Description.displayNam
1645
2093
  var ToastIcon = ({ variant }) => {
1646
2094
  switch (variant) {
1647
2095
  case "success":
1648
- return /* @__PURE__ */ jsxRuntime.jsx(react.Check, { size: 20, weight: "bold", className: "text-emerald-600" });
2096
+ return /* @__PURE__ */ jsxRuntime.jsx(react_star.Check, { size: 18, weight: "bold", className: "text-[var(--cyan)]" });
1649
2097
  case "error":
1650
- return /* @__PURE__ */ jsxRuntime.jsx(react.WarningCircle, { size: 20, weight: "fill", className: "text-red-600" });
2098
+ return /* @__PURE__ */ jsxRuntime.jsx(react_star.WarningCircle, { size: 18, weight: "fill", className: "text-red-400" });
1651
2099
  case "warning":
1652
- return /* @__PURE__ */ jsxRuntime.jsx(react.WarningCircle, { size: 20, weight: "fill", className: "text-amber-600" });
2100
+ return /* @__PURE__ */ jsxRuntime.jsx(react_star.WarningCircle, { size: 18, weight: "fill", className: "text-amber-400" });
1653
2101
  default:
1654
- return /* @__PURE__ */ jsxRuntime.jsx(react.Info, { size: 20, weight: "fill", className: "text-gray-600" });
2102
+ return /* @__PURE__ */ jsxRuntime.jsx(react_star.Info, { size: 18, weight: "fill", className: "text-white/70" });
1655
2103
  }
1656
2104
  };
1657
2105
  var TOAST_LIMIT = 5;
@@ -1754,8 +2202,8 @@ function toast({ ...props }) {
1754
2202
  };
1755
2203
  }
1756
2204
  function useToast() {
1757
- const [state, setState] = React21__namespace.useState(memoryState);
1758
- React21__namespace.useEffect(() => {
2205
+ const [state, setState] = React24__namespace.useState(memoryState);
2206
+ React24__namespace.useEffect(() => {
1759
2207
  listeners.push(setState);
1760
2208
  return () => {
1761
2209
  const index = listeners.indexOf(setState);
@@ -1791,322 +2239,9 @@ function Toaster() {
1791
2239
  ] });
1792
2240
  }
1793
2241
 
1794
- Object.defineProperty(exports, "AddressBook", {
1795
- enumerable: true,
1796
- get: function () { return react.AddressBook; }
1797
- });
1798
- Object.defineProperty(exports, "ArrowLeft", {
1799
- enumerable: true,
1800
- get: function () { return react.ArrowLeft; }
1801
- });
1802
- Object.defineProperty(exports, "ArrowRight", {
1803
- enumerable: true,
1804
- get: function () { return react.ArrowRight; }
1805
- });
1806
- Object.defineProperty(exports, "ArrowSquareOut", {
1807
- enumerable: true,
1808
- get: function () { return react.ArrowSquareOut; }
1809
- });
1810
- Object.defineProperty(exports, "ArrowUpRight", {
1811
- enumerable: true,
1812
- get: function () { return react.ArrowUpRight; }
1813
- });
1814
- Object.defineProperty(exports, "Brain", {
1815
- enumerable: true,
1816
- get: function () { return react.Brain; }
1817
- });
1818
- Object.defineProperty(exports, "Briefcase", {
1819
- enumerable: true,
1820
- get: function () { return react.Briefcase; }
1821
- });
1822
- Object.defineProperty(exports, "Buildings", {
1823
- enumerable: true,
1824
- get: function () { return react.Buildings; }
1825
- });
1826
- Object.defineProperty(exports, "Calendar", {
1827
- enumerable: true,
1828
- get: function () { return react.Calendar; }
1829
- });
1830
- Object.defineProperty(exports, "CaretDown", {
1831
- enumerable: true,
1832
- get: function () { return react.CaretDown; }
1833
- });
1834
- Object.defineProperty(exports, "CaretRight", {
1835
- enumerable: true,
1836
- get: function () { return react.CaretRight; }
1837
- });
1838
- Object.defineProperty(exports, "CaretUp", {
1839
- enumerable: true,
1840
- get: function () { return react.CaretUp; }
1841
- });
1842
- Object.defineProperty(exports, "ChartBar", {
1843
- enumerable: true,
1844
- get: function () { return react.ChartBar; }
1845
- });
1846
- Object.defineProperty(exports, "ChartLineUp", {
1847
- enumerable: true,
1848
- get: function () { return react.ChartLineUp; }
1849
- });
1850
- Object.defineProperty(exports, "ChatCircle", {
1851
- enumerable: true,
1852
- get: function () { return react.ChatCircle; }
1853
- });
1854
- Object.defineProperty(exports, "Check", {
1855
- enumerable: true,
1856
- get: function () { return react.Check; }
1857
- });
1858
- Object.defineProperty(exports, "CheckCircle", {
1859
- enumerable: true,
1860
- get: function () { return react.CheckCircle; }
1861
- });
1862
- Object.defineProperty(exports, "CheckSquare", {
1863
- enumerable: true,
1864
- get: function () { return react.CheckSquare; }
1865
- });
1866
- Object.defineProperty(exports, "Circle", {
1867
- enumerable: true,
1868
- get: function () { return react.Circle; }
1869
- });
1870
- Object.defineProperty(exports, "Clock", {
1871
- enumerable: true,
1872
- get: function () { return react.Clock; }
1873
- });
1874
- Object.defineProperty(exports, "Copy", {
1875
- enumerable: true,
1876
- get: function () { return react.Copy; }
1877
- });
1878
- Object.defineProperty(exports, "Crosshair", {
1879
- enumerable: true,
1880
- get: function () { return react.Crosshair; }
1881
- });
1882
- Object.defineProperty(exports, "Database", {
1883
- enumerable: true,
1884
- get: function () { return react.Database; }
1885
- });
1886
- Object.defineProperty(exports, "DotsThree", {
1887
- enumerable: true,
1888
- get: function () { return react.DotsThree; }
1889
- });
1890
- Object.defineProperty(exports, "DotsThreeVertical", {
1891
- enumerable: true,
1892
- get: function () { return react.DotsThreeVertical; }
1893
- });
1894
- Object.defineProperty(exports, "Download", {
1895
- enumerable: true,
1896
- get: function () { return react.Download; }
1897
- });
1898
- Object.defineProperty(exports, "Envelope", {
1899
- enumerable: true,
1900
- get: function () { return react.Envelope; }
1901
- });
1902
- Object.defineProperty(exports, "EnvelopeSimple", {
1903
- enumerable: true,
1904
- get: function () { return react.EnvelopeSimple; }
1905
- });
1906
- Object.defineProperty(exports, "Eye", {
1907
- enumerable: true,
1908
- get: function () { return react.Eye; }
1909
- });
1910
- Object.defineProperty(exports, "EyeSlash", {
1911
- enumerable: true,
1912
- get: function () { return react.EyeSlash; }
1913
- });
1914
- Object.defineProperty(exports, "File", {
1915
- enumerable: true,
1916
- get: function () { return react.File; }
1917
- });
1918
- Object.defineProperty(exports, "FileText", {
1919
- enumerable: true,
1920
- get: function () { return react.FileText; }
1921
- });
1922
- Object.defineProperty(exports, "Files", {
1923
- enumerable: true,
1924
- get: function () { return react.Files; }
1925
- });
1926
- Object.defineProperty(exports, "FirstAid", {
1927
- enumerable: true,
1928
- get: function () { return react.FirstAid; }
1929
- });
1930
- Object.defineProperty(exports, "Funnel", {
1931
- enumerable: true,
1932
- get: function () { return react.Funnel; }
1933
- });
1934
- Object.defineProperty(exports, "Gear", {
1935
- enumerable: true,
1936
- get: function () { return react.Gear; }
1937
- });
1938
- Object.defineProperty(exports, "GearSix", {
1939
- enumerable: true,
1940
- get: function () { return react.GearSix; }
1941
- });
1942
- Object.defineProperty(exports, "Globe", {
1943
- enumerable: true,
1944
- get: function () { return react.Globe; }
1945
- });
1946
- Object.defineProperty(exports, "Handshake", {
1947
- enumerable: true,
1948
- get: function () { return react.Handshake; }
1949
- });
1950
- Object.defineProperty(exports, "House", {
1951
- enumerable: true,
1952
- get: function () { return react.House; }
1953
- });
1954
- Object.defineProperty(exports, "Info", {
1955
- enumerable: true,
1956
- get: function () { return react.Info; }
1957
- });
1958
- Object.defineProperty(exports, "Lightning", {
1959
- enumerable: true,
1960
- get: function () { return react.Lightning; }
1961
- });
1962
- Object.defineProperty(exports, "Link", {
1963
- enumerable: true,
1964
- get: function () { return react.Link; }
1965
- });
1966
- Object.defineProperty(exports, "LinkedinLogo", {
1967
- enumerable: true,
1968
- get: function () { return react.LinkedinLogo; }
1969
- });
1970
- Object.defineProperty(exports, "List", {
1971
- enumerable: true,
1972
- get: function () { return react.List; }
1973
- });
1974
- Object.defineProperty(exports, "MagnifyingGlass", {
1975
- enumerable: true,
1976
- get: function () { return react.MagnifyingGlass; }
1977
- });
1978
- Object.defineProperty(exports, "Minus", {
1979
- enumerable: true,
1980
- get: function () { return react.Minus; }
1981
- });
1982
- Object.defineProperty(exports, "Pause", {
1983
- enumerable: true,
1984
- get: function () { return react.Pause; }
1985
- });
1986
- Object.defineProperty(exports, "PencilSimple", {
1987
- enumerable: true,
1988
- get: function () { return react.PencilSimple; }
1989
- });
1990
- Object.defineProperty(exports, "Phone", {
1991
- enumerable: true,
1992
- get: function () { return react.Phone; }
1993
- });
1994
- Object.defineProperty(exports, "Play", {
1995
- enumerable: true,
1996
- get: function () { return react.Play; }
1997
- });
1998
- Object.defineProperty(exports, "Plus", {
1999
- enumerable: true,
2000
- get: function () { return react.Plus; }
2001
- });
2002
- Object.defineProperty(exports, "Question", {
2003
- enumerable: true,
2004
- get: function () { return react.Question; }
2005
- });
2006
- Object.defineProperty(exports, "Quotes", {
2007
- enumerable: true,
2008
- get: function () { return react.Quotes; }
2009
- });
2010
- Object.defineProperty(exports, "Receipt", {
2011
- enumerable: true,
2012
- get: function () { return react.Receipt; }
2013
- });
2014
- Object.defineProperty(exports, "Robot", {
2015
- enumerable: true,
2016
- get: function () { return react.Robot; }
2017
- });
2018
- Object.defineProperty(exports, "Rocket", {
2019
- enumerable: true,
2020
- get: function () { return react.Rocket; }
2021
- });
2022
- Object.defineProperty(exports, "ShieldCheck", {
2023
- enumerable: true,
2024
- get: function () { return react.ShieldCheck; }
2025
- });
2026
- Object.defineProperty(exports, "ShoppingCart", {
2027
- enumerable: true,
2028
- get: function () { return react.ShoppingCart; }
2029
- });
2030
- Object.defineProperty(exports, "SignIn", {
2031
- enumerable: true,
2032
- get: function () { return react.SignIn; }
2033
- });
2034
- Object.defineProperty(exports, "SignOut", {
2035
- enumerable: true,
2036
- get: function () { return react.SignOut; }
2037
- });
2038
- Object.defineProperty(exports, "SortAscending", {
2039
- enumerable: true,
2040
- get: function () { return react.SortAscending; }
2041
- });
2042
- Object.defineProperty(exports, "SortDescending", {
2043
- enumerable: true,
2044
- get: function () { return react.SortDescending; }
2045
- });
2046
- Object.defineProperty(exports, "Stop", {
2047
- enumerable: true,
2048
- get: function () { return react.Stop; }
2049
- });
2050
- Object.defineProperty(exports, "Target", {
2051
- enumerable: true,
2052
- get: function () { return react.Target; }
2053
- });
2054
- Object.defineProperty(exports, "Trash", {
2055
- enumerable: true,
2056
- get: function () { return react.Trash; }
2057
- });
2058
- Object.defineProperty(exports, "TrendUp", {
2059
- enumerable: true,
2060
- get: function () { return react.TrendUp; }
2061
- });
2062
- Object.defineProperty(exports, "Upload", {
2063
- enumerable: true,
2064
- get: function () { return react.Upload; }
2065
- });
2066
- Object.defineProperty(exports, "User", {
2067
- enumerable: true,
2068
- get: function () { return react.User; }
2069
- });
2070
- Object.defineProperty(exports, "UserCircleCheck", {
2071
- enumerable: true,
2072
- get: function () { return react.UserCircleCheck; }
2073
- });
2074
- Object.defineProperty(exports, "UserPlus", {
2075
- enumerable: true,
2076
- get: function () { return react.UserPlus; }
2077
- });
2078
- Object.defineProperty(exports, "Users", {
2079
- enumerable: true,
2080
- get: function () { return react.Users; }
2081
- });
2082
- Object.defineProperty(exports, "UsersThree", {
2083
- enumerable: true,
2084
- get: function () { return react.UsersThree; }
2085
- });
2086
- Object.defineProperty(exports, "VideoCamera", {
2087
- enumerable: true,
2088
- get: function () { return react.VideoCamera; }
2089
- });
2090
- Object.defineProperty(exports, "Wallet", {
2091
- enumerable: true,
2092
- get: function () { return react.Wallet; }
2093
- });
2094
- Object.defineProperty(exports, "Warning", {
2095
- enumerable: true,
2096
- get: function () { return react.Warning; }
2097
- });
2098
- Object.defineProperty(exports, "WarningCircle", {
2099
- enumerable: true,
2100
- get: function () { return react.WarningCircle; }
2101
- });
2102
- Object.defineProperty(exports, "X", {
2103
- enumerable: true,
2104
- get: function () { return react.X; }
2105
- });
2106
- Object.defineProperty(exports, "XLogo", {
2107
- enumerable: true,
2108
- get: function () { return react.XLogo; }
2109
- });
2242
+ // src/index.ts
2243
+ __reExport(index_exports, icons_exports);
2244
+
2110
2245
  exports.Accordion = Accordion;
2111
2246
  exports.AccordionContent = AccordionContent;
2112
2247
  exports.AccordionItem = AccordionItem;
@@ -2157,6 +2292,7 @@ exports.IconBox = IconBox;
2157
2292
  exports.Input = Input;
2158
2293
  exports.Label = Label2;
2159
2294
  exports.Logo = Logo;
2295
+ exports.MetricCard = MetricCard;
2160
2296
  exports.NavigationMenu = NavigationMenu;
2161
2297
  exports.NavigationMenuContent = NavigationMenuContent;
2162
2298
  exports.NavigationMenuIndicator = NavigationMenuIndicator;
@@ -2199,16 +2335,20 @@ exports.ToastProvider = ToastProvider;
2199
2335
  exports.ToastTitle = ToastTitle;
2200
2336
  exports.ToastViewport = ToastViewport;
2201
2337
  exports.Toaster = Toaster;
2338
+ exports.UsageBar = UsageBar;
2339
+ exports.UsageChart = UsageChart;
2202
2340
  exports.alertVariants = alertVariants;
2203
2341
  exports.badgeVariants = badgeVariants;
2204
2342
  exports.buttonVariants = buttonVariants;
2205
2343
  exports.cn = cn;
2206
2344
  exports.iconBoxVariants = iconBoxVariants;
2345
+ exports.metricCardVariants = metricCardVariants;
2207
2346
  exports.navigationMenuTriggerStyle = navigationMenuTriggerStyle;
2208
2347
  exports.progressVariants = progressVariants;
2209
2348
  exports.statVariants = statVariants;
2210
2349
  exports.tagVariants = tagVariants;
2211
2350
  exports.toast = toast;
2351
+ exports.usageBarVariants = usageBarVariants;
2212
2352
  exports.useToast = useToast;
2213
2353
  exports.valueVariants = valueVariants;
2214
2354
  //# sourceMappingURL=index.js.map