better-auth-ui 3.2.6 → 3.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.cjs CHANGED
@@ -22,7 +22,7 @@ var _chunkCRAHKL2Ccjs = require('./chunk-CRAHKL2C.cjs');
22
22
 
23
23
  // src/components/account/account-view.tsx
24
24
  var _lucidereact = require('lucide-react');
25
- var _react = require('react'); var React = _interopRequireWildcard(_react); var React2 = _interopRequireWildcard(_react);
25
+ var _react = require('react'); var React = _interopRequireWildcard(_react); var React2 = _interopRequireWildcard(_react); var React3 = _interopRequireWildcard(_react); var React4 = _interopRequireWildcard(_react); var React6 = _interopRequireWildcard(_react); var React5 = _interopRequireWildcard(_react); var React7 = _interopRequireWildcard(_react); var React8 = _interopRequireWildcard(_react); var React9 = _interopRequireWildcard(_react); var React10 = _interopRequireWildcard(_react); var React11 = _interopRequireWildcard(_react); var React12 = _interopRequireWildcard(_react); var React13 = _interopRequireWildcard(_react); var React14 = _interopRequireWildcard(_react);
26
26
 
27
27
  // src/hooks/use-authenticate.ts
28
28
 
@@ -63,82 +63,69 @@ function useAuthenticate(options) {
63
63
 
64
64
 
65
65
  // src/components/ui/card.tsx
66
+
66
67
  var _jsxruntime = require('react/jsx-runtime');
67
- function Card({ className, ...props }) {
68
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
69
- "div",
70
- {
71
- "data-slot": "card",
72
- className: _chunkCRAHKL2Ccjs.cn.call(void 0,
73
- "bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",
74
- className
75
- ),
76
- ...props
77
- }
78
- );
79
- }
80
- function CardHeader({ className, ...props }) {
81
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
82
- "div",
83
- {
84
- "data-slot": "card-header",
85
- className: _chunkCRAHKL2Ccjs.cn.call(void 0,
86
- "@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",
87
- className
88
- ),
89
- ...props
90
- }
91
- );
92
- }
93
- function CardTitle({ className, ...props }) {
94
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
95
- "div",
96
- {
97
- "data-slot": "card-title",
98
- className: _chunkCRAHKL2Ccjs.cn.call(void 0, "leading-none font-semibold", className),
99
- ...props
100
- }
101
- );
102
- }
103
- function CardDescription({ className, ...props }) {
104
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
105
- "div",
106
- {
107
- "data-slot": "card-description",
108
- className: _chunkCRAHKL2Ccjs.cn.call(void 0, "text-muted-foreground text-sm", className),
109
- ...props
110
- }
111
- );
112
- }
113
- function CardContent({ className, ...props }) {
114
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
115
- "div",
116
- {
117
- "data-slot": "card-content",
118
- className: _chunkCRAHKL2Ccjs.cn.call(void 0, "px-6", className),
119
- ...props
120
- }
121
- );
122
- }
123
- function CardFooter({ className, ...props }) {
124
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
125
- "div",
126
- {
127
- "data-slot": "card-footer",
128
- className: _chunkCRAHKL2Ccjs.cn.call(void 0, "flex items-center px-6 [.border-t]:pt-6", className),
129
- ...props
130
- }
131
- );
132
- }
68
+ var Card = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
69
+ "div",
70
+ {
71
+ ref,
72
+ className: _chunkCRAHKL2Ccjs.cn.call(void 0,
73
+ "rounded-xl border bg-card text-card-foreground shadow",
74
+ className
75
+ ),
76
+ ...props
77
+ }
78
+ ));
79
+ Card.displayName = "Card";
80
+ var CardHeader = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
81
+ "div",
82
+ {
83
+ ref,
84
+ className: _chunkCRAHKL2Ccjs.cn.call(void 0, "flex flex-col space-y-1.5 p-6", className),
85
+ ...props
86
+ }
87
+ ));
88
+ CardHeader.displayName = "CardHeader";
89
+ var CardTitle = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
90
+ "div",
91
+ {
92
+ ref,
93
+ className: _chunkCRAHKL2Ccjs.cn.call(void 0, "font-semibold leading-none tracking-tight", className),
94
+ ...props
95
+ }
96
+ ));
97
+ CardTitle.displayName = "CardTitle";
98
+ var CardDescription = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
99
+ "div",
100
+ {
101
+ ref,
102
+ className: _chunkCRAHKL2Ccjs.cn.call(void 0, "text-sm text-muted-foreground", className),
103
+ ...props
104
+ }
105
+ ));
106
+ CardDescription.displayName = "CardDescription";
107
+ var CardContent = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, className: _chunkCRAHKL2Ccjs.cn.call(void 0, "p-6 pt-0", className), ...props }));
108
+ CardContent.displayName = "CardContent";
109
+ var CardFooter = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
110
+ "div",
111
+ {
112
+ ref,
113
+ className: _chunkCRAHKL2Ccjs.cn.call(void 0, "flex items-center p-6 pt-0", className),
114
+ ...props
115
+ }
116
+ ));
117
+ CardFooter.displayName = "CardFooter";
133
118
 
134
119
  // src/components/ui/skeleton.tsx
135
120
 
