@kenshinx/ui 1.4.0 → 1.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/dist/index.d.ts +151 -1
  2. package/dist/index.js +458 -58
  3. package/package.json +23 -2
package/dist/index.d.ts CHANGED
@@ -1,10 +1,12 @@
1
1
  import { ClassValue } from 'clsx';
2
2
  import * as class_variance_authority_types from 'class-variance-authority/types';
3
3
  import * as React from 'react';
4
+ import * as class_variance_authority from 'class-variance-authority';
4
5
  import { VariantProps } from 'class-variance-authority';
5
6
  import * as LabelPrimitive from '@radix-ui/react-label';
6
7
  import * as react_jsx_runtime from 'react/jsx-runtime';
7
8
  import * as DialogPrimitive from '@radix-ui/react-dialog';
9
+ import { DialogProps } from '@radix-ui/react-dialog';
8
10
  import * as SwitchPrimitives from '@radix-ui/react-switch';
9
11
  import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
10
12
  import * as SelectPrimitive from '@radix-ui/react-select';
@@ -15,6 +17,11 @@ import * as TabsPrimitive from '@radix-ui/react-tabs';
15
17
  import * as TooltipPrimitive from '@radix-ui/react-tooltip';
16
18
  import * as PopoverPrimitive from '@radix-ui/react-popover';
17
19
  import * as AvatarPrimitive from '@radix-ui/react-avatar';
20
+ import * as _radix_ui_react_slot from '@radix-ui/react-slot';
21
+ import * as react_hook_form from 'react-hook-form';
22
+ import { FieldValues, FieldPath, ControllerProps } from 'react-hook-form';
23
+ import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
24
+ import { DayPicker } from 'react-day-picker';
18
25
 
19
26
  /**
20
27
  * Utility function to merge Tailwind CSS classes with clsx
@@ -173,4 +180,147 @@ declare const TableHead: React.ForwardRefExoticComponent<React.ThHTMLAttributes<
173
180
  declare const TableCell: React.ForwardRefExoticComponent<React.TdHTMLAttributes<HTMLTableCellElement> & React.RefAttributes<HTMLTableCellElement>>;
174
181
  declare const TableCaption: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableCaptionElement> & React.RefAttributes<HTMLTableCaptionElement>>;
175
182
 
176
- export { Alert, AlertDescription, AlertTitle, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Input, type InputProps, Label, Popover, PopoverContent, PopoverTrigger, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type TextareaProps, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, alertVariants, badgeVariants, buttonVariants, cn };
183
+ declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: react_hook_form.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React.JSX.Element;
184
+ declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => react_jsx_runtime.JSX.Element;
185
+ declare const useFormField: () => {
186
+ invalid: boolean;
187
+ isDirty: boolean;
188
+ isTouched: boolean;
189
+ isValidating: boolean;
190
+ error?: react_hook_form.FieldError;
191
+ id: string;
192
+ name: string;
193
+ formItemId: string;
194
+ formDescriptionId: string;
195
+ formMessageId: string;
196
+ };
197
+ declare const FormItem: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
198
+ declare const FormLabel: React.ForwardRefExoticComponent<Omit<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & class_variance_authority.VariantProps<(props?: class_variance_authority_types.ClassProp | undefined) => string> & React.RefAttributes<HTMLLabelElement>, "ref"> & React.RefAttributes<HTMLLabelElement>>;
199
+ declare const FormControl: React.ForwardRefExoticComponent<Omit<_radix_ui_react_slot.SlotProps & React.RefAttributes<HTMLElement>, "ref"> & React.RefAttributes<HTMLElement>>;
200
+ declare const FormDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
201
+ declare const FormMessage: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
202
+
203
+ declare const Collapsible: React.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleProps & React.RefAttributes<HTMLDivElement>>;
204
+ declare const CollapsibleTrigger: React.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleTriggerProps & React.RefAttributes<HTMLButtonElement>>;
205
+ declare const CollapsibleContent: React.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleContentProps & React.RefAttributes<HTMLDivElement>>;
206
+
207
+ declare const Breadcrumb: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
208
+ separator?: React.ReactNode;
209
+ } & React.RefAttributes<HTMLElement>>;
210
+ declare const BreadcrumbList: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref"> & React.RefAttributes<HTMLOListElement>>;
211
+ declare const BreadcrumbItem: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React.RefAttributes<HTMLLIElement>>;
212
+ declare const BreadcrumbLink: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
213
+ asChild?: boolean;
214
+ } & React.RefAttributes<HTMLAnchorElement>>;
215
+ declare const BreadcrumbPage: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
216
+ declare const BreadcrumbSeparator: {
217
+ ({ children, className, ...props }: React.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
218
+ displayName: string;
219
+ };
220
+ declare const BreadcrumbEllipsis: {
221
+ ({ className, ...props }: React.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
222
+ displayName: string;
223
+ };
224
+
225
+ type CalendarProps = React.ComponentProps<typeof DayPicker>;
226
+ declare function Calendar({ className, classNames, showOutsideDays, ...props }: CalendarProps): react_jsx_runtime.JSX.Element;
227
+ declare namespace Calendar {
228
+ var displayName: string;
229
+ }
230
+
231
+ declare const Command: React.ForwardRefExoticComponent<Omit<{
232
+ children?: React.ReactNode;
233
+ } & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
234
+ ref?: React.Ref<HTMLDivElement>;
235
+ } & {
236
+ asChild?: boolean;
237
+ }, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
238
+ label?: string;
239
+ shouldFilter?: boolean;
240
+ filter?: (value: string, search: string, keywords?: string[]) => number;
241
+ defaultValue?: string;
242
+ value?: string;
243
+ onValueChange?: (value: string) => void;
244
+ loop?: boolean;
245
+ disablePointerSelection?: boolean;
246
+ vimBindings?: boolean;
247
+ } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
248
+ type CommandDialogProps = DialogProps;
249
+ declare const CommandDialog: ({ children, ...props }: CommandDialogProps) => react_jsx_runtime.JSX.Element;
250
+ declare const CommandInput: React.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React.InputHTMLAttributes<HTMLInputElement>> & {
251
+ ref?: React.Ref<HTMLInputElement>;
252
+ } & {
253
+ asChild?: boolean;
254
+ }, "asChild" | "key" | keyof React.InputHTMLAttributes<HTMLInputElement>>, "type" | "value" | "onChange"> & {
255
+ value?: string;
256
+ onValueChange?: (search: string) => void;
257
+ } & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
258
+ declare const CommandList: React.ForwardRefExoticComponent<Omit<{
259
+ children?: React.ReactNode;
260
+ } & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
261
+ ref?: React.Ref<HTMLDivElement>;
262
+ } & {
263
+ asChild?: boolean;
264
+ }, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
265
+ label?: string;
266
+ } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
267
+ declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
268
+ children?: React.ReactNode;
269
+ } & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
270
+ ref?: React.Ref<HTMLDivElement>;
271
+ } & {
272
+ asChild?: boolean;
273
+ }, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
274
+ declare const CommandGroup: React.ForwardRefExoticComponent<Omit<{
275
+ children?: React.ReactNode;
276
+ } & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
277
+ ref?: React.Ref<HTMLDivElement>;
278
+ } & {
279
+ asChild?: boolean;
280
+ }, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>>, "value" | "heading"> & {
281
+ heading?: React.ReactNode;
282
+ value?: string;
283
+ forceMount?: boolean;
284
+ } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
285
+ declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
286
+ ref?: React.Ref<HTMLDivElement>;
287
+ } & {
288
+ asChild?: boolean;
289
+ }, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
290
+ alwaysRender?: boolean;
291
+ } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
292
+ declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
293
+ children?: React.ReactNode;
294
+ } & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
295
+ ref?: React.Ref<HTMLDivElement>;
296
+ } & {
297
+ asChild?: boolean;
298
+ }, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>>, "disabled" | "value" | "onSelect"> & {
299
+ disabled?: boolean;
300
+ onSelect?: (value: string) => void;
301
+ value?: string;
302
+ keywords?: string[];
303
+ forceMount?: boolean;
304
+ } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
305
+ declare const CommandShortcut: {
306
+ ({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
307
+ displayName: string;
308
+ };
309
+
310
+ interface ComboboxOption {
311
+ value: string;
312
+ label: string;
313
+ }
314
+ interface ComboboxProps {
315
+ options: ComboboxOption[];
316
+ value?: string;
317
+ onValueChange?: (value: string) => void;
318
+ placeholder?: string;
319
+ emptyText?: string;
320
+ className?: string;
321
+ disabled?: boolean;
322
+ icon?: React.ReactNode;
323
+ }
324
+ declare function Combobox({ options, value, onValueChange, placeholder, emptyText, className, disabled, icon, }: ComboboxProps): react_jsx_runtime.JSX.Element;
325
+
326
+ export { Alert, AlertDescription, AlertTitle, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Combobox, type ComboboxOption, type ComboboxProps, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Input, type InputProps, Label, Popover, PopoverContent, PopoverTrigger, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type TextareaProps, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, alertVariants, badgeVariants, buttonVariants, cn, useFormField };
package/dist/index.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import { clsx } from 'clsx';
2
2
  import { twMerge } from 'tailwind-merge';
3
- import * as React12 from 'react';
3
+ import * as React19 from 'react';
4
4
  import { useState, useEffect } from 'react';
5
5
  import { Slot } from '@radix-ui/react-slot';
6
6
  import { cva } from 'class-variance-authority';
7
7
  import { jsx, jsxs } from 'react/jsx-runtime';
8
8
  import * as LabelPrimitive from '@radix-ui/react-label';
9
9
  import * as DialogPrimitive from '@radix-ui/react-dialog';
10
- import { X, Check, ChevronDown, ChevronUp, ChevronRight, Circle } from 'lucide-react';
10
+ import { X, Check, ChevronDown, ChevronUp, ChevronRight, Circle, Search, MoreHorizontal, ChevronLeft, ChevronsUpDown } from 'lucide-react';
11
11
  import * as SwitchPrimitives from '@radix-ui/react-switch';
12
12
  import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
13
13
  import * as SelectPrimitive from '@radix-ui/react-select';
@@ -18,6 +18,10 @@ import * as TabsPrimitive from '@radix-ui/react-tabs';
18
18
  import * as TooltipPrimitive from '@radix-ui/react-tooltip';
19
19
  import * as PopoverPrimitive from '@radix-ui/react-popover';
20
20
  import * as AvatarPrimitive from '@radix-ui/react-avatar';
21
+ import { useFormContext, useFormState, FormProvider, Controller } from 'react-hook-form';
22
+ import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
23
+ import { DayPicker } from 'react-day-picker';
24
+ import { Command as Command$1 } from 'cmdk';
21
25
 
22
26
  // src/lib/utils.ts
23
27
  function cn(...inputs) {
@@ -48,7 +52,7 @@ var buttonVariants = cva(
48
52
  }
49
53
  }
50
54
  );
51
- var Button = React12.forwardRef(
55
+ var Button = React19.forwardRef(
52
56
  ({ className, variant, size, asChild = false, ...props }, ref) => {
53
57
  const Comp = asChild ? Slot : "button";
54
58
  return /* @__PURE__ */ jsx(
@@ -62,7 +66,7 @@ var Button = React12.forwardRef(
62
66
  }
63
67
  );
