@turingpaper/ui 0.0.1-test.2 → 0.0.1-test.3
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/accordion.mjs +44 -83
- package/dist/alert-dialog.mjs +108 -175
- package/dist/avatar.mjs +40 -104
- package/dist/badge.mjs +10 -27
- package/dist/breadcrumb.mjs +82 -109
- package/dist/button.mjs +26 -38
- package/dist/card.mjs +62 -96
- package/dist/chart.mjs +208 -0
- package/dist/checkbox.mjs +25 -32
- package/dist/collapsible.mjs +5 -32
- package/dist/command.mjs +101 -165
- package/dist/components/accordion.d.ts +4 -5
- package/dist/components/alert-dialog.d.ts +19 -17
- package/dist/components/avatar.d.ts +4 -10
- package/dist/components/badge.d.ts +4 -4
- package/dist/components/breadcrumb.d.ts +16 -8
- package/dist/components/button.d.ts +5 -4
- package/dist/components/card.d.ts +7 -10
- package/dist/components/chart.d.ts +62 -0
- package/dist/components/checkbox.d.ts +1 -2
- package/dist/components/collapsible.d.ts +3 -4
- package/dist/components/command.d.ts +78 -16
- package/dist/components/dialog.d.ts +18 -16
- package/dist/components/drawer.d.ts +19 -10
- package/dist/components/dropdown-menu.d.ts +21 -27
- package/dist/components/hover-card.d.ts +3 -4
- package/dist/components/input-group.d.ts +1 -1
- package/dist/components/input-otp.d.ts +34 -0
- package/dist/components/input.d.ts +1 -1
- package/dist/components/label.d.ts +1 -2
- package/dist/components/pagination.d.ts +24 -13
- package/dist/components/popover.d.ts +4 -9
- package/dist/components/progress.d.ts +1 -2
- package/dist/components/radio-group.d.ts +2 -3
- package/dist/components/scroll-area.d.ts +2 -3
- package/dist/components/select.d.ts +11 -14
- package/dist/components/separator.d.ts +1 -2
- package/dist/components/sheet.d.ts +24 -13
- package/dist/components/skeleton.d.ts +1 -1
- package/dist/components/slider.d.ts +1 -2
- package/dist/components/switch.d.ts +1 -4
- package/dist/components/table.d.ts +8 -8
- package/dist/components/tabs.d.ts +5 -10
- package/dist/components/textarea.d.ts +1 -1
- package/dist/components/toggle-group.d.ts +2 -8
- package/dist/components/toggle.d.ts +1 -3
- package/dist/components/tooltip.d.ts +5 -6
- package/dist/dialog.mjs +91 -147
- package/dist/drawer.mjs +89 -118
- package/dist/dropdown-menu.mjs +141 -249
- package/dist/hover-card.mjs +20 -35
- package/dist/input-otp.mjs +48 -0
- package/dist/input.mjs +15 -13
- package/dist/label.mjs +17 -20
- package/dist/pagination.mjs +103 -126
- package/dist/popover.mjs +19 -76
- package/dist/progress.mjs +23 -28
- package/dist/provider.mjs +1 -1
- package/dist/radio-group.mjs +29 -42
- package/dist/scroll-area.mjs +36 -57
- package/dist/select.mjs +117 -182
- package/dist/separator.mjs +16 -18
- package/dist/sheet.mjs +99 -128
- package/dist/skeleton.mjs +8 -6
- package/dist/slider.mjs +21 -57
- package/dist/styles.css +1 -1
- package/dist/switch.mjs +25 -29
- package/dist/table.mjs +83 -110
- package/dist/tabs.mjs +42 -86
- package/dist/textarea.mjs +16 -16
- package/dist/toggle-group.mjs +32 -67
- package/dist/toggle.mjs +22 -28
- package/dist/tooltip.mjs +20 -52
- package/package.json +11 -1
|
@@ -1,18 +1,80 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Dialog } from './dialog';
|
|
1
|
+
import { DialogProps } from 'radix-ui';
|
|
3
2
|
import * as React from "react";
|
|
4
|
-
declare
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
3
|
+
declare const Command: React.ForwardRefExoticComponent<Omit<{
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
} & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.HTMLAttributes<HTMLDivElement> | "key"> & {
|
|
6
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
7
|
+
} & {
|
|
8
|
+
asChild?: boolean;
|
|
9
|
+
}, "asChild" | keyof React.HTMLAttributes<HTMLDivElement> | "key"> & {
|
|
10
|
+
label?: string;
|
|
11
|
+
shouldFilter?: boolean;
|
|
12
|
+
filter?: (value: string, search: string, keywords?: string[]) => number;
|
|
13
|
+
defaultValue?: string;
|
|
14
|
+
value?: string;
|
|
15
|
+
onValueChange?: (value: string) => void;
|
|
16
|
+
loop?: boolean;
|
|
17
|
+
disablePointerSelection?: boolean;
|
|
18
|
+
vimBindings?: boolean;
|
|
19
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
20
|
+
declare const CommandDialog: ({ children, ...props }: DialogProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
declare const CommandInput: React.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React.InputHTMLAttributes<HTMLInputElement>> & {
|
|
22
|
+
ref?: React.Ref<HTMLInputElement>;
|
|
23
|
+
} & {
|
|
24
|
+
asChild?: boolean;
|
|
25
|
+
}, "asChild" | "key" | keyof React.InputHTMLAttributes<HTMLInputElement>>, "type" | "value" | "onChange"> & {
|
|
26
|
+
value?: string;
|
|
27
|
+
onValueChange?: (search: string) => void;
|
|
28
|
+
} & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
29
|
+
declare const CommandList: React.ForwardRefExoticComponent<Omit<{
|
|
30
|
+
children?: React.ReactNode;
|
|
31
|
+
} & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.HTMLAttributes<HTMLDivElement> | "key"> & {
|
|
32
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
33
|
+
} & {
|
|
34
|
+
asChild?: boolean;
|
|
35
|
+
}, "asChild" | keyof React.HTMLAttributes<HTMLDivElement> | "key"> & {
|
|
36
|
+
label?: string;
|
|
37
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
38
|
+
declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
|
|
39
|
+
children?: React.ReactNode;
|
|
40
|
+
} & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.HTMLAttributes<HTMLDivElement> | "key"> & {
|
|
41
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
42
|
+
} & {
|
|
43
|
+
asChild?: boolean;
|
|
44
|
+
}, "asChild" | keyof React.HTMLAttributes<HTMLDivElement> | "key"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
45
|
+
declare const CommandGroup: React.ForwardRefExoticComponent<Omit<{
|
|
46
|
+
children?: React.ReactNode;
|
|
47
|
+
} & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.HTMLAttributes<HTMLDivElement> | "key"> & {
|
|
48
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
49
|
+
} & {
|
|
50
|
+
asChild?: boolean;
|
|
51
|
+
}, "asChild" | keyof React.HTMLAttributes<HTMLDivElement> | "key">, "value" | "heading"> & {
|
|
52
|
+
heading?: React.ReactNode;
|
|
53
|
+
value?: string;
|
|
54
|
+
forceMount?: boolean;
|
|
55
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
56
|
+
declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.HTMLAttributes<HTMLDivElement> | "key"> & {
|
|
57
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
58
|
+
} & {
|
|
59
|
+
asChild?: boolean;
|
|
60
|
+
}, "asChild" | keyof React.HTMLAttributes<HTMLDivElement> | "key"> & {
|
|
61
|
+
alwaysRender?: boolean;
|
|
62
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
63
|
+
declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
|
|
64
|
+
children?: React.ReactNode;
|
|
65
|
+
} & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.HTMLAttributes<HTMLDivElement> | "key"> & {
|
|
66
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
67
|
+
} & {
|
|
68
|
+
asChild?: boolean;
|
|
69
|
+
}, "asChild" | keyof React.HTMLAttributes<HTMLDivElement> | "key">, "disabled" | "value" | "onSelect"> & {
|
|
70
|
+
disabled?: boolean;
|
|
71
|
+
onSelect?: (value: string) => void;
|
|
72
|
+
value?: string;
|
|
73
|
+
keywords?: string[];
|
|
74
|
+
forceMount?: boolean;
|
|
75
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
76
|
+
declare const CommandShortcut: {
|
|
77
|
+
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
|
|
78
|
+
displayName: string;
|
|
79
|
+
};
|
|
18
80
|
export { Command, CommandDialog, CommandInput, CommandList, CommandEmpty, CommandGroup, CommandItem, CommandShortcut, CommandSeparator, };
|
|
@@ -1,17 +1,19 @@
|
|
|
1
|
-
import { Dialog as DialogPrimitive } from 'radix-ui';
|
|
2
1
|
import * as React from "react";
|
|
3
|
-
|
|
4
|
-
declare
|
|
5
|
-
declare
|
|
6
|
-
declare
|
|
7
|
-
declare
|
|
8
|
-
declare
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
2
|
+
import * as DialogPrimitive from "radix-ui";
|
|
3
|
+
declare const Dialog: any;
|
|
4
|
+
declare const DialogTrigger: any;
|
|
5
|
+
declare const DialogPortal: typeof DialogPrimitive.Portal;
|
|
6
|
+
declare const DialogClose: any;
|
|
7
|
+
declare const DialogOverlay: React.ForwardRefExoticComponent<any>;
|
|
8
|
+
declare const DialogContent: React.ForwardRefExoticComponent<any>;
|
|
9
|
+
declare const DialogHeader: {
|
|
10
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
displayName: string;
|
|
12
|
+
};
|
|
13
|
+
declare const DialogFooter: {
|
|
14
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
displayName: string;
|
|
16
|
+
};
|
|
17
|
+
declare const DialogTitle: React.ForwardRefExoticComponent<any>;
|
|
18
|
+
declare const DialogDescription: React.ForwardRefExoticComponent<any>;
|
|
19
|
+
export { Dialog, DialogPortal, DialogOverlay, DialogClose, DialogTrigger, DialogContent, DialogHeader, DialogFooter, DialogTitle, DialogDescription, };
|
|
@@ -1,13 +1,22 @@
|
|
|
1
1
|
import { Drawer as DrawerPrimitive } from 'vaul';
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
declare
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
declare
|
|
8
|
-
declare
|
|
9
|
-
declare
|
|
10
|
-
declare
|
|
11
|
-
declare
|
|
12
|
-
declare
|
|
3
|
+
declare const Drawer: {
|
|
4
|
+
({ shouldScaleBackground, ...props }: React.ComponentProps<typeof DrawerPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
declare const DrawerTrigger: React.ForwardRefExoticComponent<import('@radix-ui/react-dialog').DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
8
|
+
declare const DrawerPortal: typeof import('vaul').Portal;
|
|
9
|
+
declare const DrawerClose: React.ForwardRefExoticComponent<import('@radix-ui/react-dialog').DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
10
|
+
declare const DrawerOverlay: React.ForwardRefExoticComponent<Omit<Omit<import('@radix-ui/react-dialog').DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
+
declare const DrawerContent: React.ForwardRefExoticComponent<Omit<Omit<import('@radix-ui/react-dialog').DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
+
declare const DrawerHeader: {
|
|
13
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
displayName: string;
|
|
15
|
+
};
|
|
16
|
+
declare const DrawerFooter: {
|
|
17
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
displayName: string;
|
|
19
|
+
};
|
|
20
|
+
declare const DrawerTitle: React.ForwardRefExoticComponent<Omit<import('@radix-ui/react-dialog').DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
21
|
+
declare const DrawerDescription: React.ForwardRefExoticComponent<Omit<import('@radix-ui/react-dialog').DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
13
22
|
export { Drawer, DrawerPortal, DrawerOverlay, DrawerTrigger, DrawerClose, DrawerContent, DrawerHeader, DrawerFooter, DrawerTitle, DrawerDescription, };
|
|
@@ -1,29 +1,23 @@
|
|
|
1
|
-
import { DropdownMenu as DropdownMenuPrimitive } from 'radix-ui';
|
|
2
1
|
import * as React from "react";
|
|
3
|
-
|
|
4
|
-
declare
|
|
5
|
-
declare
|
|
6
|
-
declare
|
|
7
|
-
declare
|
|
8
|
-
declare
|
|
2
|
+
import * as DropdownMenuPrimitive from "radix-ui";
|
|
3
|
+
declare const DropdownMenu: any;
|
|
4
|
+
declare const DropdownMenuTrigger: any;
|
|
5
|
+
declare const DropdownMenuGroup: any;
|
|
6
|
+
declare const DropdownMenuPortal: typeof DropdownMenuPrimitive.Portal;
|
|
7
|
+
declare const DropdownMenuSub: any;
|
|
8
|
+
declare const DropdownMenuRadioGroup: typeof DropdownMenuPrimitive.RadioGroup;
|
|
9
|
+
declare const DropdownMenuSubTrigger: React.ForwardRefExoticComponent<any>;
|
|
10
|
+
declare const DropdownMenuSubContent: React.ForwardRefExoticComponent<any>;
|
|
11
|
+
declare const DropdownMenuContent: React.ForwardRefExoticComponent<any>;
|
|
12
|
+
declare const DropdownMenuItem: React.ForwardRefExoticComponent<any>;
|
|
13
|
+
declare const DropdownMenuCheckboxItem: React.ForwardRefExoticComponent<any>;
|
|
14
|
+
declare const DropdownMenuRadioItem: React.ForwardRefExoticComponent<any>;
|
|
15
|
+
declare const DropdownMenuLabel: React.ForwardRefExoticComponent<{
|
|
9
16
|
inset?: boolean;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
declare
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
inset?: boolean;
|
|
18
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
19
|
-
declare function DropdownMenuLabel({ className, inset, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
|
|
20
|
-
inset?: boolean;
|
|
21
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
22
|
-
declare function DropdownMenuSeparator({ className, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Separator>): import("react/jsx-runtime").JSX.Element;
|
|
23
|
-
declare function DropdownMenuShortcut({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
|
|
24
|
-
declare function DropdownMenuSub({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Sub>): import("react/jsx-runtime").JSX.Element;
|
|
25
|
-
declare function DropdownMenuSubTrigger({ className, inset, children, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {
|
|
26
|
-
inset?: boolean;
|
|
27
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
28
|
-
declare function DropdownMenuSubContent({ className, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.SubContent>): import("react/jsx-runtime").JSX.Element;
|
|
29
|
-
export { DropdownMenu, DropdownMenuPortal, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuGroup, DropdownMenuLabel, DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubTrigger, DropdownMenuSubContent, };
|
|
17
|
+
} & React.RefAttributes<unknown>>;
|
|
18
|
+
declare const DropdownMenuSeparator: React.ForwardRefExoticComponent<React.RefAttributes<unknown>>;
|
|
19
|
+
declare const DropdownMenuShortcut: {
|
|
20
|
+
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
displayName: string;
|
|
22
|
+
};
|
|
23
|
+
export { DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuGroup, DropdownMenuPortal, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuRadioGroup, };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { HoverCard as HoverCardPrimitive } from 'radix-ui';
|
|
2
1
|
import * as React from "react";
|
|
3
|
-
declare
|
|
4
|
-
declare
|
|
5
|
-
declare
|
|
2
|
+
declare const HoverCard: any;
|
|
3
|
+
declare const HoverCardTrigger: any;
|
|
4
|
+
declare const HoverCardContent: React.ForwardRefExoticComponent<any>;
|
|
6
5
|
export { HoverCard, HoverCardTrigger, HoverCardContent };
|
|
@@ -7,7 +7,7 @@ declare const inputGroupAddonVariants: (props?: ({
|
|
|
7
7
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
8
8
|
declare function InputGroupAddon({ className, align, ...props }: React.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>): import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
declare const inputGroupButtonVariants: (props?: ({
|
|
10
|
-
size?: "
|
|
10
|
+
size?: "sm" | "xs" | "icon-xs" | "icon-sm" | null | undefined;
|
|
11
11
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
12
12
|
declare function InputGroupButton({ className, type, variant, size, ...props }: Omit<React.ComponentProps<typeof Button>, "size"> & VariantProps<typeof inputGroupButtonVariants>): import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
declare function InputGroupText({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare const InputOTP: React.ForwardRefExoticComponent<(Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "value" | "onChange" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
|
|
3
|
+
value?: string;
|
|
4
|
+
onChange?: (newValue: string) => unknown;
|
|
5
|
+
maxLength: number;
|
|
6
|
+
textAlign?: "left" | "center" | "right";
|
|
7
|
+
onComplete?: (...args: any[]) => unknown;
|
|
8
|
+
pushPasswordManagerStrategy?: "increase-width" | "none";
|
|
9
|
+
pasteTransformer?: (pasted: string) => string;
|
|
10
|
+
containerClassName?: string;
|
|
11
|
+
noScriptCSSFallback?: string | null;
|
|
12
|
+
} & {
|
|
13
|
+
render: (props: import('input-otp').RenderProps) => React.ReactNode;
|
|
14
|
+
children?: never;
|
|
15
|
+
} & React.RefAttributes<HTMLInputElement>, "ref"> | Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "value" | "onChange" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
|
|
16
|
+
value?: string;
|
|
17
|
+
onChange?: (newValue: string) => unknown;
|
|
18
|
+
maxLength: number;
|
|
19
|
+
textAlign?: "left" | "center" | "right";
|
|
20
|
+
onComplete?: (...args: any[]) => unknown;
|
|
21
|
+
pushPasswordManagerStrategy?: "increase-width" | "none";
|
|
22
|
+
pasteTransformer?: (pasted: string) => string;
|
|
23
|
+
containerClassName?: string;
|
|
24
|
+
noScriptCSSFallback?: string | null;
|
|
25
|
+
} & {
|
|
26
|
+
render?: never;
|
|
27
|
+
children: React.ReactNode;
|
|
28
|
+
} & React.RefAttributes<HTMLInputElement>, "ref">) & React.RefAttributes<HTMLInputElement>>;
|
|
29
|
+
declare const InputOTPGroup: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
30
|
+
declare const InputOTPSlot: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
31
|
+
index: number;
|
|
32
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
33
|
+
declare const InputOTPSeparator: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
34
|
+
export { InputOTP, InputOTPGroup, InputOTPSlot, InputOTPSeparator };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
declare
|
|
2
|
+
declare const Input: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
3
3
|
export { Input };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Label as LabelPrimitive } from 'radix-ui';
|
|
2
1
|
import * as React from "react";
|
|
3
|
-
declare
|
|
2
|
+
declare const Label: React.ForwardRefExoticComponent<any>;
|
|
4
3
|
export { Label };
|
|
@@ -1,17 +1,28 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ButtonProps } from './button';
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
declare
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
declare const Pagination: {
|
|
4
|
+
({ className, ...props }: React.ComponentProps<"nav">): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
declare const PaginationContent: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React.RefAttributes<HTMLUListElement>>;
|
|
8
|
+
declare const PaginationItem: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React.RefAttributes<HTMLLIElement>>;
|
|
6
9
|
type PaginationLinkProps = {
|
|
7
10
|
isActive?: boolean;
|
|
8
|
-
} & Pick<
|
|
9
|
-
declare
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
declare
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
11
|
+
} & Pick<ButtonProps, "size"> & React.ComponentProps<"a">;
|
|
12
|
+
declare const PaginationLink: {
|
|
13
|
+
({ className, isActive, size, ...props }: PaginationLinkProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
displayName: string;
|
|
15
|
+
};
|
|
16
|
+
declare const PaginationPrevious: {
|
|
17
|
+
({ className, ...props }: React.ComponentProps<typeof PaginationLink>): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
displayName: string;
|
|
19
|
+
};
|
|
20
|
+
declare const PaginationNext: {
|
|
21
|
+
({ className, ...props }: React.ComponentProps<typeof PaginationLink>): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
displayName: string;
|
|
23
|
+
};
|
|
24
|
+
declare const PaginationEllipsis: {
|
|
25
|
+
({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
displayName: string;
|
|
27
|
+
};
|
|
17
28
|
export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, };
|
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
import { Popover as PopoverPrimitive } from 'radix-ui';
|
|
2
1
|
import * as React from "react";
|
|
3
|
-
declare
|
|
4
|
-
declare
|
|
5
|
-
declare
|
|
6
|
-
|
|
7
|
-
declare function PopoverHeader({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
declare function PopoverTitle({ className, ...props }: React.ComponentProps<"h2">): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
declare function PopoverDescription({ className, ...props }: React.ComponentProps<"p">): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export { Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, };
|
|
2
|
+
declare const Popover: any;
|
|
3
|
+
declare const PopoverTrigger: any;
|
|
4
|
+
declare const PopoverContent: React.ForwardRefExoticComponent<any>;
|
|
5
|
+
export { Popover, PopoverTrigger, PopoverContent };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Progress as ProgressPrimitive } from 'radix-ui';
|
|
2
1
|
import * as React from "react";
|
|
3
|
-
declare
|
|
2
|
+
declare const Progress: React.ForwardRefExoticComponent<any>;
|
|
4
3
|
export { Progress };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { RadioGroup as RadioGroupPrimitive } from 'radix-ui';
|
|
2
1
|
import * as React from "react";
|
|
3
|
-
declare
|
|
4
|
-
declare
|
|
2
|
+
declare const RadioGroup: React.ForwardRefExoticComponent<any>;
|
|
3
|
+
declare const RadioGroupItem: React.ForwardRefExoticComponent<any>;
|
|
5
4
|
export { RadioGroup, RadioGroupItem };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { ScrollArea as ScrollAreaPrimitive } from 'radix-ui';
|
|
2
1
|
import * as React from "react";
|
|
3
|
-
declare
|
|
4
|
-
declare
|
|
2
|
+
declare const ScrollArea: React.ForwardRefExoticComponent<any>;
|
|
3
|
+
declare const ScrollBar: React.ForwardRefExoticComponent<any>;
|
|
5
4
|
export { ScrollArea, ScrollBar };
|
|
@@ -1,15 +1,12 @@
|
|
|
1
|
-
import { Select as SelectPrimitive } from 'radix-ui';
|
|
2
1
|
import * as React from "react";
|
|
3
|
-
declare
|
|
4
|
-
declare
|
|
5
|
-
declare
|
|
6
|
-
declare
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
declare
|
|
10
|
-
declare
|
|
11
|
-
declare
|
|
12
|
-
declare
|
|
13
|
-
|
|
14
|
-
declare function SelectScrollDownButton({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollDownButton>): import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, };
|
|
2
|
+
declare const Select: any;
|
|
3
|
+
declare const SelectGroup: any;
|
|
4
|
+
declare const SelectValue: any;
|
|
5
|
+
declare const SelectTrigger: React.ForwardRefExoticComponent<any>;
|
|
6
|
+
declare const SelectScrollUpButton: React.ForwardRefExoticComponent<any>;
|
|
7
|
+
declare const SelectScrollDownButton: React.ForwardRefExoticComponent<any>;
|
|
8
|
+
declare const SelectContent: React.ForwardRefExoticComponent<any>;
|
|
9
|
+
declare const SelectLabel: React.ForwardRefExoticComponent<React.RefAttributes<unknown>>;
|
|
10
|
+
declare const SelectItem: React.ForwardRefExoticComponent<any>;
|
|
11
|
+
declare const SelectSeparator: React.ForwardRefExoticComponent<React.RefAttributes<unknown>>;
|
|
12
|
+
export { Select, SelectGroup, SelectValue, SelectTrigger, SelectContent, SelectLabel, SelectItem, SelectSeparator, SelectScrollUpButton, SelectScrollDownButton, };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Separator as SeparatorPrimitive } from 'radix-ui';
|
|
2
1
|
import * as React from "react";
|
|
3
|
-
declare
|
|
2
|
+
declare const Separator: React.ForwardRefExoticComponent<any>;
|
|
4
3
|
export { Separator };
|
|
@@ -1,14 +1,25 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
|
|
4
|
-
declare
|
|
5
|
-
declare
|
|
6
|
-
declare
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
3
|
+
import * as SheetPrimitive from "radix-ui";
|
|
4
|
+
declare const Sheet: any;
|
|
5
|
+
declare const SheetTrigger: any;
|
|
6
|
+
declare const SheetClose: any;
|
|
7
|
+
declare const SheetPortal: typeof SheetPrimitive.Portal;
|
|
8
|
+
declare const SheetOverlay: React.ForwardRefExoticComponent<any>;
|
|
9
|
+
declare const sheetVariants: (props?: ({
|
|
10
|
+
side?: "left" | "right" | "top" | "bottom" | null | undefined;
|
|
11
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
12
|
+
interface SheetContentProps extends React.ComponentPropsWithoutRef<typeof SheetPrimitive.Content>, VariantProps<typeof sheetVariants> {
|
|
13
|
+
}
|
|
14
|
+
declare const SheetContent: React.ForwardRefExoticComponent<SheetContentProps & React.RefAttributes<any>>;
|
|
15
|
+
declare const SheetHeader: {
|
|
16
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
displayName: string;
|
|
18
|
+
};
|
|
19
|
+
declare const SheetFooter: {
|
|
20
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
displayName: string;
|
|
22
|
+
};
|
|
23
|
+
declare const SheetTitle: React.ForwardRefExoticComponent<any>;
|
|
24
|
+
declare const SheetDescription: React.ForwardRefExoticComponent<any>;
|
|
25
|
+
export { Sheet, SheetPortal, SheetOverlay, SheetTrigger, SheetClose, SheetContent, SheetHeader, SheetFooter, SheetTitle, SheetDescription, };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare function Skeleton({ className, ...props }: React.
|
|
1
|
+
declare function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
2
2
|
export { Skeleton };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Slider as SliderPrimitive } from 'radix-ui';
|
|
2
1
|
import * as React from "react";
|
|
3
|
-
declare
|
|
2
|
+
declare const Slider: React.ForwardRefExoticComponent<any>;
|
|
4
3
|
export { Slider };
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { Switch as SwitchPrimitive } from 'radix-ui';
|
|
2
1
|
import * as React from "react";
|
|
3
|
-
declare
|
|
4
|
-
size?: "sm" | "default";
|
|
5
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const Switch: React.ForwardRefExoticComponent<any>;
|
|
6
3
|
export { Switch };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
declare
|
|
3
|
-
declare
|
|
4
|
-
declare
|
|
5
|
-
declare
|
|
6
|
-
declare
|
|
7
|
-
declare
|
|
8
|
-
declare
|
|
9
|
-
declare
|
|
2
|
+
declare const Table: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableElement> & React.RefAttributes<HTMLTableElement>>;
|
|
3
|
+
declare const TableHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
4
|
+
declare const TableBody: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
5
|
+
declare const TableFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
6
|
+
declare const TableRow: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableRowElement> & React.RefAttributes<HTMLTableRowElement>>;
|
|
7
|
+
declare const TableHead: React.ForwardRefExoticComponent<React.ThHTMLAttributes<HTMLTableCellElement> & React.RefAttributes<HTMLTableCellElement>>;
|
|
8
|
+
declare const TableCell: React.ForwardRefExoticComponent<React.TdHTMLAttributes<HTMLTableCellElement> & React.RefAttributes<HTMLTableCellElement>>;
|
|
9
|
+
declare const TableCaption: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableCaptionElement> & React.RefAttributes<HTMLTableCaptionElement>>;
|
|
10
10
|
export { Table, TableHeader, TableBody, TableFooter, TableHead, TableRow, TableCell, TableCaption, };
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import { Tabs as TabsPrimitive } from 'radix-ui';
|
|
3
1
|
import * as React from "react";
|
|
4
|
-
declare
|
|
5
|
-
declare const
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
declare function TabsTrigger({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
declare function TabsContent({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export { Tabs, TabsList, TabsTrigger, TabsContent, tabsListVariants };
|
|
2
|
+
declare const Tabs: any;
|
|
3
|
+
declare const TabsList: React.ForwardRefExoticComponent<any>;
|
|
4
|
+
declare const TabsTrigger: React.ForwardRefExoticComponent<any>;
|
|
5
|
+
declare const TabsContent: React.ForwardRefExoticComponent<any>;
|
|
6
|
+
export { Tabs, TabsList, TabsTrigger, TabsContent };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
declare
|
|
2
|
+
declare const Textarea: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & React.RefAttributes<HTMLTextAreaElement>>;
|
|
3
3
|
export { Textarea };
|
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import { ToggleGroup as ToggleGroupPrimitive } from 'radix-ui';
|
|
3
|
-
import { toggleVariants } from './toggle';
|
|
4
1
|
import * as React from "react";
|
|
5
|
-
declare
|
|
6
|
-
|
|
7
|
-
orientation?: "horizontal" | "vertical";
|
|
8
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
declare function ToggleGroupItem({ className, children, variant, size, ...props }: React.ComponentProps<typeof ToggleGroupPrimitive.Item> & VariantProps<typeof toggleVariants>): import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const ToggleGroup: React.ForwardRefExoticComponent<any>;
|
|
3
|
+
declare const ToggleGroupItem: React.ForwardRefExoticComponent<any>;
|
|
10
4
|
export { ToggleGroup, ToggleGroupItem };
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import { Toggle as TogglePrimitive } from 'radix-ui';
|
|
3
1
|
import * as React from "react";
|
|
4
2
|
declare const toggleVariants: (props?: ({
|
|
5
3
|
variant?: "default" | "outline" | null | undefined;
|
|
6
4
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
7
5
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
8
|
-
declare
|
|
6
|
+
declare const Toggle: React.ForwardRefExoticComponent<any>;
|
|
9
7
|
export { Toggle, toggleVariants };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { Tooltip as TooltipPrimitive } from 'radix-ui';
|
|
2
1
|
import * as React from "react";
|
|
3
|
-
declare
|
|
4
|
-
declare
|
|
5
|
-
declare
|
|
6
|
-
declare
|
|
7
|
-
export { Tooltip, TooltipContent, TooltipProvider
|
|
2
|
+
declare const TooltipProvider: any;
|
|
3
|
+
declare const Tooltip: any;
|
|
4
|
+
declare const TooltipTrigger: any;
|
|
5
|
+
declare const TooltipContent: React.ForwardRefExoticComponent<any>;
|
|
6
|
+
export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider };
|