136
- function Skeleton({ className, ...props }) {
121
+ function Skeleton({
122
+ className,
123
+ ...props
124
+ }) {
137
125
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
138
126
  "div",
139
127
  {
140
- "data-slot": "skeleton",
141
- className: _chunkCRAHKL2Ccjs.cn.call(void 0, "bg-accent animate-pulse rounded-md", className),
128
+ className: _chunkCRAHKL2Ccjs.cn.call(void 0, "animate-pulse rounded-md bg-primary/10", className),
142
129
  ...props
143
130
  }
144
131
  );
@@ -149,26 +136,27 @@ function Skeleton({ className, ...props }) {
149
136
  var _reacthookform = require('react-hook-form');
150
137
 
151
138
  // src/components/ui/button.tsx
139
+
152
140
  var _reactslot = require('@radix-ui/react-slot');
153
141
  var _classvarianceauthority = require('class-variance-authority');
154
142
 
155
143
  var buttonVariants = _classvarianceauthority.cva.call(void 0,
156
- "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
144
+ "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
157
145
  {
158
146
  variants: {
159
147
  variant: {
160
- default: "bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",
161
- destructive: "bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",
162
- outline: "border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",
163
- secondary: "bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",
164
- ghost: "hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",
148
+ default: "bg-primary text-primary-foreground shadow hover:bg-primary/90",
149
+ destructive: "bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",
150
+ outline: "border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",
151
+ secondary: "bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",
152
+ ghost: "hover:bg-accent hover:text-accent-foreground",
165
153
  link: "text-primary underline-offset-4 hover:underline"
166
154
  },
167
155
  size: {
168
- default: "h-9 px-4 py-2 has-[>svg]:px-3",
169
- sm: "h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",
170
- lg: "h-10 rounded-md px-6 has-[>svg]:px-4",
171
- icon: "size-9"
156
+ default: "h-9 px-4 py-2",
157
+ sm: "h-8 rounded-md px-3 text-xs",
158
+ lg: "h-10 rounded-md px-8",
159
+ icon: "h-9 w-9"
172
160
  }
173
161
  },
174
162
  defaultVariants: {
@@ -177,23 +165,20 @@ var buttonVariants = _classvarianceauthority.cva.call(void 0,
177
165
  }
178
166
  }
179
167
  );
180
- function Button({
181
- className,
182
- variant,
183
- size,
184
- asChild = false,
185
- ...props
186
- }) {
187
- const Comp = asChild ? _reactslot.Slot : "button";
188
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
189
- Comp,
190
- {
191
- "data-slot": "button",
192
- className: _chunkCRAHKL2Ccjs.cn.call(void 0, buttonVariants({ variant, size, className })),
193
- ...props
194
- }
195
- );
196
- }
168
+ var Button = React2.forwardRef(
169
+ ({ className, variant, size, asChild = false, ...props }, ref) => {
170
+ const Comp = asChild ? _reactslot.Slot : "button";
171
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
172
+ Comp,
173
+ {
174
+ className: _chunkCRAHKL2Ccjs.cn.call(void 0, buttonVariants({ variant, size, className })),
175
+ ref,
176
+ ...props
177
+ }
178
+ );
179
+ }
180
+ );
181
+ Button.displayName = "Button";
197
182
 
198
183
  // src/components/settings/shared/settings-action-button.tsx
199
184
 
@@ -501,191 +486,241 @@ async function fileToBase64(file) {
501
486
  }
502
487
 
503
488
  // src/components/ui/dialog.tsx
489
+
504
490
  var _reactdialog = require('@radix-ui/react-dialog'); var DialogPrimitive = _interopRequireWildcard(_reactdialog);
505
491
 
506
492
 
507
- function Dialog({
508
- ...props
509
- }) {
510
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogPrimitive.Root, { "data-slot": "dialog", ...props });
511
- }
512
- function DialogPortal({
513
- ...props
514
- }) {
515
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogPrimitive.Portal, { "data-slot": "dialog-portal", ...props });
516
- }
517
- function DialogOverlay({
518
- className,
519
- ...props
520
- }) {
521
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
522
- DialogPrimitive.Overlay,
523
- {
524
- "data-slot": "dialog-overlay",
525
- className: _chunkCRAHKL2Ccjs.cn.call(void 0,
526
- "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",
527
- className
528
- ),
529
- ...props
530
- }
531
- );
532
- }
533
- function DialogContent({
534
- className,
535
- children,
536
- showCloseButton = true,
537
- ...props
538
- }) {
539
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, DialogPortal, { "data-slot": "dialog-portal", children: [
540
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogOverlay, {}),
541
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
542
- DialogPrimitive.Content,
543
- {
544
- "data-slot": "dialog-content",
545
- className: _chunkCRAHKL2Ccjs.cn.call(void 0,
546
- "bg-background 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 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",
547
- className
548
- ),
549
- ...props,
550
- children: [
551
- children,
552
- showCloseButton && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
553
- DialogPrimitive.Close,
554
- {
555
- "data-slot": "dialog-close",
556
- className: "ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
557
- children: [
558
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.XIcon, {}),
559
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "sr-only", children: "Close" })
560
- ]
561
- }
562
- )
563
- ]
564
- }
565
- )
566
- ] });
567
- }
568
- function DialogHeader({ className, ...props }) {
569
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
570
- "div",
571
- {
572
- "data-slot": "dialog-header",
573
- className: _chunkCRAHKL2Ccjs.cn.call(void 0, "flex flex-col gap-2 text-center sm:text-left", className),
574
- ...props
575
- }
576
- );
577
- }
578
- function DialogFooter({ className, ...props }) {
579
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
580
- "div",
493
+ var Dialog = DialogPrimitive.Root;
494
+ var DialogPortal = DialogPrimitive.Portal;
495
+ var DialogOverlay = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
496
+ DialogPrimitive.Overlay,
497
+ {
498
+ ref,
499
+ className: _chunkCRAHKL2Ccjs.cn.call(void 0,
500
+ "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",
501
+ className
502
+ ),
503
+ ...props
504
+ }
505
+ ));
506
+ DialogOverlay.displayName = DialogPrimitive.Overlay.displayName;
507
+ var DialogContent = React3.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, DialogPortal, { children: [
508
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogOverlay, {}),
509
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
510
+ DialogPrimitive.Content,
581
511
  {
582
- "data-slot": "dialog-footer",
512
+ ref,
583
513
  className: _chunkCRAHKL2Ccjs.cn.call(void 0,
584
- "flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",
514
+ "fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background 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",
585
515
  className
586
516
  ),
587
- ...props
517
+ ...props,
518
+ children: [
519
+ children,
520
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, DialogPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground", children: [
521
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.X, { className: "h-4 w-4" }),
522
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "sr-only", children: "Close" })
523
+ ] })
524
+ ]
588
525
  }
589
- );
590
- }
591
- function DialogTitle({
526
+ )
527
+ ] }));
528
+ DialogContent.displayName = DialogPrimitive.Content.displayName;
529
+ var DialogHeader = ({
592
530
  className,
593
531
  ...props
594
- }) {
595
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
596
- DialogPrimitive.Title,
597
- {
598
- "data-slot": "dialog-title",
599
- className: _chunkCRAHKL2Ccjs.cn.call(void 0, "text-lg leading-none font-semibold", className),
600
- ...props
601
- }
602
- );
603
- }
604
- function DialogDescription({
532
+ }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
533
+ "div",
534
+ {
535
+ className: _chunkCRAHKL2Ccjs.cn.call(void 0,
536
+ "flex flex-col space-y-1.5 text-center sm:text-left",
537
+ className
538
+ ),
539
+ ...props
540
+ }
541
+ );
542
+ DialogHeader.displayName = "DialogHeader";
543
+ var DialogFooter = ({
605
544
  className,
606
545
  ...props
607
- }) {
608
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
609
- DialogPrimitive.Description,
610
- {
611
- "data-slot": "dialog-description",
612
- className: _chunkCRAHKL2Ccjs.cn.call(void 0, "text-muted-foreground text-sm", className),
613
- ...props
614
- }
615
- );
616
- }
546
+ }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
547
+ "div",
548
+ {
549
+ className: _chunkCRAHKL2Ccjs.cn.call(void 0,
550
+ "flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",
551
+ className
552
+ ),
553
+ ...props
554
+ }
555
+ );
556
+ DialogFooter.displayName = "DialogFooter";
557
+ var DialogTitle = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
558
+ DialogPrimitive.Title,
559
+ {
560
+ ref,
561
+ className: _chunkCRAHKL2Ccjs.cn.call(void 0,
562
+ "text-lg font-semibold leading-none tracking-tight",
563
+ className
564
+ ),
565
+ ...props
566
+ }
567
+ ));
568
+ DialogTitle.displayName = DialogPrimitive.Title.displayName;
569
+ var DialogDescription = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
570
+ DialogPrimitive.Description,
571
+ {
572
+ ref,
573
+ className: _chunkCRAHKL2Ccjs.cn.call(void 0, "text-sm text-muted-foreground", className),
574
+ ...props
575
+ }
576
+ ));
577
+ DialogDescription.displayName = DialogPrimitive.Description.displayName;
617
578
 
618
579
  // src/components/ui/dropdown-menu.tsx
580
+
619
581
  var _reactdropdownmenu = require('@radix-ui/react-dropdown-menu'); var DropdownMenuPrimitive = _interopRequireWildcard(_reactdropdownmenu);
620
582
 
621
583
 
