@iclips/ui 0.0.19 → 1.0.1
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 +187 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +61 -2
- package/dist/index.d.ts +61 -2
- package/dist/index.js +177 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -36,6 +36,7 @@ import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
|
36
36
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
37
37
|
import * as SliderPrimitive from '@radix-ui/react-slider';
|
|
38
38
|
import { ToasterProps } from 'sonner';
|
|
39
|
+
export { toast } from 'sonner';
|
|
39
40
|
import * as SwitchPrimitive from '@radix-ui/react-switch';
|
|
40
41
|
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
41
42
|
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
@@ -265,6 +266,7 @@ declare function Card({ className, ...props }: React$1.ComponentProps<"div">): r
|
|
|
265
266
|
declare function CardHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
266
267
|
declare function CardTitle({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
267
268
|
declare function CardDescription({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
269
|
+
declare function CardAction({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
268
270
|
declare function CardContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
269
271
|
declare function CardFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
270
272
|
|
|
@@ -674,7 +676,11 @@ declare function SidebarMenuSubButton({ asChild, size, isActive, className, ...p
|
|
|
674
676
|
isActive?: boolean;
|
|
675
677
|
}): react_jsx_runtime.JSX.Element;
|
|
676
678
|
|
|
677
|
-
|
|
679
|
+
interface SkeletonProps extends React.ComponentProps<"div"> {
|
|
680
|
+
/** Animation variant: pulse (default) or shimmer (premium) */
|
|
681
|
+
variant?: "pulse" | "shimmer";
|
|
682
|
+
}
|
|
683
|
+
declare function Skeleton({ className, variant, ...props }: SkeletonProps): react_jsx_runtime.JSX.Element;
|
|
678
684
|
|
|
679
685
|
declare function Slider({ className, defaultValue, value, min, max, ...props }: React$1.ComponentProps<typeof SliderPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
680
686
|
|
|
@@ -734,6 +740,59 @@ declare function Toggle({ className, variant, size, ...props }: React$1.Componen
|
|
|
734
740
|
declare function ToggleGroup({ className, variant, size, children, ...props }: React$1.ComponentProps<typeof ToggleGroupPrimitive.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
|
|
735
741
|
declare function ToggleGroupItem({ className, children, variant, size, ...props }: React$1.ComponentProps<typeof ToggleGroupPrimitive.Item> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
|
|
736
742
|
|
|
743
|
+
/**
|
|
744
|
+
* Illustration System - iClips Design System
|
|
745
|
+
*
|
|
746
|
+
* Reusable SVG illustrations for empty states and onboarding.
|
|
747
|
+
* These follow the iClips brand colors (Purple #7F26BF as primary).
|
|
748
|
+
*/
|
|
749
|
+
interface IllustrationProps {
|
|
750
|
+
className?: string;
|
|
751
|
+
size?: "sm" | "md" | "lg";
|
|
752
|
+
/** Primary color - defaults to purple-500 */
|
|
753
|
+
primaryColor?: string;
|
|
754
|
+
/** Secondary color - defaults to purple-100 */
|
|
755
|
+
secondaryColor?: string;
|
|
756
|
+
}
|
|
757
|
+
/**
|
|
758
|
+
* Empty Inbox Illustration
|
|
759
|
+
* Use for: No messages, no notifications, cleared inbox
|
|
760
|
+
*/
|
|
761
|
+
declare function EmptyInboxIllustration({ className, size, primaryColor, secondaryColor, }: IllustrationProps): react_jsx_runtime.JSX.Element;
|
|
762
|
+
/**
|
|
763
|
+
* Empty Search Illustration
|
|
764
|
+
* Use for: No results found, empty search
|
|
765
|
+
*/
|
|
766
|
+
declare function EmptySearchIllustration({ className, size, primaryColor, secondaryColor, }: IllustrationProps): react_jsx_runtime.JSX.Element;
|
|
767
|
+
/**
|
|
768
|
+
* Empty Projects Illustration
|
|
769
|
+
* Use for: No projects, no campaigns, empty folder
|
|
770
|
+
*/
|
|
771
|
+
declare function EmptyProjectsIllustration({ className, size, primaryColor, secondaryColor, }: IllustrationProps): react_jsx_runtime.JSX.Element;
|
|
772
|
+
/**
|
|
773
|
+
* Empty Calendar Illustration
|
|
774
|
+
* Use for: No events, no deadlines, clear schedule
|
|
775
|
+
*/
|
|
776
|
+
declare function EmptyCalendarIllustration({ className, size, primaryColor, secondaryColor, }: IllustrationProps): react_jsx_runtime.JSX.Element;
|
|
777
|
+
/**
|
|
778
|
+
* Error State Illustration
|
|
779
|
+
* Use for: Error loading, something went wrong
|
|
780
|
+
*/
|
|
781
|
+
declare function ErrorStateIllustration({ className, size, primaryColor, secondaryColor, }: IllustrationProps): react_jsx_runtime.JSX.Element;
|
|
782
|
+
/**
|
|
783
|
+
* Success State Illustration
|
|
784
|
+
* Use for: Action completed, all done
|
|
785
|
+
*/
|
|
786
|
+
declare function SuccessStateIllustration({ className, size, primaryColor, secondaryColor, }: IllustrationProps): react_jsx_runtime.JSX.Element;
|
|
787
|
+
declare const Illustrations: {
|
|
788
|
+
EmptyInbox: typeof EmptyInboxIllustration;
|
|
789
|
+
EmptySearch: typeof EmptySearchIllustration;
|
|
790
|
+
EmptyProjects: typeof EmptyProjectsIllustration;
|
|
791
|
+
EmptyCalendar: typeof EmptyCalendarIllustration;
|
|
792
|
+
ErrorState: typeof ErrorStateIllustration;
|
|
793
|
+
SuccessState: typeof SuccessStateIllustration;
|
|
794
|
+
};
|
|
795
|
+
|
|
737
796
|
declare function cn(...inputs: ClassValue[]): string;
|
|
738
797
|
|
|
739
798
|
declare function useIsMobile(): boolean;
|
|
@@ -979,4 +1038,4 @@ interface PrintInfoGridProps {
|
|
|
979
1038
|
}
|
|
980
1039
|
declare function PrintInfoGrid({ items, columns, className, }: PrintInfoGridProps): react_jsx_runtime.JSX.Element;
|
|
981
1040
|
|
|
982
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AppLayout, type AppLayoutProps, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartTooltip, ChartTooltipContent, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, ColorPicker, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, ContractPrint, ContractPrintPreview, type ContractPrintProps, ContractTemplate, type DadosContrato, DateRangePicker, DateTimePicker, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HoverCard, HoverCardContent, HoverCardTrigger, ImageWithFallback, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, KanbanCard, type KanbanCardAssignee, type KanbanCardProps, type KanbanCardTag, Label, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverContent, PopoverTrigger, type PrimaryNavItem, PrintFooter, PrintHeader, PrintInfoGrid, PrintSection, PrintSignature, PrintTable, Progress, type ProposalData, ProposalTemplate, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, type SecondaryNavItem, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, Toaster as Sonner, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, TimePicker, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UnderlineTabs, UnderlineTabsContent, UnderlineTabsList, UnderlineTabsTrigger, type UsePrintContractOptions, badgeVariants, buttonVariants, cn, dadosContratoExemplo, navigationMenuTriggerStyle, toggleVariants, useFormField, useIsMobile, usePrintContract, useSidebar };
|
|
1041
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AppLayout, type AppLayoutProps, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Calendar, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartTooltip, ChartTooltipContent, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, ColorPicker, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, ContractPrint, ContractPrintPreview, type ContractPrintProps, ContractTemplate, type DadosContrato, DateRangePicker, type DateRangePickerProps, DateTimePicker, type DateTimePickerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyCalendarIllustration, EmptyInboxIllustration, EmptyProjectsIllustration, EmptySearchIllustration, ErrorStateIllustration, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HoverCard, HoverCardContent, HoverCardTrigger, type IllustrationProps, Illustrations, ImageWithFallback, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, KanbanCard, type KanbanCardAssignee, type KanbanCardProps, type KanbanCardTag, Label, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverContent, PopoverTrigger, type PrimaryNavItem, PrintFooter, PrintHeader, PrintInfoGrid, PrintSection, PrintSignature, PrintTable, Progress, type ProposalData, ProposalTemplate, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, type SecondaryNavItem, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, Toaster as Sonner, SuccessStateIllustration, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, TimePicker, type TimePickerProps, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UnderlineTabs, UnderlineTabsContent, UnderlineTabsList, UnderlineTabsTrigger, type UsePrintContractOptions, badgeVariants, buttonVariants, cn, dadosContratoExemplo, navigationMenuTriggerStyle, toggleVariants, useFormField, useIsMobile, usePrintContract, useSidebar };
|
package/dist/index.d.ts
CHANGED
|
@@ -36,6 +36,7 @@ import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
|
36
36
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
37
37
|
import * as SliderPrimitive from '@radix-ui/react-slider';
|
|
38
38
|
import { ToasterProps } from 'sonner';
|
|
39
|
+
export { toast } from 'sonner';
|
|
39
40
|
import * as SwitchPrimitive from '@radix-ui/react-switch';
|
|
40
41
|
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
41
42
|
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
@@ -265,6 +266,7 @@ declare function Card({ className, ...props }: React$1.ComponentProps<"div">): r
|
|
|
265
266
|
declare function CardHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
266
267
|
declare function CardTitle({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
267
268
|
declare function CardDescription({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
269
|
+
declare function CardAction({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
268
270
|
declare function CardContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
269
271
|
declare function CardFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
270
272
|
|
|
@@ -674,7 +676,11 @@ declare function SidebarMenuSubButton({ asChild, size, isActive, className, ...p
|
|
|
674
676
|
isActive?: boolean;
|
|
675
677
|
}): react_jsx_runtime.JSX.Element;
|
|
676
678
|
|
|
677
|
-
|
|
679
|
+
interface SkeletonProps extends React.ComponentProps<"div"> {
|
|
680
|
+
/** Animation variant: pulse (default) or shimmer (premium) */
|
|
681
|
+
variant?: "pulse" | "shimmer";
|
|
682
|
+
}
|
|
683
|
+
declare function Skeleton({ className, variant, ...props }: SkeletonProps): react_jsx_runtime.JSX.Element;
|
|
678
684
|
|
|
679
685
|
declare function Slider({ className, defaultValue, value, min, max, ...props }: React$1.ComponentProps<typeof SliderPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
680
686
|
|
|
@@ -734,6 +740,59 @@ declare function Toggle({ className, variant, size, ...props }: React$1.Componen
|
|
|
734
740
|
declare function ToggleGroup({ className, variant, size, children, ...props }: React$1.ComponentProps<typeof ToggleGroupPrimitive.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
|
|
735
741
|
declare function ToggleGroupItem({ className, children, variant, size, ...props }: React$1.ComponentProps<typeof ToggleGroupPrimitive.Item> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
|
|
736
742
|
|
|
743
|
+
/**
|
|
744
|
+
* Illustration System - iClips Design System
|
|
745
|
+
*
|
|
746
|
+
* Reusable SVG illustrations for empty states and onboarding.
|
|
747
|
+
* These follow the iClips brand colors (Purple #7F26BF as primary).
|
|
748
|
+
*/
|
|
749
|
+
interface IllustrationProps {
|
|
750
|
+
className?: string;
|
|
751
|
+
size?: "sm" | "md" | "lg";
|
|
752
|
+
/** Primary color - defaults to purple-500 */
|
|
753
|
+
primaryColor?: string;
|
|
754
|
+
/** Secondary color - defaults to purple-100 */
|
|
755
|
+
secondaryColor?: string;
|
|
756
|
+
}
|
|
757
|
+
/**
|
|
758
|
+
* Empty Inbox Illustration
|
|
759
|
+
* Use for: No messages, no notifications, cleared inbox
|
|
760
|
+
*/
|
|
761
|
+
declare function EmptyInboxIllustration({ className, size, primaryColor, secondaryColor, }: IllustrationProps): react_jsx_runtime.JSX.Element;
|
|
762
|
+
/**
|
|
763
|
+
* Empty Search Illustration
|
|
764
|
+
* Use for: No results found, empty search
|
|
765
|
+
*/
|
|
766
|
+
declare function EmptySearchIllustration({ className, size, primaryColor, secondaryColor, }: IllustrationProps): react_jsx_runtime.JSX.Element;
|
|
767
|
+
/**
|
|
768
|
+
* Empty Projects Illustration
|
|
769
|
+
* Use for: No projects, no campaigns, empty folder
|
|
770
|
+
*/
|
|
771
|
+
declare function EmptyProjectsIllustration({ className, size, primaryColor, secondaryColor, }: IllustrationProps): react_jsx_runtime.JSX.Element;
|
|
772
|
+
/**
|
|
773
|
+
* Empty Calendar Illustration
|
|
774
|
+
* Use for: No events, no deadlines, clear schedule
|
|
775
|
+
*/
|
|
776
|
+
declare function EmptyCalendarIllustration({ className, size, primaryColor, secondaryColor, }: IllustrationProps): react_jsx_runtime.JSX.Element;
|
|
777
|
+
/**
|
|
778
|
+
* Error State Illustration
|
|
779
|
+
* Use for: Error loading, something went wrong
|
|
780
|
+
*/
|
|
781
|
+
declare function ErrorStateIllustration({ className, size, primaryColor, secondaryColor, }: IllustrationProps): react_jsx_runtime.JSX.Element;
|
|
782
|
+
/**
|
|
783
|
+
* Success State Illustration
|
|
784
|
+
* Use for: Action completed, all done
|
|
785
|
+
*/
|
|
786
|
+
declare function SuccessStateIllustration({ className, size, primaryColor, secondaryColor, }: IllustrationProps): react_jsx_runtime.JSX.Element;
|
|
787
|
+
declare const Illustrations: {
|
|
788
|
+
EmptyInbox: typeof EmptyInboxIllustration;
|
|
789
|
+
EmptySearch: typeof EmptySearchIllustration;
|
|
790
|
+
EmptyProjects: typeof EmptyProjectsIllustration;
|
|
791
|
+
EmptyCalendar: typeof EmptyCalendarIllustration;
|
|
792
|
+
ErrorState: typeof ErrorStateIllustration;
|
|
793
|
+
SuccessState: typeof SuccessStateIllustration;
|
|
794
|
+
};
|
|
795
|
+
|
|
737
796
|
declare function cn(...inputs: ClassValue[]): string;
|
|
738
797
|
|
|
739
798
|
declare function useIsMobile(): boolean;
|
|
@@ -979,4 +1038,4 @@ interface PrintInfoGridProps {
|
|
|
979
1038
|
}
|
|
980
1039
|
declare function PrintInfoGrid({ items, columns, className, }: PrintInfoGridProps): react_jsx_runtime.JSX.Element;
|
|
981
1040
|
|
|
982
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AppLayout, type AppLayoutProps, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartTooltip, ChartTooltipContent, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, ColorPicker, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, ContractPrint, ContractPrintPreview, type ContractPrintProps, ContractTemplate, type DadosContrato, DateRangePicker, DateTimePicker, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HoverCard, HoverCardContent, HoverCardTrigger, ImageWithFallback, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, KanbanCard, type KanbanCardAssignee, type KanbanCardProps, type KanbanCardTag, Label, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverContent, PopoverTrigger, type PrimaryNavItem, PrintFooter, PrintHeader, PrintInfoGrid, PrintSection, PrintSignature, PrintTable, Progress, type ProposalData, ProposalTemplate, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, type SecondaryNavItem, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, Toaster as Sonner, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, TimePicker, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UnderlineTabs, UnderlineTabsContent, UnderlineTabsList, UnderlineTabsTrigger, type UsePrintContractOptions, badgeVariants, buttonVariants, cn, dadosContratoExemplo, navigationMenuTriggerStyle, toggleVariants, useFormField, useIsMobile, usePrintContract, useSidebar };
|
|
1041
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AppLayout, type AppLayoutProps, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Calendar, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartTooltip, ChartTooltipContent, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, ColorPicker, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, ContractPrint, ContractPrintPreview, type ContractPrintProps, ContractTemplate, type DadosContrato, DateRangePicker, type DateRangePickerProps, DateTimePicker, type DateTimePickerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyCalendarIllustration, EmptyInboxIllustration, EmptyProjectsIllustration, EmptySearchIllustration, ErrorStateIllustration, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HoverCard, HoverCardContent, HoverCardTrigger, type IllustrationProps, Illustrations, ImageWithFallback, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, KanbanCard, type KanbanCardAssignee, type KanbanCardProps, type KanbanCardTag, Label, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverContent, PopoverTrigger, type PrimaryNavItem, PrintFooter, PrintHeader, PrintInfoGrid, PrintSection, PrintSignature, PrintTable, Progress, type ProposalData, ProposalTemplate, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, type SecondaryNavItem, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, Toaster as Sonner, SuccessStateIllustration, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, TimePicker, type TimePickerProps, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UnderlineTabs, UnderlineTabsContent, UnderlineTabsList, UnderlineTabsTrigger, type UsePrintContractOptions, badgeVariants, buttonVariants, cn, dadosContratoExemplo, navigationMenuTriggerStyle, toggleVariants, useFormField, useIsMobile, usePrintContract, useSidebar };
|
package/dist/index.js
CHANGED
|
@@ -39,6 +39,7 @@ import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
|
39
39
|
import * as SliderPrimitive from '@radix-ui/react-slider';
|
|
40
40
|
import { useTheme } from 'next-themes';
|
|
41
41
|
import { Toaster as Toaster$1 } from 'sonner';
|
|
42
|
+
export { toast } from 'sonner';
|
|
42
43
|
import * as SwitchPrimitive from '@radix-ui/react-switch';
|
|
43
44
|
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
44
45
|
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
@@ -861,6 +862,19 @@ function CardDescription({ className, ...props }) {
|
|
|
861
862
|
}
|
|
862
863
|
);
|
|
863
864
|
}
|
|
865
|
+
function CardAction({ className, ...props }) {
|
|
866
|
+
return /* @__PURE__ */ jsx(
|
|
867
|
+
"div",
|
|
868
|
+
{
|
|
869
|
+
"data-slot": "card-action",
|
|
870
|
+
className: cn(
|
|
871
|
+
"col-start-2 row-span-2 row-start-1 self-start justify-self-end",
|
|
872
|
+
className
|
|
873
|
+
),
|
|
874
|
+
...props
|
|
875
|
+
}
|
|
876
|
+
);
|
|
877
|
+
}
|
|
864
878
|
function CardContent({ className, ...props }) {
|
|
865
879
|
return /* @__PURE__ */ jsx(
|
|
866
880
|
"div",
|
|
@@ -1698,7 +1712,6 @@ function Calendar2({
|
|
|
1698
1712
|
caption_label: "text-sm font-medium",
|
|
1699
1713
|
nav: "flex items-center gap-1",
|
|
1700
1714
|
nav_button: cn(
|
|
1701
|
-
buttonVariants({ variant: "outline" }),
|
|
1702
1715
|
"size-7 bg-transparent p-0 opacity-50 hover:opacity-100"
|
|
1703
1716
|
),
|
|
1704
1717
|
nav_button_previous: "absolute left-1",
|
|
@@ -1712,7 +1725,6 @@ function Calendar2({
|
|
|
1712
1725
|
props.mode === "range" ? "[&:has(>.day-range-end)]:rounded-r-md [&:has(>.day-range-start)]:rounded-l-md first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md" : "[&:has([aria-selected])]:rounded-md"
|
|
1713
1726
|
),
|
|
1714
1727
|
day: cn(
|
|
1715
|
-
buttonVariants({ variant: "ghost" }),
|
|
1716
1728
|
"size-8 p-0 font-normal aria-selected:opacity-100"
|
|
1717
1729
|
),
|
|
1718
1730
|
day_range_start: "day-range-start aria-selected:bg-primary aria-selected:text-primary-foreground",
|
|
@@ -4836,12 +4848,16 @@ function useIsMobile() {
|
|
|
4836
4848
|
}, []);
|
|
4837
4849
|
return !!isMobile;
|
|
4838
4850
|
}
|
|
4839
|
-
function Skeleton({ className, ...props }) {
|
|
4851
|
+
function Skeleton({ className, variant = "pulse", ...props }) {
|
|
4840
4852
|
return /* @__PURE__ */ jsx(
|
|
4841
4853
|
"div",
|
|
4842
4854
|
{
|
|
4843
4855
|
"data-slot": "skeleton",
|
|
4844
|
-
className: cn(
|
|
4856
|
+
className: cn(
|
|
4857
|
+
"rounded-md",
|
|
4858
|
+
variant === "shimmer" ? "skeleton-shimmer" : "bg-accent animate-pulse",
|
|
4859
|
+
className
|
|
4860
|
+
),
|
|
4845
4861
|
...props
|
|
4846
4862
|
}
|
|
4847
4863
|
);
|
|
@@ -5912,6 +5928,162 @@ function ToggleGroupItem({
|
|
|
5912
5928
|
}
|
|
5913
5929
|
);
|
|
5914
5930
|
}
|
|
5931
|
+
var sizeClasses = {
|
|
5932
|
+
sm: "w-24 h-24",
|
|
5933
|
+
md: "w-32 h-32",
|
|
5934
|
+
lg: "w-48 h-48"
|
|
5935
|
+
};
|
|
5936
|
+
function EmptyInboxIllustration({
|
|
5937
|
+
className,
|
|
5938
|
+
size = "md",
|
|
5939
|
+
primaryColor = "var(--purple-500)",
|
|
5940
|
+
secondaryColor = "var(--purple-100)"
|
|
5941
|
+
}) {
|
|
5942
|
+
return /* @__PURE__ */ jsxs(
|
|
5943
|
+
"svg",
|
|
5944
|
+
{
|
|
5945
|
+
className: cn(sizeClasses[size], className),
|
|
5946
|
+
viewBox: "0 0 120 120",
|
|
5947
|
+
fill: "none",
|
|
5948
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5949
|
+
children: [
|
|
5950
|
+
/* @__PURE__ */ jsx("circle", { cx: "60", cy: "60", r: "55", fill: secondaryColor, opacity: "0.5" }),
|
|
5951
|
+
/* @__PURE__ */ jsx("rect", { x: "30", y: "45", width: "60", height: "40", rx: "4", fill: primaryColor, opacity: "0.2" }),
|
|
5952
|
+
/* @__PURE__ */ jsx("rect", { x: "30", y: "45", width: "60", height: "15", rx: "4", fill: primaryColor }),
|
|
5953
|
+
/* @__PURE__ */ jsx("path", { d: "M35 60 L60 75 L85 60", stroke: primaryColor, strokeWidth: "3", fill: "none" }),
|
|
5954
|
+
/* @__PURE__ */ jsx("circle", { cx: "25", cy: "35", r: "3", fill: primaryColor, opacity: "0.6" }),
|
|
5955
|
+
/* @__PURE__ */ jsx("circle", { cx: "95", cy: "40", r: "2", fill: primaryColor, opacity: "0.4" }),
|
|
5956
|
+
/* @__PURE__ */ jsx("circle", { cx: "100", cy: "70", r: "2.5", fill: primaryColor, opacity: "0.5" })
|
|
5957
|
+
]
|
|
5958
|
+
}
|
|
5959
|
+
);
|
|
5960
|
+
}
|
|
5961
|
+
function EmptySearchIllustration({
|
|
5962
|
+
className,
|
|
5963
|
+
size = "md",
|
|
5964
|
+
primaryColor = "var(--purple-500)",
|
|
5965
|
+
secondaryColor = "var(--purple-100)"
|
|
5966
|
+
}) {
|
|
5967
|
+
return /* @__PURE__ */ jsxs(
|
|
5968
|
+
"svg",
|
|
5969
|
+
{
|
|
5970
|
+
className: cn(sizeClasses[size], className),
|
|
5971
|
+
viewBox: "0 0 120 120",
|
|
5972
|
+
fill: "none",
|
|
5973
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5974
|
+
children: [
|
|
5975
|
+
/* @__PURE__ */ jsx("circle", { cx: "60", cy: "60", r: "55", fill: secondaryColor, opacity: "0.5" }),
|
|
5976
|
+
/* @__PURE__ */ jsx("circle", { cx: "52", cy: "52", r: "22", stroke: primaryColor, strokeWidth: "4", fill: "none" }),
|
|
5977
|
+
/* @__PURE__ */ jsx("line", { x1: "68", y1: "68", x2: "88", y2: "88", stroke: primaryColor, strokeWidth: "4", strokeLinecap: "round" }),
|
|
5978
|
+
/* @__PURE__ */ jsx("line", { x1: "45", y1: "45", x2: "59", y2: "59", stroke: primaryColor, strokeWidth: "3", strokeLinecap: "round", opacity: "0.6" }),
|
|
5979
|
+
/* @__PURE__ */ jsx("line", { x1: "59", y1: "45", x2: "45", y2: "59", stroke: primaryColor, strokeWidth: "3", strokeLinecap: "round", opacity: "0.6" })
|
|
5980
|
+
]
|
|
5981
|
+
}
|
|
5982
|
+
);
|
|
5983
|
+
}
|
|
5984
|
+
function EmptyProjectsIllustration({
|
|
5985
|
+
className,
|
|
5986
|
+
size = "md",
|
|
5987
|
+
primaryColor = "var(--purple-500)",
|
|
5988
|
+
secondaryColor = "var(--purple-100)"
|
|
5989
|
+
}) {
|
|
5990
|
+
return /* @__PURE__ */ jsxs(
|
|
5991
|
+
"svg",
|
|
5992
|
+
{
|
|
5993
|
+
className: cn(sizeClasses[size], className),
|
|
5994
|
+
viewBox: "0 0 120 120",
|
|
5995
|
+
fill: "none",
|
|
5996
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5997
|
+
children: [
|
|
5998
|
+
/* @__PURE__ */ jsx("circle", { cx: "60", cy: "60", r: "55", fill: secondaryColor, opacity: "0.5" }),
|
|
5999
|
+
/* @__PURE__ */ jsx("path", { d: "M25 40 L25 85 L95 85 L95 45 L55 45 L50 40 Z", fill: primaryColor, opacity: "0.3" }),
|
|
6000
|
+
/* @__PURE__ */ jsx("path", { d: "M25 50 L25 85 L95 85 L95 50 Z", fill: primaryColor, opacity: "0.6" }),
|
|
6001
|
+
/* @__PURE__ */ jsx("line", { x1: "60", y1: "60", x2: "60", y2: "76", stroke: "white", strokeWidth: "3", strokeLinecap: "round" }),
|
|
6002
|
+
/* @__PURE__ */ jsx("line", { x1: "52", y1: "68", x2: "68", y2: "68", stroke: "white", strokeWidth: "3", strokeLinecap: "round" })
|
|
6003
|
+
]
|
|
6004
|
+
}
|
|
6005
|
+
);
|
|
6006
|
+
}
|
|
6007
|
+
function EmptyCalendarIllustration({
|
|
6008
|
+
className,
|
|
6009
|
+
size = "md",
|
|
6010
|
+
primaryColor = "var(--purple-500)",
|
|
6011
|
+
secondaryColor = "var(--purple-100)"
|
|
6012
|
+
}) {
|
|
6013
|
+
return /* @__PURE__ */ jsxs(
|
|
6014
|
+
"svg",
|
|
6015
|
+
{
|
|
6016
|
+
className: cn(sizeClasses[size], className),
|
|
6017
|
+
viewBox: "0 0 120 120",
|
|
6018
|
+
fill: "none",
|
|
6019
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6020
|
+
children: [
|
|
6021
|
+
/* @__PURE__ */ jsx("circle", { cx: "60", cy: "60", r: "55", fill: secondaryColor, opacity: "0.5" }),
|
|
6022
|
+
/* @__PURE__ */ jsx("rect", { x: "28", y: "35", width: "64", height: "55", rx: "4", fill: primaryColor, opacity: "0.2" }),
|
|
6023
|
+
/* @__PURE__ */ jsx("rect", { x: "28", y: "35", width: "64", height: "15", rx: "4", fill: primaryColor }),
|
|
6024
|
+
/* @__PURE__ */ jsx("rect", { x: "40", y: "30", width: "4", height: "12", rx: "2", fill: primaryColor }),
|
|
6025
|
+
/* @__PURE__ */ jsx("rect", { x: "76", y: "30", width: "4", height: "12", rx: "2", fill: primaryColor }),
|
|
6026
|
+
/* @__PURE__ */ jsx("circle", { cx: "45", cy: "62", r: "3", fill: primaryColor, opacity: "0.3" }),
|
|
6027
|
+
/* @__PURE__ */ jsx("circle", { cx: "60", cy: "62", r: "3", fill: primaryColor, opacity: "0.3" }),
|
|
6028
|
+
/* @__PURE__ */ jsx("circle", { cx: "75", cy: "62", r: "3", fill: primaryColor, opacity: "0.3" }),
|
|
6029
|
+
/* @__PURE__ */ jsx("circle", { cx: "45", cy: "77", r: "3", fill: primaryColor, opacity: "0.3" }),
|
|
6030
|
+
/* @__PURE__ */ jsx("circle", { cx: "60", cy: "77", r: "3", fill: primaryColor, opacity: "0.3" }),
|
|
6031
|
+
/* @__PURE__ */ jsx("circle", { cx: "75", cy: "77", r: "3", fill: primaryColor, opacity: "0.3" })
|
|
6032
|
+
]
|
|
6033
|
+
}
|
|
6034
|
+
);
|
|
6035
|
+
}
|
|
6036
|
+
function ErrorStateIllustration({
|
|
6037
|
+
className,
|
|
6038
|
+
size = "md",
|
|
6039
|
+
primaryColor = "var(--red-500)",
|
|
6040
|
+
secondaryColor = "var(--red-100)"
|
|
6041
|
+
}) {
|
|
6042
|
+
return /* @__PURE__ */ jsxs(
|
|
6043
|
+
"svg",
|
|
6044
|
+
{
|
|
6045
|
+
className: cn(sizeClasses[size], className),
|
|
6046
|
+
viewBox: "0 0 120 120",
|
|
6047
|
+
fill: "none",
|
|
6048
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6049
|
+
children: [
|
|
6050
|
+
/* @__PURE__ */ jsx("circle", { cx: "60", cy: "60", r: "55", fill: secondaryColor, opacity: "0.5" }),
|
|
6051
|
+
/* @__PURE__ */ jsx("path", { d: "M60 30 L90 80 L30 80 Z", fill: primaryColor, opacity: "0.2", stroke: primaryColor, strokeWidth: "3" }),
|
|
6052
|
+
/* @__PURE__ */ jsx("line", { x1: "60", y1: "48", x2: "60", y2: "62", stroke: primaryColor, strokeWidth: "4", strokeLinecap: "round" }),
|
|
6053
|
+
/* @__PURE__ */ jsx("circle", { cx: "60", cy: "70", r: "2.5", fill: primaryColor })
|
|
6054
|
+
]
|
|
6055
|
+
}
|
|
6056
|
+
);
|
|
6057
|
+
}
|
|
6058
|
+
function SuccessStateIllustration({
|
|
6059
|
+
className,
|
|
6060
|
+
size = "md",
|
|
6061
|
+
primaryColor = "var(--green-500)",
|
|
6062
|
+
secondaryColor = "var(--green-100)"
|
|
6063
|
+
}) {
|
|
6064
|
+
return /* @__PURE__ */ jsxs(
|
|
6065
|
+
"svg",
|
|
6066
|
+
{
|
|
6067
|
+
className: cn(sizeClasses[size], className),
|
|
6068
|
+
viewBox: "0 0 120 120",
|
|
6069
|
+
fill: "none",
|
|
6070
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6071
|
+
children: [
|
|
6072
|
+
/* @__PURE__ */ jsx("circle", { cx: "60", cy: "60", r: "55", fill: secondaryColor, opacity: "0.5" }),
|
|
6073
|
+
/* @__PURE__ */ jsx("circle", { cx: "60", cy: "60", r: "30", fill: primaryColor, opacity: "0.2", stroke: primaryColor, strokeWidth: "3" }),
|
|
6074
|
+
/* @__PURE__ */ jsx("path", { d: "M45 60 L55 70 L75 50", stroke: primaryColor, strokeWidth: "4", strokeLinecap: "round", strokeLinejoin: "round", fill: "none" })
|
|
6075
|
+
]
|
|
6076
|
+
}
|
|
6077
|
+
);
|
|
6078
|
+
}
|
|
6079
|
+
var Illustrations = {
|
|
6080
|
+
EmptyInbox: EmptyInboxIllustration,
|
|
6081
|
+
EmptySearch: EmptySearchIllustration,
|
|
6082
|
+
EmptyProjects: EmptyProjectsIllustration,
|
|
6083
|
+
EmptyCalendar: EmptyCalendarIllustration,
|
|
6084
|
+
ErrorState: ErrorStateIllustration,
|
|
6085
|
+
SuccessState: SuccessStateIllustration
|
|
6086
|
+
};
|
|
5915
6087
|
function ProposalTemplate({
|
|
5916
6088
|
data,
|
|
5917
6089
|
showPreview = false,
|
|
@@ -6080,6 +6252,6 @@ function ProposalTemplate({
|
|
|
6080
6252
|
);
|
|
6081
6253
|
}
|
|
6082
6254
|
|
|
6083
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AppLayout, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Calendar2 as Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartContainer, ChartLegend, ChartLegendContent, ChartTooltip, ChartTooltipContent, Checkbox, Collapsible, CollapsibleContent2 as CollapsibleContent, CollapsibleTrigger2 as CollapsibleTrigger, ColorPicker, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, ContractPrint, ContractPrintPreview, ContractTemplate, DateRangePicker, DateTimePicker, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HoverCard, HoverCardContent, HoverCardTrigger, ImageWithFallback, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, KanbanCard, Label, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverContent, PopoverTrigger, PrintFooter, PrintHeader, PrintInfoGrid, PrintSection, PrintSignature, PrintTable, Progress, ProposalTemplate, RadioGroup4 as RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, Toaster as Sonner, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, TimePicker, Toggle, ToggleGroup, ToggleGroupItem, Tooltip2 as Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UnderlineTabs, UnderlineTabsContent, UnderlineTabsList, UnderlineTabsTrigger, badgeVariants, buttonVariants, cn, dadosContratoExemplo, navigationMenuTriggerStyle, toggleVariants, useFormField, useIsMobile, usePrintContract, useSidebar };
|
|
6255
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AppLayout, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Calendar2 as Calendar, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartContainer, ChartLegend, ChartLegendContent, ChartTooltip, ChartTooltipContent, Checkbox, Collapsible, CollapsibleContent2 as CollapsibleContent, CollapsibleTrigger2 as CollapsibleTrigger, ColorPicker, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, ContractPrint, ContractPrintPreview, ContractTemplate, DateRangePicker, DateTimePicker, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyCalendarIllustration, EmptyInboxIllustration, EmptyProjectsIllustration, EmptySearchIllustration, ErrorStateIllustration, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HoverCard, HoverCardContent, HoverCardTrigger, Illustrations, ImageWithFallback, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, KanbanCard, Label, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverContent, PopoverTrigger, PrintFooter, PrintHeader, PrintInfoGrid, PrintSection, PrintSignature, PrintTable, Progress, ProposalTemplate, RadioGroup4 as RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, Toaster as Sonner, SuccessStateIllustration, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, TimePicker, Toggle, ToggleGroup, ToggleGroupItem, Tooltip2 as Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UnderlineTabs, UnderlineTabsContent, UnderlineTabsList, UnderlineTabsTrigger, badgeVariants, buttonVariants, cn, dadosContratoExemplo, navigationMenuTriggerStyle, toggleVariants, useFormField, useIsMobile, usePrintContract, useSidebar };
|
|
6084
6256
|
//# sourceMappingURL=index.js.map
|
|
6085
6257
|
//# sourceMappingURL=index.js.map
|