@appolabs/ui 0.1.5 → 0.1.7
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/README.md +181 -0
- package/dist/index.cjs +505 -260
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +63 -9
- package/dist/index.d.ts +63 -9
- package/dist/index.js +497 -261
- package/dist/index.js.map +1 -1
- package/dist/tailwind/preset.cjs +18 -0
- package/dist/tailwind/preset.js +18 -0
- package/package.json +1 -1
- package/src/styles/variables.css +24 -0
- package/tailwind/preset.ts +18 -0
package/dist/index.d.cts
CHANGED
|
@@ -368,7 +368,10 @@ declare const DialogTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.D
|
|
|
368
368
|
declare const DialogPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
|
|
369
369
|
declare const DialogClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
370
370
|
declare const DialogOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
371
|
-
|
|
371
|
+
interface DialogContentProps extends React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Content> {
|
|
372
|
+
onCloseComplete?: () => void;
|
|
373
|
+
}
|
|
374
|
+
declare const DialogContent: React$1.ForwardRefExoticComponent<DialogContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
372
375
|
declare const DialogHeader: {
|
|
373
376
|
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
374
377
|
displayName: string;
|
|
@@ -446,7 +449,7 @@ declare const FormDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAtt
|
|
|
446
449
|
declare const FormMessage: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
447
450
|
|
|
448
451
|
declare const glassCardVariants: (props?: ({
|
|
449
|
-
variant?: "default" | "elevated" | "interactive" | "hero" | "stat" | null | undefined;
|
|
452
|
+
variant?: "default" | "subtle" | "elevated" | "interactive" | "hero" | "stat" | "auth" | null | undefined;
|
|
450
453
|
padding?: "default" | "none" | "sm" | "lg" | null | undefined;
|
|
451
454
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
452
455
|
interface GlassCardProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof glassCardVariants> {
|
|
@@ -458,11 +461,54 @@ declare const GlassCardDescription: React$1.ForwardRefExoticComponent<React$1.HT
|
|
|
458
461
|
declare const GlassCardContent: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
459
462
|
declare const GlassCardFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
460
463
|
|
|
464
|
+
declare const glassHeaderVariants: (props?: ({
|
|
465
|
+
variant?: "default" | "transparent" | "elevated" | null | undefined;
|
|
466
|
+
sticky?: boolean | null | undefined;
|
|
467
|
+
padding?: "default" | "none" | "sm" | "lg" | null | undefined;
|
|
468
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
469
|
+
interface GlassHeaderProps extends React$1.HTMLAttributes<HTMLElement>, VariantProps<typeof glassHeaderVariants> {
|
|
470
|
+
as?: "header" | "div" | "nav";
|
|
471
|
+
}
|
|
472
|
+
declare const GlassHeader: React$1.ForwardRefExoticComponent<GlassHeaderProps & React$1.RefAttributes<HTMLElement>>;
|
|
473
|
+
|
|
474
|
+
declare const glassOverlayVariants: (props?: ({
|
|
475
|
+
variant?: "default" | "subtle" | "light" | "dark" | null | undefined;
|
|
476
|
+
blur?: "strong" | "default" | "none" | "sm" | null | undefined;
|
|
477
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
478
|
+
interface GlassOverlayProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof glassOverlayVariants> {
|
|
479
|
+
open?: boolean;
|
|
480
|
+
onClose?: () => void;
|
|
481
|
+
}
|
|
482
|
+
declare const GlassOverlay: React$1.ForwardRefExoticComponent<GlassOverlayProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
483
|
+
|
|
484
|
+
declare const glassTabsContainerVariants: (props?: ({
|
|
485
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
486
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
487
|
+
declare const glassTabVariants: (props?: ({
|
|
488
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
489
|
+
state?: "active" | "inactive" | null | undefined;
|
|
490
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
491
|
+
interface TabItem$1 {
|
|
492
|
+
id: string;
|
|
493
|
+
label: string;
|
|
494
|
+
icon?: React$1.ReactNode;
|
|
495
|
+
disabled?: boolean;
|
|
496
|
+
}
|
|
497
|
+
interface GlassTabsProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "onChange">, VariantProps<typeof glassTabsContainerVariants> {
|
|
498
|
+
tabs: TabItem$1[];
|
|
499
|
+
activeTab: string;
|
|
500
|
+
onTabChange: (id: string) => void;
|
|
501
|
+
}
|
|
502
|
+
declare const GlassTabs: React$1.ForwardRefExoticComponent<GlassTabsProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
503
|
+
|
|
461
504
|
declare const HoverCard: React$1.FC<HoverCardPrimitive.HoverCardProps>;
|
|
462
505
|
declare const HoverCardTrigger: React$1.ForwardRefExoticComponent<HoverCardPrimitive.HoverCardTriggerProps & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
463
506
|
declare const HoverCardContent: React$1.ForwardRefExoticComponent<Omit<HoverCardPrimitive.HoverCardContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
464
507
|
|
|
465
|
-
|
|
508
|
+
declare const inputVariants: (props?: ({
|
|
509
|
+
variant?: "default" | "glass" | null | undefined;
|
|
510
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
511
|
+
interface InputProps extends React$1.InputHTMLAttributes<HTMLInputElement>, VariantProps<typeof inputVariants> {
|
|
466
512
|
}
|
|
467
513
|
declare const Input: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
468
514
|
|
|
@@ -605,7 +651,12 @@ declare const SelectLabel: React$1.ForwardRefExoticComponent<Omit<SelectPrimitiv
|
|
|
605
651
|
declare const SelectItem: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
606
652
|
declare const SelectSeparator: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
607
653
|
|
|
608
|
-
declare const
|
|
654
|
+
declare const separatorVariants: (props?: ({
|
|
655
|
+
variant?: "default" | "glass" | null | undefined;
|
|
656
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
657
|
+
interface SeparatorProps extends React$1.ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root>, VariantProps<typeof separatorVariants> {
|
|
658
|
+
}
|
|
659
|
+
declare const Separator: React$1.ForwardRefExoticComponent<SeparatorProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
609
660
|
|
|
610
661
|
declare const Sheet: React$1.FC<DialogPrimitive.DialogProps>;
|
|
611
662
|
declare const SheetTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
@@ -629,9 +680,12 @@ declare const SheetFooter: {
|
|
|
629
680
|
declare const SheetTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
630
681
|
declare const SheetDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
631
682
|
|
|
632
|
-
declare const TooltipProvider: React$1.
|
|
633
|
-
|
|
634
|
-
|
|
683
|
+
declare const TooltipProvider: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipProviderProps & React$1.RefAttributes<never>>;
|
|
684
|
+
interface TooltipProps extends React$1.ComponentPropsWithoutRef<typeof TooltipPrimitive.Root> {
|
|
685
|
+
children: React$1.ReactNode;
|
|
686
|
+
}
|
|
687
|
+
declare const Tooltip: ({ children, open, onOpenChange, ...props }: TooltipProps) => react_jsx_runtime.JSX.Element;
|
|
688
|
+
declare const TooltipTrigger: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
635
689
|
declare const TooltipContent: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
636
690
|
|
|
637
691
|
type SidebarContext = {
|
|
@@ -661,7 +715,7 @@ declare const SidebarInset: React$1.ForwardRefExoticComponent<Omit<React$1.Detai
|
|
|
661
715
|
declare const SidebarInput: React$1.ForwardRefExoticComponent<Omit<InputProps & React$1.RefAttributes<HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
662
716
|
declare const SidebarHeader: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
663
717
|
declare const SidebarFooter: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
664
|
-
declare const SidebarSeparator: React$1.ForwardRefExoticComponent<Omit<
|
|
718
|
+
declare const SidebarSeparator: React$1.ForwardRefExoticComponent<Omit<SeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
665
719
|
declare const SidebarContent: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
666
720
|
declare const SidebarGroup: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
667
721
|
declare const SidebarGroupLabel: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & {
|
|
@@ -762,4 +816,4 @@ declare const ToggleGroupItem: React$1.ForwardRefExoticComponent<Omit<ToggleGrou
|
|
|
762
816
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
763
817
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
764
818
|
|
|
765
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AnimatedBackground, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, Calendar, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, GlassCard, GlassCardContent, GlassCardDescription, GlassCardFooter, GlassCardHeader, GlassCardTitle, GradientOrb, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputProps, Label, Logo, type LogoProps, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Pagination, Popover, PopoverContent, PopoverTrigger, Progress, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, 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, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SimpleTabs, type SimpleTabsProps, Skeleton, Slider, StatusBadge, type StatusBadgeProps, Switch, type TabItem, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type TextareaProps, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, cn, glassCardVariants, navigationMenuTriggerStyle, statusBadgeVariants, statusLabels, toast, toggleVariants, useFormField, useIsMobile, useSidebar, useToast };
|
|
819
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AnimatedBackground, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, Calendar, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, GlassCard, GlassCardContent, GlassCardDescription, GlassCardFooter, GlassCardHeader, type GlassCardProps, GlassCardTitle, GlassHeader, type GlassHeaderProps, GlassOverlay, type GlassOverlayProps, type TabItem$1 as GlassTabItem, GlassTabs, type GlassTabsProps, GradientOrb, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputProps, Label, Logo, type LogoProps, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Pagination, Popover, PopoverContent, PopoverTrigger, Progress, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, 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, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SimpleTabs, type SimpleTabsProps, Skeleton, Slider, StatusBadge, type StatusBadgeProps, Switch, type TabItem, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type TextareaProps, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, cn, glassCardVariants, glassHeaderVariants, glassOverlayVariants, glassTabVariants, glassTabsContainerVariants, inputVariants, navigationMenuTriggerStyle, separatorVariants, statusBadgeVariants, statusLabels, toast, toggleVariants, useFormField, useIsMobile, useSidebar, useToast };
|
package/dist/index.d.ts
CHANGED
|
@@ -368,7 +368,10 @@ declare const DialogTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.D
|
|
|
368
368
|
declare const DialogPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
|
|
369
369
|
declare const DialogClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
370
370
|
declare const DialogOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
371
|
-
|
|
371
|
+
interface DialogContentProps extends React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Content> {
|
|
372
|
+
onCloseComplete?: () => void;
|
|
373
|
+
}
|
|
374
|
+
declare const DialogContent: React$1.ForwardRefExoticComponent<DialogContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
372
375
|
declare const DialogHeader: {
|
|
373
376
|
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
374
377
|
displayName: string;
|
|
@@ -446,7 +449,7 @@ declare const FormDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAtt
|
|
|
446
449
|
declare const FormMessage: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
447
450
|
|
|
448
451
|
declare const glassCardVariants: (props?: ({
|
|
449
|
-
variant?: "default" | "elevated" | "interactive" | "hero" | "stat" | null | undefined;
|
|
452
|
+
variant?: "default" | "subtle" | "elevated" | "interactive" | "hero" | "stat" | "auth" | null | undefined;
|
|
450
453
|
padding?: "default" | "none" | "sm" | "lg" | null | undefined;
|
|
451
454
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
452
455
|
interface GlassCardProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof glassCardVariants> {
|
|
@@ -458,11 +461,54 @@ declare const GlassCardDescription: React$1.ForwardRefExoticComponent<React$1.HT
|
|
|
458
461
|
declare const GlassCardContent: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
459
462
|
declare const GlassCardFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
460
463
|
|
|
464
|
+
declare const glassHeaderVariants: (props?: ({
|
|
465
|
+
variant?: "default" | "transparent" | "elevated" | null | undefined;
|
|
466
|
+
sticky?: boolean | null | undefined;
|
|
467
|
+
padding?: "default" | "none" | "sm" | "lg" | null | undefined;
|
|
468
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
469
|
+
interface GlassHeaderProps extends React$1.HTMLAttributes<HTMLElement>, VariantProps<typeof glassHeaderVariants> {
|
|
470
|
+
as?: "header" | "div" | "nav";
|
|
471
|
+
}
|
|
472
|
+
declare const GlassHeader: React$1.ForwardRefExoticComponent<GlassHeaderProps & React$1.RefAttributes<HTMLElement>>;
|
|
473
|
+
|
|
474
|
+
declare const glassOverlayVariants: (props?: ({
|
|
475
|
+
variant?: "default" | "subtle" | "light" | "dark" | null | undefined;
|
|
476
|
+
blur?: "strong" | "default" | "none" | "sm" | null | undefined;
|
|
477
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
478
|
+
interface GlassOverlayProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof glassOverlayVariants> {
|
|
479
|
+
open?: boolean;
|
|
480
|
+
onClose?: () => void;
|
|
481
|
+
}
|
|
482
|
+
declare const GlassOverlay: React$1.ForwardRefExoticComponent<GlassOverlayProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
483
|
+
|
|
484
|
+
declare const glassTabsContainerVariants: (props?: ({
|
|
485
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
486
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
487
|
+
declare const glassTabVariants: (props?: ({
|
|
488
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
489
|
+
state?: "active" | "inactive" | null | undefined;
|
|
490
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
491
|
+
interface TabItem$1 {
|
|
492
|
+
id: string;
|
|
493
|
+
label: string;
|
|
494
|
+
icon?: React$1.ReactNode;
|
|
495
|
+
disabled?: boolean;
|
|
496
|
+
}
|
|
497
|
+
interface GlassTabsProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "onChange">, VariantProps<typeof glassTabsContainerVariants> {
|
|
498
|
+
tabs: TabItem$1[];
|
|
499
|
+
activeTab: string;
|
|
500
|
+
onTabChange: (id: string) => void;
|
|
501
|
+
}
|
|
502
|
+
declare const GlassTabs: React$1.ForwardRefExoticComponent<GlassTabsProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
503
|
+
|
|
461
504
|
declare const HoverCard: React$1.FC<HoverCardPrimitive.HoverCardProps>;
|
|
462
505
|
declare const HoverCardTrigger: React$1.ForwardRefExoticComponent<HoverCardPrimitive.HoverCardTriggerProps & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
463
506
|
declare const HoverCardContent: React$1.ForwardRefExoticComponent<Omit<HoverCardPrimitive.HoverCardContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
464
507
|
|
|
465
|
-
|
|
508
|
+
declare const inputVariants: (props?: ({
|
|
509
|
+
variant?: "default" | "glass" | null | undefined;
|
|
510
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
511
|
+
interface InputProps extends React$1.InputHTMLAttributes<HTMLInputElement>, VariantProps<typeof inputVariants> {
|
|
466
512
|
}
|
|
467
513
|
declare const Input: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
468
514
|
|
|
@@ -605,7 +651,12 @@ declare const SelectLabel: React$1.ForwardRefExoticComponent<Omit<SelectPrimitiv
|
|
|
605
651
|
declare const SelectItem: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
606
652
|
declare const SelectSeparator: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
607
653
|
|
|
608
|
-
declare const
|
|
654
|
+
declare const separatorVariants: (props?: ({
|
|
655
|
+
variant?: "default" | "glass" | null | undefined;
|
|
656
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
657
|
+
interface SeparatorProps extends React$1.ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root>, VariantProps<typeof separatorVariants> {
|
|
658
|
+
}
|
|
659
|
+
declare const Separator: React$1.ForwardRefExoticComponent<SeparatorProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
609
660
|
|
|
610
661
|
declare const Sheet: React$1.FC<DialogPrimitive.DialogProps>;
|
|
611
662
|
declare const SheetTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
@@ -629,9 +680,12 @@ declare const SheetFooter: {
|
|
|
629
680
|
declare const SheetTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
630
681
|
declare const SheetDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
631
682
|
|
|
632
|
-
declare const TooltipProvider: React$1.
|
|
633
|
-
|
|
634
|
-
|
|
683
|
+
declare const TooltipProvider: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipProviderProps & React$1.RefAttributes<never>>;
|
|
684
|
+
interface TooltipProps extends React$1.ComponentPropsWithoutRef<typeof TooltipPrimitive.Root> {
|
|
685
|
+
children: React$1.ReactNode;
|
|
686
|
+
}
|
|
687
|
+
declare const Tooltip: ({ children, open, onOpenChange, ...props }: TooltipProps) => react_jsx_runtime.JSX.Element;
|
|
688
|
+
declare const TooltipTrigger: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
635
689
|
declare const TooltipContent: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
636
690
|
|
|
637
691
|
type SidebarContext = {
|
|
@@ -661,7 +715,7 @@ declare const SidebarInset: React$1.ForwardRefExoticComponent<Omit<React$1.Detai
|
|
|
661
715
|
declare const SidebarInput: React$1.ForwardRefExoticComponent<Omit<InputProps & React$1.RefAttributes<HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
662
716
|
declare const SidebarHeader: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
663
717
|
declare const SidebarFooter: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
664
|
-
declare const SidebarSeparator: React$1.ForwardRefExoticComponent<Omit<
|
|
718
|
+
declare const SidebarSeparator: React$1.ForwardRefExoticComponent<Omit<SeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
665
719
|
declare const SidebarContent: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
666
720
|
declare const SidebarGroup: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
667
721
|
declare const SidebarGroupLabel: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & {
|
|
@@ -762,4 +816,4 @@ declare const ToggleGroupItem: React$1.ForwardRefExoticComponent<Omit<ToggleGrou
|
|
|
762
816
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
763
817
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
764
818
|
|
|
765
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AnimatedBackground, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, Calendar, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, GlassCard, GlassCardContent, GlassCardDescription, GlassCardFooter, GlassCardHeader, GlassCardTitle, GradientOrb, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputProps, Label, Logo, type LogoProps, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Pagination, Popover, PopoverContent, PopoverTrigger, Progress, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, 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, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SimpleTabs, type SimpleTabsProps, Skeleton, Slider, StatusBadge, type StatusBadgeProps, Switch, type TabItem, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type TextareaProps, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, cn, glassCardVariants, navigationMenuTriggerStyle, statusBadgeVariants, statusLabels, toast, toggleVariants, useFormField, useIsMobile, useSidebar, useToast };
|
|
819
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AnimatedBackground, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, Calendar, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, GlassCard, GlassCardContent, GlassCardDescription, GlassCardFooter, GlassCardHeader, type GlassCardProps, GlassCardTitle, GlassHeader, type GlassHeaderProps, GlassOverlay, type GlassOverlayProps, type TabItem$1 as GlassTabItem, GlassTabs, type GlassTabsProps, GradientOrb, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputProps, Label, Logo, type LogoProps, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Pagination, Popover, PopoverContent, PopoverTrigger, Progress, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, 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, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SimpleTabs, type SimpleTabsProps, Skeleton, Slider, StatusBadge, type StatusBadgeProps, Switch, type TabItem, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type TextareaProps, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, cn, glassCardVariants, glassHeaderVariants, glassOverlayVariants, glassTabVariants, glassTabsContainerVariants, inputVariants, navigationMenuTriggerStyle, separatorVariants, statusBadgeVariants, statusLabels, toast, toggleVariants, useFormField, useIsMobile, useSidebar, useToast };
|