622
- function DropdownMenu({
623
- ...props
624
- }) {
625
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DropdownMenuPrimitive.Root, { "data-slot": "dropdown-menu", ...props });
626
- }
627
- function DropdownMenuTrigger({
628
- ...props
629
- }) {
630
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
631
- DropdownMenuPrimitive.Trigger,
632
- {
633
- "data-slot": "dropdown-menu-trigger",
634
- ...props
635
- }
636
- );
637
- }
638
- function DropdownMenuContent({
639
- className,
640
- sideOffset = 4,
641
- ...props
642
- }) {
643
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
644
- DropdownMenuPrimitive.Content,
645
- {
646
- "data-slot": "dropdown-menu-content",
647
- sideOffset,
648
- className: _chunkCRAHKL2Ccjs.cn.call(void 0,
649
- "bg-popover text-popover-foreground 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 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",
650
- className
651
- ),
652
- ...props
653
- }
654
- ) });
655
- }
656
- function DropdownMenuItem({
657
- className,
658
- inset,
659
- variant = "default",
660
- ...props
661
- }) {
662
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
663
- DropdownMenuPrimitive.Item,
664
- {
665
- "data-slot": "dropdown-menu-item",
666
- "data-inset": inset,
667
- "data-variant": variant,
668
- className: _chunkCRAHKL2Ccjs.cn.call(void 0,
669
- "focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
670
- className
671
- ),
672
- ...props
584
+
585
+ var DropdownMenu = DropdownMenuPrimitive.Root;
586
+ var DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;
587
+ var DropdownMenuSubTrigger = React4.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
588
+ DropdownMenuPrimitive.SubTrigger,
589
+ {
590
+ ref,
591
+ className: _chunkCRAHKL2Ccjs.cn.call(void 0,
592
+ "flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
593
+ inset && "pl-8",
594
+ className
595
+ ),
596
+ ...props,
597
+ children: [
598
+ children,
599
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRight, { className: "ml-auto" })
600
+ ]
601
+ }
602
+ ));
603
+ DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive.SubTrigger.displayName;
604
+ var DropdownMenuSubContent = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
605
+ DropdownMenuPrimitive.SubContent,
606
+ {
607
+ ref,
608
+ className: _chunkCRAHKL2Ccjs.cn.call(void 0,
609
+ "z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground 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]",
610
+ className
611
+ ),
612
+ ...props
613
+ }
614
+ ));
615
+ DropdownMenuSubContent.displayName = DropdownMenuPrimitive.SubContent.displayName;
616
+ var DropdownMenuContent = React4.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
617
+ DropdownMenuPrimitive.Content,
618
+ {
619
+ ref,
620
+ sideOffset,
621
+ className: _chunkCRAHKL2Ccjs.cn.call(void 0,
622
+ "z-50 max-h-[var(--radix-dropdown-menu-content-available-height)] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md",
623
+ "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]",
624
+ className
625
+ ),
626
+ ...props
627
+ }
628
+ ) }));
629
+ DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
630
+ var dropdownMenuItemVariants = _classvarianceauthority.cva.call(void 0,
631
+ "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-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",
632
+ {
633
+ variants: {
634
+ variant: {
635
+ default: "",
636
+ destructive: "text-destructive focus:bg-destructive focus:text-destructive-foreground"
637
+ },
638
+ inset: {
639
+ true: "pl-8"
640
+ }
641
+ },
642
+ defaultVariants: {
643
+ variant: "default"
673
644
  }
674
- );
675
- }
676
- function DropdownMenuSeparator({
645
+ }
646
+ );
647
+ var DropdownMenuItem = React4.forwardRef(({ className, variant, inset, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
648
+ DropdownMenuPrimitive.Item,
649
+ {
650
+ ref,
651
+ className: _chunkCRAHKL2Ccjs.cn.call(void 0, dropdownMenuItemVariants({ variant, inset, className })),
652
+ ...props
653
+ }
654
+ ));
655
+ DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;
656
+ var DropdownMenuCheckboxItem = React4.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
657
+ DropdownMenuPrimitive.CheckboxItem,
658
+ {
659
+ ref,
660
+ className: _chunkCRAHKL2Ccjs.cn.call(void 0,
661
+ "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-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
662
+ className
663
+ ),
664
+ checked,
665
+ ...props,
666
+ children: [
667
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Check, { className: "h-4 w-4" }) }) }),
668
+ children
669
+ ]
670
+ }
671
+ ));
672
+ DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive.CheckboxItem.displayName;
673
+ var DropdownMenuRadioItem = React4.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
674
+ DropdownMenuPrimitive.RadioItem,
675
+ {
676
+ ref,
677
+ className: _chunkCRAHKL2Ccjs.cn.call(void 0,
678
+ "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-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
679
+ className
680
+ ),
681
+ ...props,
682
+ children: [
683
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Circle, { className: "h-2 w-2 fill-current" }) }) }),
684
+ children
685
+ ]
686
+ }
687
+ ));
688
+ DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;
689
+ var DropdownMenuLabel = React4.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
690
+ DropdownMenuPrimitive.Label,
691
+ {
692
+ ref,
693
+ className: _chunkCRAHKL2Ccjs.cn.call(void 0,
694
+ "px-2 py-1.5 text-sm font-semibold",
695
+ inset && "pl-8",
696
+ className
697
+ ),
698
+ ...props
699
+ }
700
+ ));
701
+ DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;
702
+ var DropdownMenuSeparator = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
703
+ DropdownMenuPrimitive.Separator,
704
+ {
705
+ ref,
706
+ className: _chunkCRAHKL2Ccjs.cn.call(void 0, "-mx-1 my-1 h-px bg-muted", className),
707
+ ...props
708
+ }
709
+ ));
710
+ DropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName;
711
+ var DropdownMenuShortcut = ({
677
712
  className,
678
713
  ...props
679
- }) {
714
+ }) => {
680
715
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
681
- DropdownMenuPrimitive.Separator,
716
+ "span",
682
717
  {
683
- "data-slot": "dropdown-menu-separator",
684
- className: _chunkCRAHKL2Ccjs.cn.call(void 0, "bg-border -mx-1 my-1 h-px", className),
718
+ className: _chunkCRAHKL2Ccjs.cn.call(void 0, "ml-auto text-xs tracking-widest opacity-60", className),
685
719
  ...props
686
720
  }
687
721
  );
688
- }
722
+ };
723
+ DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
689
724
 
690
725
  // src/components/ui/form.tsx
691
726
 
@@ -696,47 +731,44 @@ function DropdownMenuSeparator({
696
731
 
697
732
 
698
733
 
699
-
700
734
  // src/components/ui/label.tsx
735
+
701
736
  var _reactlabel = require('@radix-ui/react-label'); var LabelPrimitive = _interopRequireWildcard(_reactlabel);
702
737
 
703
- function Label2({
704
- className,
705
- ...props
706
- }) {
707
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
708
- LabelPrimitive.Root,
709
- {
710
- "data-slot": "label",
711
- className: _chunkCRAHKL2Ccjs.cn.call(void 0,
712
- "flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",
713
- className
714
- ),
715
- ...props
716
- }
717
- );
718
- }
738
+
739
+ var labelVariants = _classvarianceauthority.cva.call(void 0,
740
+ "text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
741
+ );
742
+ var Label2 = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
743
+ LabelPrimitive.Root,
744
+ {
745
+ ref,
746
+ className: _chunkCRAHKL2Ccjs.cn.call(void 0, labelVariants(), className),
747
+ ...props
748
+ }
749
+ ));
750
+ Label2.displayName = LabelPrimitive.Root.displayName;
719
751
 
720
752
  // src/components/ui/form.tsx
721
753
 
722
754
  var Form = _reacthookform.FormProvider;
723
- var FormFieldContext = React.createContext(
724
- {}
725
- );
755
+ var FormFieldContext = React6.createContext(null);
726
756
  var FormField = ({
727
757
  ...props
728
758
  }) => {
729
759
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, FormFieldContext.Provider, { value: { name: props.name }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reacthookform.Controller, { ...props }) });
730
760
  };