64
68
  Button.displayName = "Button";
65
- var Input = React12.forwardRef(
69
+ var Input = React19.forwardRef(
66
70
  ({ className, type, ...props }, ref) => {
67
71
  return /* @__PURE__ */ jsx(
68
72
  "input",
@@ -82,7 +86,7 @@ Input.displayName = "Input";
82
86
  var labelVariants = cva(
83
87
  "text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
84
88
  );
85
- var Label = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
89
+ var Label = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
86
90
  LabelPrimitive.Root,
87
91
  {
88
92
  ref,
@@ -91,7 +95,7 @@ var Label = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
91
95
  }
92
96
  ));
93
97
  Label.displayName = LabelPrimitive.Root.displayName;
94
- var Card = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
98
+ var Card = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
95
99
  "div",
96
100
  {
97
101
  ref,
@@ -103,7 +107,7 @@ var Card = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
103
107
  }
104
108
  ));
105
109
  Card.displayName = "Card";
106
- var CardHeader = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
110
+ var CardHeader = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
107
111
  "div",
108
112
  {
109
113
  ref,
@@ -112,7 +116,7 @@ var CardHeader = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE
112
116
  }
113
117
  ));
114
118
  CardHeader.displayName = "CardHeader";
115
- var CardTitle = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
119
+ var CardTitle = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
116
120
  "h3",
117
121
  {
118
122
  ref,
@@ -124,7 +128,7 @@ var CardTitle = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE_
124
128
  }
125
129
  ));
126
130
  CardTitle.displayName = "CardTitle";
127
- var CardDescription = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
131
+ var CardDescription = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
128
132
  "p",
