@pixpilot/shadcn 0.1.11 → 0.3.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/OrContinueWithSeparator.d.ts +2 -2
- package/dist/components/ui/alert-dialog.cjs +1 -1
- package/dist/components/ui/alert-dialog.d.cts +12 -12
- package/dist/components/ui/alert-dialog.d.ts +12 -12
- package/dist/components/ui/alert-dialog.js +1 -1
- package/dist/components/ui/alert.d.cts +4 -4
- package/dist/components/ui/alert.d.ts +4 -4
- package/dist/components/ui/avatar.d.cts +4 -4
- package/dist/components/ui/avatar.d.ts +4 -4
- package/dist/components/ui/badge.d.cts +2 -2
- package/dist/components/ui/badge.d.ts +2 -2
- package/dist/components/ui/button.d.cts +2 -2
- package/dist/components/ui/button.d.ts +2 -2
- package/dist/components/ui/calendar.d.cts +3 -3
- package/dist/components/ui/calendar.d.ts +3 -3
- package/dist/components/ui/card.d.cts +8 -8
- package/dist/components/ui/card.d.ts +8 -8
- package/dist/components/ui/checkbox.d.cts +2 -2
- package/dist/components/ui/checkbox.d.ts +2 -2
- package/dist/components/ui/command.d.cts +10 -10
- package/dist/components/ui/command.d.ts +10 -10
- package/dist/components/ui/dialog.d.cts +11 -11
- package/dist/components/ui/dialog.d.ts +11 -11
- package/dist/components/ui/dropdown-menu.d.cts +16 -16
- package/dist/components/ui/dropdown-menu.d.ts +16 -16
- package/dist/components/ui/file-upload.cjs +1 -1
- package/dist/components/ui/file-upload.d.cts +12 -11
- package/dist/components/ui/file-upload.d.ts +12 -11
- package/dist/components/ui/file-upload.js +1 -1
- package/dist/components/ui/form.d.cts +7 -7
- package/dist/components/ui/form.d.ts +7 -7
- package/dist/components/ui/input.d.cts +2 -2
- package/dist/components/ui/input.d.ts +2 -2
- package/dist/components/ui/label.d.cts +2 -2
- package/dist/components/ui/label.d.ts +2 -2
- package/dist/components/ui/pagination.cjs +1 -1
- package/dist/components/ui/pagination.d.cts +10 -10
- package/dist/components/ui/pagination.d.ts +10 -9
- package/dist/components/ui/pagination.js +1 -1
- package/dist/components/ui/popover.d.cts +5 -5
- package/dist/components/ui/popover.d.ts +5 -5
- package/dist/components/ui/radio-group.d.cts +3 -3
- package/dist/components/ui/radio-group.d.ts +3 -3
- package/dist/components/ui/select.d.cts +11 -11
- package/dist/components/ui/select.d.ts +11 -11
- package/dist/components/ui/separator.d.cts +2 -2
- package/dist/components/ui/separator.d.ts +2 -2
- package/dist/components/ui/shadcn-io/tags/index.d.cts +9 -9
- package/dist/components/ui/shadcn-io/tags/index.d.ts +9 -9
- package/dist/components/ui/shadcn-io/tags-input-inline/index.d.cts +7 -7
- package/dist/components/ui/shadcn-io/tags-input-inline/index.d.ts +7 -7
- package/dist/components/ui/sheet.d.cts +9 -9
- package/dist/components/ui/sheet.d.ts +9 -9
- package/dist/components/ui/slider.d.cts +2 -2
- package/dist/components/ui/slider.d.ts +2 -2
- package/dist/components/ui/switch.d.cts +2 -2
- package/dist/components/ui/switch.d.ts +2 -2
- package/dist/components/ui/tabs.d.cts +5 -5
- package/dist/components/ui/tabs.d.ts +5 -5
- package/dist/components/ui/textarea.d.cts +2 -2
- package/dist/components/ui/tooltip.d.cts +5 -5
- package/dist/components/ui/tooltip.d.ts +5 -5
- package/package.json +13 -9
- package/dist/dist/components/ui/OrContinueWithSeparator.d.cts +0 -1
- package/dist/dist/components/ui/alert-dialog.d.cts +0 -3
- package/dist/dist/components/ui/alert.d.cts +0 -3
- package/dist/dist/components/ui/avatar.d.cts +0 -3
- package/dist/dist/components/ui/badge.d.cts +0 -3
- package/dist/dist/components/ui/button.d.cts +0 -23
- package/dist/dist/components/ui/calendar.d.cts +0 -4
- package/dist/dist/components/ui/card.d.cts +0 -2
- package/dist/dist/components/ui/checkbox.d.cts +0 -3
- package/dist/dist/components/ui/command.d.cts +0 -4
- package/dist/dist/components/ui/dialog.d.cts +0 -3
- package/dist/dist/components/ui/dropdown-menu.d.cts +0 -3
- package/dist/dist/components/ui/file-upload.d.cts +0 -2
- package/dist/dist/components/ui/form.d.cts +0 -5
- package/dist/dist/components/ui/input.d.cts +0 -2
- package/dist/dist/components/ui/label.d.cts +0 -3
- package/dist/dist/components/ui/pagination.d.cts +0 -3
- package/dist/dist/components/ui/popover.d.cts +0 -3
- package/dist/dist/components/ui/radio-group.d.cts +0 -3
- package/dist/dist/components/ui/select.d.cts +0 -3
- package/dist/dist/components/ui/separator.d.cts +0 -3
- package/dist/dist/components/ui/shadcn-io/tags/index.d.cts +0 -6
- package/dist/dist/components/ui/shadcn-io/tags-input-inline/index.d.cts +0 -2
- package/dist/dist/components/ui/sheet.d.cts +0 -3
- package/dist/dist/components/ui/slider.d.cts +0 -3
- package/dist/dist/components/ui/switch.d.cts +0 -3
- package/dist/dist/components/ui/tabs.d.cts +0 -3
- package/dist/dist/components/ui/textarea.d.cts +0 -2
- package/dist/dist/components/ui/tooltip.d.cts +0 -3
- package/dist/dist/index.d.cts +0 -30
- package/dist/dist/lib/utils.d.cts +0 -1
|
@@ -3,7 +3,7 @@ import { Button } from "../../button.js";
|
|
|
3
3
|
import { CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList } from "../../command.js";
|
|
4
4
|
import { PopoverContent } from "../../popover.js";
|
|
5
5
|
import { ComponentProps, ReactNode } from "react";
|
|
6
|
-
import * as
|
|
6
|
+
import * as react_jsx_runtime109 from "react/jsx-runtime";
|
|
7
7
|
|
|
8
8
|
//#region src/components/ui/shadcn-io/tags/index.d.ts
|
|
9
9
|
interface TagsProps {
|
|
@@ -21,13 +21,13 @@ declare function Tags({
|
|
|
21
21
|
onOpenChange: controlledOnOpenChange,
|
|
22
22
|
children,
|
|
23
23
|
className
|
|
24
|
-
}: TagsProps):
|
|
24
|
+
}: TagsProps): react_jsx_runtime109.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_runtime109.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_runtime109.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_runtime109.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_runtime109.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_runtime109.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_runtime109.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_runtime109.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_runtime117 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_runtime117.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_runtime117.JSX.Element;
|
|
14
14
|
declare function TagsInputInLineList({
|
|
15
15
|
className,
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<'div'>):
|
|
17
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime117.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_runtime117.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_runtime117.JSX.Element;
|
|
27
27
|
declare function TagsInputInLineClear({
|
|
28
28
|
...props
|
|
29
|
-
}: React.ComponentProps<typeof TagsInputPrimitive.Clear>):
|
|
29
|
+
}: React.ComponentProps<typeof TagsInputPrimitive.Clear>): react_jsx_runtime117.JSX.Element;
|
|
30
30
|
//#endregion
|
|
31
31
|
export { TagsInputInLineClear, TagsInputInLineInput, TagsInputInLineItem, TagsInputInLineLabel, TagsInputInLineList, TagsInputInLineRoot };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime117 from "react/jsx-runtime";
|
|
3
3
|
import * as TagsInputPrimitive from "@diceui/tags-input";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ui/shadcn-io/tags-input-inline/index.d.ts
|
|
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_runtime117.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_runtime117.JSX.Element;
|
|
14
14
|
declare function TagsInputInLineList({
|
|
15
15
|
className,
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<'div'>):
|
|
17
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime117.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_runtime117.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_runtime117.JSX.Element;
|
|
27
27
|
declare function TagsInputInLineClear({
|
|
28
28
|
...props
|
|
29
|
-
}: React.ComponentProps<typeof TagsInputPrimitive.Clear>):
|
|
29
|
+
}: React.ComponentProps<typeof TagsInputPrimitive.Clear>): react_jsx_runtime117.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_runtime123 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_runtime123.JSX.Element;
|
|
9
9
|
declare function SheetTrigger({
|
|
10
10
|
...props
|
|
11
|
-
}: React.ComponentProps<typeof SheetPrimitive.Trigger>):
|
|
11
|
+
}: React.ComponentProps<typeof SheetPrimitive.Trigger>): react_jsx_runtime123.JSX.Element;
|
|
12
12
|
declare function SheetClose({
|
|
13
13
|
...props
|
|
14
|
-
}: React.ComponentProps<typeof SheetPrimitive.Close>):
|
|
14
|
+
}: React.ComponentProps<typeof SheetPrimitive.Close>): react_jsx_runtime123.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_runtime123.JSX.Element;
|
|
23
23
|
declare function SheetHeader({
|
|
24
24
|
className,
|
|
25
25
|
...props
|
|
26
|
-
}: React.ComponentProps<'div'>):
|
|
26
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime123.JSX.Element;
|
|
27
27
|
declare function SheetFooter({
|
|
28
28
|
className,
|
|
29
29
|
...props
|
|
30
|
-
}: React.ComponentProps<'div'>):
|
|
30
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime123.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_runtime123.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_runtime123.JSX.Element;
|
|
39
39
|
//#endregion
|
|
40
40
|
export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime123 from "react/jsx-runtime";
|
|
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_runtime123.JSX.Element;
|
|
9
9
|
declare function SheetTrigger({
|
|
10
10
|
...props
|
|
11
|
-
}: React.ComponentProps<typeof SheetPrimitive.Trigger>):
|
|
11
|
+
}: React.ComponentProps<typeof SheetPrimitive.Trigger>): react_jsx_runtime123.JSX.Element;
|
|
12
12
|
declare function SheetClose({
|
|
13
13
|
...props
|
|
14
|
-
}: React.ComponentProps<typeof SheetPrimitive.Close>):
|
|
14
|
+
}: React.ComponentProps<typeof SheetPrimitive.Close>): react_jsx_runtime123.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_runtime123.JSX.Element;
|
|
23
23
|
declare function SheetHeader({
|
|
24
24
|
className,
|
|
25
25
|
...props
|
|
26
|
-
}: React.ComponentProps<'div'>):
|
|
26
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime123.JSX.Element;
|
|
27
27
|
declare function SheetFooter({
|
|
28
28
|
className,
|
|
29
29
|
...props
|
|
30
|
-
}: React.ComponentProps<'div'>):
|
|
30
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime123.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_runtime123.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_runtime123.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_runtime131 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_runtime131.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { Slider };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime131 from "react/jsx-runtime";
|
|
3
3
|
import * as SliderPrimitive from "@radix-ui/react-slider";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ui/slider.d.ts
|
|
@@ -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_runtime131.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { Slider };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime132 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_runtime132.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Switch };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime132 from "react/jsx-runtime";
|
|
3
3
|
import * as SwitchPrimitive from "@radix-ui/react-switch";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ui/switch.d.ts
|
|
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_runtime132.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Switch };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime133 from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import * as TabsPrimitive from "@radix-ui/react-tabs";
|
|
4
4
|
|
|
@@ -6,18 +6,18 @@ import * as TabsPrimitive from "@radix-ui/react-tabs";
|
|
|
6
6
|
declare function Tabs({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof TabsPrimitive.Root>):
|
|
9
|
+
}: React.ComponentProps<typeof TabsPrimitive.Root>): react_jsx_runtime133.JSX.Element;
|
|
10
10
|
declare function TabsList({
|
|
11
11
|
className,
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof TabsPrimitive.List>):
|
|
13
|
+
}: React.ComponentProps<typeof TabsPrimitive.List>): react_jsx_runtime133.JSX.Element;
|
|
14
14
|
declare function TabsTrigger({
|
|
15
15
|
className,
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<typeof TabsPrimitive.Trigger>):
|
|
17
|
+
}: React.ComponentProps<typeof TabsPrimitive.Trigger>): react_jsx_runtime133.JSX.Element;
|
|
18
18
|
declare function TabsContent({
|
|
19
19
|
className,
|
|
20
20
|
...props
|
|
21
|
-
}: React.ComponentProps<typeof TabsPrimitive.Content>):
|
|
21
|
+
}: React.ComponentProps<typeof TabsPrimitive.Content>): react_jsx_runtime133.JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { Tabs, TabsContent, TabsList, TabsTrigger };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime133 from "react/jsx-runtime";
|
|
3
3
|
import * as TabsPrimitive from "@radix-ui/react-tabs";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ui/tabs.d.ts
|
|
6
6
|
declare function Tabs({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof TabsPrimitive.Root>):
|
|
9
|
+
}: React.ComponentProps<typeof TabsPrimitive.Root>): react_jsx_runtime133.JSX.Element;
|
|
10
10
|
declare function TabsList({
|
|
11
11
|
className,
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof TabsPrimitive.List>):
|
|
13
|
+
}: React.ComponentProps<typeof TabsPrimitive.List>): react_jsx_runtime133.JSX.Element;
|
|
14
14
|
declare function TabsTrigger({
|
|
15
15
|
className,
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<typeof TabsPrimitive.Trigger>):
|
|
17
|
+
}: React.ComponentProps<typeof TabsPrimitive.Trigger>): react_jsx_runtime133.JSX.Element;
|
|
18
18
|
declare function TabsContent({
|
|
19
19
|
className,
|
|
20
20
|
...props
|
|
21
|
-
}: React.ComponentProps<typeof TabsPrimitive.Content>):
|
|
21
|
+
}: React.ComponentProps<typeof TabsPrimitive.Content>): react_jsx_runtime133.JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { Tabs, TabsContent, TabsList, TabsTrigger };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime137 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_runtime137.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Textarea };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime0 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_runtime0.JSX.Element;
|
|
10
10
|
declare function Tooltip({
|
|
11
11
|
...props
|
|
12
|
-
}: React.ComponentProps<typeof TooltipPrimitive.Root>):
|
|
12
|
+
}: React.ComponentProps<typeof TooltipPrimitive.Root>): react_jsx_runtime0.JSX.Element;
|
|
13
13
|
declare function TooltipTrigger({
|
|
14
14
|
...props
|
|
15
|
-
}: React.ComponentProps<typeof TooltipPrimitive.Trigger>):
|
|
15
|
+
}: React.ComponentProps<typeof TooltipPrimitive.Trigger>): react_jsx_runtime0.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_runtime0.JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
import * as TooltipPrimitive from "@radix-ui/react-tooltip";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ui/tooltip.d.ts
|
|
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_runtime0.JSX.Element;
|
|
10
10
|
declare function Tooltip({
|
|
11
11
|
...props
|
|
12
|
-
}: React.ComponentProps<typeof TooltipPrimitive.Root>):
|
|
12
|
+
}: React.ComponentProps<typeof TooltipPrimitive.Root>): react_jsx_runtime0.JSX.Element;
|
|
13
13
|
declare function TooltipTrigger({
|
|
14
14
|
...props
|
|
15
|
-
}: React.ComponentProps<typeof TooltipPrimitive.Trigger>):
|
|
15
|
+
}: React.ComponentProps<typeof TooltipPrimitive.Trigger>): react_jsx_runtime0.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_runtime0.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.3.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",
|
|
@@ -10,19 +10,19 @@
|
|
|
10
10
|
"url": "https://github.com/pixpilot/shadcn-components.git",
|
|
11
11
|
"directory": "packages/ui"
|
|
12
12
|
},
|
|
13
|
-
"keywords": [],
|
|
14
13
|
"exports": {
|
|
15
14
|
".": {
|
|
16
15
|
"types": "./dist/index.d.ts",
|
|
17
|
-
"import": "./dist/index.js"
|
|
16
|
+
"import": "./dist/index.js",
|
|
17
|
+
"require": "./dist/index.cjs"
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
|
-
"publishConfig": {
|
|
21
|
-
"access": "public"
|
|
22
|
-
},
|
|
23
20
|
"files": [
|
|
24
21
|
"dist"
|
|
25
22
|
],
|
|
23
|
+
"publishConfig": {
|
|
24
|
+
"access": "public"
|
|
25
|
+
},
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"react": "^18.0.0 || ^19.0.0",
|
|
28
28
|
"react-dom": "^18.0.0 || ^19.0.0"
|
|
@@ -72,15 +72,16 @@
|
|
|
72
72
|
"postcss": "^8.5.6",
|
|
73
73
|
"prettier": "^3.6.2",
|
|
74
74
|
"react": "19.2.0",
|
|
75
|
+
"react-dom": "19.2.0",
|
|
75
76
|
"tailwindcss": "^4.1.17",
|
|
76
77
|
"tsdown": "^0.15.8",
|
|
77
78
|
"typescript": "^5.9.3",
|
|
78
79
|
"typescript-eslint": "^8.46.3",
|
|
79
80
|
"@internal/eslint-config": "0.3.0",
|
|
81
|
+
"@internal/prettier-config": "0.0.1",
|
|
80
82
|
"@internal/tsconfig": "0.1.0",
|
|
81
|
-
"@internal/vitest-config": "0.1.0",
|
|
82
83
|
"@internal/tsdown-config": "0.1.0",
|
|
83
|
-
"@internal/
|
|
84
|
+
"@internal/vitest-config": "0.1.0"
|
|
84
85
|
},
|
|
85
86
|
"prettier": "@internal/prettier-config",
|
|
86
87
|
"scripts": {
|
|
@@ -97,5 +98,8 @@
|
|
|
97
98
|
"test:watch": "vitest --watch",
|
|
98
99
|
"test:ui": "vitest --ui",
|
|
99
100
|
"shadcn:add": "npx shadcn@latest add"
|
|
100
|
-
}
|
|
101
|
+
},
|
|
102
|
+
"main": "./dist/index.cjs",
|
|
103
|
+
"module": "./dist/index.js",
|
|
104
|
+
"types": "./dist/index.d.ts"
|
|
101
105
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "react/jsx-runtime";
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import * as class_variance_authority_types1 from "class-variance-authority/types";
|
|
2
|
-
import * as react_jsx_runtime45 from "react/jsx-runtime";
|
|
3
|
-
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as React from "react";
|
|
5
|
-
|
|
6
|
-
//#region dist/components/ui/button.d.ts
|
|
7
|
-
//#region src/components/ui/button.d.ts
|
|
8
|
-
declare const buttonVariants: (props?: ({
|
|
9
|
-
variant?: "default" | "destructive" | "secondary" | "outline" | "ghost" | "link" | null | undefined;
|
|
10
|
-
size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
|
|
11
|
-
} & class_variance_authority_types1.ClassProp) | undefined) => string;
|
|
12
|
-
declare function Button({
|
|
13
|
-
className,
|
|
14
|
-
variant,
|
|
15
|
-
size,
|
|
16
|
-
asChild,
|
|
17
|
-
...props
|
|
18
|
-
}: React.ComponentProps<'button'> & VariantProps<typeof buttonVariants> & {
|
|
19
|
-
asChild?: boolean;
|
|
20
|
-
}): react_jsx_runtime45.JSX.Element;
|
|
21
|
-
//#endregion
|
|
22
|
-
//#endregion
|
|
23
|
-
export { Button, buttonVariants };
|