@privateers/ui 0.1.0 → 0.2.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/index.cjs +2919 -365
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +309 -10
- package/dist/index.d.ts +309 -10
- package/dist/index.js +2746 -363
- package/dist/index.js.map +1 -1
- package/dist/tailwind/preset.cjs +44 -0
- package/dist/tailwind/preset.cjs.map +1 -1
- package/dist/tailwind/preset.js +44 -0
- package/dist/tailwind/preset.js.map +1 -1
- package/package.json +5 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,38 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
2
|
import * as React$1 from 'react';
|
|
3
|
+
import { Accordion as Accordion$1, AspectRatio as AspectRatio$1, Avatar as Avatar$1, Checkbox as Checkbox$1, Collapsible as Collapsible$1, Label as Label$1, NavigationMenu as NavigationMenu$1, Progress as Progress$1, RadioGroup as RadioGroup$1, ScrollArea as ScrollArea$1, Separator as Separator$1, Slider as Slider$1, Switch as Switch$1, Tabs as Tabs$1, Select as Select$1, AlertDialog as AlertDialog$1, Dialog as Dialog$1, ContextMenu as ContextMenu$1, DropdownMenu as DropdownMenu$1, HoverCard as HoverCard$1, Popover as Popover$1, Tooltip as Tooltip$1 } from 'radix-ui';
|
|
4
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
4
5
|
import { VariantProps } from 'class-variance-authority';
|
|
5
|
-
import {
|
|
6
|
+
import { DayPicker } from 'react-day-picker';
|
|
7
|
+
import { Loader2 } from 'lucide-react';
|
|
8
|
+
import { Command as Command$1 } from 'cmdk';
|
|
6
9
|
import { ClassValue } from 'clsx';
|
|
7
10
|
|
|
11
|
+
declare const Accordion: React$1.ForwardRefExoticComponent<(Accordion$1.AccordionSingleProps | Accordion$1.AccordionMultipleProps) & React$1.RefAttributes<HTMLDivElement>>;
|
|
12
|
+
declare function AccordionItem({ className, ...props }: React$1.ComponentProps<typeof Accordion$1.Item>): react_jsx_runtime.JSX.Element;
|
|
13
|
+
declare function AccordionTrigger({ className, children, ...props }: React$1.ComponentProps<typeof Accordion$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
14
|
+
declare function AccordionContent({ className, children, ...props }: React$1.ComponentProps<typeof Accordion$1.Content>): react_jsx_runtime.JSX.Element;
|
|
15
|
+
|
|
16
|
+
declare const AspectRatio: React$1.ForwardRefExoticComponent<AspectRatio$1.AspectRatioProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
17
|
+
|
|
18
|
+
declare function Avatar({ className, ...props }: React$1.ComponentProps<typeof Avatar$1.Root>): react_jsx_runtime.JSX.Element;
|
|
19
|
+
declare function AvatarImage({ className, ...props }: React$1.ComponentProps<typeof Avatar$1.Image>): react_jsx_runtime.JSX.Element;
|
|
20
|
+
declare function AvatarFallback({ className, ...props }: React$1.ComponentProps<typeof Avatar$1.Fallback>): react_jsx_runtime.JSX.Element;
|
|
21
|
+
|
|
22
|
+
declare function Breadcrumb({ ...props }: React$1.ComponentProps<"nav"> & {
|
|
23
|
+
separator?: React$1.ReactNode;
|
|
24
|
+
}): react_jsx_runtime.JSX.Element;
|
|
25
|
+
declare function BreadcrumbList({ className, ...props }: React$1.ComponentProps<"ol">): react_jsx_runtime.JSX.Element;
|
|
26
|
+
declare function BreadcrumbItem({ className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
27
|
+
declare function BreadcrumbLink({ asChild, className, ...props }: React$1.ComponentProps<"a"> & {
|
|
28
|
+
asChild?: boolean;
|
|
29
|
+
}): react_jsx_runtime.JSX.Element;
|
|
30
|
+
declare function BreadcrumbPage({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
31
|
+
declare function BreadcrumbSeparator({ children, className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
32
|
+
declare function BreadcrumbEllipsis({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
33
|
+
|
|
8
34
|
declare const buttonVariants: (props?: ({
|
|
9
|
-
variant?: "default" | "outline" | "secondary" | "ghost" | "destructive" |
|
|
35
|
+
variant?: "link" | "default" | "outline" | "secondary" | "ghost" | "destructive" | null | undefined;
|
|
10
36
|
size?: "default" | "xs" | "sm" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
|
|
11
37
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
12
38
|
declare function Button({ className, variant, size, asChild, ...props }: React$1.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
|
|
@@ -14,7 +40,7 @@ declare function Button({ className, variant, size, asChild, ...props }: React$1
|
|
|
14
40
|
}): react_jsx_runtime.JSX.Element;
|
|
15
41
|
|
|
16
42
|
declare const badgeVariants: (props?: ({
|
|
17
|
-
variant?: "default" | "outline" | "secondary" | "ghost" | "destructive" |
|
|
43
|
+
variant?: "link" | "default" | "outline" | "secondary" | "ghost" | "destructive" | null | undefined;
|
|
18
44
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
19
45
|
declare function Badge({ className, variant, asChild, ...props }: React$1.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
|
|
20
46
|
asChild?: boolean;
|
|
@@ -30,14 +56,182 @@ declare function CardAction({ className, ...props }: React$1.ComponentProps<"div
|
|
|
30
56
|
declare function CardContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
31
57
|
declare function CardFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
32
58
|
|
|
33
|
-
|
|
59
|
+
type CalendarProps = React$1.ComponentProps<typeof DayPicker>;
|
|
60
|
+
declare function Calendar({ className, classNames, showOutsideDays, ...props }: CalendarProps): react_jsx_runtime.JSX.Element;
|
|
61
|
+
declare namespace Calendar {
|
|
62
|
+
var displayName: string;
|
|
63
|
+
}
|
|
34
64
|
|
|
35
|
-
declare function
|
|
65
|
+
declare function Checkbox({ className, ...props }: React$1.ComponentProps<typeof Checkbox$1.Root>): react_jsx_runtime.JSX.Element;
|
|
66
|
+
|
|
67
|
+
declare const Collapsible: React$1.ForwardRefExoticComponent<Collapsible$1.CollapsibleProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
68
|
+
declare const CollapsibleTrigger: React$1.ForwardRefExoticComponent<Collapsible$1.CollapsibleTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
69
|
+
declare const CollapsibleContent: React$1.ForwardRefExoticComponent<Collapsible$1.CollapsibleContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
70
|
+
|
|
71
|
+
declare const containerVariants: (props?: ({
|
|
72
|
+
size?: "sm" | "lg" | "md" | "xl" | "2xl" | "full" | "prose" | null | undefined;
|
|
73
|
+
center?: boolean | null | undefined;
|
|
74
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
75
|
+
declare function Container({ className, size, center, asChild, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof containerVariants> & {
|
|
76
|
+
asChild?: boolean;
|
|
77
|
+
}): react_jsx_runtime.JSX.Element;
|
|
78
|
+
|
|
79
|
+
interface DatePickerProps {
|
|
80
|
+
date?: Date;
|
|
81
|
+
onDateChange?: (date: Date | undefined) => void;
|
|
82
|
+
placeholder?: string;
|
|
83
|
+
className?: string;
|
|
84
|
+
disabled?: boolean;
|
|
85
|
+
}
|
|
86
|
+
declare function DatePicker({ date, onDateChange, placeholder, className, disabled, }: DatePickerProps): react_jsx_runtime.JSX.Element;
|
|
87
|
+
interface DateRangePickerProps {
|
|
88
|
+
from?: Date;
|
|
89
|
+
to?: Date;
|
|
90
|
+
onRangeChange?: (range: {
|
|
91
|
+
from: Date | undefined;
|
|
92
|
+
to: Date | undefined;
|
|
93
|
+
}) => void;
|
|
94
|
+
placeholder?: string;
|
|
95
|
+
className?: string;
|
|
96
|
+
disabled?: boolean;
|
|
97
|
+
}
|
|
98
|
+
declare function DateRangePicker({ from, to, onRangeChange, placeholder, className, disabled, }: DateRangePickerProps): react_jsx_runtime.JSX.Element;
|
|
99
|
+
|
|
100
|
+
declare const gridVariants: (props?: ({
|
|
101
|
+
cols?: 1 | "none" | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | null | undefined;
|
|
102
|
+
rows?: 1 | "none" | 2 | 3 | 4 | 5 | 6 | null | undefined;
|
|
103
|
+
gap?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 8 | 10 | 12 | null | undefined;
|
|
104
|
+
align?: "center" | "end" | "start" | "stretch" | "baseline" | null | undefined;
|
|
105
|
+
justify?: "center" | "end" | "start" | "stretch" | null | undefined;
|
|
106
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
107
|
+
declare function Grid({ className, cols, rows, gap, align, justify, asChild, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof gridVariants> & {
|
|
108
|
+
asChild?: boolean;
|
|
109
|
+
}): react_jsx_runtime.JSX.Element;
|
|
110
|
+
declare const gridItemVariants: (props?: ({
|
|
111
|
+
colSpan?: 1 | 2 | "full" | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | null | undefined;
|
|
112
|
+
rowSpan?: 1 | 2 | "full" | 3 | 4 | 5 | 6 | null | undefined;
|
|
113
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
114
|
+
declare function GridItem({ className, colSpan, rowSpan, asChild, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof gridItemVariants> & {
|
|
115
|
+
asChild?: boolean;
|
|
116
|
+
}): react_jsx_runtime.JSX.Element;
|
|
117
|
+
|
|
118
|
+
declare function Input({ className, type, ...props }: React$1.ComponentProps<"input">): react_jsx_runtime.JSX.Element;
|
|
36
119
|
|
|
37
120
|
declare function Label({ className, ...props }: React$1.ComponentProps<typeof Label$1.Root>): react_jsx_runtime.JSX.Element;
|
|
38
121
|
|
|
122
|
+
declare function NavigationMenu({ className, children, ...props }: React$1.ComponentProps<typeof NavigationMenu$1.Root>): react_jsx_runtime.JSX.Element;
|
|
123
|
+
declare function NavigationMenuList({ className, ...props }: React$1.ComponentProps<typeof NavigationMenu$1.List>): react_jsx_runtime.JSX.Element;
|
|
124
|
+
declare const NavigationMenuItem: React$1.ForwardRefExoticComponent<NavigationMenu$1.NavigationMenuItemProps & React$1.RefAttributes<HTMLLIElement>>;
|
|
125
|
+
declare const navigationMenuTriggerStyle: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
126
|
+
declare function NavigationMenuTrigger({ className, children, ...props }: React$1.ComponentProps<typeof NavigationMenu$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
127
|
+
declare function NavigationMenuContent({ className, ...props }: React$1.ComponentProps<typeof NavigationMenu$1.Content>): react_jsx_runtime.JSX.Element;
|
|
128
|
+
declare const NavigationMenuLink: React$1.ForwardRefExoticComponent<NavigationMenu$1.NavigationMenuLinkProps & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
129
|
+
declare function NavigationMenuViewport({ className, ...props }: React$1.ComponentProps<typeof NavigationMenu$1.Viewport>): react_jsx_runtime.JSX.Element;
|
|
130
|
+
declare function NavigationMenuIndicator({ className, ...props }: React$1.ComponentProps<typeof NavigationMenu$1.Indicator>): react_jsx_runtime.JSX.Element;
|
|
131
|
+
|
|
132
|
+
declare function Pagination({ className, ...props }: React$1.ComponentProps<"nav">): react_jsx_runtime.JSX.Element;
|
|
133
|
+
declare function PaginationContent({ className, ...props }: React$1.ComponentProps<"ul">): react_jsx_runtime.JSX.Element;
|
|
134
|
+
declare function PaginationItem({ ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
135
|
+
type PaginationLinkProps = {
|
|
136
|
+
isActive?: boolean;
|
|
137
|
+
} & Pick<React$1.ComponentProps<"a">, "href"> & React$1.ComponentProps<"button">;
|
|
138
|
+
declare function PaginationLink({ className, isActive, ...props }: PaginationLinkProps): react_jsx_runtime.JSX.Element;
|
|
139
|
+
declare function PaginationPrevious({ className, ...props }: React$1.ComponentProps<typeof PaginationLink>): react_jsx_runtime.JSX.Element;
|
|
140
|
+
declare function PaginationNext({ className, ...props }: React$1.ComponentProps<typeof PaginationLink>): react_jsx_runtime.JSX.Element;
|
|
141
|
+
declare function PaginationEllipsis({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
142
|
+
|
|
143
|
+
declare function Progress({ className, value, ...props }: React$1.ComponentProps<typeof Progress$1.Root>): react_jsx_runtime.JSX.Element;
|
|
144
|
+
|
|
145
|
+
declare function RadioGroup({ className, ...props }: React$1.ComponentProps<typeof RadioGroup$1.Root>): react_jsx_runtime.JSX.Element;
|
|
146
|
+
declare function RadioGroupItem({ className, ...props }: React$1.ComponentProps<typeof RadioGroup$1.Item>): react_jsx_runtime.JSX.Element;
|
|
147
|
+
|
|
148
|
+
declare function ScrollArea({ className, children, ...props }: React$1.ComponentProps<typeof ScrollArea$1.Root>): react_jsx_runtime.JSX.Element;
|
|
149
|
+
declare function ScrollBar({ className, orientation, ...props }: React$1.ComponentProps<typeof ScrollArea$1.Scrollbar>): react_jsx_runtime.JSX.Element;
|
|
150
|
+
|
|
39
151
|
declare function Separator({ className, orientation, decorative, ...props }: React$1.ComponentProps<typeof Separator$1.Root>): react_jsx_runtime.JSX.Element;
|
|
40
152
|
|
|
153
|
+
type SidebarContext = {
|
|
154
|
+
state: "expanded" | "collapsed";
|
|
155
|
+
open: boolean;
|
|
156
|
+
setOpen: (open: boolean) => void;
|
|
157
|
+
openMobile: boolean;
|
|
158
|
+
setOpenMobile: (open: boolean) => void;
|
|
159
|
+
isMobile: boolean;
|
|
160
|
+
toggleSidebar: () => void;
|
|
161
|
+
};
|
|
162
|
+
declare const SidebarContext: React$1.Context<SidebarContext | null>;
|
|
163
|
+
declare function useSidebar(): SidebarContext;
|
|
164
|
+
declare function SidebarProvider({ defaultOpen, open: openProp, onOpenChange: setOpenProp, className, style, children, ...props }: React$1.ComponentProps<"div"> & {
|
|
165
|
+
defaultOpen?: boolean;
|
|
166
|
+
open?: boolean;
|
|
167
|
+
onOpenChange?: (open: boolean) => void;
|
|
168
|
+
}): react_jsx_runtime.JSX.Element;
|
|
169
|
+
declare function Sidebar({ side, variant, collapsible, className, children, ...props }: React$1.ComponentProps<"div"> & {
|
|
170
|
+
side?: "left" | "right";
|
|
171
|
+
variant?: "sidebar" | "floating" | "inset";
|
|
172
|
+
collapsible?: "offcanvas" | "icon" | "none";
|
|
173
|
+
}): react_jsx_runtime.JSX.Element;
|
|
174
|
+
declare function SidebarTrigger({ className, onClick, ...props }: React$1.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
|
|
175
|
+
declare function SidebarHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
176
|
+
declare function SidebarFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
177
|
+
declare function SidebarContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
178
|
+
declare function SidebarGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
179
|
+
declare function SidebarGroupLabel({ className, asChild, ...props }: React$1.ComponentProps<"div"> & {
|
|
180
|
+
asChild?: boolean;
|
|
181
|
+
}): react_jsx_runtime.JSX.Element;
|
|
182
|
+
declare function SidebarGroupContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
183
|
+
declare function SidebarMenu({ className, ...props }: React$1.ComponentProps<"ul">): react_jsx_runtime.JSX.Element;
|
|
184
|
+
declare function SidebarMenuItem({ className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
185
|
+
declare const sidebarMenuButtonVariants: (props?: ({
|
|
186
|
+
variant?: "default" | "outline" | null | undefined;
|
|
187
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
188
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
189
|
+
declare function SidebarMenuButton({ asChild, isActive, variant, size, tooltip, className, ...props }: React$1.ComponentProps<"button"> & {
|
|
190
|
+
asChild?: boolean;
|
|
191
|
+
isActive?: boolean;
|
|
192
|
+
tooltip?: string | React$1.ComponentProps<"div">;
|
|
193
|
+
} & VariantProps<typeof sidebarMenuButtonVariants>): react_jsx_runtime.JSX.Element;
|
|
194
|
+
|
|
195
|
+
declare function Slider({ className, defaultValue, value, min, max, ...props }: React$1.ComponentProps<typeof Slider$1.Root>): react_jsx_runtime.JSX.Element;
|
|
196
|
+
|
|
197
|
+
declare function Skeleton({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
198
|
+
|
|
199
|
+
declare const stackVariants: (props?: ({
|
|
200
|
+
direction?: "row" | "column" | "column-reverse" | "row-reverse" | null | undefined;
|
|
201
|
+
align?: "center" | "end" | "start" | "stretch" | "baseline" | null | undefined;
|
|
202
|
+
justify?: "center" | "end" | "start" | "between" | "around" | "evenly" | null | undefined;
|
|
203
|
+
wrap?: "nowrap" | "wrap" | "wrap-reverse" | null | undefined;
|
|
204
|
+
gap?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 8 | 10 | 12 | null | undefined;
|
|
205
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
206
|
+
declare function Stack({ className, direction, align, justify, wrap, gap, asChild, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof stackVariants> & {
|
|
207
|
+
asChild?: boolean;
|
|
208
|
+
}): react_jsx_runtime.JSX.Element;
|
|
209
|
+
declare function VStack(props: React$1.ComponentProps<typeof Stack>): react_jsx_runtime.JSX.Element;
|
|
210
|
+
declare function HStack(props: React$1.ComponentProps<typeof Stack>): react_jsx_runtime.JSX.Element;
|
|
211
|
+
|
|
212
|
+
declare const spinnerVariants: (props?: ({
|
|
213
|
+
size?: "default" | "xs" | "sm" | "lg" | "xl" | null | undefined;
|
|
214
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
215
|
+
declare function Spinner({ className, size, ...props }: React$1.ComponentProps<typeof Loader2> & VariantProps<typeof spinnerVariants>): react_jsx_runtime.JSX.Element;
|
|
216
|
+
|
|
217
|
+
declare function Switch({ className, ...props }: React$1.ComponentProps<typeof Switch$1.Root>): react_jsx_runtime.JSX.Element;
|
|
218
|
+
|
|
219
|
+
declare function Table({ className, ...props }: React$1.ComponentProps<"table">): react_jsx_runtime.JSX.Element;
|
|
220
|
+
declare function TableHeader({ className, ...props }: React$1.ComponentProps<"thead">): react_jsx_runtime.JSX.Element;
|
|
221
|
+
declare function TableBody({ className, ...props }: React$1.ComponentProps<"tbody">): react_jsx_runtime.JSX.Element;
|
|
222
|
+
declare function TableFooter({ className, ...props }: React$1.ComponentProps<"tfoot">): react_jsx_runtime.JSX.Element;
|
|
223
|
+
declare function TableRow({ className, ...props }: React$1.ComponentProps<"tr">): react_jsx_runtime.JSX.Element;
|
|
224
|
+
declare function TableHead({ className, ...props }: React$1.ComponentProps<"th">): react_jsx_runtime.JSX.Element;
|
|
225
|
+
declare function TableCell({ className, ...props }: React$1.ComponentProps<"td">): react_jsx_runtime.JSX.Element;
|
|
226
|
+
declare function TableCaption({ className, ...props }: React$1.ComponentProps<"caption">): react_jsx_runtime.JSX.Element;
|
|
227
|
+
|
|
228
|
+
declare function Tabs({ className, ...props }: React$1.ComponentProps<typeof Tabs$1.Root>): react_jsx_runtime.JSX.Element;
|
|
229
|
+
declare function TabsList({ className, ...props }: React$1.ComponentProps<typeof Tabs$1.List>): react_jsx_runtime.JSX.Element;
|
|
230
|
+
declare function TabsTrigger({ className, ...props }: React$1.ComponentProps<typeof Tabs$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
231
|
+
declare function TabsContent({ className, ...props }: React$1.ComponentProps<typeof Tabs$1.Content>): react_jsx_runtime.JSX.Element;
|
|
232
|
+
|
|
233
|
+
declare function Textarea({ className, ...props }: React$1.ComponentProps<"textarea">): react_jsx_runtime.JSX.Element;
|
|
234
|
+
|
|
41
235
|
declare function Select({ ...props }: React$1.ComponentProps<typeof Select$1.Root>): react_jsx_runtime.JSX.Element;
|
|
42
236
|
declare function SelectGroup({ className, ...props }: React$1.ComponentProps<typeof Select$1.Group>): react_jsx_runtime.JSX.Element;
|
|
43
237
|
declare function SelectValue({ ...props }: React$1.ComponentProps<typeof Select$1.Value>): react_jsx_runtime.JSX.Element;
|
|
@@ -53,7 +247,7 @@ declare function SelectScrollDownButton({ className, ...props }: React$1.Compone
|
|
|
53
247
|
|
|
54
248
|
declare function InputGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
55
249
|
declare const inputGroupAddonVariants: (props?: ({
|
|
56
|
-
align?: "inline-
|
|
250
|
+
align?: "inline-end" | "inline-start" | "block-end" | "block-start" | null | undefined;
|
|
57
251
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
58
252
|
declare function InputGroupAddon({ className, align, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>): react_jsx_runtime.JSX.Element;
|
|
59
253
|
declare const inputGroupButtonVariants: (props?: ({
|
|
@@ -86,6 +280,13 @@ declare function FieldError({ className, children, errors, ...props }: React.Com
|
|
|
86
280
|
} | undefined>;
|
|
87
281
|
}): react_jsx_runtime.JSX.Element | null;
|
|
88
282
|
|
|
283
|
+
declare const alertVariants: (props?: ({
|
|
284
|
+
variant?: "default" | "destructive" | "success" | "warning" | "info" | null | undefined;
|
|
285
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
286
|
+
declare function Alert({ className, variant, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof alertVariants>): react_jsx_runtime.JSX.Element;
|
|
287
|
+
declare function AlertTitle({ className, ...props }: React$1.ComponentProps<"h5">): react_jsx_runtime.JSX.Element;
|
|
288
|
+
declare function AlertDescription({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
289
|
+
|
|
89
290
|
declare function AlertDialog({ ...props }: React$1.ComponentProps<typeof AlertDialog$1.Root>): react_jsx_runtime.JSX.Element;
|
|
90
291
|
declare function AlertDialogTrigger({ ...props }: React$1.ComponentProps<typeof AlertDialog$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
91
292
|
declare function AlertDialogPortal({ ...props }: React$1.ComponentProps<typeof AlertDialog$1.Portal>): react_jsx_runtime.JSX.Element;
|
|
@@ -98,8 +299,51 @@ declare function AlertDialogFooter({ className, ...props }: React$1.ComponentPro
|
|
|
98
299
|
declare function AlertDialogMedia({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
99
300
|
declare function AlertDialogTitle({ className, ...props }: React$1.ComponentProps<typeof AlertDialog$1.Title>): react_jsx_runtime.JSX.Element;
|
|
100
301
|
declare function AlertDialogDescription({ className, ...props }: React$1.ComponentProps<typeof AlertDialog$1.Description>): react_jsx_runtime.JSX.Element;
|
|
101
|
-
declare function AlertDialogAction({ className, variant, size, ...props }: React$1.ComponentProps<typeof AlertDialog$1.Action> & Pick<React$1.ComponentProps<typeof Button>, "variant" | "size"
|
|
102
|
-
declare function AlertDialogCancel({ className, variant, size, ...props }: React$1.ComponentProps<typeof AlertDialog$1.Cancel> & Pick<React$1.ComponentProps<typeof Button>, "variant" | "size"
|
|
302
|
+
declare function AlertDialogAction({ className, variant, size, ...props }: React$1.ComponentProps<typeof AlertDialog$1.Action> & Partial<Pick<React$1.ComponentProps<typeof Button>, "variant" | "size">>): react_jsx_runtime.JSX.Element;
|
|
303
|
+
declare function AlertDialogCancel({ className, variant, size, ...props }: React$1.ComponentProps<typeof AlertDialog$1.Cancel> & Partial<Pick<React$1.ComponentProps<typeof Button>, "variant" | "size">>): react_jsx_runtime.JSX.Element;
|
|
304
|
+
|
|
305
|
+
declare function Dialog({ ...props }: React$1.ComponentProps<typeof Dialog$1.Root>): react_jsx_runtime.JSX.Element;
|
|
306
|
+
declare function DialogTrigger({ ...props }: React$1.ComponentProps<typeof Dialog$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
307
|
+
declare function DialogPortal({ ...props }: React$1.ComponentProps<typeof Dialog$1.Portal>): react_jsx_runtime.JSX.Element;
|
|
308
|
+
declare function DialogClose({ ...props }: React$1.ComponentProps<typeof Dialog$1.Close>): react_jsx_runtime.JSX.Element;
|
|
309
|
+
declare function DialogOverlay({ className, ...props }: React$1.ComponentProps<typeof Dialog$1.Overlay>): react_jsx_runtime.JSX.Element;
|
|
310
|
+
declare function DialogContent({ className, children, ...props }: React$1.ComponentProps<typeof Dialog$1.Content>): react_jsx_runtime.JSX.Element;
|
|
311
|
+
declare function DialogHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
312
|
+
declare function DialogFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
313
|
+
declare function DialogTitle({ className, ...props }: React$1.ComponentProps<typeof Dialog$1.Title>): react_jsx_runtime.JSX.Element;
|
|
314
|
+
declare function DialogDescription({ className, ...props }: React$1.ComponentProps<typeof Dialog$1.Description>): react_jsx_runtime.JSX.Element;
|
|
315
|
+
|
|
316
|
+
declare function Command({ className, ...props }: React$1.ComponentProps<typeof Command$1>): react_jsx_runtime.JSX.Element;
|
|
317
|
+
declare function CommandDialog({ children, ...props }: React$1.ComponentProps<typeof Dialog>): react_jsx_runtime.JSX.Element;
|
|
318
|
+
declare function CommandInput({ className, ...props }: React$1.ComponentProps<typeof Command$1.Input>): react_jsx_runtime.JSX.Element;
|
|
319
|
+
declare function CommandList({ className, ...props }: React$1.ComponentProps<typeof Command$1.List>): react_jsx_runtime.JSX.Element;
|
|
320
|
+
declare function CommandEmpty({ ...props }: React$1.ComponentProps<typeof Command$1.Empty>): react_jsx_runtime.JSX.Element;
|
|
321
|
+
declare function CommandGroup({ className, ...props }: React$1.ComponentProps<typeof Command$1.Group>): react_jsx_runtime.JSX.Element;
|
|
322
|
+
declare function CommandSeparator({ className, ...props }: React$1.ComponentProps<typeof Command$1.Separator>): react_jsx_runtime.JSX.Element;
|
|
323
|
+
declare function CommandItem({ className, ...props }: React$1.ComponentProps<typeof Command$1.Item>): react_jsx_runtime.JSX.Element;
|
|
324
|
+
declare function CommandShortcut({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
325
|
+
|
|
326
|
+
declare const ContextMenu: React$1.FC<ContextMenu$1.ContextMenuProps>;
|
|
327
|
+
declare const ContextMenuTrigger: React$1.ForwardRefExoticComponent<ContextMenu$1.ContextMenuTriggerProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
328
|
+
declare const ContextMenuGroup: React$1.ForwardRefExoticComponent<ContextMenu$1.ContextMenuGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
329
|
+
declare const ContextMenuPortal: React$1.FC<ContextMenu$1.ContextMenuPortalProps>;
|
|
330
|
+
declare const ContextMenuSub: React$1.FC<ContextMenu$1.ContextMenuSubProps>;
|
|
331
|
+
declare const ContextMenuRadioGroup: React$1.ForwardRefExoticComponent<ContextMenu$1.ContextMenuRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
332
|
+
declare function ContextMenuSubTrigger({ className, inset, children, ...props }: React$1.ComponentProps<typeof ContextMenu$1.SubTrigger> & {
|
|
333
|
+
inset?: boolean;
|
|
334
|
+
}): react_jsx_runtime.JSX.Element;
|
|
335
|
+
declare function ContextMenuSubContent({ className, ...props }: React$1.ComponentProps<typeof ContextMenu$1.SubContent>): react_jsx_runtime.JSX.Element;
|
|
336
|
+
declare function ContextMenuContent({ className, ...props }: React$1.ComponentProps<typeof ContextMenu$1.Content>): react_jsx_runtime.JSX.Element;
|
|
337
|
+
declare function ContextMenuItem({ className, inset, ...props }: React$1.ComponentProps<typeof ContextMenu$1.Item> & {
|
|
338
|
+
inset?: boolean;
|
|
339
|
+
}): react_jsx_runtime.JSX.Element;
|
|
340
|
+
declare function ContextMenuCheckboxItem({ className, children, checked, ...props }: React$1.ComponentProps<typeof ContextMenu$1.CheckboxItem>): react_jsx_runtime.JSX.Element;
|
|
341
|
+
declare function ContextMenuRadioItem({ className, children, ...props }: React$1.ComponentProps<typeof ContextMenu$1.RadioItem>): react_jsx_runtime.JSX.Element;
|
|
342
|
+
declare function ContextMenuLabel({ className, inset, ...props }: React$1.ComponentProps<typeof ContextMenu$1.Label> & {
|
|
343
|
+
inset?: boolean;
|
|
344
|
+
}): react_jsx_runtime.JSX.Element;
|
|
345
|
+
declare function ContextMenuSeparator({ className, ...props }: React$1.ComponentProps<typeof ContextMenu$1.Separator>): react_jsx_runtime.JSX.Element;
|
|
346
|
+
declare function ContextMenuShortcut({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
103
347
|
|
|
104
348
|
declare function DropdownMenu({ ...props }: React$1.ComponentProps<typeof DropdownMenu$1.Root>): react_jsx_runtime.JSX.Element;
|
|
105
349
|
declare function DropdownMenuPortal({ ...props }: React$1.ComponentProps<typeof DropdownMenu$1.Portal>): react_jsx_runtime.JSX.Element;
|
|
@@ -124,6 +368,61 @@ declare function DropdownMenuSubTrigger({ className, inset, children, ...props }
|
|
|
124
368
|
}): react_jsx_runtime.JSX.Element;
|
|
125
369
|
declare function DropdownMenuSubContent({ className, ...props }: React$1.ComponentProps<typeof DropdownMenu$1.SubContent>): react_jsx_runtime.JSX.Element;
|
|
126
370
|
|
|
371
|
+
declare const HoverCard: React$1.FC<HoverCard$1.HoverCardProps>;
|
|
372
|
+
declare const HoverCardTrigger: React$1.ForwardRefExoticComponent<HoverCard$1.HoverCardTriggerProps & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
373
|
+
declare function HoverCardContent({ className, align, sideOffset, ...props }: React$1.ComponentProps<typeof HoverCard$1.Content>): react_jsx_runtime.JSX.Element;
|
|
374
|
+
|
|
375
|
+
declare const Popover: React$1.FC<Popover$1.PopoverProps>;
|
|
376
|
+
declare const PopoverTrigger: React$1.ForwardRefExoticComponent<Popover$1.PopoverTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
377
|
+
declare const PopoverAnchor: React$1.ForwardRefExoticComponent<Popover$1.PopoverAnchorProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
378
|
+
declare const PopoverClose: React$1.ForwardRefExoticComponent<Popover$1.PopoverCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
379
|
+
declare function PopoverContent({ className, align, sideOffset, ...props }: React$1.ComponentProps<typeof Popover$1.Content>): react_jsx_runtime.JSX.Element;
|
|
380
|
+
|
|
381
|
+
declare const Sheet: React$1.FC<Dialog$1.DialogProps>;
|
|
382
|
+
declare const SheetTrigger: React$1.ForwardRefExoticComponent<Dialog$1.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
383
|
+
declare const SheetClose: React$1.ForwardRefExoticComponent<Dialog$1.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
384
|
+
declare const SheetPortal: React$1.FC<Dialog$1.DialogPortalProps>;
|
|
385
|
+
declare function SheetOverlay({ className, ...props }: React$1.ComponentProps<typeof Dialog$1.Overlay>): react_jsx_runtime.JSX.Element;
|
|
386
|
+
declare const sheetVariants: (props?: ({
|
|
387
|
+
side?: "left" | "right" | "top" | "bottom" | null | undefined;
|
|
388
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
389
|
+
declare function SheetContent({ side, className, children, ...props }: React$1.ComponentProps<typeof Dialog$1.Content> & VariantProps<typeof sheetVariants>): react_jsx_runtime.JSX.Element;
|
|
390
|
+
declare function SheetHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
391
|
+
declare function SheetFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
392
|
+
declare function SheetTitle({ className, ...props }: React$1.ComponentProps<typeof Dialog$1.Title>): react_jsx_runtime.JSX.Element;
|
|
393
|
+
declare function SheetDescription({ className, ...props }: React$1.ComponentProps<typeof Dialog$1.Description>): react_jsx_runtime.JSX.Element;
|
|
394
|
+
|
|
395
|
+
interface ToastProps {
|
|
396
|
+
id: string;
|
|
397
|
+
title?: string;
|
|
398
|
+
description?: string;
|
|
399
|
+
variant?: "default" | "destructive" | "success";
|
|
400
|
+
duration?: number;
|
|
401
|
+
}
|
|
402
|
+
declare const toastVariants: (props?: ({
|
|
403
|
+
variant?: "default" | "destructive" | "success" | null | undefined;
|
|
404
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
405
|
+
declare function ToastProvider({ children, }: {
|
|
406
|
+
children: React$1.ReactNode;
|
|
407
|
+
}): react_jsx_runtime.JSX.Element;
|
|
408
|
+
declare function useToast(): {
|
|
409
|
+
toasts: ToastProps[];
|
|
410
|
+
addToast: (toast: Omit<ToastProps, "id">) => void;
|
|
411
|
+
removeToast: (id: string) => void;
|
|
412
|
+
};
|
|
413
|
+
declare function ToastViewport({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
414
|
+
declare function Toast({ className, variant, title, description, onClose, ...props }: Omit<ToastProps, "id" | "duration"> & {
|
|
415
|
+
className?: string;
|
|
416
|
+
onClose?: () => void;
|
|
417
|
+
}): react_jsx_runtime.JSX.Element;
|
|
418
|
+
declare function ToastTitle({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
419
|
+
declare function ToastDescription({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
420
|
+
|
|
421
|
+
declare function TooltipProvider({ delayDuration, ...props }: React$1.ComponentProps<typeof Tooltip$1.Provider>): react_jsx_runtime.JSX.Element;
|
|
422
|
+
declare function Tooltip({ ...props }: React$1.ComponentProps<typeof Tooltip$1.Root>): react_jsx_runtime.JSX.Element;
|
|
423
|
+
declare function TooltipTrigger({ ...props }: React$1.ComponentProps<typeof Tooltip$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
424
|
+
declare function TooltipContent({ className, sideOffset, ...props }: React$1.ComponentProps<typeof Tooltip$1.Content>): react_jsx_runtime.JSX.Element;
|
|
425
|
+
|
|
127
426
|
declare function cn(...inputs: ClassValue[]): string;
|
|
128
427
|
|
|
129
|
-
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, Badge, Button, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, Label, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Textarea, badgeVariants, buttonVariants, cn };
|
|
428
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Calendar, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Container, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DatePicker, DateRangePicker, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Grid, GridItem, HStack, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, Label, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverTrigger, Progress, RadioGroup, RadioGroupItem, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarMenu, SidebarMenuButton, SidebarMenuItem, SidebarProvider, SidebarTrigger, Skeleton, Slider, Spinner, Stack, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toast, ToastDescription, ToastProvider, ToastTitle, ToastViewport, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, VStack, alertVariants, badgeVariants, buttonVariants, cn, containerVariants, gridItemVariants, gridVariants, navigationMenuTriggerStyle, sheetVariants, sidebarMenuButtonVariants, spinnerVariants, stackVariants, toastVariants, useSidebar, useToast };
|