731
761
  var useFormField = () => {
732
- const fieldContext = React.useContext(FormFieldContext);
733
- const itemContext = React.useContext(FormItemContext);
734
- const { getFieldState } = _reacthookform.useFormContext.call(void 0, );
735
- const formState = _reacthookform.useFormState.call(void 0, { name: fieldContext.name });
736
- const fieldState = getFieldState(fieldContext.name, formState);
762
+ const fieldContext = React6.useContext(FormFieldContext);
763
+ const itemContext = React6.useContext(FormItemContext);
764
+ const { getFieldState, formState } = _reacthookform.useFormContext.call(void 0, );
737
765
  if (!fieldContext) {
738
766
  throw new Error("useFormField should be used within <FormField>");
739
767
  }
768
+ if (!itemContext) {
769
+ throw new Error("useFormField should be used within <FormItem>");
770
+ }
771
+ const fieldState = getFieldState(fieldContext.name, formState);
740
772
  const { id } = itemContext;
741
773
  return {
742
774
  id,
@@ -747,138 +779,133 @@ var useFormField = () => {
747
779
  ...fieldState
748
780
  };
749
781
  };
750
- var FormItemContext = React.createContext(
751
- {}
752
- );
753
- function FormItem({ className, ...props }) {
754
- const id = React.useId();
755
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, FormItemContext.Provider, { value: { id }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
756
- "div",
757
- {
758
- "data-slot": "form-item",
759
- className: _chunkCRAHKL2Ccjs.cn.call(void 0, "grid gap-2", className),
760
- ...props
761
- }
762
- ) });
763
- }
764
- function FormLabel({
765
- className,
766
- ...props
767
- }) {
782
+ var FormItemContext = React6.createContext(null);
783
+ var FormItem = React6.forwardRef(({ className, ...props }, ref) => {
784
+ const id = React6.useId();
785
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, FormItemContext.Provider, { value: { id }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, className: _chunkCRAHKL2Ccjs.cn.call(void 0, "space-y-2", className), ...props }) });
786
+ });
787
+ FormItem.displayName = "FormItem";
788
+ var FormLabel = React6.forwardRef(({ className, ...props }, ref) => {
768
789
  const { error, formItemId } = useFormField();
769
790
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
770
791
  Label2,
771
792
  {
772
- "data-slot": "form-label",
773
- "data-error": !!error,
774
- className: _chunkCRAHKL2Ccjs.cn.call(void 0, "data-[error=true]:text-destructive", className),
793
+ ref,
794
+ className: _chunkCRAHKL2Ccjs.cn.call(void 0, error && "text-destructive", className),
775
795
  htmlFor: formItemId,
776
796
  ...props
777
797
  }
778
798
  );
779
- }
780
- function FormControl({ ...props }) {
799
+ });
800
+ FormLabel.displayName = "FormLabel";
801
+ var FormControl = React6.forwardRef(({ ...props }, ref) => {
781
802
  const { error, formItemId, formDescriptionId, formMessageId } = useFormField();
782
803
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
783
804
  _reactslot.Slot,
784
805
  {
785
- "data-slot": "form-control",
806
+ ref,
786
807
  id: formItemId,
787
808
  "aria-describedby": !error ? `${formDescriptionId}` : `${formDescriptionId} ${formMessageId}`,
788
809
  "aria-invalid": !!error,
789
810
  ...props
790
811
  }
791
812
  );
792
- }
793
- function FormMessage({ className, ...props }) {
813
+ });
814
+ FormControl.displayName = "FormControl";
815
+ var FormDescription = React6.forwardRef(({ className, ...props }, ref) => {
816
+ const { formDescriptionId } = useFormField();
817
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
818
+ "p",
819
+ {
820
+ ref,
821
+ id: formDescriptionId,
822
+ className: _chunkCRAHKL2Ccjs.cn.call(void 0, "text-[0.8rem] text-muted-foreground", className),
823
+ ...props
824
+ }
825
+ );
826
+ });
827
+ FormDescription.displayName = "FormDescription";
828
+ var FormMessage = React6.forwardRef(({ className, children, ...props }, ref) => {
794
829
  const { error, formMessageId } = useFormField();
795
- const body = error ? String(_nullishCoalesce((error == null ? void 0 : error.message), () => ( ""))) : props.children;
830
+ const body = error ? String(_nullishCoalesce((error == null ? void 0 : error.message), () => ( ""))) : children;
796
831
  if (!body) {
797
832
  return null;
798
833
  }
799
834
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
800
835
  "p",
801
836
  {
802
- "data-slot": "form-message",
837
+ ref,
803
838
  id: formMessageId,
804
- className: _chunkCRAHKL2Ccjs.cn.call(void 0, "text-destructive text-sm", className),
839
+ className: _chunkCRAHKL2Ccjs.cn.call(void 0, "text-[0.8rem] font-medium text-destructive", className),
805
840
  ...props,
806
841
  children: body
807
842
  }
808
843
  );
809
- }
844
+ });
845
+ FormMessage.displayName = "FormMessage";
810
846
 
811
847
  // src/components/ui/input.tsx
812
848
 
813
- function Input({ className, type, ...props }) {
814
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
815
- "input",
816
- {
817
- type,
818
- "data-slot": "input",
819
- className: _chunkCRAHKL2Ccjs.cn.call(void 0,
820
- "file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
821
- "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
822
- "aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
823
- className
824
- ),
825
- ...props
826
- }
827
- );
828
- }
829
-
830
- // src/components/organization/organization-logo.tsx
831
-
832
-
833
-
834
- // src/components/ui/avatar.tsx
835
- var _reactavatar = require('@radix-ui/react-avatar'); var AvatarPrimitive = _interopRequireWildcard(_reactavatar);
836
849
 
837
- function Avatar({
838
- className,
839
- ...props
840
- }) {
841
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
842
- AvatarPrimitive.Root,
843
- {
844
- "data-slot": "avatar",
845
- className: _chunkCRAHKL2Ccjs.cn.call(void 0,
846
- "relative flex size-8 shrink-0 overflow-hidden rounded-full",
847
- className
848
- ),
849
- ...props
850
- }
851
- );
852
- }
853
- function AvatarImage({
854
- className,
855
- ...props
856
- }) {
857
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
858
- AvatarPrimitive.Image,
859
- {
860
- "data-slot": "avatar-image",
861
- className: _chunkCRAHKL2Ccjs.cn.call(void 0, "aspect-square size-full", className),
862
- ...props
863
- }
864
- );
865
- }
866
- function AvatarFallback({
867
- className,
868
- ...props
869
- }) {
870
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
871
- AvatarPrimitive.Fallback,
872
- {
873
- "data-slot": "avatar-fallback",
874
- className: _chunkCRAHKL2Ccjs.cn.call(void 0,
875
- "bg-muted flex size-full items-center justify-center rounded-full",
876
- className
877
- ),
878
- ...props
879
- }
880
- );
881
- }
850
+ var Input = React7.forwardRef(
851
+ ({ className, type, ...props }, ref) => {
852
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
853
+ "input",
854
+ {
855
+ type,
856
+ className: _chunkCRAHKL2Ccjs.cn.call(void 0,
857
+ "flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
858
+ className
859
+ ),
860
+ ref,
861
+ ...props
862
+ }
863
+ );
864
+ }
865
+ );
866
+ Input.displayName = "Input";
867
+
868
+ // src/components/organization/organization-logo.tsx
869
+
870
+
871
+
872
+ // src/components/ui/avatar.tsx
873
+
874
+ var _reactavatar = require('@radix-ui/react-avatar'); var AvatarPrimitive = _interopRequireWildcard(_reactavatar);
875
+
876
+ var Avatar = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
877
+ AvatarPrimitive.Root,
878
+ {
879
+ ref,
880
+ className: _chunkCRAHKL2Ccjs.cn.call(void 0,
881
+ "relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",
882
+ className
883
+ ),
884
+ ...props
885
+ }
886
+ ));
887
+ Avatar.displayName = AvatarPrimitive.Root.displayName;
888
+ var AvatarImage = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
889
+ AvatarPrimitive.Image,
890
+ {
891
+ ref,
892
+ className: _chunkCRAHKL2Ccjs.cn.call(void 0, "aspect-square h-full w-full", className),
893
+ ...props
894
+ }
895
+ ));
896
+ AvatarImage.displayName = AvatarPrimitive.Image.displayName;
897
+ var AvatarFallback = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
898
+ AvatarPrimitive.Fallback,
899
+ {
900
+ ref,
901
+ className: _chunkCRAHKL2Ccjs.cn.call(void 0,
902
+ "flex h-full w-full items-center justify-center rounded-full bg-muted",
903
+ className
904
+ ),
905
+ ...props
906
+ }
907
+ ));
908
+ AvatarFallback.displayName = AvatarPrimitive.Fallback.displayName;
882
909
 
883
910
  // src/components/organization/organization-logo.tsx
884
911
 