129
133
  {
130
134
  ref,
@@ -133,9 +137,9 @@ var CardDescription = React12.forwardRef(({ className, ...props }, ref) => /* @_
133
137
  }
134
138
  ));
135
139
  CardDescription.displayName = "CardDescription";
136
- var CardContent = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: cn("p-6 pt-0", className), ...props }));
140
+ var CardContent = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: cn("p-6 pt-0", className), ...props }));
137
141
  CardContent.displayName = "CardContent";
138
- var CardFooter = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
142
+ var CardFooter = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
139
143
  "div",
140
144
  {
141
145
  ref,
@@ -148,7 +152,7 @@ var Dialog = DialogPrimitive.Root;
148
152
  var DialogTrigger = DialogPrimitive.Trigger;
149
153
  var DialogPortal = DialogPrimitive.Portal;
150
154
  var DialogClose = DialogPrimitive.Close;
151
- var DialogOverlay = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
155
+ var DialogOverlay = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
152
156
  DialogPrimitive.Overlay,
153
157
  {
154
158
  ref,
@@ -160,7 +164,7 @@ var DialogOverlay = React12.forwardRef(({ className, ...props }, ref) => /* @__P
160
164
  }
161
165
  ));
162
166
  DialogOverlay.displayName = DialogPrimitive.Overlay.displayName;
163
- var DialogContent = React12.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(DialogPortal, { children: [
167
+ var DialogContent = React19.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(DialogPortal, { children: [
164
168
  /* @__PURE__ */ jsx(DialogOverlay, {}),
165
169
  /* @__PURE__ */ jsxs(
166
170
  DialogPrimitive.Content,
@@ -210,7 +214,7 @@ var DialogFooter = ({
210
214
  }
211
215
  );
212
216
  DialogFooter.displayName = "DialogFooter";
213
- var DialogTitle = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
217
+ var DialogTitle = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
214
218
  DialogPrimitive.Title,
215
219
  {
216
220
  ref,
@@ -222,7 +226,7 @@ var DialogTitle = React12.forwardRef(({ className, ...props }, ref) => /* @__PUR
222
226
  }
223
227
  ));
224
228
  DialogTitle.displayName = DialogPrimitive.Title.displayName;
225
- var DialogDescription = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
229
+ var DialogDescription = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
226
230
  DialogPrimitive.Description,
227
231
  {
228
232
  ref,
@@ -231,7 +235,7 @@ var DialogDescription = React12.forwardRef(({ className, ...props }, ref) => /*
231
235
  }
232
236
  ));
233
237
  DialogDescription.displayName = DialogPrimitive.Description.displayName;
234
- var Switch = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
238
+ var Switch = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
235
239
  SwitchPrimitives.Root,
236
240
  {
237
241
  className: cn(
@@ -251,7 +255,7 @@ var Switch = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ *
251
255
  }
252
256
  ));
253
257
  Switch.displayName = SwitchPrimitives.Root.displayName;
254
- var Checkbox = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
258
+ var Checkbox = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
255
259
  CheckboxPrimitive.Root,
256
260
  {
257
261
  ref,
@@ -270,7 +274,7 @@ var Checkbox = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__
270
274
  }
271
275
  ));
272
276
  Checkbox.displayName = CheckboxPrimitive.Root.displayName;
273
- var Textarea = React12.forwardRef(
277
+ var Textarea = React19.forwardRef(
274
278
  ({ className, ...props }, ref) => {
275
279
  return /* @__PURE__ */ jsx(
276
280
  "textarea",
@@ -289,7 +293,7 @@ Textarea.displayName = "Textarea";
289
293
  var Select = SelectPrimitive.Root;
290
294
  var SelectGroup = SelectPrimitive.Group;
291
295
  var SelectValue = SelectPrimitive.Value;
292
- var SelectTrigger = React12.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
296
+ var SelectTrigger = React19.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
293
297
  SelectPrimitive.Trigger,
294
298
  {
295
299
  ref,
@@ -305,7 +309,7 @@ var SelectTrigger = React12.forwardRef(({ className, children, ...props }, ref)
305
309
  }
306
310
  ));
307
311
  SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
308
- var SelectScrollUpButton = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
312
+ var SelectScrollUpButton = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
309
313
  SelectPrimitive.ScrollUpButton,
310
314
  {
311
315
  ref,
@@ -318,7 +322,7 @@ var SelectScrollUpButton = React12.forwardRef(({ className, ...props }, ref) =>
318
322
  }
319
323
  ));
320
324
  SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
321
- var SelectScrollDownButton = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
325
+ var SelectScrollDownButton = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
322
326
  SelectPrimitive.ScrollDownButton,
323
327
  {
324
328
  ref,
@@ -331,7 +335,7 @@ var SelectScrollDownButton = React12.forwardRef(({ className, ...props }, ref) =
331
335
  }
332
336
  ));
333
337
  SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
334
- var SelectContent = React12.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ jsx(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsxs(
338
+ var SelectContent = React19.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ jsx(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsxs(
335
339
  SelectPrimitive.Content,
336
340
  {
337
341
  ref,
@@ -359,7 +363,7 @@ var SelectContent = React12.forwardRef(({ className, children, position = "poppe
359
363
  }
360
364
  ) }));
361
365
  SelectContent.displayName = SelectPrimitive.Content.displayName;
362
- var SelectLabel = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
366
+ var SelectLabel = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
363
367
  SelectPrimitive.Label,
364
368
  {
365
369
  ref,
@@ -368,7 +372,7 @@ var SelectLabel = React12.forwardRef(({ className, ...props }, ref) => /* @__PUR
368
372
  }
369
373
  ));
370
374
  SelectLabel.displayName = SelectPrimitive.Label.displayName;
371
- var SelectItem = React12.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
375
+ var SelectItem = React19.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
372
376
  SelectPrimitive.Item,
373
377
  {
374
378
  ref,
@@ -384,7 +388,7 @@ var SelectItem = React12.forwardRef(({ className, children, ...props }, ref) =>
384
388
  }
385
389
  ));
386
390
  SelectItem.displayName = SelectPrimitive.Item.displayName;
387
- var SelectSeparator = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
391
+ var SelectSeparator = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
388
392
  SelectPrimitive.Separator,
389
393
  {
390
394
  ref,
@@ -454,7 +458,7 @@ var alertVariants = cva(
454
458
  }
455
459
  }
456
460
  );
457
- var Alert = React12.forwardRef(({ className, variant, ...props }, ref) => /* @__PURE__ */ jsx(
461
+ var Alert = React19.forwardRef(({ className, variant, ...props }, ref) => /* @__PURE__ */ jsx(
458
462
  "div",
459
463
  {
460
464
  ref,
@@ -464,7 +468,7 @@ var Alert = React12.forwardRef(({ className, variant, ...props }, ref) => /* @__
464
468
  }
465
469
  ));
466
470
  Alert.displayName = "Alert";
467
- var AlertTitle = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
471
+ var AlertTitle = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
468
472
  "h5",
469
473
  {
470
474
  ref,
@@ -473,7 +477,7 @@ var AlertTitle = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE
473
477
  }
474
478
  ));
475
479
  AlertTitle.displayName = "AlertTitle";
476
- var AlertDescription = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
480
+ var AlertDescription = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
477
481
  "div",
478
482
  {
479
483
  ref,
@@ -498,7 +502,7 @@ var badgeVariants = cva(
498
502
  }
499
503
  }
500
504
  );
501
- var Badge = React12.forwardRef(
505
+ var Badge = React19.forwardRef(
502
506
  ({ className, variant, asChild = false, ...props }, ref) => {
503
507
  const Comp = asChild ? Slot : "div";
504
508
  return /* @__PURE__ */ jsx(
@@ -518,7 +522,7 @@ var DropdownMenuGroup = DropdownMenuPrimitive.Group;
518
522
  var DropdownMenuPortal = DropdownMenuPrimitive.Portal;
519
523
  var DropdownMenuSub = DropdownMenuPrimitive.Sub;
520
524
  var DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;
521
- var DropdownMenuSubTrigger = React12.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs(
525
+ var DropdownMenuSubTrigger = React19.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs(
522
526
  DropdownMenuPrimitive.SubTrigger,
523
527
  {
524
528
  ref,
@@ -535,7 +539,7 @@ var DropdownMenuSubTrigger = React12.forwardRef(({ className, inset, children, .
535
539
  }
536
540
  ));
537
541
  DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive.SubTrigger.displayName;
538
- var DropdownMenuSubContent = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
542
+ var DropdownMenuSubContent = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
539
543
  DropdownMenuPrimitive.SubContent,
540
544
  {
541
545
  ref,
@@ -547,7 +551,7 @@ var DropdownMenuSubContent = React12.forwardRef(({ className, ...props }, ref) =
547
551
  }
548
552
  ));
549
553
  DropdownMenuSubContent.displayName = DropdownMenuPrimitive.SubContent.displayName;
550
- var DropdownMenuContent = React12.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx(
554
+ var DropdownMenuContent = React19.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx(
551
555
  DropdownMenuPrimitive.Content,
552
556
  {
553
557
  ref,
@@ -560,7 +564,7 @@ var DropdownMenuContent = React12.forwardRef(({ className, sideOffset = 4, ...pr
560
564
  }
561
565
  ) }));
562
566
  DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
563
- var DropdownMenuItem = React12.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
567
+ var DropdownMenuItem = React19.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
564
568
  DropdownMenuPrimitive.Item,
565
569
  {
566
570
  ref,
@@ -573,7 +577,7 @@ var DropdownMenuItem = React12.forwardRef(({ className, inset, ...props }, ref)
573
577
  }
574
578
  ));
575
579
  DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;
576
- var DropdownMenuCheckboxItem = React12.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxs(
580
+ var DropdownMenuCheckboxItem = React19.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxs(
577
581
  DropdownMenuPrimitive.CheckboxItem,
578
582
  {
579
583
  ref,
@@ -590,7 +594,7 @@ var DropdownMenuCheckboxItem = React12.forwardRef(({ className, children, checke
590
594
  }
591
595
  ));
592
596
  DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive.CheckboxItem.displayName;
593
- var DropdownMenuRadioItem = React12.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
597
+ var DropdownMenuRadioItem = React19.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
594
598
  DropdownMenuPrimitive.RadioItem,
595
599
  {
596
600
  ref,
@@ -606,7 +610,7 @@ var DropdownMenuRadioItem = React12.forwardRef(({ className, children, ...props
606
610
  }
607
611
  ));
608
612
  DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;
609
- var DropdownMenuLabel = React12.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
613
+ var DropdownMenuLabel = React19.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
610
614
  DropdownMenuPrimitive.Label,
611
615
  {
612
616
  ref,
@@ -619,7 +623,7 @@ var DropdownMenuLabel = React12.forwardRef(({ className, inset, ...props }, ref)
619
623
  }
620
624
  ));
621
625
  DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;
622
- var DropdownMenuSeparator = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
626
+ var DropdownMenuSeparator = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
623
627
  DropdownMenuPrimitive.Separator,
624
628
  {
625
629
  ref,
@@ -642,7 +646,7 @@ var DropdownMenuShortcut = ({
642
646
  };
643
647
  DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
644
648
  var Tabs = TabsPrimitive.Root;
645
- var TabsList = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
649
+ var TabsList = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
646
650
  TabsPrimitive.List,
647
651
  {
648
652
  ref,
@@ -654,7 +658,7 @@ var TabsList = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__
654
658
  }
655
659
  ));
656
660
  TabsList.displayName = TabsPrimitive.List.displayName;
657
- var TabsTrigger = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
661
+ var TabsTrigger = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
658
662
  TabsPrimitive.Trigger,
659
663
  {
660
664
  ref,
@@ -666,7 +670,7 @@ var TabsTrigger = React12.forwardRef(({ className, ...props }, ref) => /* @__PUR
666
670
  }
667
671
  ));
668
672
  TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
669
- var TabsContent = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
673
+ var TabsContent = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
670
674
  TabsPrimitive.Content,
671
675
  {
672
676
  ref,
@@ -681,7 +685,7 @@ TabsContent.displayName = TabsPrimitive.Content.displayName;
681
685
  var TooltipProvider = TooltipPrimitive.Provider;
682
686
  var Tooltip = TooltipPrimitive.Root;
683
687
  var TooltipTrigger = TooltipPrimitive.Trigger;
684
- var TooltipContent = React12.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx(
688
+ var TooltipContent = React19.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx(
685
689
  TooltipPrimitive.Content,
686
690
  {
687
691
  ref,
@@ -696,7 +700,7 @@ var TooltipContent = React12.forwardRef(({ className, sideOffset = 4, ...props }
696
700
  TooltipContent.displayName = TooltipPrimitive.Content.displayName;
697
701
  var Popover = PopoverPrimitive.Root;
698
702
  var PopoverTrigger = PopoverPrimitive.Trigger;
699
- var PopoverContent = React12.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx(
703
+ var PopoverContent = React19.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx(
700
704
  PopoverPrimitive.Content,
701
705
  {
702
706
  ref,
@@ -714,7 +718,7 @@ var Sheet = DialogPrimitive.Root;
714
718
  var SheetTrigger = DialogPrimitive.Trigger;
715
719
  var SheetClose = DialogPrimitive.Close;
716
720
  var SheetPortal = DialogPrimitive.Portal;
717
- var SheetOverlay = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
721
+ var SheetOverlay = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
718
722
  DialogPrimitive.Overlay,
719
723
  {
720
724
  className: cn(
@@ -742,7 +746,7 @@ var sheetVariants = cva(
742
746
  }
743
747
  }
744
748
  );
745
- var SheetContent = React12.forwardRef(({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */ jsxs(SheetPortal, { children: [
749
+ var SheetContent = React19.forwardRef(({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */ jsxs(SheetPortal, { children: [
746
750
  /* @__PURE__ */ jsx(SheetOverlay, {}),
747
751
  /* @__PURE__ */ jsxs(
748
752
  DialogPrimitive.Content,
@@ -789,7 +793,7 @@ var SheetFooter = ({
789
793
  }
790
794
  );
791
795
  SheetFooter.displayName = "SheetFooter";
792
- var SheetTitle = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
796
+ var SheetTitle = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
793
797
  DialogPrimitive.Title,
794
798
  {
795
799
  ref,
@@ -798,7 +802,7 @@ var SheetTitle = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE
798
802
  }
799
803
  ));
800
804
  SheetTitle.displayName = DialogPrimitive.Title.displayName;
801
- var SheetDescription = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
805
+ var SheetDescription = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
802
806
  DialogPrimitive.Description,
803
807
  {
804
808
  ref,
@@ -807,7 +811,7 @@ var SheetDescription = React12.forwardRef(({ className, ...props }, ref) => /* @
807
811
  }
808
812
  ));
809
813
  SheetDescription.displayName = DialogPrimitive.Description.displayName;
810
- var Avatar = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
814
+ var Avatar = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
811
815
  AvatarPrimitive.Root,
812
816
  {
813
817
  ref,
@@ -819,7 +823,7 @@ var Avatar = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ *
819
823
  }
820
824
  ));
821
825
  Avatar.displayName = AvatarPrimitive.Root.displayName;
822
- var AvatarImage = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
826
+ var AvatarImage = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
823
827
  AvatarPrimitive.Image,
824
828
  {
825
829
  ref,
@@ -828,7 +832,7 @@ var AvatarImage = React12.forwardRef(({ className, ...props }, ref) => /* @__PUR
828
832
  }
829
833
  ));
830
834
  AvatarImage.displayName = AvatarPrimitive.Image.displayName;
831
- var AvatarFallback = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
835
+ var AvatarFallback = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
832
836
  AvatarPrimitive.Fallback,
833
837
  {
834
838
  ref,
@@ -852,7 +856,7 @@ function Skeleton({
852
856
  }
853
857
  );
854
858
  }
855
- var Table = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ jsx(
859
+ var Table = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ jsx(
856
860
  "table",
857
861
  {
858
862
  ref,
@@ -861,9 +865,9 @@ var Table = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
861
865
  }
862
866
  ) }));
863
867
  Table.displayName = "Table";
864
- var TableHeader = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("thead", { ref, className: cn("[&_tr]:border-b", className), ...props }));
868
+ var TableHeader = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("thead", { ref, className: cn("[&_tr]:border-b", className), ...props }));
865
869
  TableHeader.displayName = "TableHeader";
866
- var TableBody = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
870
+ var TableBody = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
867
871
  "tbody",
868
872
  {
869
873
  ref,
@@ -872,7 +876,7 @@ var TableBody = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE_
872
876
  }
873
877
  ));
874
878
  TableBody.displayName = "TableBody";
875
- var TableFooter = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
879
+ var TableFooter = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
876
880
  "tfoot",
877
881
  {
878
882
  ref,
@@ -884,7 +888,7 @@ var TableFooter = React12.forwardRef(({ className, ...props }, ref) => /* @__PUR
884
888
  }
885
889
  ));
886
890
  TableFooter.displayName = "TableFooter";
887
- var TableRow = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
891
+ var TableRow = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
888
892
  "tr",
889
893
  {
890
894
  ref,
@@ -896,7 +900,7 @@ var TableRow = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__
896
900
  }
897
901
  ));
898
902
  TableRow.displayName = "TableRow";
899
- var TableHead = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
903
+ var TableHead = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
900
904
  "th",
901
905
  {
902
906
  ref,
@@ -908,7 +912,7 @@ var TableHead = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE_
908
912
  }
909
913
  ));
910
914
  TableHead.displayName = "TableHead";
911
- var TableCell = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
915
+ var TableCell = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
912
916
  "td",
913
917
  {
914
918
  ref,
@@ -917,7 +921,7 @@ var TableCell = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE_
917
921
  }
918
922
  ));
919
923
  TableCell.displayName = "TableCell";
920
- var TableCaption = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
924
+ var TableCaption = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
921
925
  "caption",
922
926
  {
923
927
  ref,
@@ -926,5 +930,401 @@ var TableCaption = React12.forwardRef(({ className, ...props }, ref) => /* @__PU
926
930
  }
927
931
  ));
928
932
  TableCaption.displayName = "TableCaption";
933
+ var Form = FormProvider;
934
+ var FormFieldContext = React19.createContext(
935
+ {}
936
+ );
937
+ var FormField = ({
938
+ ...props
939
+ }) => {
940
+ return /* @__PURE__ */ jsx(FormFieldContext.Provider, { value: { name: props.name }, children: /* @__PURE__ */ jsx(Controller, { ...props }) });
941
+ };
942
+ var useFormField = () => {
943
+ const fieldContext = React19.useContext(FormFieldContext);
944
+ const itemContext = React19.useContext(FormItemContext);
945
+ const { getFieldState } = useFormContext();
946
+ const formState = useFormState({ name: fieldContext.name });
947
+ const fieldState = getFieldState(fieldContext.name, formState);
948
+ if (!fieldContext) {
949
+ throw new Error("useFormField should be used within <FormField>");
950
+ }
951
+ const { id } = itemContext;
952
+ return {
953
+ id,
954
+ name: fieldContext.name,
955
+ formItemId: `${id}-form-item`,
956
+ formDescriptionId: `${id}-form-item-description`,
957
+ formMessageId: `${id}-form-item-message`,
958
+ ...fieldState
959
+ };
960
+ };
961
+ var FormItemContext = React19.createContext(
962
+ {}
963
+ );
964
+ var FormItem = React19.forwardRef(({ className, ...props }, ref) => {
965
+ const id = React19.useId();
966
+ return /* @__PURE__ */ jsx(FormItemContext.Provider, { value: { id }, children: /* @__PURE__ */ jsx("div", { ref, className: cn("space-y-2", className), ...props }) });
967
+ });
968
+ FormItem.displayName = "FormItem";
969
+ var FormLabel = React19.forwardRef(({ className, ...props }, ref) => {
970
+ const { error, formItemId } = useFormField();
971
+ return /* @__PURE__ */ jsx(
972
+ Label,
973
+ {
974
+ ref,
975
+ className: cn(error && "text-destructive", className),
976
+ htmlFor: formItemId,
977
+ ...props
978
+ }
979
+ );
980
+ });
981
+ FormLabel.displayName = "FormLabel";
982
+ var FormControl = React19.forwardRef(({ ...props }, ref) => {
983
+ const { error, formItemId, formDescriptionId, formMessageId } = useFormField();
984
+ return /* @__PURE__ */ jsx(
985
+ Slot,
986
+ {
987
+ ref,
988
+ id: formItemId,
989
+ "aria-describedby": !error ? `${formDescriptionId}` : `${formDescriptionId} ${formMessageId}`,
990
+ "aria-invalid": !!error,
991
+ ...props
992
+ }
993
+ );
994
+ });
995
+ FormControl.displayName = "FormControl";
996
+ var FormDescription = React19.forwardRef(({ className, ...props }, ref) => {
997
+ const { formDescriptionId } = useFormField();
998
+ return /* @__PURE__ */ jsx(
999
+ "p",
1000
+ {
1001
+ ref,
1002
+ id: formDescriptionId,
1003
+ className: cn("text-muted-foreground text-sm", className),
1004
+ ...props
1005
+ }
1006
+ );
1007
+ });
1008
+ FormDescription.displayName = "FormDescription";
1009
+ var FormMessage = React19.forwardRef(({ className, children, ...props }, ref) => {
1010
+ const { error, formMessageId } = useFormField();
1011
+ const body = error ? String(error?.message ?? "") : children;
1012
+ if (!body) {
1013
+ return null;
1014
+ }
1015
+ return /* @__PURE__ */ jsx(
1016
+ "p",
1017
+ {
1018
+ ref,
1019
+ id: formMessageId,
1020
+ className: cn("text-destructive text-sm font-medium", className),
1021
+ ...props,
1022
+ children: body
1023
+ }
1024
+ );
1025
+ });
1026
+ FormMessage.displayName = "FormMessage";
1027
+ var Collapsible = CollapsiblePrimitive.Root;
1028
+ var CollapsibleTrigger2 = CollapsiblePrimitive.CollapsibleTrigger;
1029
+ var CollapsibleContent2 = CollapsiblePrimitive.CollapsibleContent;
1030
+ var Breadcrumb = React19.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx("nav", { ref, "aria-label": "breadcrumb", ...props }));
1031
+ Breadcrumb.displayName = "Breadcrumb";
1032
+ var BreadcrumbList = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1033
+ "ol",
1034
+ {
1035
+ ref,
1036
+ className: cn(
1037
+ "flex flex-wrap items-center gap-1.5 break-words text-sm text-slate-500 sm:gap-2.5 dark:text-slate-400",
1038
+ className
1039
+ ),
1040
+ ...props
1041
+ }
1042
+ ));
1043
+ BreadcrumbList.displayName = "BreadcrumbList";
1044
+ var BreadcrumbItem = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1045
+ "li",
1046
+ {
1047
+ ref,
1048
+ className: cn("inline-flex items-center gap-1.5", className),
1049
+ ...props
1050
+ }
1051
+ ));
1052
+ BreadcrumbItem.displayName = "BreadcrumbItem";
1053
+ var BreadcrumbLink = React19.forwardRef(({ asChild, className, ...props }, ref) => {
1054
+ const Comp = asChild ? Slot : "a";
1055
+ return /* @__PURE__ */ jsx(
1056
+ Comp,
1057
+ {
1058
+ ref,
1059
+ className: cn(
1060
+ "transition-colors hover:text-slate-950 dark:hover:text-slate-50",
1061
+ className
1062
+ ),
1063
+ ...props
1064
+ }
1065
+ );
1066
+ });
1067
+ BreadcrumbLink.displayName = "BreadcrumbLink";
1068
+ var BreadcrumbPage = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1069
+ "span",
1070
+ {
1071
+ ref,
1072
+ role: "link",
1073
+ "aria-disabled": "true",
1074
+ "aria-current": "page",
1075
+ className: cn("font-normal text-slate-950 dark:text-slate-50", className),
1076
+ ...props
1077
+ }
1078
+ ));
1079
+ BreadcrumbPage.displayName = "BreadcrumbPage";
1080
+ var BreadcrumbSeparator = ({
1081
+ children,
1082
+ className,
1083
+ ...props
1084
+ }) => /* @__PURE__ */ jsx(
1085
+ "li",
1086
+ {
1087
+ role: "presentation",
1088
+ "aria-hidden": "true",
1089
+ className: cn("[&>svg]:size-3.5", className),
1090
+ ...props,
1091
+ children: children ?? /* @__PURE__ */ jsx(ChevronRight, {})
1092
+ }
1093
+ );
1094
+ BreadcrumbSeparator.displayName = "BreadcrumbSeparator";
1095
+ var BreadcrumbEllipsis = ({
1096
+ className,
1097
+ ...props
1098
+ }) => /* @__PURE__ */ jsxs(
1099
+ "span",
1100
+ {
1101
+ role: "presentation",
1102
+ "aria-hidden": "true",
1103
+ className: cn("flex h-9 w-9 items-center justify-center", className),
1104
+ ...props,
1105
+ children: [
1106
+ /* @__PURE__ */ jsx(MoreHorizontal, { className: "h-4 w-4" }),
1107
+ /* @__PURE__ */ jsx("span", { className: "sr-only", children: "More" })
1108
+ ]
1109
+ }
1110
+ );
1111
+ BreadcrumbEllipsis.displayName = "BreadcrumbElipssis";
1112
+ function Calendar({
1113
+ className,
1114
+ classNames,
1115
+ showOutsideDays = true,
1116
+ ...props
1117
+ }) {
1118
+ return /* @__PURE__ */ jsx(
1119
+ DayPicker,
1120
+ {
1121
+ showOutsideDays,
1122
+ className: cn("p-3", className),
1123
+ classNames: {
1124
+ months: "flex flex-col sm:flex-row space-y-4 sm:space-x-4 sm:space-y-0",
1125
+ month: "space-y-4",
1126
+ caption: "flex justify-center pt-1 relative items-center",
1127
+ caption_label: "text-sm font-medium",
1128
+ nav: "space-x-1 flex items-center",
1129
+ nav_button: cn(
1130
+ buttonVariants({ variant: "outline" }),
1131
+ "h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100"
1132
+ ),
1133
+ nav_button_previous: "absolute left-1",
1134
+ nav_button_next: "absolute right-1",
1135
+ table: "w-full border-collapse space-y-1",
1136
+ head_row: "flex",
1137
+ head_cell: "text-slate-500 rounded-md w-9 font-normal text-[0.8rem] dark:text-slate-400",
1138
+ row: "flex w-full mt-2",
1139
+ cell: "h-9 w-9 text-center text-sm p-0 relative [&:has([aria-selected].day-range-end)]:rounded-r-md [&:has([aria-selected].day-outside)]:bg-slate-100/50 [&:has([aria-selected])]:bg-slate-100 first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md focus-within:relative focus-within:z-20 dark:[&:has([aria-selected].day-outside)]:bg-slate-800/50 dark:[&:has([aria-selected])]:bg-slate-800",
1140
+ day: cn(
1141
+ buttonVariants({ variant: "ghost" }),
1142
+ "h-9 w-9 p-0 font-normal aria-selected:opacity-100"
1143
+ ),
1144
+ day_range_end: "day-range-end",
1145
+ day_selected: "bg-slate-900 text-slate-50 hover:bg-slate-900 hover:text-slate-50 focus:bg-slate-900 focus:text-slate-50 dark:bg-slate-50 dark:text-slate-900 dark:hover:bg-slate-50 dark:hover:text-slate-900 dark:focus:bg-slate-50 dark:focus:text-slate-900",
1146
+ day_today: "bg-slate-100 text-slate-900 dark:bg-slate-800 dark:text-slate-50",
1147
+ day_outside: "day-outside text-slate-500 aria-selected:bg-slate-100/50 aria-selected:text-slate-500 opacity-50 dark:text-slate-400 dark:aria-selected:bg-slate-800/50 dark:aria-selected:text-slate-400",
1148
+ day_disabled: "text-slate-500 opacity-50 dark:text-slate-400",
1149
+ day_range_middle: "aria-selected:bg-slate-100 aria-selected:text-slate-900 dark:aria-selected:bg-slate-800 dark:aria-selected:text-slate-50",
1150
+ day_hidden: "invisible",
1151
+ ...classNames
1152
+ },
1153
+ components: {
1154
+ IconLeft: () => /* @__PURE__ */ jsx(ChevronLeft, { className: "h-4 w-4" }),
1155
+ IconRight: () => /* @__PURE__ */ jsx(ChevronRight, { className: "h-4 w-4" })
1156
+ },
1157
+ ...props
1158
+ }
1159
+ );
1160
+ }
1161
+ Calendar.displayName = "Calendar";
1162
+ var Command = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1163
+ Command$1,
1164
+ {
1165
+ ref,
1166
+ className: cn(
1167
+ "flex h-full w-full flex-col overflow-hidden rounded-md bg-white text-slate-950 dark:bg-slate-950 dark:text-slate-50",
1168
+ className
1169
+ ),
1170
+ ...props
1171
+ }
1172
+ ));
1173
+ Command.displayName = Command$1.displayName;
1174
+ var CommandDialog = ({ children, ...props }) => {
1175
+ return /* @__PURE__ */ jsx(Dialog, { ...props, children: /* @__PURE__ */ jsx(DialogContent, { className: "overflow-hidden p-0 shadow-lg", children: /* @__PURE__ */ jsx(Command, { className: "[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-slate-500 dark:[&_[cmdk-group-heading]]:text-slate-400 [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5", children }) }) });
1176
+ };
1177
+ var CommandInput = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
1178
+ /* @__PURE__ */ jsx(Search, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
1179
+ /* @__PURE__ */ jsx(
1180
+ Command$1.Input,
1181
+ {
1182
+ ref,
1183
+ className: cn(
1184
+ "flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-slate-500 disabled:cursor-not-allowed disabled:opacity-50 dark:placeholder:text-slate-400",
1185
+ className
1186
+ ),
1187
+ ...props
1188
+ }
1189
+ )
1190
+ ] }));
1191
+ CommandInput.displayName = Command$1.Input.displayName;
1192
+ var CommandList = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1193
+ Command$1.List,
1194
+ {
1195
+ ref,
1196
+ className: cn("max-h-[300px] overflow-y-auto overflow-x-hidden", className),
1197
+ ...props
1198
+ }
1199
+ ));
1200
+ CommandList.displayName = Command$1.List.displayName;
1201
+ var CommandEmpty = React19.forwardRef((props, ref) => /* @__PURE__ */ jsx(
1202
+ Command$1.Empty,
1203
+ {
1204
+ ref,
1205
+ className: "py-6 text-center text-sm",
1206
+ ...props
1207
+ }
1208
+ ));
1209
+ CommandEmpty.displayName = Command$1.Empty.displayName;
1210
+ var CommandGroup = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1211
+ Command$1.Group,
1212
+ {
1213
+ ref,
1214
+ className: cn(
1215
+ "overflow-hidden p-1 text-slate-950 dark:text-slate-50 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-slate-500 dark:[&_[cmdk-group-heading]]:text-slate-400",
1216
+ className
1217
+ ),
1218
+ ...props
1219
+ }
1220
+ ));
1221
+ CommandGroup.displayName = Command$1.Group.displayName;
1222
+ var CommandSeparator = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1223
+ Command$1.Separator,
1224
+ {
1225
+ ref,
1226
+ className: cn("-mx-1 h-px bg-slate-200 dark:bg-slate-800", className),
1227
+ ...props
1228
+ }
1229
+ ));
1230
+ CommandSeparator.displayName = Command$1.Separator.displayName;
1231
+ var CommandItem = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1232
+ Command$1.Item,
1233
+ {
1234
+ ref,
1235
+ className: cn(
1236
+ "relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[selected='true']:bg-slate-100 data-[selected=true]:text-slate-900 data-[disabled=true]:opacity-50 dark:data-[selected='true']:bg-slate-800 dark:data-[selected=true]:text-slate-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
1237
+ className
1238
+ ),
1239
+ ...props
1240
+ }
1241
+ ));
1242
+ CommandItem.displayName = Command$1.Item.displayName;
1243
+ var CommandShortcut = ({
1244
+ className,
1245
+ ...props
1246
+ }) => {
1247
+ return /* @__PURE__ */ jsx(
1248
+ "span",
1249
+ {
1250
+ className: cn(
1251
+ "ml-auto text-xs tracking-widest text-slate-500 dark:text-slate-400",
1252
+ className
1253
+ ),
1254
+ ...props
1255
+ }
1256
+ );
1257
+ };
1258
+ CommandShortcut.displayName = "CommandShortcut";
1259
+ function Combobox({
1260
+ options,
1261
+ value,
1262
+ onValueChange,
1263
+ placeholder = "Select option...",
1264
+ emptyText = "No option found.",
1265
+ className,
1266
+ disabled = false,
1267
+ icon
1268
+ }) {
1269
+ const [open, setOpen] = React19.useState(false);
1270
+ const selectedLabel = React19.useMemo(() => {
1271
+ return options.find((option) => option.value === value)?.label;
1272
+ }, [options, value]);
1273
+ return /* @__PURE__ */ jsxs(Popover, { open, onOpenChange: setOpen, children: [
1274
+ /* @__PURE__ */ jsx(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsxs(
1275
+ Button,
1276
+ {
1277
+ variant: "outline",
1278
+ role: "combobox",
1279
+ "aria-expanded": open,
1280
+ className: cn("w-full justify-between", className),
1281
+ disabled,
1282
+ children: [
1283
+ /* @__PURE__ */ jsxs("span", { className: "flex items-center truncate", children: [
1284
+ icon && /* @__PURE__ */ jsx("span", { className: "mr-2 flex h-4 w-4 shrink-0 items-center justify-center", children: icon }),
1285
+ /* @__PURE__ */ jsx("span", { className: "truncate", children: value ? selectedLabel : placeholder })
1286
+ ] }),
1287
+ /* @__PURE__ */ jsx(ChevronsUpDown, { className: "ml-2 h-4 w-4 shrink-0 opacity-50" })
1288
+ ]
1289
+ }
1290
+ ) }),
1291
+ /* @__PURE__ */ jsx(PopoverContent, { className: "w-full p-0", align: "start", children: /* @__PURE__ */ jsxs(Command, { children: [
1292
+ /* @__PURE__ */ jsx(CommandInput, { placeholder }),
1293
+ /* @__PURE__ */ jsxs(CommandList, { children: [
1294
+ /* @__PURE__ */ jsx(CommandEmpty, { children: emptyText }),
1295
+ /* @__PURE__ */ jsx(CommandGroup, { children: options.map((option) => /* @__PURE__ */ jsxs(
1296
+ CommandItem,
1297
+ {
1298
+ value: option.label,
1299
+ onSelect: (currentValue) => {
1300
+ const selectedOption = options.find(
1301
+ (opt) => opt.label.toLowerCase() === currentValue.toLowerCase()
1302
+ );
1303
+ if (selectedOption) {
1304
+ onValueChange?.(
1305
+ selectedOption.value === value ? "" : selectedOption.value
1306
+ );
1307
+ }
1308
+ setOpen(false);
1309
+ },
1310
+ children: [
1311
+ /* @__PURE__ */ jsx(
1312
+ Check,
1313
+ {
1314
+ className: cn(
1315
+ "mr-2 h-4 w-4",
1316
+ value === option.value ? "opacity-100" : "opacity-0"
1317
+ )
1318
+ }
1319
+ ),
1320
+ option.label
1321
+ ]
1322
+ },
1323
+ option.value
1324
+ )) })
1325
+ ] })
1326
+ ] }) })
1327
+ ] });
1328
+ }
929
1329
 
930
- export { Alert, AlertDescription, AlertTitle, Avatar, AvatarFallback, AvatarImage, Badge, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Input, Label, Popover, PopoverContent, PopoverTrigger, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, alertVariants, badgeVariants, buttonVariants, cn };
1330
+ export { Alert, AlertDescription, AlertTitle, Avatar, AvatarFallback, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Collapsible, CollapsibleContent2 as CollapsibleContent, CollapsibleTrigger2 as CollapsibleTrigger, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Input, Label, Popover, PopoverContent, PopoverTrigger, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, alertVariants, badgeVariants, buttonVariants, cn, useFormField };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kenshinx/ui",
3
- "version": "1.4.0",
3
+ "version": "1.5.1",
4
4
  "description": "Personal React UI component library based on shadcn/ui patterns",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -35,6 +35,7 @@
35
35
  "dependencies": {
36
36
  "@radix-ui/react-avatar": "^1.1.11",
37
37
  "@radix-ui/react-checkbox": "^1.1.3",
38
+ "@radix-ui/react-collapsible": "^1.1.12",
38
39
  "@radix-ui/react-dialog": "^1.1.4",
39
40
  "@radix-ui/react-dropdown-menu": "^2.1.16",
40
41
  "@radix-ui/react-label": "^2.1.1",
@@ -46,7 +47,10 @@
46
47
  "@radix-ui/react-tooltip": "^1.2.8",
47
48
  "class-variance-authority": "^0.7.1",
48
49
  "clsx": "^2.1.1",
50
+ "cmdk": "^1.1.1",
51
+ "date-fns": "^4.1.0",
49
52
  "lucide-react": "^0.469.0",
53
+ "react-day-picker": "^8.10.0",
50
54
  "sonner": "^2.0.7",
51
55
  "tailwind-merge": "^2.6.0",
52
56
  "tailwindcss-animate": "^1.0.7"
@@ -54,12 +58,29 @@
54
58
  "peerDependencies": {
55
59
  "react": "^18.0.0 || ^19.0.0",
56
60
  "react-dom": "^18.0.0 || ^19.0.0",
57
- "tailwindcss": "^3.4.0"
61
+ "tailwindcss": "^3.4.0",
62
+ "react-hook-form": "^7.0.0",
63
+ "@hookform/resolvers": "^3.0.0",
64
+ "zod": "^3.0.0"
65
+ },
66
+ "peerDependenciesMeta": {
67
+ "react-hook-form": {
68
+ "optional": true
69
+ },
70
+ "@hookform/resolvers": {
71
+ "optional": true
72
+ },
73
+ "zod": {
74
+ "optional": true
75
+ }
58
76
  },
59
77
  "devDependencies": {
60
78
  "@eslint/js": "^9.0.0",
79
+ "@hookform/resolvers": "^3.9.0",
61
80
  "@types/react": "^18.3.0",
62
81
  "@types/react-dom": "^18.3.0",
82
+ "react-hook-form": "^7.54.0",
83
+ "zod": "^3.24.0",
63
84
  "@typescript-eslint/eslint-plugin": "^8.0.0",
64
85
  "@typescript-eslint/parser": "^8.0.0",
65
86
  "eslint": "^9.0.0",