lsp-uikit 1.2.4 → 1.2.6
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.d.ts +14 -10
- package/dist/index.js +1 -1
- package/dist/lib/hooks/index.d.ts +1 -1
- package/dist/lib/hooks/index.js +1 -1
- package/dist/lib/hooks/index.js.map +1 -1
- package/package.json +3 -2
package/dist/index.d.ts
CHANGED
|
@@ -23,8 +23,8 @@ import { ToasterProps } from 'sonner';
|
|
|
23
23
|
export { toast, useSonner } from 'sonner';
|
|
24
24
|
|
|
25
25
|
declare const buttonVariants: (props?: ({
|
|
26
|
-
variant?: "
|
|
27
|
-
size?: "
|
|
26
|
+
variant?: "default" | "destructive" | "default_invert" | "destructive_invert" | "outline" | "secondary" | "ghost" | "link" | "clear" | null | undefined;
|
|
27
|
+
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
28
28
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
29
29
|
interface ButtonProps extends React$1.ComponentProps<'button'>, VariantProps<typeof buttonVariants> {
|
|
30
30
|
asChild?: boolean;
|
|
@@ -39,14 +39,14 @@ declare function AccordionTrigger({ className, children, ...props }: React$1.Com
|
|
|
39
39
|
declare function AccordionContent({ className, children, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
40
40
|
|
|
41
41
|
declare const alertVariants: (props?: ({
|
|
42
|
-
variant?: "
|
|
42
|
+
variant?: "default" | "destructive" | "warning" | "success" | null | undefined;
|
|
43
43
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
44
44
|
declare function Alert({ className, variant, ...props }: React$1.ComponentProps<'div'> & VariantProps<typeof alertVariants>): react_jsx_runtime.JSX.Element;
|
|
45
45
|
declare function AlertTitle({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
46
46
|
declare function AlertDescription({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
47
47
|
|
|
48
48
|
declare const badgeVariants: (props?: ({
|
|
49
|
-
variant?: "
|
|
49
|
+
variant?: "destructive" | "success" | "outline" | "secondary" | "primary" | "primary_outline" | "success_outline" | "purple" | "purple_outline" | "destructive_outline" | null | undefined;
|
|
50
50
|
rounded?: "sm" | "md" | "full" | null | undefined;
|
|
51
51
|
textOverflow?: "default" | "hidden" | null | undefined;
|
|
52
52
|
hover?: boolean | null | undefined;
|
|
@@ -333,8 +333,8 @@ declare function SidebarGroupContent({ className, ...props }: React$1.ComponentP
|
|
|
333
333
|
declare function SidebarMenu({ className, ...props }: React$1.ComponentProps<'ul'>): react_jsx_runtime.JSX.Element;
|
|
334
334
|
declare function SidebarMenuItem({ className, ...props }: React$1.ComponentProps<'li'>): react_jsx_runtime.JSX.Element;
|
|
335
335
|
declare const sidebarMenuButtonVariants: (props?: ({
|
|
336
|
-
variant?: "
|
|
337
|
-
size?: "
|
|
336
|
+
variant?: "default" | "outline" | null | undefined;
|
|
337
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
338
338
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
339
339
|
declare function SidebarMenuButton({ asChild, isActive, variant, size, tooltip, className, ...props }: React$1.ComponentProps<'button'> & {
|
|
340
340
|
asChild?: boolean;
|
|
@@ -415,11 +415,15 @@ type TextProps<T extends AvailableComponents> = PropsWithChildren & {
|
|
|
415
415
|
} & ComponentProps<T>;
|
|
416
416
|
declare const Text: <T extends AvailableComponents>(props: TextProps<T>) => react_jsx_runtime.JSX.Element;
|
|
417
417
|
|
|
418
|
-
declare
|
|
418
|
+
declare const textareaVariants: (props?: ({
|
|
419
|
+
variant?: "default" | null | undefined;
|
|
420
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
421
|
+
type TextareaProps = React$1.ComponentProps<'textarea'> & VariantProps<typeof textareaVariants>;
|
|
422
|
+
declare function Textarea({ className, variant, ...props }: TextareaProps): react_jsx_runtime.JSX.Element;
|
|
419
423
|
|
|
420
424
|
declare const toggleVariants: (props?: ({
|
|
421
|
-
variant?: "
|
|
422
|
-
size?: "
|
|
425
|
+
variant?: "default" | "outline" | null | undefined;
|
|
426
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
423
427
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
424
428
|
declare function Toggle({ className, variant, size, ...props }: React$1.ComponentProps<typeof TogglePrimitive.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
|
|
425
429
|
|
|
@@ -428,5 +432,5 @@ declare function RadioGroupItem({ className, ...props }: React$1.ComponentProps<
|
|
|
428
432
|
|
|
429
433
|
declare const Toaster: ({ ...props }: ToasterProps) => react_jsx_runtime.JSX.Element;
|
|
430
434
|
|
|
431
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertTitle, Badge, Button, Calendar, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CheckedValue, CopiedFieldValue, 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, EmptyTableRow, FieldValue, FormInput, HStack, HoverCard, HoverCardContent, HoverCardTrigger, Input, Label, Loader, NumericInput, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Progress, RadioGroup, RadioGroupItem, ScrollArea, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, ShadcnTable, ShadcnTableBody, ShadcnTableCaption, ShadcnTableCell, ShadcnTableFooter, ShadcnTableHead, ShadcnTableHeader, ShadcnTableRow, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Switch, Table, TableCell, TableRow, TableRowSkeleton, TableStatusCell, Tabs, TabsContent, TabsList, TabsTrigger, Text, Textarea, Toaster, Toggle, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, VStack, badgeVariants, buttonVariants, toggleVariants, useSidebar };
|
|
435
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertTitle, Badge, Button, Calendar, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CheckedValue, CopiedFieldValue, 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, EmptyTableRow, FieldValue, FormInput, HStack, HoverCard, HoverCardContent, HoverCardTrigger, Input, Label, Loader, NumericInput, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Progress, RadioGroup, RadioGroupItem, ScrollArea, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, ShadcnTable, ShadcnTableBody, ShadcnTableCaption, ShadcnTableCell, ShadcnTableFooter, ShadcnTableHead, ShadcnTableHeader, ShadcnTableRow, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Switch, Table, TableCell, TableRow, TableRowSkeleton, TableStatusCell, Tabs, TabsContent, TabsList, TabsTrigger, Text, Textarea, Toaster, Toggle, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, VStack, badgeVariants, buttonVariants, textareaVariants, toggleVariants, useSidebar };
|
|
432
436
|
export type { BadgeProps, ButtonProps, CalendarProps, DatesStringRange, TextProps };
|