@@ -2441,49 +2468,47 @@ function UpdateAvatarCard({
2441
2468
 
2442
2469
 
2443
2470
  // src/components/ui/checkbox.tsx
2471
+
2444
2472
  var _reactcheckbox = require('@radix-ui/react-checkbox'); var CheckboxPrimitive = _interopRequireWildcard(_reactcheckbox);
2445
2473
 
2446
2474
 
2447
- function Checkbox({
2448
- className,
2449
- ...props
2450
- }) {
2451
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2452
- CheckboxPrimitive.Root,
2453
- {
2454
- "data-slot": "checkbox",
2455
- className: _chunkCRAHKL2Ccjs.cn.call(void 0,
2456
- "peer border-input dark:bg-input/30 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:data-[state=checked]:bg-primary data-[state=checked]:border-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive size-4 shrink-0 rounded-[4px] border shadow-xs transition-shadow outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",
2457
- className
2458
- ),
2459
- ...props,
2460
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2461
- CheckboxPrimitive.Indicator,
2462
- {
2463
- "data-slot": "checkbox-indicator",
2464
- className: "flex items-center justify-center text-current transition-none",
2465
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.CheckIcon, { className: "size-3.5" })
2466
- }
2467
- )
2468
- }
2469
- );
2470
- }
2475
+ var Checkbox = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2476
+ CheckboxPrimitive.Root,
2477
+ {
2478
+ ref,
2479
+ className: _chunkCRAHKL2Ccjs.cn.call(void 0,
2480
+ "grid place-content-center peer h-4 w-4 shrink-0 rounded-sm border border-primary shadow focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",
2481
+ className
2482
+ ),
2483
+ ...props,
2484
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2485
+ CheckboxPrimitive.Indicator,
2486
+ {
2487
+ className: _chunkCRAHKL2Ccjs.cn.call(void 0, "grid place-content-center text-current"),
2488
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Check, { className: "h-4 w-4" })
2489
+ }
2490
+ )
2491
+ }
2492
+ ));
2493
+ Checkbox.displayName = CheckboxPrimitive.Root.displayName;
2471
2494
 
2472
2495
  // src/components/ui/textarea.tsx
2473
2496
 
2474
- function Textarea({ className, ...props }) {
2497
+
2498
+ var Textarea = React10.forwardRef(({ className, ...props }, ref) => {
2475
2499
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2476
2500
  "textarea",
2477
2501
  {
2478
- "data-slot": "textarea",
2479
2502
  className: _chunkCRAHKL2Ccjs.cn.call(void 0,
2480
- "border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
2503
+ "flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
2481
2504
  className
2482
2505
  ),
2506
+ ref,
2483
2507
  ...props
2484
2508
  }
2485
2509
  );
2486
- }
2510
+ });
2511
+ Textarea.displayName = "Textarea";
2487
2512
 
2488
2513
  // src/components/settings/account/update-field-card.tsx
2489
2514
 
@@ -3413,131 +3438,116 @@ function PersonalAccountView({
3413
3438
  }
3414
3439
 
3415
3440
  // src/components/ui/select.tsx
3441
+
3416
3442
  var _reactselect = require('@radix-ui/react-select'); var SelectPrimitive = _interopRequireWildcard(_reactselect);
3417
3443
 
3418
3444
 
3419
- function Select({
3420
- ...props
3421
- }) {
3422
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectPrimitive.Root, { "data-slot": "select", ...props });
3423
- }
3424
- function SelectValue({
3425
- ...props
3426
- }) {
3427
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectPrimitive.Value, { "data-slot": "select-value", ...props });
3428
- }
3429
- function SelectTrigger({
3430
- className,
3431
- size = "default",
3432
- children,
3433
- ...props
3434
- }) {
3435
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
3436
- SelectPrimitive.Trigger,
3437
- {
3438
- "data-slot": "select-trigger",
3439
- "data-size": size,
3440
- className: _chunkCRAHKL2Ccjs.cn.call(void 0,
3441
- "border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
3442
- className
3443
- ),
3444
- ...props,
3445
- children: [
3446
- children,
3447
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronDownIcon, { className: "size-4 opacity-50" }) })
3448
- ]
3449
- }
3450
- );
3451
- }
3452
- function SelectContent({
3453
- className,
3454
- children,
3455
- position = "popper",
3456
- ...props
3457
- }) {
3458
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectPrimitive.Portal, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
3459
- SelectPrimitive.Content,
3460
- {
3461
- "data-slot": "select-content",
3462
- className: _chunkCRAHKL2Ccjs.cn.call(void 0,
3463
- "bg-popover text-popover-foreground 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 relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md",
3464
- 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",
3465
- className
3466
- ),
3467
- position,
3468
- ...props,
3469
- children: [
3470
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectScrollUpButton, {}),
3471
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3472
- SelectPrimitive.Viewport,
3473
- {
3474
- className: _chunkCRAHKL2Ccjs.cn.call(void 0,
3475
- "p-1",
3476
- position === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"
3477
- ),
3478
- children
3479
- }
3480
- ),
3481
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectScrollDownButton, {})
3482
- ]
3483
- }
3484
- ) });
3485
- }
3486
- function SelectItem({
3487
- className,
3488
- children,
3489
- ...props
3490
- }) {
3491
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
3492
- SelectPrimitive.Item,
3493
- {
3494
- "data-slot": "select-item",
3495
- className: _chunkCRAHKL2Ccjs.cn.call(void 0,
3496
- "focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",
3497
- className
3498
- ),
3499
- ...props,
3500
- children: [
3501
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "absolute right-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.CheckIcon, { className: "size-4" }) }) }),
3502
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectPrimitive.ItemText, { children })
3503
- ]
3504
- }
3505
- );
3506
- }
3507
- function SelectScrollUpButton({
3508
- className,
3509
- ...props
3510
- }) {
3511
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3512
- SelectPrimitive.ScrollUpButton,
3513
- {
3514
- "data-slot": "select-scroll-up-button",
3515
- className: _chunkCRAHKL2Ccjs.cn.call(void 0,
3516
- "flex cursor-default items-center justify-center py-1",
3517
- className
3518
- ),
3519
- ...props,
3520
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronUpIcon, { className: "size-4" })
3521
- }
3522
- );
3523
- }
3524
- function SelectScrollDownButton({
3525
- className,
3526
- ...props
3527
- }) {
3528
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3529
- SelectPrimitive.ScrollDownButton,
3530
- {
3531
- "data-slot": "select-scroll-down-button",
3532
- className: _chunkCRAHKL2Ccjs.cn.call(void 0,
3533
- "flex cursor-default items-center justify-center py-1",
3534
- className
3445
+ var Select = SelectPrimitive.Root;
3446
+ var SelectValue = SelectPrimitive.Value;
3447
+ var SelectTrigger = React11.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
3448
+ SelectPrimitive.Trigger,
3449
+ {
3450
+ ref,
3451
+ className: _chunkCRAHKL2Ccjs.cn.call(void 0,
3452
+ "flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background data-[placeholder]:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",
3453
+ className
3454
+ ),
3455
+ ...props,
3456
+ children: [
3457
+ children,
3458
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronDown, { className: "h-4 w-4 opacity-50" }) })
3459
+ ]
3460
+ }
3461
+ ));
3462
+ SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
3463
+ var SelectScrollUpButton = React11.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3464
+ SelectPrimitive.ScrollUpButton,
3465
+ {
3466
+ ref,
3467
+ className: _chunkCRAHKL2Ccjs.cn.call(void 0,
3468
+ "flex cursor-default items-center justify-center py-1",
3469
+ className
3470
+ ),
3471
+ ...props,
3472
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronUp, { className: "h-4 w-4" })
3473
+ }
3474
+ ));
3475
+ SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
3476
+ var SelectScrollDownButton = React11.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3477
+ SelectPrimitive.ScrollDownButton,
3478
+ {
3479
+ ref,
3480
+ className: _chunkCRAHKL2Ccjs.cn.call(void 0,
3481
+ "flex cursor-default items-center justify-center py-1",
3482
+ className
3483
+ ),
3484
+ ...props,
3485
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronDown, { className: "h-4 w-4" })
3486
+ }
3487
+ ));
3488
+ SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
3489
+ var SelectContent = React11.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectPrimitive.Portal, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
3490
+ SelectPrimitive.Content,
3491
+ {
3492
+ ref,
3493
+ className: _chunkCRAHKL2Ccjs.cn.call(void 0,
3494
+ "relative z-50 max-h-[--radix-select-content-available-height] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover text-popover-foreground shadow-md 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-select-content-transform-origin]",
3495
+ 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",
3496
+ className
3497
+ ),
3498
+ position,
3499
+ ...props,
3500
+ children: [
3501
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectScrollUpButton, {}),
3502
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3503
+ SelectPrimitive.Viewport,
3504
+ {
3505
+ className: _chunkCRAHKL2Ccjs.cn.call(void 0,
3506
+ "p-1",
3507
+ position === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"
3508
+ ),
3509
+ children
3510
+ }
3535
3511
  ),
