@pixpilot/shadcn 0.3.2 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/ui/OrContinueWithSeparator.d.cts +2 -2
- package/dist/components/ui/alert-dialog.d.cts +12 -12
- package/dist/components/ui/avatar.d.cts +4 -4
- package/dist/components/ui/badge.d.cts +2 -2
- package/dist/components/ui/button.d.cts +2 -2
- package/dist/components/ui/calendar.d.cts +3 -3
- package/dist/components/ui/card.d.cts +8 -8
- package/dist/components/ui/checkbox.d.cts +2 -2
- package/dist/components/ui/command.d.cts +10 -10
- package/dist/components/ui/dialog.d.cts +11 -11
- package/dist/components/ui/dropdown-menu.d.cts +16 -16
- package/dist/components/ui/file-upload.d.cts +11 -11
- package/dist/components/ui/form.d.cts +7 -7
- package/dist/components/ui/input.d.cts +2 -2
- package/dist/components/ui/label.d.cts +2 -2
- package/dist/components/ui/pagination.d.cts +8 -8
- package/dist/components/ui/popover.d.cts +5 -5
- package/dist/components/ui/radio-group.d.cts +3 -3
- package/dist/components/ui/select.d.cts +11 -11
- package/dist/components/ui/separator.d.cts +2 -2
- package/dist/components/ui/shadcn-io/tags/index.d.cts +9 -9
- package/dist/components/ui/shadcn-io/tags-input-inline/index.d.cts +7 -7
- package/dist/components/ui/sheet.d.cts +9 -9
- package/dist/components/ui/slider.d.cts +2 -2
- package/dist/components/ui/switch.d.cts +2 -2
- package/dist/components/ui/tabs.cjs +24 -4
- package/dist/components/ui/tabs.d.cts +15 -5
- package/dist/components/ui/tabs.d.ts +12 -2
- package/dist/components/ui/tabs.js +23 -4
- package/dist/components/ui/textarea.d.cts +2 -2
- package/dist/components/ui/tooltip.d.cts +5 -5
- package/package.json +14 -14
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime80 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/ui/OrContinueWithSeparator.d.ts
|
|
4
4
|
|
|
@@ -6,6 +6,6 @@ import * as react_jsx_runtime84 from "react/jsx-runtime";
|
|
|
6
6
|
* A separator with a label for alternative sign-in methods.
|
|
7
7
|
* Used in authentication forms to visually separate sections.
|
|
8
8
|
*/
|
|
9
|
-
declare function OrContinueWithSeparator():
|
|
9
|
+
declare function OrContinueWithSeparator(): react_jsx_runtime80.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { OrContinueWithSeparator };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ui/alert-dialog.d.ts
|
|
6
6
|
declare function AlertDialog({
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof AlertDialogPrimitive.Root>):
|
|
8
|
+
}: React.ComponentProps<typeof AlertDialogPrimitive.Root>): react_jsx_runtime2.JSX.Element;
|
|
9
9
|
declare function AlertDialogTrigger({
|
|
10
10
|
...props
|
|
11
|
-
}: React.ComponentProps<typeof AlertDialogPrimitive.Trigger>):
|
|
11
|
+
}: React.ComponentProps<typeof AlertDialogPrimitive.Trigger>): react_jsx_runtime2.JSX.Element;
|
|
12
12
|
declare function AlertDialogPortal({
|
|
13
13
|
...props
|
|
14
|
-
}: React.ComponentProps<typeof AlertDialogPrimitive.Portal>):
|
|
14
|
+
}: React.ComponentProps<typeof AlertDialogPrimitive.Portal>): react_jsx_runtime2.JSX.Element;
|
|
15
15
|
declare function AlertDialogOverlay({
|
|
16
16
|
className,
|
|
17
17
|
...props
|
|
18
|
-
}: React.ComponentProps<typeof AlertDialogPrimitive.Overlay>):
|
|
18
|
+
}: React.ComponentProps<typeof AlertDialogPrimitive.Overlay>): react_jsx_runtime2.JSX.Element;
|
|
19
19
|
declare function AlertDialogContent({
|
|
20
20
|
className,
|
|
21
21
|
...props
|
|
22
|
-
}: React.ComponentProps<typeof AlertDialogPrimitive.Content>):
|
|
22
|
+
}: React.ComponentProps<typeof AlertDialogPrimitive.Content>): react_jsx_runtime2.JSX.Element;
|
|
23
23
|
declare function AlertDialogHeader({
|
|
24
24
|
className,
|
|
25
25
|
...props
|
|
26
|
-
}: React.ComponentProps<'div'>):
|
|
26
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime2.JSX.Element;
|
|
27
27
|
declare function AlertDialogFooter({
|
|
28
28
|
className,
|
|
29
29
|
...props
|
|
30
|
-
}: React.ComponentProps<'div'>):
|
|
30
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime2.JSX.Element;
|
|
31
31
|
declare function AlertDialogTitle({
|
|
32
32
|
className,
|
|
33
33
|
...props
|
|
34
|
-
}: React.ComponentProps<typeof AlertDialogPrimitive.Title>):
|
|
34
|
+
}: React.ComponentProps<typeof AlertDialogPrimitive.Title>): react_jsx_runtime2.JSX.Element;
|
|
35
35
|
declare function AlertDialogDescription({
|
|
36
36
|
className,
|
|
37
37
|
...props
|
|
38
|
-
}: React.ComponentProps<typeof AlertDialogPrimitive.Description>):
|
|
38
|
+
}: React.ComponentProps<typeof AlertDialogPrimitive.Description>): react_jsx_runtime2.JSX.Element;
|
|
39
39
|
declare function AlertDialogAction({
|
|
40
40
|
className,
|
|
41
41
|
...props
|
|
42
|
-
}: React.ComponentProps<typeof AlertDialogPrimitive.Action>):
|
|
42
|
+
}: React.ComponentProps<typeof AlertDialogPrimitive.Action>): react_jsx_runtime2.JSX.Element;
|
|
43
43
|
declare function AlertDialogCancel({
|
|
44
44
|
className,
|
|
45
45
|
...props
|
|
46
|
-
}: React.ComponentProps<typeof AlertDialogPrimitive.Cancel>):
|
|
46
|
+
}: React.ComponentProps<typeof AlertDialogPrimitive.Cancel>): react_jsx_runtime2.JSX.Element;
|
|
47
47
|
//#endregion
|
|
48
48
|
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime13 from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import * as AvatarPrimitive from "@radix-ui/react-avatar";
|
|
4
4
|
|
|
@@ -6,14 +6,14 @@ import * as AvatarPrimitive from "@radix-ui/react-avatar";
|
|
|
6
6
|
declare function Avatar({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof AvatarPrimitive.Root>):
|
|
9
|
+
}: React.ComponentProps<typeof AvatarPrimitive.Root>): react_jsx_runtime13.JSX.Element;
|
|
10
10
|
declare function AvatarImage({
|
|
11
11
|
className,
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof AvatarPrimitive.Image>):
|
|
13
|
+
}: React.ComponentProps<typeof AvatarPrimitive.Image>): react_jsx_runtime13.JSX.Element;
|
|
14
14
|
declare function AvatarFallback({
|
|
15
15
|
className,
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<typeof AvatarPrimitive.Fallback>):
|
|
17
|
+
}: React.ComponentProps<typeof AvatarPrimitive.Fallback>): react_jsx_runtime13.JSX.Element;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { Avatar, AvatarFallback, AvatarImage };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime16 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
|
|
@@ -14,6 +14,6 @@ declare function Badge({
|
|
|
14
14
|
...props
|
|
15
15
|
}: React.ComponentProps<'span'> & VariantProps<typeof badgeVariants> & {
|
|
16
16
|
asChild?: boolean;
|
|
17
|
-
}):
|
|
17
|
+
}): react_jsx_runtime16.JSX.Element;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { Badge, badgeVariants };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as class_variance_authority_types1 from "class-variance-authority/types";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime17 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
|
|
@@ -16,6 +16,6 @@ declare function Button({
|
|
|
16
16
|
...props
|
|
17
17
|
}: React.ComponentProps<'button'> & VariantProps<typeof buttonVariants> & {
|
|
18
18
|
asChild?: boolean;
|
|
19
|
-
}):
|
|
19
|
+
}): react_jsx_runtime17.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { Button, buttonVariants };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Button } from "./button.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime18 from "react/jsx-runtime";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import { DayButton, DayPicker } from "react-day-picker";
|
|
5
5
|
|
|
@@ -15,12 +15,12 @@ declare function Calendar({
|
|
|
15
15
|
...props
|
|
16
16
|
}: React.ComponentProps<typeof DayPicker> & {
|
|
17
17
|
buttonVariant?: React.ComponentProps<typeof Button>['variant'];
|
|
18
|
-
}):
|
|
18
|
+
}): react_jsx_runtime18.JSX.Element;
|
|
19
19
|
declare function CalendarDayButton({
|
|
20
20
|
className,
|
|
21
21
|
day,
|
|
22
22
|
modifiers,
|
|
23
23
|
...props
|
|
24
|
-
}: React.ComponentProps<typeof DayButton>):
|
|
24
|
+
}: React.ComponentProps<typeof DayButton>): react_jsx_runtime18.JSX.Element;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { Calendar, CalendarDayButton };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime20 from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/ui/card.d.ts
|
|
5
5
|
declare function Card({
|
|
6
6
|
className,
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<'div'>):
|
|
8
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime20.JSX.Element;
|
|
9
9
|
declare function CardHeader({
|
|
10
10
|
className,
|
|
11
11
|
...props
|
|
12
|
-
}: React.ComponentProps<'div'>):
|
|
12
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime20.JSX.Element;
|
|
13
13
|
declare function CardTitle({
|
|
14
14
|
className,
|
|
15
15
|
...props
|
|
16
|
-
}: React.ComponentProps<'div'>):
|
|
16
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime20.JSX.Element;
|
|
17
17
|
declare function CardDescription({
|
|
18
18
|
className,
|
|
19
19
|
...props
|
|
20
|
-
}: React.ComponentProps<'div'>):
|
|
20
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime20.JSX.Element;
|
|
21
21
|
declare function CardAction({
|
|
22
22
|
className,
|
|
23
23
|
...props
|
|
24
|
-
}: React.ComponentProps<'div'>):
|
|
24
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime20.JSX.Element;
|
|
25
25
|
declare function CardContent({
|
|
26
26
|
className,
|
|
27
27
|
...props
|
|
28
|
-
}: React.ComponentProps<'div'>):
|
|
28
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime20.JSX.Element;
|
|
29
29
|
declare function CardFooter({
|
|
30
30
|
className,
|
|
31
31
|
...props
|
|
32
|
-
}: React.ComponentProps<'div'>):
|
|
32
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime20.JSX.Element;
|
|
33
33
|
//#endregion
|
|
34
34
|
export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime27 from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
|
|
4
4
|
|
|
@@ -6,6 +6,6 @@ import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
|
|
|
6
6
|
declare function Checkbox({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof CheckboxPrimitive.Root>):
|
|
9
|
+
}: React.ComponentProps<typeof CheckboxPrimitive.Root>): react_jsx_runtime27.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Checkbox };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Dialog } from "./dialog.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime28 from "react/jsx-runtime";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import { Command } from "cmdk";
|
|
5
5
|
|
|
@@ -7,7 +7,7 @@ import { Command } from "cmdk";
|
|
|
7
7
|
declare function Command$1({
|
|
8
8
|
className,
|
|
9
9
|
...props
|
|
10
|
-
}: React.ComponentProps<typeof Command>):
|
|
10
|
+
}: React.ComponentProps<typeof Command>): react_jsx_runtime28.JSX.Element;
|
|
11
11
|
declare function CommandDialog({
|
|
12
12
|
title,
|
|
13
13
|
description,
|
|
@@ -20,33 +20,33 @@ declare function CommandDialog({
|
|
|
20
20
|
description?: string;
|
|
21
21
|
className?: string;
|
|
22
22
|
showCloseButton?: boolean;
|
|
23
|
-
}):
|
|
23
|
+
}): react_jsx_runtime28.JSX.Element;
|
|
24
24
|
declare function CommandInput({
|
|
25
25
|
className,
|
|
26
26
|
...props
|
|
27
|
-
}: React.ComponentProps<typeof Command.Input>):
|
|
27
|
+
}: React.ComponentProps<typeof Command.Input>): react_jsx_runtime28.JSX.Element;
|
|
28
28
|
declare function CommandList({
|
|
29
29
|
className,
|
|
30
30
|
...props
|
|
31
|
-
}: React.ComponentProps<typeof Command.List>):
|
|
31
|
+
}: React.ComponentProps<typeof Command.List>): react_jsx_runtime28.JSX.Element;
|
|
32
32
|
declare function CommandEmpty({
|
|
33
33
|
...props
|
|
34
|
-
}: React.ComponentProps<typeof Command.Empty>):
|
|
34
|
+
}: React.ComponentProps<typeof Command.Empty>): react_jsx_runtime28.JSX.Element;
|
|
35
35
|
declare function CommandGroup({
|
|
36
36
|
className,
|
|
37
37
|
...props
|
|
38
|
-
}: React.ComponentProps<typeof Command.Group>):
|
|
38
|
+
}: React.ComponentProps<typeof Command.Group>): react_jsx_runtime28.JSX.Element;
|
|
39
39
|
declare function CommandSeparator({
|
|
40
40
|
className,
|
|
41
41
|
...props
|
|
42
|
-
}: React.ComponentProps<typeof Command.Separator>):
|
|
42
|
+
}: React.ComponentProps<typeof Command.Separator>): react_jsx_runtime28.JSX.Element;
|
|
43
43
|
declare function CommandItem({
|
|
44
44
|
className,
|
|
45
45
|
...props
|
|
46
|
-
}: React.ComponentProps<typeof Command.Item>):
|
|
46
|
+
}: React.ComponentProps<typeof Command.Item>): react_jsx_runtime28.JSX.Element;
|
|
47
47
|
declare function CommandShortcut({
|
|
48
48
|
className,
|
|
49
49
|
...props
|
|
50
|
-
}: React.ComponentProps<'span'>):
|
|
50
|
+
}: React.ComponentProps<'span'>): react_jsx_runtime28.JSX.Element;
|
|
51
51
|
//#endregion
|
|
52
52
|
export { Command$1 as Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime37 from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import * as DialogPrimitive from "@radix-ui/react-dialog";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ui/dialog.d.ts
|
|
6
6
|
declare function Dialog({
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof DialogPrimitive.Root>):
|
|
8
|
+
}: React.ComponentProps<typeof DialogPrimitive.Root>): react_jsx_runtime37.JSX.Element;
|
|
9
9
|
declare function DialogTrigger({
|
|
10
10
|
...props
|
|
11
|
-
}: React.ComponentProps<typeof DialogPrimitive.Trigger>):
|
|
11
|
+
}: React.ComponentProps<typeof DialogPrimitive.Trigger>): react_jsx_runtime37.JSX.Element;
|
|
12
12
|
declare function DialogPortal({
|
|
13
13
|
...props
|
|
14
|
-
}: React.ComponentProps<typeof DialogPrimitive.Portal>):
|
|
14
|
+
}: React.ComponentProps<typeof DialogPrimitive.Portal>): react_jsx_runtime37.JSX.Element;
|
|
15
15
|
declare function DialogClose({
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<typeof DialogPrimitive.Close>):
|
|
17
|
+
}: React.ComponentProps<typeof DialogPrimitive.Close>): react_jsx_runtime37.JSX.Element;
|
|
18
18
|
declare function DialogOverlay({
|
|
19
19
|
className,
|
|
20
20
|
...props
|
|
21
|
-
}: React.ComponentProps<typeof DialogPrimitive.Overlay>):
|
|
21
|
+
}: React.ComponentProps<typeof DialogPrimitive.Overlay>): react_jsx_runtime37.JSX.Element;
|
|
22
22
|
declare function DialogContent({
|
|
23
23
|
className,
|
|
24
24
|
children,
|
|
@@ -26,22 +26,22 @@ declare function DialogContent({
|
|
|
26
26
|
...props
|
|
27
27
|
}: React.ComponentProps<typeof DialogPrimitive.Content> & {
|
|
28
28
|
showCloseButton?: boolean;
|
|
29
|
-
}):
|
|
29
|
+
}): react_jsx_runtime37.JSX.Element;
|
|
30
30
|
declare function DialogHeader({
|
|
31
31
|
className,
|
|
32
32
|
...props
|
|
33
|
-
}: React.ComponentProps<'div'>):
|
|
33
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime37.JSX.Element;
|
|
34
34
|
declare function DialogFooter({
|
|
35
35
|
className,
|
|
36
36
|
...props
|
|
37
|
-
}: React.ComponentProps<'div'>):
|
|
37
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime37.JSX.Element;
|
|
38
38
|
declare function DialogTitle({
|
|
39
39
|
className,
|
|
40
40
|
...props
|
|
41
|
-
}: React.ComponentProps<typeof DialogPrimitive.Title>):
|
|
41
|
+
}: React.ComponentProps<typeof DialogPrimitive.Title>): react_jsx_runtime37.JSX.Element;
|
|
42
42
|
declare function DialogDescription({
|
|
43
43
|
className,
|
|
44
44
|
...props
|
|
45
|
-
}: React.ComponentProps<typeof DialogPrimitive.Description>):
|
|
45
|
+
}: React.ComponentProps<typeof DialogPrimitive.Description>): react_jsx_runtime37.JSX.Element;
|
|
46
46
|
//#endregion
|
|
47
47
|
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime47 from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ui/dropdown-menu.d.ts
|
|
6
6
|
declare function DropdownMenu({
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof DropdownMenuPrimitive.Root>):
|
|
8
|
+
}: React.ComponentProps<typeof DropdownMenuPrimitive.Root>): react_jsx_runtime47.JSX.Element;
|
|
9
9
|
declare function DropdownMenuPortal({
|
|
10
10
|
...props
|
|
11
|
-
}: React.ComponentProps<typeof DropdownMenuPrimitive.Portal>):
|
|
11
|
+
}: React.ComponentProps<typeof DropdownMenuPrimitive.Portal>): react_jsx_runtime47.JSX.Element;
|
|
12
12
|
declare function DropdownMenuTrigger({
|
|
13
13
|
...props
|
|
14
|
-
}: React.ComponentProps<typeof DropdownMenuPrimitive.Trigger>):
|
|
14
|
+
}: React.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): react_jsx_runtime47.JSX.Element;
|
|
15
15
|
declare function DropdownMenuContent({
|
|
16
16
|
className,
|
|
17
17
|
sideOffset,
|
|
18
18
|
...props
|
|
19
|
-
}: React.ComponentProps<typeof DropdownMenuPrimitive.Content>):
|
|
19
|
+
}: React.ComponentProps<typeof DropdownMenuPrimitive.Content>): react_jsx_runtime47.JSX.Element;
|
|
20
20
|
declare function DropdownMenuGroup({
|
|
21
21
|
...props
|
|
22
|
-
}: React.ComponentProps<typeof DropdownMenuPrimitive.Group>):
|
|
22
|
+
}: React.ComponentProps<typeof DropdownMenuPrimitive.Group>): react_jsx_runtime47.JSX.Element;
|
|
23
23
|
declare function DropdownMenuItem({
|
|
24
24
|
className,
|
|
25
25
|
inset,
|
|
@@ -28,39 +28,39 @@ declare function DropdownMenuItem({
|
|
|
28
28
|
}: React.ComponentProps<typeof DropdownMenuPrimitive.Item> & {
|
|
29
29
|
inset?: boolean;
|
|
30
30
|
variant?: 'default' | 'destructive';
|
|
31
|
-
}):
|
|
31
|
+
}): react_jsx_runtime47.JSX.Element;
|
|
32
32
|
declare function DropdownMenuCheckboxItem({
|
|
33
33
|
className,
|
|
34
34
|
children,
|
|
35
35
|
checked,
|
|
36
36
|
...props
|
|
37
|
-
}: React.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>):
|
|
37
|
+
}: React.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>): react_jsx_runtime47.JSX.Element;
|
|
38
38
|
declare function DropdownMenuRadioGroup({
|
|
39
39
|
...props
|
|
40
|
-
}: React.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>):
|
|
40
|
+
}: React.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>): react_jsx_runtime47.JSX.Element;
|
|
41
41
|
declare function DropdownMenuRadioItem({
|
|
42
42
|
className,
|
|
43
43
|
children,
|
|
44
44
|
...props
|
|
45
|
-
}: React.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>):
|
|
45
|
+
}: React.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>): react_jsx_runtime47.JSX.Element;
|
|
46
46
|
declare function DropdownMenuLabel({
|
|
47
47
|
className,
|
|
48
48
|
inset,
|
|
49
49
|
...props
|
|
50
50
|
}: React.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
|
|
51
51
|
inset?: boolean;
|
|
52
|
-
}):
|
|
52
|
+
}): react_jsx_runtime47.JSX.Element;
|
|
53
53
|
declare function DropdownMenuSeparator({
|
|
54
54
|
className,
|
|
55
55
|
...props
|
|
56
|
-
}: React.ComponentProps<typeof DropdownMenuPrimitive.Separator>):
|
|
56
|
+
}: React.ComponentProps<typeof DropdownMenuPrimitive.Separator>): react_jsx_runtime47.JSX.Element;
|
|
57
57
|
declare function DropdownMenuShortcut({
|
|
58
58
|
className,
|
|
59
59
|
...props
|
|
60
|
-
}: React.ComponentProps<'span'>):
|
|
60
|
+
}: React.ComponentProps<'span'>): react_jsx_runtime47.JSX.Element;
|
|
61
61
|
declare function DropdownMenuSub({
|
|
62
62
|
...props
|
|
63
|
-
}: React.ComponentProps<typeof DropdownMenuPrimitive.Sub>):
|
|
63
|
+
}: React.ComponentProps<typeof DropdownMenuPrimitive.Sub>): react_jsx_runtime47.JSX.Element;
|
|
64
64
|
declare function DropdownMenuSubTrigger({
|
|
65
65
|
className,
|
|
66
66
|
inset,
|
|
@@ -68,10 +68,10 @@ declare function DropdownMenuSubTrigger({
|
|
|
68
68
|
...props
|
|
69
69
|
}: React.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {
|
|
70
70
|
inset?: boolean;
|
|
71
|
-
}):
|
|
71
|
+
}): react_jsx_runtime47.JSX.Element;
|
|
72
72
|
declare function DropdownMenuSubContent({
|
|
73
73
|
className,
|
|
74
74
|
...props
|
|
75
|
-
}: React.ComponentProps<typeof DropdownMenuPrimitive.SubContent>):
|
|
75
|
+
}: React.ComponentProps<typeof DropdownMenuPrimitive.SubContent>): react_jsx_runtime47.JSX.Element;
|
|
76
76
|
//#endregion
|
|
77
77
|
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime62 from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/ui/file-upload.d.ts
|
|
@@ -44,36 +44,36 @@ interface FileUploadRootProps extends Omit<React.ComponentProps<'div'>, 'default
|
|
|
44
44
|
multiple?: boolean;
|
|
45
45
|
required?: boolean;
|
|
46
46
|
}
|
|
47
|
-
declare function FileUploadRoot(props: FileUploadRootProps):
|
|
47
|
+
declare function FileUploadRoot(props: FileUploadRootProps): react_jsx_runtime62.JSX.Element;
|
|
48
48
|
interface FileUploadDropzoneProps extends React.ComponentProps<'div'> {
|
|
49
49
|
asChild?: boolean;
|
|
50
50
|
}
|
|
51
|
-
declare function FileUploadDropzone(props: FileUploadDropzoneProps):
|
|
51
|
+
declare function FileUploadDropzone(props: FileUploadDropzoneProps): react_jsx_runtime62.JSX.Element;
|
|
52
52
|
interface FileUploadTriggerProps extends React.ComponentProps<'button'> {
|
|
53
53
|
asChild?: boolean;
|
|
54
54
|
}
|
|
55
|
-
declare function FileUploadTrigger(props: FileUploadTriggerProps):
|
|
55
|
+
declare function FileUploadTrigger(props: FileUploadTriggerProps): react_jsx_runtime62.JSX.Element;
|
|
56
56
|
interface FileUploadListProps extends React.ComponentProps<'div'> {
|
|
57
57
|
orientation?: 'horizontal' | 'vertical';
|
|
58
58
|
asChild?: boolean;
|
|
59
59
|
forceMount?: boolean;
|
|
60
60
|
}
|
|
61
|
-
declare function FileUploadList(props: FileUploadListProps):
|
|
61
|
+
declare function FileUploadList(props: FileUploadListProps): react_jsx_runtime62.JSX.Element | null;
|
|
62
62
|
interface FileUploadItemProps extends React.ComponentProps<'div'> {
|
|
63
63
|
value: File;
|
|
64
64
|
asChild?: boolean;
|
|
65
65
|
}
|
|
66
|
-
declare function FileUploadItem(props: FileUploadItemProps):
|
|
66
|
+
declare function FileUploadItem(props: FileUploadItemProps): react_jsx_runtime62.JSX.Element | null;
|
|
67
67
|
interface FileUploadItemPreviewProps extends React.ComponentProps<'div'> {
|
|
68
68
|
render?: (file: File, fallback: () => React.ReactNode) => React.ReactNode;
|
|
69
69
|
asChild?: boolean;
|
|
70
70
|
}
|
|
71
|
-
declare function FileUploadItemPreview(props: FileUploadItemPreviewProps):
|
|
71
|
+
declare function FileUploadItemPreview(props: FileUploadItemPreviewProps): react_jsx_runtime62.JSX.Element | null;
|
|
72
72
|
interface FileUploadItemMetadataProps extends React.ComponentProps<'div'> {
|
|
73
73
|
asChild?: boolean;
|
|
74
74
|
size?: 'default' | 'sm';
|
|
75
75
|
}
|
|
76
|
-
declare function FileUploadItemMetadata(props: FileUploadItemMetadataProps):
|
|
76
|
+
declare function FileUploadItemMetadata(props: FileUploadItemMetadataProps): react_jsx_runtime62.JSX.Element | null;
|
|
77
77
|
interface FileUploadItemProgressProps extends React.ComponentProps<'div'> {
|
|
78
78
|
variant?: 'linear' | 'circular' | 'fill';
|
|
79
79
|
size?: number;
|
|
@@ -81,15 +81,15 @@ interface FileUploadItemProgressProps extends React.ComponentProps<'div'> {
|
|
|
81
81
|
asChild?: boolean;
|
|
82
82
|
forceMount?: boolean;
|
|
83
83
|
}
|
|
84
|
-
declare function FileUploadItemProgress(props: FileUploadItemProgressProps):
|
|
84
|
+
declare function FileUploadItemProgress(props: FileUploadItemProgressProps): react_jsx_runtime62.JSX.Element | null;
|
|
85
85
|
interface FileUploadItemDeleteProps extends React.ComponentProps<'button'> {
|
|
86
86
|
asChild?: boolean;
|
|
87
87
|
}
|
|
88
|
-
declare function FileUploadItemDelete(props: FileUploadItemDeleteProps):
|
|
88
|
+
declare function FileUploadItemDelete(props: FileUploadItemDeleteProps): react_jsx_runtime62.JSX.Element | null;
|
|
89
89
|
interface FileUploadClearProps extends React.ComponentProps<'button'> {
|
|
90
90
|
forceMount?: boolean;
|
|
91
91
|
asChild?: boolean;
|
|
92
92
|
}
|
|
93
|
-
declare function FileUploadClear(props: FileUploadClearProps):
|
|
93
|
+
declare function FileUploadClear(props: FileUploadClearProps): react_jsx_runtime62.JSX.Element | null;
|
|
94
94
|
//#endregion
|
|
95
95
|
export { FileUploadClear, FileUploadDropzone, FileUploadItem, FileUploadItemDelete, FileUploadItemMetadata, FileUploadItemPreview, FileUploadItemProgress, FileUploadList, FileUploadRoot, FileUploadRootProps, FileUploadTrigger, useStore };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime72 from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import * as react_hook_form0 from "react-hook-form";
|
|
4
4
|
import { ControllerProps, FieldPath, FieldValues } from "react-hook-form";
|
|
@@ -9,7 +9,7 @@ import { Slot } from "@radix-ui/react-slot";
|
|
|
9
9
|
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: react_hook_form0.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React.JSX.Element;
|
|
10
10
|
declare function FormField<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({
|
|
11
11
|
...props
|
|
12
|
-
}: ControllerProps<TFieldValues, TName>):
|
|
12
|
+
}: ControllerProps<TFieldValues, TName>): react_jsx_runtime72.JSX.Element;
|
|
13
13
|
declare function useFormField(): {
|
|
14
14
|
invalid: boolean;
|
|
15
15
|
isDirty: boolean;
|
|
@@ -25,21 +25,21 @@ declare function useFormField(): {
|
|
|
25
25
|
declare function FormItem({
|
|
26
26
|
className,
|
|
27
27
|
...props
|
|
28
|
-
}: React.ComponentProps<'div'>):
|
|
28
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime72.JSX.Element;
|
|
29
29
|
declare function FormLabel({
|
|
30
30
|
className,
|
|
31
31
|
...props
|
|
32
|
-
}: React.ComponentProps<typeof LabelPrimitive.Root>):
|
|
32
|
+
}: React.ComponentProps<typeof LabelPrimitive.Root>): react_jsx_runtime72.JSX.Element;
|
|
33
33
|
declare function FormControl({
|
|
34
34
|
...props
|
|
35
|
-
}: React.ComponentProps<typeof Slot>):
|
|
35
|
+
}: React.ComponentProps<typeof Slot>): react_jsx_runtime72.JSX.Element;
|
|
36
36
|
declare function FormDescription({
|
|
37
37
|
className,
|
|
38
38
|
...props
|
|
39
|
-
}: React.ComponentProps<'p'>):
|
|
39
|
+
}: React.ComponentProps<'p'>): react_jsx_runtime72.JSX.Element;
|
|
40
40
|
declare function FormMessage({
|
|
41
41
|
className,
|
|
42
42
|
...props
|
|
43
|
-
}: React.ComponentProps<'p'>):
|
|
43
|
+
}: React.ComponentProps<'p'>): react_jsx_runtime72.JSX.Element | null;
|
|
44
44
|
//#endregion
|
|
45
45
|
export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime78 from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/ui/input.d.ts
|
|
@@ -6,6 +6,6 @@ declare function Input({
|
|
|
6
6
|
className,
|
|
7
7
|
type,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<'input'>):
|
|
9
|
+
}: React.ComponentProps<'input'>): react_jsx_runtime78.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Input };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime79 from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import * as LabelPrimitive from "@radix-ui/react-label";
|
|
4
4
|
|
|
@@ -6,6 +6,6 @@ import * as LabelPrimitive from "@radix-ui/react-label";
|
|
|
6
6
|
declare function Label({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof LabelPrimitive.Root>):
|
|
9
|
+
}: React.ComponentProps<typeof LabelPrimitive.Root>): react_jsx_runtime79.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Label };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { Button } from "./button.cjs";
|
|
2
2
|
import "../../index.cjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime81 from "react/jsx-runtime";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/components/ui/pagination.d.ts
|
|
7
7
|
declare function Pagination({
|
|
8
8
|
className,
|
|
9
9
|
...props
|
|
10
|
-
}: React.ComponentProps<'nav'>):
|
|
10
|
+
}: React.ComponentProps<'nav'>): react_jsx_runtime81.JSX.Element;
|
|
11
11
|
declare function PaginationContent({
|
|
12
12
|
className,
|
|
13
13
|
...props
|
|
14
|
-
}: React.ComponentProps<'ul'>):
|
|
14
|
+
}: React.ComponentProps<'ul'>): react_jsx_runtime81.JSX.Element;
|
|
15
15
|
declare function PaginationItem({
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<'li'>):
|
|
17
|
+
}: React.ComponentProps<'li'>): react_jsx_runtime81.JSX.Element;
|
|
18
18
|
type PaginationLinkProps = {
|
|
19
19
|
isActive?: boolean;
|
|
20
20
|
} & Pick<React.ComponentProps<typeof Button>, 'size'> & React.ComponentProps<'a'>;
|
|
@@ -23,18 +23,18 @@ declare function PaginationLink({
|
|
|
23
23
|
isActive,
|
|
24
24
|
size,
|
|
25
25
|
...props
|
|
26
|
-
}: PaginationLinkProps):
|
|
26
|
+
}: PaginationLinkProps): react_jsx_runtime81.JSX.Element;
|
|
27
27
|
declare function PaginationPrevious({
|
|
28
28
|
className,
|
|
29
29
|
...props
|
|
30
|
-
}: React.ComponentProps<typeof PaginationLink>):
|
|
30
|
+
}: React.ComponentProps<typeof PaginationLink>): react_jsx_runtime81.JSX.Element;
|
|
31
31
|
declare function PaginationNext({
|
|
32
32
|
className,
|
|
33
33
|
...props
|
|
34
|
-
}: React.ComponentProps<typeof PaginationLink>):
|
|
34
|
+
}: React.ComponentProps<typeof PaginationLink>): react_jsx_runtime81.JSX.Element;
|
|
35
35
|
declare function PaginationEllipsis({
|
|
36
36
|
className,
|
|
37
37
|
...props
|
|
38
|
-
}: React.ComponentProps<'span'>):
|
|
38
|
+
}: React.ComponentProps<'span'>): react_jsx_runtime81.JSX.Element;
|
|
39
39
|
//#endregion
|
|
40
40
|
export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime88 from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import * as PopoverPrimitive from "@radix-ui/react-popover";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ui/popover.d.ts
|
|
6
6
|
declare function Popover({
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof PopoverPrimitive.Root>):
|
|
8
|
+
}: React.ComponentProps<typeof PopoverPrimitive.Root>): react_jsx_runtime88.JSX.Element;
|
|
9
9
|
declare function PopoverTrigger({
|
|
10
10
|
...props
|
|
11
|
-
}: React.ComponentProps<typeof PopoverPrimitive.Trigger>):
|
|
11
|
+
}: React.ComponentProps<typeof PopoverPrimitive.Trigger>): react_jsx_runtime88.JSX.Element;
|
|
12
12
|
declare function PopoverContent({
|
|
13
13
|
className,
|
|
14
14
|
align,
|
|
15
15
|
sideOffset,
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<typeof PopoverPrimitive.Content>):
|
|
17
|
+
}: React.ComponentProps<typeof PopoverPrimitive.Content>): react_jsx_runtime88.JSX.Element;
|
|
18
18
|
declare function PopoverAnchor({
|
|
19
19
|
...props
|
|
20
|
-
}: React.ComponentProps<typeof PopoverPrimitive.Anchor>):
|
|
20
|
+
}: React.ComponentProps<typeof PopoverPrimitive.Anchor>): react_jsx_runtime88.JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { Popover, PopoverAnchor, PopoverContent, PopoverTrigger };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime92 from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
|
|
4
4
|
|
|
@@ -6,10 +6,10 @@ import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
|
|
|
6
6
|
declare function RadioGroup({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof RadioGroupPrimitive.Root>):
|
|
9
|
+
}: React.ComponentProps<typeof RadioGroupPrimitive.Root>): react_jsx_runtime92.JSX.Element;
|
|
10
10
|
declare function RadioGroupItem({
|
|
11
11
|
className,
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof RadioGroupPrimitive.Item>):
|
|
13
|
+
}: React.ComponentProps<typeof RadioGroupPrimitive.Item>): react_jsx_runtime92.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { RadioGroup, RadioGroupItem };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime94 from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ui/select.d.ts
|
|
6
6
|
declare function Select({
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof SelectPrimitive.Root>):
|
|
8
|
+
}: React.ComponentProps<typeof SelectPrimitive.Root>): react_jsx_runtime94.JSX.Element;
|
|
9
9
|
declare function SelectGroup({
|
|
10
10
|
...props
|
|
11
|
-
}: React.ComponentProps<typeof SelectPrimitive.Group>):
|
|
11
|
+
}: React.ComponentProps<typeof SelectPrimitive.Group>): react_jsx_runtime94.JSX.Element;
|
|
12
12
|
declare function SelectValue({
|
|
13
13
|
...props
|
|
14
|
-
}: React.ComponentProps<typeof SelectPrimitive.Value>):
|
|
14
|
+
}: React.ComponentProps<typeof SelectPrimitive.Value>): react_jsx_runtime94.JSX.Element;
|
|
15
15
|
declare function SelectTrigger({
|
|
16
16
|
className,
|
|
17
17
|
size,
|
|
@@ -19,34 +19,34 @@ declare function SelectTrigger({
|
|
|
19
19
|
...props
|
|
20
20
|
}: React.ComponentProps<typeof SelectPrimitive.Trigger> & {
|
|
21
21
|
size?: 'sm' | 'default';
|
|
22
|
-
}):
|
|
22
|
+
}): react_jsx_runtime94.JSX.Element;
|
|
23
23
|
declare function SelectContent({
|
|
24
24
|
className,
|
|
25
25
|
children,
|
|
26
26
|
position,
|
|
27
27
|
align,
|
|
28
28
|
...props
|
|
29
|
-
}: React.ComponentProps<typeof SelectPrimitive.Content>):
|
|
29
|
+
}: React.ComponentProps<typeof SelectPrimitive.Content>): react_jsx_runtime94.JSX.Element;
|
|
30
30
|
declare function SelectLabel({
|
|
31
31
|
className,
|
|
32
32
|
...props
|
|
33
|
-
}: React.ComponentProps<typeof SelectPrimitive.Label>):
|
|
33
|
+
}: React.ComponentProps<typeof SelectPrimitive.Label>): react_jsx_runtime94.JSX.Element;
|
|
34
34
|
declare function SelectItem({
|
|
35
35
|
className,
|
|
36
36
|
children,
|
|
37
37
|
...props
|
|
38
|
-
}: React.ComponentProps<typeof SelectPrimitive.Item>):
|
|
38
|
+
}: React.ComponentProps<typeof SelectPrimitive.Item>): react_jsx_runtime94.JSX.Element;
|
|
39
39
|
declare function SelectSeparator({
|
|
40
40
|
className,
|
|
41
41
|
...props
|
|
42
|
-
}: React.ComponentProps<typeof SelectPrimitive.Separator>):
|
|
42
|
+
}: React.ComponentProps<typeof SelectPrimitive.Separator>): react_jsx_runtime94.JSX.Element;
|
|
43
43
|
declare function SelectScrollUpButton({
|
|
44
44
|
className,
|
|
45
45
|
...props
|
|
46
|
-
}: React.ComponentProps<typeof SelectPrimitive.ScrollUpButton>):
|
|
46
|
+
}: React.ComponentProps<typeof SelectPrimitive.ScrollUpButton>): react_jsx_runtime94.JSX.Element;
|
|
47
47
|
declare function SelectScrollDownButton({
|
|
48
48
|
className,
|
|
49
49
|
...props
|
|
50
|
-
}: React.ComponentProps<typeof SelectPrimitive.ScrollDownButton>):
|
|
50
|
+
}: React.ComponentProps<typeof SelectPrimitive.ScrollDownButton>): react_jsx_runtime94.JSX.Element;
|
|
51
51
|
//#endregion
|
|
52
52
|
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime104 from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import * as SeparatorPrimitive from "@radix-ui/react-separator";
|
|
4
4
|
|
|
@@ -8,6 +8,6 @@ declare function Separator({
|
|
|
8
8
|
orientation,
|
|
9
9
|
decorative,
|
|
10
10
|
...props
|
|
11
|
-
}: React.ComponentProps<typeof SeparatorPrimitive.Root>):
|
|
11
|
+
}: React.ComponentProps<typeof SeparatorPrimitive.Root>): react_jsx_runtime104.JSX.Element;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { Separator };
|
|
@@ -2,7 +2,7 @@ import { Badge } from "../../badge.cjs";
|
|
|
2
2
|
import { Button } from "../../button.cjs";
|
|
3
3
|
import { CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList } from "../../command.cjs";
|
|
4
4
|
import { PopoverContent } from "../../popover.cjs";
|
|
5
|
-
import * as
|
|
5
|
+
import * as react_jsx_runtime105 from "react/jsx-runtime";
|
|
6
6
|
import { ComponentProps, ReactNode } from "react";
|
|
7
7
|
|
|
8
8
|
//#region src/components/ui/shadcn-io/tags/index.d.ts
|
|
@@ -21,13 +21,13 @@ declare function Tags({
|
|
|
21
21
|
onOpenChange: controlledOnOpenChange,
|
|
22
22
|
children,
|
|
23
23
|
className
|
|
24
|
-
}: TagsProps):
|
|
24
|
+
}: TagsProps): react_jsx_runtime105.JSX.Element;
|
|
25
25
|
type TagsTriggerProps = ComponentProps<typeof Button>;
|
|
26
26
|
declare function TagsTrigger({
|
|
27
27
|
className,
|
|
28
28
|
children,
|
|
29
29
|
...props
|
|
30
|
-
}: TagsTriggerProps):
|
|
30
|
+
}: TagsTriggerProps): react_jsx_runtime105.JSX.Element;
|
|
31
31
|
type TagsValueProps = ComponentProps<typeof Badge>;
|
|
32
32
|
declare function TagsValue({
|
|
33
33
|
className,
|
|
@@ -36,35 +36,35 @@ declare function TagsValue({
|
|
|
36
36
|
...props
|
|
37
37
|
}: TagsValueProps & {
|
|
38
38
|
onRemove?: () => void;
|
|
39
|
-
}):
|
|
39
|
+
}): react_jsx_runtime105.JSX.Element;
|
|
40
40
|
type TagsContentProps = ComponentProps<typeof PopoverContent>;
|
|
41
41
|
declare function TagsContent({
|
|
42
42
|
className,
|
|
43
43
|
children,
|
|
44
44
|
...props
|
|
45
|
-
}: TagsContentProps):
|
|
45
|
+
}: TagsContentProps): react_jsx_runtime105.JSX.Element;
|
|
46
46
|
type TagsInputProps = ComponentProps<typeof CommandInput>;
|
|
47
47
|
declare function TagsInput({
|
|
48
48
|
className,
|
|
49
49
|
...props
|
|
50
|
-
}: TagsInputProps):
|
|
50
|
+
}: TagsInputProps): react_jsx_runtime105.JSX.Element;
|
|
51
51
|
type TagsListProps = ComponentProps<typeof CommandList>;
|
|
52
52
|
declare function TagsList({
|
|
53
53
|
className,
|
|
54
54
|
...props
|
|
55
|
-
}: TagsListProps):
|
|
55
|
+
}: TagsListProps): react_jsx_runtime105.JSX.Element;
|
|
56
56
|
type TagsEmptyProps = ComponentProps<typeof CommandEmpty>;
|
|
57
57
|
declare function TagsEmpty({
|
|
58
58
|
children,
|
|
59
59
|
className,
|
|
60
60
|
...props
|
|
61
|
-
}: TagsEmptyProps):
|
|
61
|
+
}: TagsEmptyProps): react_jsx_runtime105.JSX.Element;
|
|
62
62
|
type TagsGroupProps = ComponentProps<typeof CommandGroup>;
|
|
63
63
|
declare const TagsGroup: typeof CommandGroup;
|
|
64
64
|
type TagsItemProps = ComponentProps<typeof CommandItem>;
|
|
65
65
|
declare function TagsItem({
|
|
66
66
|
className,
|
|
67
67
|
...props
|
|
68
|
-
}: TagsItemProps):
|
|
68
|
+
}: TagsItemProps): react_jsx_runtime105.JSX.Element;
|
|
69
69
|
//#endregion
|
|
70
70
|
export { Tags, TagsContent, TagsContentProps, TagsEmpty, TagsEmptyProps, TagsGroup, TagsGroupProps, TagsInput, TagsInputProps, TagsItem, TagsItemProps, TagsList, TagsListProps, TagsProps, TagsTrigger, TagsTriggerProps, TagsValue, TagsValueProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime113 from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import * as TagsInputPrimitive from "@diceui/tags-input";
|
|
4
4
|
|
|
@@ -6,26 +6,26 @@ import * as TagsInputPrimitive from "@diceui/tags-input";
|
|
|
6
6
|
declare function TagsInputInLineRoot({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof TagsInputPrimitive.Root>):
|
|
9
|
+
}: React.ComponentProps<typeof TagsInputPrimitive.Root>): react_jsx_runtime113.JSX.Element;
|
|
10
10
|
declare function TagsInputInLineLabel({
|
|
11
11
|
className,
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof TagsInputPrimitive.Label>):
|
|
13
|
+
}: React.ComponentProps<typeof TagsInputPrimitive.Label>): react_jsx_runtime113.JSX.Element;
|
|
14
14
|
declare function TagsInputInLineList({
|
|
15
15
|
className,
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<'div'>):
|
|
17
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime113.JSX.Element;
|
|
18
18
|
declare function TagsInputInLineInput({
|
|
19
19
|
className,
|
|
20
20
|
...props
|
|
21
|
-
}: React.ComponentProps<typeof TagsInputPrimitive.Input>):
|
|
21
|
+
}: React.ComponentProps<typeof TagsInputPrimitive.Input>): react_jsx_runtime113.JSX.Element;
|
|
22
22
|
declare function TagsInputInLineItem({
|
|
23
23
|
className,
|
|
24
24
|
children,
|
|
25
25
|
...props
|
|
26
|
-
}: React.ComponentProps<typeof TagsInputPrimitive.Item>):
|
|
26
|
+
}: React.ComponentProps<typeof TagsInputPrimitive.Item>): react_jsx_runtime113.JSX.Element;
|
|
27
27
|
declare function TagsInputInLineClear({
|
|
28
28
|
...props
|
|
29
|
-
}: React.ComponentProps<typeof TagsInputPrimitive.Clear>):
|
|
29
|
+
}: React.ComponentProps<typeof TagsInputPrimitive.Clear>): react_jsx_runtime113.JSX.Element;
|
|
30
30
|
//#endregion
|
|
31
31
|
export { TagsInputInLineClear, TagsInputInLineInput, TagsInputInLineItem, TagsInputInLineLabel, TagsInputInLineList, TagsInputInLineRoot };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime119 from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import * as SheetPrimitive from "@radix-ui/react-dialog";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ui/sheet.d.ts
|
|
6
6
|
declare function Sheet({
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof SheetPrimitive.Root>):
|
|
8
|
+
}: React.ComponentProps<typeof SheetPrimitive.Root>): react_jsx_runtime119.JSX.Element;
|
|
9
9
|
declare function SheetTrigger({
|
|
10
10
|
...props
|
|
11
|
-
}: React.ComponentProps<typeof SheetPrimitive.Trigger>):
|
|
11
|
+
}: React.ComponentProps<typeof SheetPrimitive.Trigger>): react_jsx_runtime119.JSX.Element;
|
|
12
12
|
declare function SheetClose({
|
|
13
13
|
...props
|
|
14
|
-
}: React.ComponentProps<typeof SheetPrimitive.Close>):
|
|
14
|
+
}: React.ComponentProps<typeof SheetPrimitive.Close>): react_jsx_runtime119.JSX.Element;
|
|
15
15
|
declare function SheetContent({
|
|
16
16
|
className,
|
|
17
17
|
children,
|
|
@@ -19,22 +19,22 @@ declare function SheetContent({
|
|
|
19
19
|
...props
|
|
20
20
|
}: React.ComponentProps<typeof SheetPrimitive.Content> & {
|
|
21
21
|
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
22
|
-
}):
|
|
22
|
+
}): react_jsx_runtime119.JSX.Element;
|
|
23
23
|
declare function SheetHeader({
|
|
24
24
|
className,
|
|
25
25
|
...props
|
|
26
|
-
}: React.ComponentProps<'div'>):
|
|
26
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime119.JSX.Element;
|
|
27
27
|
declare function SheetFooter({
|
|
28
28
|
className,
|
|
29
29
|
...props
|
|
30
|
-
}: React.ComponentProps<'div'>):
|
|
30
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime119.JSX.Element;
|
|
31
31
|
declare function SheetTitle({
|
|
32
32
|
className,
|
|
33
33
|
...props
|
|
34
|
-
}: React.ComponentProps<typeof SheetPrimitive.Title>):
|
|
34
|
+
}: React.ComponentProps<typeof SheetPrimitive.Title>): react_jsx_runtime119.JSX.Element;
|
|
35
35
|
declare function SheetDescription({
|
|
36
36
|
className,
|
|
37
37
|
...props
|
|
38
|
-
}: React.ComponentProps<typeof SheetPrimitive.Description>):
|
|
38
|
+
}: React.ComponentProps<typeof SheetPrimitive.Description>): react_jsx_runtime119.JSX.Element;
|
|
39
39
|
//#endregion
|
|
40
40
|
export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime127 from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import * as SliderPrimitive from "@radix-ui/react-slider";
|
|
4
4
|
|
|
@@ -10,6 +10,6 @@ declare function Slider({
|
|
|
10
10
|
min,
|
|
11
11
|
max,
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof SliderPrimitive.Root>):
|
|
13
|
+
}: React.ComponentProps<typeof SliderPrimitive.Root>): react_jsx_runtime127.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { Slider };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime128 from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import * as SwitchPrimitive from "@radix-ui/react-switch";
|
|
4
4
|
|
|
@@ -6,6 +6,6 @@ import * as SwitchPrimitive from "@radix-ui/react-switch";
|
|
|
6
6
|
declare function Switch({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof SwitchPrimitive.Root>):
|
|
9
|
+
}: React.ComponentProps<typeof SwitchPrimitive.Root>): react_jsx_runtime128.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Switch };
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
2
2
|
const require_utils = require('../../lib/utils.cjs');
|
|
3
3
|
require('../../lib/index.cjs');
|
|
4
|
+
let class_variance_authority = require("class-variance-authority");
|
|
5
|
+
class_variance_authority = require_rolldown_runtime.__toESM(class_variance_authority);
|
|
4
6
|
let react = require("react");
|
|
5
7
|
react = require_rolldown_runtime.__toESM(react);
|
|
6
8
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
@@ -9,6 +11,24 @@ let __radix_ui_react_tabs = require("@radix-ui/react-tabs");
|
|
|
9
11
|
__radix_ui_react_tabs = require_rolldown_runtime.__toESM(__radix_ui_react_tabs);
|
|
10
12
|
|
|
11
13
|
//#region src/components/ui/tabs.tsx
|
|
14
|
+
const tabsListVariants = (0, class_variance_authority.cva)("inline-flex items-center justify-center", {
|
|
15
|
+
variants: { variant: {
|
|
16
|
+
default: "bg-muted text-muted-foreground h-9 w-fit rounded-lg p-[3px]",
|
|
17
|
+
outline: "border border-input bg-background h-9 w-fit rounded-lg p-[3px]",
|
|
18
|
+
ghost: "h-9 w-fit rounded-lg p-[3px]",
|
|
19
|
+
pill: "bg-muted text-muted-foreground h-10 w-fit rounded-full p-1"
|
|
20
|
+
} },
|
|
21
|
+
defaultVariants: { variant: "default" }
|
|
22
|
+
});
|
|
23
|
+
const tabsTriggerVariants = (0, class_variance_authority.cva)("inline-flex items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", {
|
|
24
|
+
variants: { variant: {
|
|
25
|
+
default: "data-[state=active]:bg-background dark:data-[state=active]:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 text-foreground dark:text-muted-foreground h-[calc(100%-1px)] flex-1 data-[state=active]:shadow-sm",
|
|
26
|
+
outline: "data-[state=active]:bg-background data-[state=active]:border-input focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring text-muted-foreground data-[state=active]:text-foreground h-[calc(100%-1px)] flex-1 data-[state=active]:shadow-sm border-input",
|
|
27
|
+
ghost: "data-[state=active]:bg-accent data-[state=active]:text-accent-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring text-muted-foreground hover:text-foreground h-[calc(100%-1px)] flex-1",
|
|
28
|
+
pill: "data-[state=active]:bg-background data-[state=active]:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 text-foreground dark:text-muted-foreground h-[calc(100%-2px)] flex-1 rounded-full data-[state=active]:shadow-sm"
|
|
29
|
+
} },
|
|
30
|
+
defaultVariants: { variant: "default" }
|
|
31
|
+
});
|
|
12
32
|
function Tabs({ className,...props }) {
|
|
13
33
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__radix_ui_react_tabs.Root, {
|
|
14
34
|
"data-slot": "tabs",
|
|
@@ -16,17 +36,17 @@ function Tabs({ className,...props }) {
|
|
|
16
36
|
...props
|
|
17
37
|
});
|
|
18
38
|
}
|
|
19
|
-
function TabsList({ className,...props }) {
|
|
39
|
+
function TabsList({ className, variant,...props }) {
|
|
20
40
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__radix_ui_react_tabs.List, {
|
|
21
41
|
"data-slot": "tabs-list",
|
|
22
|
-
className: require_utils.cn(
|
|
42
|
+
className: require_utils.cn(tabsListVariants({ variant }), className),
|
|
23
43
|
...props
|
|
24
44
|
});
|
|
25
45
|
}
|
|
26
|
-
function TabsTrigger({ className,...props }) {
|
|
46
|
+
function TabsTrigger({ className, variant,...props }) {
|
|
27
47
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__radix_ui_react_tabs.Trigger, {
|
|
28
48
|
"data-slot": "tabs-trigger",
|
|
29
|
-
className: require_utils.cn(
|
|
49
|
+
className: require_utils.cn(tabsTriggerVariants({ variant }), className),
|
|
30
50
|
...props
|
|
31
51
|
});
|
|
32
52
|
}
|
|
@@ -1,23 +1,33 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as class_variance_authority_types2 from "class-variance-authority/types";
|
|
2
|
+
import * as react_jsx_runtime129 from "react/jsx-runtime";
|
|
3
|
+
import { VariantProps } from "class-variance-authority";
|
|
2
4
|
import * as React from "react";
|
|
3
5
|
import * as TabsPrimitive from "@radix-ui/react-tabs";
|
|
4
6
|
|
|
5
7
|
//#region src/components/ui/tabs.d.ts
|
|
8
|
+
declare const tabsListVariants: (props?: ({
|
|
9
|
+
variant?: "default" | "outline" | "ghost" | "pill" | null | undefined;
|
|
10
|
+
} & class_variance_authority_types2.ClassProp) | undefined) => string;
|
|
11
|
+
declare const tabsTriggerVariants: (props?: ({
|
|
12
|
+
variant?: "default" | "outline" | "ghost" | "pill" | null | undefined;
|
|
13
|
+
} & class_variance_authority_types2.ClassProp) | undefined) => string;
|
|
6
14
|
declare function Tabs({
|
|
7
15
|
className,
|
|
8
16
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof TabsPrimitive.Root>):
|
|
17
|
+
}: React.ComponentProps<typeof TabsPrimitive.Root>): react_jsx_runtime129.JSX.Element;
|
|
10
18
|
declare function TabsList({
|
|
11
19
|
className,
|
|
20
|
+
variant,
|
|
12
21
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof TabsPrimitive.List>):
|
|
22
|
+
}: React.ComponentProps<typeof TabsPrimitive.List> & VariantProps<typeof tabsListVariants>): react_jsx_runtime129.JSX.Element;
|
|
14
23
|
declare function TabsTrigger({
|
|
15
24
|
className,
|
|
25
|
+
variant,
|
|
16
26
|
...props
|
|
17
|
-
}: React.ComponentProps<typeof TabsPrimitive.Trigger>):
|
|
27
|
+
}: React.ComponentProps<typeof TabsPrimitive.Trigger> & VariantProps<typeof tabsTriggerVariants>): react_jsx_runtime129.JSX.Element;
|
|
18
28
|
declare function TabsContent({
|
|
19
29
|
className,
|
|
20
30
|
...props
|
|
21
|
-
}: React.ComponentProps<typeof TabsPrimitive.Content>):
|
|
31
|
+
}: React.ComponentProps<typeof TabsPrimitive.Content>): react_jsx_runtime129.JSX.Element;
|
|
22
32
|
//#endregion
|
|
23
33
|
export { Tabs, TabsContent, TabsList, TabsTrigger };
|
|
@@ -1,20 +1,30 @@
|
|
|
1
|
+
import { VariantProps } from "class-variance-authority";
|
|
1
2
|
import * as React from "react";
|
|
2
3
|
import * as react_jsx_runtime133 from "react/jsx-runtime";
|
|
3
4
|
import * as TabsPrimitive from "@radix-ui/react-tabs";
|
|
5
|
+
import * as class_variance_authority_types2 from "class-variance-authority/types";
|
|
4
6
|
|
|
5
7
|
//#region src/components/ui/tabs.d.ts
|
|
8
|
+
declare const tabsListVariants: (props?: ({
|
|
9
|
+
variant?: "default" | "outline" | "ghost" | "pill" | null | undefined;
|
|
10
|
+
} & class_variance_authority_types2.ClassProp) | undefined) => string;
|
|
11
|
+
declare const tabsTriggerVariants: (props?: ({
|
|
12
|
+
variant?: "default" | "outline" | "ghost" | "pill" | null | undefined;
|
|
13
|
+
} & class_variance_authority_types2.ClassProp) | undefined) => string;
|
|
6
14
|
declare function Tabs({
|
|
7
15
|
className,
|
|
8
16
|
...props
|
|
9
17
|
}: React.ComponentProps<typeof TabsPrimitive.Root>): react_jsx_runtime133.JSX.Element;
|
|
10
18
|
declare function TabsList({
|
|
11
19
|
className,
|
|
20
|
+
variant,
|
|
12
21
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof TabsPrimitive.List>): react_jsx_runtime133.JSX.Element;
|
|
22
|
+
}: React.ComponentProps<typeof TabsPrimitive.List> & VariantProps<typeof tabsListVariants>): react_jsx_runtime133.JSX.Element;
|
|
14
23
|
declare function TabsTrigger({
|
|
15
24
|
className,
|
|
25
|
+
variant,
|
|
16
26
|
...props
|
|
17
|
-
}: React.ComponentProps<typeof TabsPrimitive.Trigger>): react_jsx_runtime133.JSX.Element;
|
|
27
|
+
}: React.ComponentProps<typeof TabsPrimitive.Trigger> & VariantProps<typeof tabsTriggerVariants>): react_jsx_runtime133.JSX.Element;
|
|
18
28
|
declare function TabsContent({
|
|
19
29
|
className,
|
|
20
30
|
...props
|
|
@@ -1,10 +1,29 @@
|
|
|
1
1
|
import { cn } from "../../lib/utils.js";
|
|
2
2
|
import "../../lib/index.js";
|
|
3
|
+
import { cva } from "class-variance-authority";
|
|
3
4
|
import "react";
|
|
4
5
|
import { jsx } from "react/jsx-runtime";
|
|
5
6
|
import * as TabsPrimitive from "@radix-ui/react-tabs";
|
|
6
7
|
|
|
7
8
|
//#region src/components/ui/tabs.tsx
|
|
9
|
+
const tabsListVariants = cva("inline-flex items-center justify-center", {
|
|
10
|
+
variants: { variant: {
|
|
11
|
+
default: "bg-muted text-muted-foreground h-9 w-fit rounded-lg p-[3px]",
|
|
12
|
+
outline: "border border-input bg-background h-9 w-fit rounded-lg p-[3px]",
|
|
13
|
+
ghost: "h-9 w-fit rounded-lg p-[3px]",
|
|
14
|
+
pill: "bg-muted text-muted-foreground h-10 w-fit rounded-full p-1"
|
|
15
|
+
} },
|
|
16
|
+
defaultVariants: { variant: "default" }
|
|
17
|
+
});
|
|
18
|
+
const tabsTriggerVariants = cva("inline-flex items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", {
|
|
19
|
+
variants: { variant: {
|
|
20
|
+
default: "data-[state=active]:bg-background dark:data-[state=active]:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 text-foreground dark:text-muted-foreground h-[calc(100%-1px)] flex-1 data-[state=active]:shadow-sm",
|
|
21
|
+
outline: "data-[state=active]:bg-background data-[state=active]:border-input focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring text-muted-foreground data-[state=active]:text-foreground h-[calc(100%-1px)] flex-1 data-[state=active]:shadow-sm border-input",
|
|
22
|
+
ghost: "data-[state=active]:bg-accent data-[state=active]:text-accent-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring text-muted-foreground hover:text-foreground h-[calc(100%-1px)] flex-1",
|
|
23
|
+
pill: "data-[state=active]:bg-background data-[state=active]:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 text-foreground dark:text-muted-foreground h-[calc(100%-2px)] flex-1 rounded-full data-[state=active]:shadow-sm"
|
|
24
|
+
} },
|
|
25
|
+
defaultVariants: { variant: "default" }
|
|
26
|
+
});
|
|
8
27
|
function Tabs({ className,...props }) {
|
|
9
28
|
return /* @__PURE__ */ jsx(TabsPrimitive.Root, {
|
|
10
29
|
"data-slot": "tabs",
|
|
@@ -12,17 +31,17 @@ function Tabs({ className,...props }) {
|
|
|
12
31
|
...props
|
|
13
32
|
});
|
|
14
33
|
}
|
|
15
|
-
function TabsList({ className,...props }) {
|
|
34
|
+
function TabsList({ className, variant,...props }) {
|
|
16
35
|
return /* @__PURE__ */ jsx(TabsPrimitive.List, {
|
|
17
36
|
"data-slot": "tabs-list",
|
|
18
|
-
className: cn(
|
|
37
|
+
className: cn(tabsListVariants({ variant }), className),
|
|
19
38
|
...props
|
|
20
39
|
});
|
|
21
40
|
}
|
|
22
|
-
function TabsTrigger({ className,...props }) {
|
|
41
|
+
function TabsTrigger({ className, variant,...props }) {
|
|
23
42
|
return /* @__PURE__ */ jsx(TabsPrimitive.Trigger, {
|
|
24
43
|
"data-slot": "tabs-trigger",
|
|
25
|
-
className: cn(
|
|
44
|
+
className: cn(tabsTriggerVariants({ variant }), className),
|
|
26
45
|
...props
|
|
27
46
|
});
|
|
28
47
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime133 from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/ui/textarea.d.ts
|
|
5
5
|
declare function Textarea({
|
|
6
6
|
className,
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<'textarea'>):
|
|
8
|
+
}: React.ComponentProps<'textarea'>): react_jsx_runtime133.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Textarea };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime134 from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import * as TooltipPrimitive from "@radix-ui/react-tooltip";
|
|
4
4
|
|
|
@@ -6,18 +6,18 @@ import * as TooltipPrimitive from "@radix-ui/react-tooltip";
|
|
|
6
6
|
declare function TooltipProvider({
|
|
7
7
|
delayDuration,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof TooltipPrimitive.Provider>):
|
|
9
|
+
}: React.ComponentProps<typeof TooltipPrimitive.Provider>): react_jsx_runtime134.JSX.Element;
|
|
10
10
|
declare function Tooltip({
|
|
11
11
|
...props
|
|
12
|
-
}: React.ComponentProps<typeof TooltipPrimitive.Root>):
|
|
12
|
+
}: React.ComponentProps<typeof TooltipPrimitive.Root>): react_jsx_runtime134.JSX.Element;
|
|
13
13
|
declare function TooltipTrigger({
|
|
14
14
|
...props
|
|
15
|
-
}: React.ComponentProps<typeof TooltipPrimitive.Trigger>):
|
|
15
|
+
}: React.ComponentProps<typeof TooltipPrimitive.Trigger>): react_jsx_runtime134.JSX.Element;
|
|
16
16
|
declare function TooltipContent({
|
|
17
17
|
className,
|
|
18
18
|
sideOffset,
|
|
19
19
|
children,
|
|
20
20
|
...props
|
|
21
|
-
}: React.ComponentProps<typeof TooltipPrimitive.Content>):
|
|
21
|
+
}: React.ComponentProps<typeof TooltipPrimitive.Content>): react_jsx_runtime134.JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pixpilot/shadcn",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.5.0",
|
|
5
5
|
"description": "A collection of reusable UI components built with shadcn/ui and Radix UI primitives.",
|
|
6
6
|
"author": "m.doaie <m.doaie@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -54,29 +54,29 @@
|
|
|
54
54
|
"cmdk": "^1.1.1",
|
|
55
55
|
"date-fns": "^4.1.0",
|
|
56
56
|
"lucide-react": "0.553.0",
|
|
57
|
-
"react-day-picker": "^9.
|
|
58
|
-
"react-hook-form": "^8.0.0-
|
|
57
|
+
"react-day-picker": "^9.12.0",
|
|
58
|
+
"react-hook-form": "^8.0.0-beta.0",
|
|
59
59
|
"tailwind-merge": "^3.4.0",
|
|
60
60
|
"tailwindcss-animate": "^1.0.7",
|
|
61
|
-
"zod": "^4.1.
|
|
61
|
+
"zod": "^4.1.13"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@pixpilot/dev-config": "^3.
|
|
65
|
-
"@tailwindcss/postcss": "^4.1.
|
|
64
|
+
"@pixpilot/dev-config": "^3.17.0",
|
|
65
|
+
"@tailwindcss/postcss": "^4.1.18",
|
|
66
66
|
"@testing-library/jest-dom": "^6.9.1",
|
|
67
67
|
"@testing-library/react": "^16.3.0",
|
|
68
|
-
"@types/react": "^19.2.
|
|
69
|
-
"autoprefixer": "^10.4.
|
|
70
|
-
"eslint": "^9.
|
|
71
|
-
"jsdom": "^27.
|
|
68
|
+
"@types/react": "^19.2.7",
|
|
69
|
+
"autoprefixer": "^10.4.23",
|
|
70
|
+
"eslint": "^9.39.2",
|
|
71
|
+
"jsdom": "^27.3.0",
|
|
72
72
|
"postcss": "^8.5.6",
|
|
73
|
-
"prettier": "^3.
|
|
73
|
+
"prettier": "^3.7.4",
|
|
74
74
|
"react": "19.2.0",
|
|
75
75
|
"react-dom": "19.2.0",
|
|
76
|
-
"tailwindcss": "^4.1.
|
|
77
|
-
"tsdown": "^0.15.
|
|
76
|
+
"tailwindcss": "^4.1.18",
|
|
77
|
+
"tsdown": "^0.15.12",
|
|
78
78
|
"typescript": "^5.9.3",
|
|
79
|
-
"typescript-eslint": "^8.
|
|
79
|
+
"typescript-eslint": "^8.49.0",
|
|
80
80
|
"@internal/eslint-config": "0.3.0",
|
|
81
81
|
"@internal/prettier-config": "0.0.1",
|
|
82
82
|
"@internal/tsconfig": "0.1.0",
|