3536
- ...props,
3537
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronDownIcon, { className: "size-4" })
3538
- }
3539
- );
3540
- }
3512
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectScrollDownButton, {})
3513
+ ]
3514
+ }
3515
+ ) }));
3516
+ SelectContent.displayName = SelectPrimitive.Content.displayName;
3517
+ var SelectLabel = React11.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3518
+ SelectPrimitive.Label,
3519
+ {
3520
+ ref,
3521
+ className: _chunkCRAHKL2Ccjs.cn.call(void 0, "px-2 py-1.5 text-sm font-semibold", className),
3522
+ ...props
3523
+ }
3524
+ ));
3525
+ SelectLabel.displayName = SelectPrimitive.Label.displayName;
3526
+ var SelectItem = React11.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
3527
+ SelectPrimitive.Item,
3528
+ {
3529
+ ref,
3530
+ className: _chunkCRAHKL2Ccjs.cn.call(void 0,
3531
+ "relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
3532
+ className
3533
+ ),
3534
+ ...props,
3535
+ children: [
3536
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Check, { className: "h-4 w-4" }) }) }),
3537
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectPrimitive.ItemText, { children })
3538
+ ]
3539
+ }
3540
+ ));
3541
+ SelectItem.displayName = SelectPrimitive.Item.displayName;
3542
+ var SelectSeparator = React11.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3543
+ SelectPrimitive.Separator,
3544
+ {
3545
+ ref,
3546
+ className: _chunkCRAHKL2Ccjs.cn.call(void 0, "-mx-1 my-1 h-px bg-muted", className),
3547
+ ...props
3548
+ }
3549
+ ));
3550
+ SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
3541
3551
 
3542
3552
  // src/components/settings/api-key/create-api-key-dialog.tsx
3543
3553
 
@@ -4863,7 +4873,7 @@ var VKIcon = ({ className }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4863
4873
  )
4864
4874
  }
4865
4875
  );
4866
- var XIcon3 = ({ className }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4876
+ var XIcon2 = ({ className }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4867
4877
  "svg",
4868
4878
  {
4869
4879
  className,
@@ -5001,7 +5011,7 @@ var socialProviders = [
5001
5011
  {
5002
5012
  provider: "twitter",
5003
5013
  name: "X",
5004
- icon: XIcon3
5014
+ icon: XIcon2
5005
5015
  },
5006
5016
  {
5007
5017
  provider: "zoom",
@@ -6058,93 +6068,94 @@ function SecuritySettingsCards({
6058
6068
  }
6059
6069
 
6060
6070
  // src/components/ui/drawer.tsx
6071
+
6061
6072
  var _vaul = require('vaul');
6062
6073
 
6063
- function Drawer({
6064
- ...props
6065
- }) {
6066
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _vaul.Drawer.Root, { "data-slot": "drawer", ...props });
6067
- }
6068
- function DrawerTrigger({
6074
+ var Drawer = ({
6075
+ shouldScaleBackground = true,
6069
6076
  ...props
6070
- }) {
6071
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _vaul.Drawer.Trigger, { "data-slot": "drawer-trigger", ...props });
6072
- }
6073
- function DrawerPortal({
6074
- ...props
6075
- }) {
6076
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _vaul.Drawer.Portal, { "data-slot": "drawer-portal", ...props });
6077
- }
6078
- function DrawerOverlay({
6079
- className,
6080
- ...props
6081
- }) {
6082
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
6083
- _vaul.Drawer.Overlay,
6077
+ }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
6078
+ _vaul.Drawer.Root,
6079
+ {
6080
+ shouldScaleBackground,
6081
+ ...props
6082
+ }
6083
+ );
6084
+ Drawer.displayName = "Drawer";
6085
+ var DrawerTrigger = _vaul.Drawer.Trigger;
6086
+ var DrawerPortal = _vaul.Drawer.Portal;
6087
+ var DrawerClose = _vaul.Drawer.Close;
6088
+ var DrawerOverlay = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
6089
+ _vaul.Drawer.Overlay,
6090
+ {
6091
+ ref,
6092
+ className: _chunkCRAHKL2Ccjs.cn.call(void 0, "fixed inset-0 z-50 bg-black/80", className),
6093
+ ...props
6094
+ }
6095
+ ));
6096
+ DrawerOverlay.displayName = _vaul.Drawer.Overlay.displayName;
6097
+ var DrawerContent = React12.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, DrawerPortal, { children: [
6098
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DrawerOverlay, {}),
6099
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
6100
+ _vaul.Drawer.Content,
6084
6101
  {
6085
- "data-slot": "drawer-overlay",
6102
+ ref,
6086
6103
  className: _chunkCRAHKL2Ccjs.cn.call(void 0,
6087
- "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",
6104
+ "fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-[10px] border bg-background",
6088
6105
  className
6089
6106
  ),
6090
- ...props
6107
+ ...props,
6108
+ children: [
6109
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted" }),
6110
+ children
6111
+ ]
6091
6112
  }
6092
- );
6093
- }
6094
- function DrawerContent({
6113
+ )
6114
+ ] }));
6115
+ DrawerContent.displayName = "DrawerContent";
6116
+ var DrawerHeader = ({
6095
6117
  className,
6096
- children,
6097
6118
  ...props
6098
- }) {
6099
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, DrawerPortal, { "data-slot": "drawer-portal", children: [
6100
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DrawerOverlay, {}),
6101
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
6102
- _vaul.Drawer.Content,
6103
- {
6104
- "data-slot": "drawer-content",
6105
- className: _chunkCRAHKL2Ccjs.cn.call(void 0,
6106
- "group/drawer-content bg-background fixed z-50 flex h-auto flex-col",
6107
- "data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=top]:rounded-b-lg data-[vaul-drawer-direction=top]:border-b",
6108
- "data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=bottom]:rounded-t-lg data-[vaul-drawer-direction=bottom]:border-t",
6109
- "data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:right-0 data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=right]:border-l data-[vaul-drawer-direction=right]:sm:max-w-sm",
6110
- "data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=left]:left-0 data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=left]:border-r data-[vaul-drawer-direction=left]:sm:max-w-sm",
6111
- className
6112
- ),
6113
- ...props,
6114
- children: [
6115
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "bg-muted mx-auto mt-4 hidden h-2 w-[100px] shrink-0 rounded-full group-data-[vaul-drawer-direction=bottom]/drawer-content:block" }),
6116
- children
6117
- ]
6118
- }
6119
- )
6120
- ] });
6121
- }
6122
- function DrawerHeader({ className, ...props }) {
6123
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
6124
- "div",
6125
- {
6126
- "data-slot": "drawer-header",
6127
- className: _chunkCRAHKL2Ccjs.cn.call(void 0,
6128
- "flex flex-col gap-0.5 p-4 group-data-[vaul-drawer-direction=bottom]/drawer-content:text-center group-data-[vaul-drawer-direction=top]/drawer-content:text-center md:gap-1.5 md:text-left",
6129
- className
6130
- ),
6131
- ...props
6132
- }
6133
- );
6134
- }
6135
- function DrawerTitle({
6119
+ }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
6120
+ "div",
6121
+ {
6122
+ className: _chunkCRAHKL2Ccjs.cn.call(void 0, "grid gap-1.5 p-4 text-center sm:text-left", className),
6123
+ ...props
6124
+ }
6125
+ );
6126
+ DrawerHeader.displayName = "DrawerHeader";
6127
+ var DrawerFooter = ({
6136
6128
  className,
6137
6129
  ...props
6138
- }) {
6139
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
6140
- _vaul.Drawer.Title,
6141
- {
6142
- "data-slot": "drawer-title",
6143
- className: _chunkCRAHKL2Ccjs.cn.call(void 0, "text-foreground font-semibold", className),
6144
- ...props
6145
- }
6146
- );
6147
- }
6130
+ }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
6131
+ "div",
6132
+ {
6133
+ className: _chunkCRAHKL2Ccjs.cn.call(void 0, "mt-auto flex flex-col gap-2 p-4", className),
6134
+ ...props
6135
+ }
6136
+ );
6137
+ DrawerFooter.displayName = "DrawerFooter";
6138
+ var DrawerTitle = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
6139
+ _vaul.Drawer.Title,
6140
+ {
6141
+ ref,
6142
+ className: _chunkCRAHKL2Ccjs.cn.call(void 0,
6143
+ "text-lg font-semibold leading-none tracking-tight",
6144
+ className
6145
+ ),
6146
+ ...props
6147
+ }
6148
+ ));
6149
+ DrawerTitle.displayName = _vaul.Drawer.Title.displayName;
6150
+ var DrawerDescription = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
6151
+ _vaul.Drawer.Description,
6152
+ {
6153
+ ref,
6154
+ className: _chunkCRAHKL2Ccjs.cn.call(void 0, "text-sm text-muted-foreground", className),
6155
+ ...props
6156
+ }
6157
+ ));
6158
+ DrawerDescription.displayName = _vaul.Drawer.Description.displayName;
6148
6159
 
6149
6160
  // src/components/account/account-view.tsx
6150
6161
 
@@ -6388,61 +6399,44 @@ function AuthCallback({ redirectTo }) {
6388
6399
  var _inputotp = require('input-otp');
6389
6400
 
6390
6401
 
6391
- function InputOTP({
6392
- className,
6393
- containerClassName,
6394
- ...props
6395
- }) {
6396
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
6397
- _inputotp.OTPInput,
6398
- {
6399
- "data-slot": "input-otp",
6400
- containerClassName: _chunkCRAHKL2Ccjs.cn.call(void 0,
6401
- "flex items-center gap-2 has-disabled:opacity-50",
6402
- containerClassName
6403
- ),
6404
- className: _chunkCRAHKL2Ccjs.cn.call(void 0, "disabled:cursor-not-allowed", className),
6405
- ...props
6406
- }
6407
- );
6408
- }
6409
- function InputOTPGroup({ className, ...props }) {
6410
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
6411
- "div",
6412
- {
6413
- "data-slot": "input-otp-group",
6414
- className: _chunkCRAHKL2Ccjs.cn.call(void 0, "flex items-center", className),
6415
- ...props
6416
- }
6417
- );
6418
- }
6419
- function InputOTPSlot({
6420
- index,
6421
- className,
6422
- ...props
6423
- }) {
6424
- const inputOTPContext = React2.useContext(_inputotp.OTPInputContext);
6425
- const { char, hasFakeCaret, isActive } = _nullishCoalesce((inputOTPContext == null ? void 0 : inputOTPContext.slots[index]), () => ( {}));
6402
+ var InputOTP = React13.forwardRef(({ className, containerClassName, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
6403
+ _inputotp.OTPInput,
6404
+ {
6405
+ ref,
6406
+ containerClassName: _chunkCRAHKL2Ccjs.cn.call(void 0,
6407
+ "flex items-center gap-2 has-[:disabled]:opacity-50",
6408
+ containerClassName
6409
+ ),
6410
+ className: _chunkCRAHKL2Ccjs.cn.call(void 0, "disabled:cursor-not-allowed", className),
6411
+ ...props
6412
+ }
6413
+ ));
6414
+ InputOTP.displayName = "InputOTP";
6415
+ var InputOTPGroup = React13.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, className: _chunkCRAHKL2Ccjs.cn.call(void 0, "flex items-center", className), ...props }));
6416
+ InputOTPGroup.displayName = "InputOTPGroup";
6417
+ var InputOTPSlot = React13.forwardRef(({ index, className, ...props }, ref) => {
6418
+ const inputOTPContext = React13.useContext(_inputotp.OTPInputContext);
6419
+ const { char, hasFakeCaret, isActive } = inputOTPContext.slots[index];
6426
6420
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
6427
6421
  "div",
6428
6422
  {
6429
- "data-slot": "input-otp-slot",
6430
- "data-active": isActive,
6423
+ ref,
6431
6424
  className: _chunkCRAHKL2Ccjs.cn.call(void 0,
6432
- "data-[active=true]:border-ring data-[active=true]:ring-ring/50 data-[active=true]:aria-invalid:ring-destructive/20 dark:data-[active=true]:aria-invalid:ring-destructive/40 aria-invalid:border-destructive data-[active=true]:aria-invalid:border-destructive dark:bg-input/30 border-input relative flex h-9 w-9 items-center justify-center border-y border-r text-sm shadow-xs transition-all outline-none first:rounded-l-md first:border-l last:rounded-r-md data-[active=true]:z-10 data-[active=true]:ring-[3px]",
6425
+ "relative flex h-9 w-9 items-center justify-center border-y border-r border-input text-sm shadow-sm transition-all first:rounded-l-md first:border-l last:rounded-r-md",
6426
+ isActive && "z-10 ring-1 ring-ring",
6433
6427
  className
6434
6428
  ),
6435
6429
  ...props,
6436
6430
  children: [
6437
6431
  char,
6438
- hasFakeCaret && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "animate-caret-blink bg-foreground h-4 w-px duration-1000" }) })
6432
+ hasFakeCaret && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-4 w-px animate-caret-blink bg-foreground duration-1000" }) })
6439
6433
  ]
6440
6434
  }
6441
6435
  );
6442
- }
6443
- function InputOTPSeparator({ ...props }) {
6444
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-slot": "input-otp-separator", role: "separator", ...props, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.MinusIcon, {}) });
6445
- }
6436
+ });
6437
+ InputOTPSlot.displayName = "InputOTPSlot";
6438
+ var InputOTPSeparator = React13.forwardRef(({ ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, role: "separator", ...props, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Minus, {}) }));
6439
+ InputOTPSeparator.displayName = "InputOTPSeparator";
6446
6440
 
6447
6441
  // src/components/auth/otp-input-group.tsx
6448
6442
 
@@ -9109,28 +9103,26 @@ var AcceptInvitationSkeleton = ({
9109
9103
  };
9110
9104
 
9111
9105
  // src/components/ui/separator.tsx
9106
+
9112
9107
  var _reactseparator = require('@radix-ui/react-separator'); var SeparatorPrimitive = _interopRequireWildcard(_reactseparator);
9113
9108
 
9114
- function Separator3({
9115
- className,
9116
- orientation = "horizontal",
9117
- decorative = true,
9118
- ...props
9119
- }) {
9120
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
9109
+ var Separator3 = React14.forwardRef(
9110
+ ({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
9121
9111
  SeparatorPrimitive.Root,
9122
9112
  {
9123
- "data-slot": "separator",
9113
+ ref,
9124
9114
  decorative,
9125
9115
  orientation,
9126
9116
  className: _chunkCRAHKL2Ccjs.cn.call(void 0,
9127
- "bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",
9117
+ "shrink-0 bg-border",
9118
+ orientation === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]",
9128
9119
  className
9129
9120
  ),
9130
9121
  ...props
9131
9122
  }
9132
- );
9133
- }
9123
+ )
9124
+ );
9125
+ Separator3.displayName = SeparatorPrimitive.Root.displayName;
9134
9126
 
9135
9127
  // src/components/auth/email-otp-button.tsx
9136
9128
 
@@ -12615,4 +12607,4 @@ function UserButton({
12615
12607
 
12616
12608
 
12617
12609
 
12618
- exports.AcceptInvitationCard = AcceptInvitationCard; exports.AccountSettingsCards = AccountSettingsCards; exports.AccountView = AccountView; exports.AccountsCard = AccountsCard; exports.ApiKeysCard = ApiKeysCard; exports.AppleIcon = AppleIcon; exports.AuthCallback = AuthCallback; exports.AuthForm = AuthForm; exports.AuthLoading = AuthLoading; exports.AuthUIContext = _chunkSV64DXGWcjs.AuthUIContext; exports.AuthUIProvider = _chunkSV64DXGWcjs.AuthUIProvider; exports.AuthView = AuthView; exports.ChangeEmailCard = ChangeEmailCard; exports.ChangePasswordCard = ChangePasswordCard; exports.CreateOrganizationDialog = CreateOrganizationDialog; exports.DeleteAccountCard = DeleteAccountCard; exports.DeleteOrganizationCard = DeleteOrganizationCard; exports.DiscordIcon = DiscordIcon; exports.DropboxIcon = DropboxIcon; exports.FacebookIcon = FacebookIcon; exports.ForgotPasswordForm = ForgotPasswordForm; exports.GitHubIcon = GitHubIcon; exports.GitLabIcon = GitLabIcon; exports.GoogleIcon = GoogleIcon; exports.HuggingFaceIcon = HuggingFaceIcon; exports.InputFieldSkeleton = InputFieldSkeleton; exports.KickIcon = KickIcon; exports.LinearIcon = LinearIcon; exports.LinkedInIcon = LinkedInIcon; exports.MagicLinkForm = MagicLinkForm; exports.MicrosoftIcon = MicrosoftIcon; exports.NotionIcon = NotionIcon; exports.OrganizationCellView = OrganizationCellView; exports.OrganizationInvitationsCard = OrganizationInvitationsCard; exports.OrganizationLogo = OrganizationLogo; exports.OrganizationLogoCard = OrganizationLogoCard; exports.OrganizationMembersCard = OrganizationMembersCard; exports.OrganizationNameCard = OrganizationNameCard; exports.OrganizationSettingsCards = OrganizationSettingsCards; exports.OrganizationSlugCard = OrganizationSlugCard; exports.OrganizationSwitcher = OrganizationSwitcher; exports.OrganizationView = OrganizationView; exports.OrganizationsCard = OrganizationsCard; exports.PasskeysCard = PasskeysCard; exports.PasswordInput = PasswordInput; exports.ProvidersCard = ProvidersCard; exports.RecoverAccountForm = RecoverAccountForm; exports.RedditIcon = RedditIcon; exports.RedirectToSignIn = RedirectToSignIn; exports.RedirectToSignUp = RedirectToSignUp; exports.ResetPasswordForm = ResetPasswordForm; exports.RobloxIcon = RobloxIcon; exports.SecuritySettingsCards = SecuritySettingsCards; exports.SessionsCard = SessionsCard; exports.SettingsCard = SettingsCard; exports.SettingsCellSkeleton = SettingsCellSkeleton; exports.SignInForm = SignInForm; exports.SignOut = SignOut; exports.SignUpForm = SignUpForm; exports.SignedIn = SignedIn; exports.SignedOut = SignedOut; exports.SlackIcon = SlackIcon; exports.SpotifyIcon = SpotifyIcon; exports.TikTokIcon = TikTokIcon; exports.TwitchIcon = TwitchIcon; exports.TwoFactorCard = TwoFactorCard; exports.TwoFactorForm = TwoFactorForm; exports.UpdateAvatarCard = UpdateAvatarCard; exports.UpdateFieldCard = UpdateFieldCard; exports.UpdateNameCard = UpdateNameCard; exports.UpdateUsernameCard = UpdateUsernameCard; exports.UserAvatar = UserAvatar; exports.UserButton = UserButton; exports.UserInvitationsCard = UserInvitationsCard; exports.UserView = UserView; exports.VKIcon = VKIcon; exports.XIcon = XIcon3; exports.ZoomIcon = ZoomIcon; exports.accountViewPaths = _chunkCRAHKL2Ccjs.accountViewPaths; exports.authLocalization = _chunkCRAHKL2Ccjs.authLocalization; exports.authViewPaths = _chunkCRAHKL2Ccjs.authViewPaths; exports.getViewByPath = _chunkCRAHKL2Ccjs.getViewByPath; exports.organizationViewPaths = _chunkCRAHKL2Ccjs.organizationViewPaths; exports.socialProviders = socialProviders; exports.useAuthData = _chunkSV64DXGWcjs.useAuthData; exports.useAuthenticate = useAuthenticate; exports.useCurrentOrganization = _chunkSV64DXGWcjs.useCurrentOrganization;
12610
+ exports.AcceptInvitationCard = AcceptInvitationCard; exports.AccountSettingsCards = AccountSettingsCards; exports.AccountView = AccountView; exports.AccountsCard = AccountsCard; exports.ApiKeysCard = ApiKeysCard; exports.AppleIcon = AppleIcon; exports.AuthCallback = AuthCallback; exports.AuthForm = AuthForm; exports.AuthLoading = AuthLoading; exports.AuthUIContext = _chunkSV64DXGWcjs.AuthUIContext; exports.AuthUIProvider = _chunkSV64DXGWcjs.AuthUIProvider; exports.AuthView = AuthView; exports.ChangeEmailCard = ChangeEmailCard; exports.ChangePasswordCard = ChangePasswordCard; exports.CreateOrganizationDialog = CreateOrganizationDialog; exports.DeleteAccountCard = DeleteAccountCard; exports.DeleteOrganizationCard = DeleteOrganizationCard; exports.DiscordIcon = DiscordIcon; exports.DropboxIcon = DropboxIcon; exports.FacebookIcon = FacebookIcon; exports.ForgotPasswordForm = ForgotPasswordForm; exports.GitHubIcon = GitHubIcon; exports.GitLabIcon = GitLabIcon; exports.GoogleIcon = GoogleIcon; exports.HuggingFaceIcon = HuggingFaceIcon; exports.InputFieldSkeleton = InputFieldSkeleton; exports.KickIcon = KickIcon; exports.LinearIcon = LinearIcon; exports.LinkedInIcon = LinkedInIcon; exports.MagicLinkForm = MagicLinkForm; exports.MicrosoftIcon = MicrosoftIcon; exports.NotionIcon = NotionIcon; exports.OrganizationCellView = OrganizationCellView; exports.OrganizationInvitationsCard = OrganizationInvitationsCard; exports.OrganizationLogo = OrganizationLogo; exports.OrganizationLogoCard = OrganizationLogoCard; exports.OrganizationMembersCard = OrganizationMembersCard; exports.OrganizationNameCard = OrganizationNameCard; exports.OrganizationSettingsCards = OrganizationSettingsCards; exports.OrganizationSlugCard = OrganizationSlugCard; exports.OrganizationSwitcher = OrganizationSwitcher; exports.OrganizationView = OrganizationView; exports.OrganizationsCard = OrganizationsCard; exports.PasskeysCard = PasskeysCard; exports.PasswordInput = PasswordInput; exports.ProvidersCard = ProvidersCard; exports.RecoverAccountForm = RecoverAccountForm; exports.RedditIcon = RedditIcon; exports.RedirectToSignIn = RedirectToSignIn; exports.RedirectToSignUp = RedirectToSignUp; exports.ResetPasswordForm = ResetPasswordForm; exports.RobloxIcon = RobloxIcon; exports.SecuritySettingsCards = SecuritySettingsCards; exports.SessionsCard = SessionsCard; exports.SettingsCard = SettingsCard; exports.SettingsCellSkeleton = SettingsCellSkeleton; exports.SignInForm = SignInForm; exports.SignOut = SignOut; exports.SignUpForm = SignUpForm; exports.SignedIn = SignedIn; exports.SignedOut = SignedOut; exports.SlackIcon = SlackIcon; exports.SpotifyIcon = SpotifyIcon; exports.TikTokIcon = TikTokIcon; exports.TwitchIcon = TwitchIcon; exports.TwoFactorCard = TwoFactorCard; exports.TwoFactorForm = TwoFactorForm; exports.UpdateAvatarCard = UpdateAvatarCard; exports.UpdateFieldCard = UpdateFieldCard; exports.UpdateNameCard = UpdateNameCard; exports.UpdateUsernameCard = UpdateUsernameCard; exports.UserAvatar = UserAvatar; exports.UserButton = UserButton; exports.UserInvitationsCard = UserInvitationsCard; exports.UserView = UserView; exports.VKIcon = VKIcon; exports.XIcon = XIcon2; exports.ZoomIcon = ZoomIcon; exports.accountViewPaths = _chunkCRAHKL2Ccjs.accountViewPaths; exports.authLocalization = _chunkCRAHKL2Ccjs.authLocalization; exports.authViewPaths = _chunkCRAHKL2Ccjs.authViewPaths; exports.getViewByPath = _chunkCRAHKL2Ccjs.getViewByPath; exports.organizationViewPaths = _chunkCRAHKL2Ccjs.organizationViewPaths; exports.socialProviders = socialProviders; exports.useAuthData = _chunkSV64DXGWcjs.useAuthData; exports.useAuthenticate = useAuthenticate; exports.useCurrentOrganization = _chunkSV64DXGWcjs.useCurrentOrganization;