@the12company/ui 0.1.6 → 0.1.8

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 CHANGED
@@ -520,6 +520,16 @@ declare const ContextMenuShortcut: {
520
520
  displayName: string;
521
521
  };
522
522
 
523
+ declare const dialogIconVariants: (props?: ({
524
+ size?: "sm" | "lg" | "md" | null | undefined;
525
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
526
+ type DialogIconProps = React$1.HTMLAttributes<HTMLDivElement> & VariantProps<typeof dialogIconVariants>;
527
+ /**
528
+ * Accent icon shell used in dialog headers (and similar callouts).
529
+ * Pass a Lucide (or other) icon as children; color comes from `text-primary` / `currentColor`.
530
+ */
531
+ declare function DialogIcon({ className, size, children, ...props }: DialogIconProps): React$1.JSX.Element;
532
+
523
533
  declare const Dialog: React$1.FC<DialogPrimitive.DialogProps>;
524
534
  declare const DialogTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
525
535
  declare const DialogPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
@@ -668,6 +678,8 @@ type ListingPaginationProps = {
668
678
  pageSize?: number;
669
679
  itemLabel?: string;
670
680
  disabled?: boolean;
681
+ /** When true, render even if there is only one page. */
682
+ showWhenSinglePage?: boolean;
671
683
  variant?: "default" | "minimal";
672
684
  className?: string;
673
685
  onPageChange: (page: number) => void;
@@ -681,7 +693,7 @@ type ListingPaginationProps = {
681
693
  pageAria?: (page: number) => string;
682
694
  };
683
695
  };
684
- declare function ListingPagination({ page, totalPages, total, pageSize, itemLabel, disabled, variant, className, onPageChange, formatTotal, labels, }: ListingPaginationProps): React$1.JSX.Element | null;
696
+ declare function ListingPagination({ page, totalPages, total, pageSize, itemLabel, disabled, showWhenSinglePage, variant, className, onPageChange, formatTotal, labels, }: ListingPaginationProps): React$1.JSX.Element | null;
685
697
 
686
698
  declare const MenubarMenu: (props: MenubarPrimitive.MenubarMenuProps & {
687
699
  __scopeMenubar?: _radix_ui_react_context.Scope;
@@ -721,6 +733,25 @@ declare const NavigationMenuLink: React$1.ForwardRefExoticComponent<NavigationMe
721
733
  declare const NavigationMenuViewport: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuViewportProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
722
734
  declare const NavigationMenuIndicator: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuIndicatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
723
735
 
736
+ declare const noteVariants: (props?: ({
737
+ variant?: "muted" | "default" | null | undefined;
738
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
739
+ declare const noteIconVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
740
+ type NoteProps = React$1.HTMLAttributes<HTMLDivElement> & VariantProps<typeof noteVariants> & {
741
+ icon?: React$1.ReactNode;
742
+ title?: React$1.ReactNode;
743
+ description?: React$1.ReactNode;
744
+ };
745
+ type NoteIconProps = React$1.HTMLAttributes<HTMLDivElement>;
746
+ /** Circular accent icon used inside {@link Note}. */
747
+ declare function NoteIcon({ className, children, ...props }: NoteIconProps): React$1.JSX.Element;
748
+ declare function NoteTitle({ className, ...props }: React$1.HTMLAttributes<HTMLParagraphElement>): React$1.JSX.Element;
749
+ declare function NoteDescription({ className, ...props }: React$1.HTMLAttributes<HTMLParagraphElement>): React$1.JSX.Element;
750
+ /**
751
+ * Inline help / tip callout: optional icon, title, description, and trailing actions.
752
+ */
753
+ declare function Note({ className, variant, icon, title, description, children, ...props }: NoteProps): React$1.JSX.Element;
754
+
724
755
  type PageHeaderProps = {
725
756
  /** Optional eyebrow above the title. */
726
757
  label?: React$1.ReactNode;
@@ -1032,4 +1063,4 @@ type VisiblePage = number | "ellipsis";
1032
1063
  declare function buildVisiblePages(current: number, totalPages: number): VisiblePage[];
1033
1064
  declare function buildRangeLabel(page: number, pageSize: number, total: number, itemLabel?: string, formatTotal?: (n: number) => string): string;
1034
1065
 
1035
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AppChromeBrand, type AppChromeBrandProps, AppChromeHeader, type AppChromeHeaderProps, AppChromeSidebar, type AppChromeSidebarProps, AspectRatio, Aurora, type AuroraProps, AuthBanner, type AuthBannerProps, AuthBrand, type AuthBrandProps, AuthCard, AuthCardDescription, AuthCardHeader, AuthCardTitle, AuthFieldError, type AuthFieldErrorProps, AuthFooter, AuthFooterLink, type AuthFooterLinkProps, type AuthFooterProps, AuthShell, type AuthShellProps, 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, ChartCard, type ChartCardProps, 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, Dropdown, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmailInput, type EmailInputProps, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputProps, Label, ListingPagination, type ListingPaginationProps, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, PageHeader, type PageHeaderProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PasswordInput, type PasswordInputProps, Popover, PopoverContent, PopoverTrigger, Progress, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, SearchableSelect, type SearchableSelectItem, type SearchableSelectLoadResult, type SearchableSelectProps, 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, Skeleton, Slider, Toaster$1 as SonnerToaster, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, type TableProps, 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, type VisiblePage, authBannerVariants, badgeVariants, buildRangeLabel, buildVisiblePages, buttonVariants, cn, inputVariants, navigationMenuTriggerStyle, toast, toggleVariants, useFormField, useIsMobile, useSidebar, useToast };
1066
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AppChromeBrand, type AppChromeBrandProps, AppChromeHeader, type AppChromeHeaderProps, AppChromeSidebar, type AppChromeSidebarProps, AspectRatio, Aurora, type AuroraProps, AuthBanner, type AuthBannerProps, AuthBrand, type AuthBrandProps, AuthCard, AuthCardDescription, AuthCardHeader, AuthCardTitle, AuthFieldError, type AuthFieldErrorProps, AuthFooter, AuthFooterLink, type AuthFooterLinkProps, type AuthFooterProps, AuthShell, type AuthShellProps, 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, ChartCard, type ChartCardProps, 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, DialogIcon, type DialogIconProps, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, Dropdown, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmailInput, type EmailInputProps, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputProps, Label, ListingPagination, type ListingPaginationProps, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Note, NoteDescription, NoteIcon, type NoteIconProps, type NoteProps, NoteTitle, PageHeader, type PageHeaderProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PasswordInput, type PasswordInputProps, Popover, PopoverContent, PopoverTrigger, Progress, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, SearchableSelect, type SearchableSelectItem, type SearchableSelectLoadResult, type SearchableSelectProps, 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, Skeleton, Slider, Toaster$1 as SonnerToaster, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, type TableProps, 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, type VisiblePage, authBannerVariants, badgeVariants, buildRangeLabel, buildVisiblePages, buttonVariants, cn, dialogIconVariants, inputVariants, navigationMenuTriggerStyle, noteIconVariants, noteVariants, toast, toggleVariants, useFormField, useIsMobile, useSidebar, useToast };
package/dist/index.js CHANGED
@@ -1555,8 +1555,8 @@ var AuthBrand = React11.forwardRef(
1555
1555
  "div",
1556
1556
  {
1557
1557
  className: cn(
1558
- "mb-5 flex h-16 w-16 items-center justify-center rounded-2xl shadow-lg shadow-primary/30 ring-4 ring-primary/10 transition-all duration-500 hover:-translate-y-0.5",
1559
- shadow && "shadow-lg shadow-primary/30 ring-4 ring-primary/10 hover:shadow-xl hover:shadow-primary/30"
1558
+ "mb-5 flex h-16 w-16 items-center justify-center rounded-2xl transition-all duration-500 hover:-translate-y-0.5",
1559
+ shadow && "shadow-lg shadow-primary/30 ring-4 ring-primary/10 hover:shadow-xl hover:shadow-primary/30"
1560
1560
  ),
1561
1561
  children: logo
1562
1562
  }
@@ -1664,7 +1664,13 @@ var AuthShell = React11.forwardRef(
1664
1664
  children: background
1665
1665
  }
1666
1666
  ) : null,
1667
- /* @__PURE__ */ jsx("div", { className: "pointer-events-none absolute inset-0 z-[1]", "aria-hidden": true }),
1667
+ /* @__PURE__ */ jsx(
1668
+ "div",
1669
+ {
1670
+ className: "pointer-events-none absolute inset-0 z-[1]",
1671
+ "aria-hidden": true
1672
+ }
1673
+ ),
1668
1674
  /* @__PURE__ */ jsx("div", { className: "relative z-10 w-full max-w-[440px]", children })
1669
1675
  ]
1670
1676
  }
@@ -2466,6 +2472,38 @@ Checkbox.displayName = CheckboxPrimitive.Root.displayName;
2466
2472
  var Collapsible = CollapsiblePrimitive.Root;
2467
2473
  var CollapsibleTrigger2 = CollapsiblePrimitive.CollapsibleTrigger;
2468
2474
  var CollapsibleContent2 = CollapsiblePrimitive.CollapsibleContent;
2475
+ var dialogIconVariants = cva(
2476
+ "flex w-fit shrink-0 items-center justify-center rounded-lg bg-primary/15 text-primary",
2477
+ {
2478
+ variants: {
2479
+ size: {
2480
+ sm: "p-2 [&_svg]:size-4",
2481
+ /** Default modal / dialog header icon. */
2482
+ md: "p-2.5 [&_svg]:size-6",
2483
+ lg: "p-3 [&_svg]:size-6"
2484
+ }
2485
+ },
2486
+ defaultVariants: {
2487
+ size: "md"
2488
+ }
2489
+ }
2490
+ );
2491
+ function DialogIcon({
2492
+ className,
2493
+ size,
2494
+ children,
2495
+ ...props
2496
+ }) {
2497
+ return /* @__PURE__ */ jsx(
2498
+ "div",
2499
+ {
2500
+ "aria-hidden": true,
2501
+ ...props,
2502
+ className: cn(dialogIconVariants({ size }), className),
2503
+ children
2504
+ }
2505
+ );
2506
+ }
2469
2507
  var Dialog = SheetPrimitive.Root;
2470
2508
  var DialogTrigger = SheetPrimitive.Trigger;
2471
2509
  var DialogPortal = SheetPrimitive.Portal;
@@ -3371,13 +3409,14 @@ function ListingPagination({
3371
3409
  pageSize,
3372
3410
  itemLabel,
3373
3411
  disabled = false,
3412
+ showWhenSinglePage = false,
3374
3413
  variant = "default",
3375
3414
  className,
3376
3415
  onPageChange,
3377
3416
  formatTotal,
3378
3417
  labels
3379
3418
  }) {
3380
- if (totalPages <= 1) return null;
3419
+ if (!showWhenSinglePage && totalPages <= 1) return null;
3381
3420
  const previous = labels?.previous ?? "Anterior";
3382
3421
  const next = labels?.next ?? "Pr\xF3xima";
3383
3422
  const previousAria = labels?.previousAria ?? "P\xE1gina anterior";
@@ -3764,6 +3803,87 @@ var NavigationMenuIndicator = React11.forwardRef(({ className, ...props }, ref)
3764
3803
  }
3765
3804
  ));
3766
3805
  NavigationMenuIndicator.displayName = NavigationMenuPrimitive.Indicator.displayName;
3806
+ var noteVariants = cva(
3807
+ "flex gap-3 rounded-xl border px-4 py-3.5 transition-all duration-500",
3808
+ {
3809
+ variants: {
3810
+ variant: {
3811
+ default: "border-primary/30 bg-primary/15 dark:border-primary/25 dark:bg-primary/5 hover:shadow-[0_0_15px_rgba(96,214,111,0.2)] hover:shadow-primary/25 dark:hover:shadow-primary/10",
3812
+ muted: "border-border bg-muted/40"
3813
+ }
3814
+ },
3815
+ defaultVariants: {
3816
+ variant: "default"
3817
+ }
3818
+ }
3819
+ );
3820
+ var noteIconVariants = cva(
3821
+ "flex h-10 w-10 shrink-0 items-center justify-center rounded-full bg-primary/15 text-primary [&_svg]:size-5"
3822
+ );
3823
+ function NoteIcon({ className, children, ...props }) {
3824
+ return /* @__PURE__ */ jsx(
3825
+ "div",
3826
+ {
3827
+ "aria-hidden": true,
3828
+ ...props,
3829
+ className: cn(noteIconVariants(), className),
3830
+ children
3831
+ }
3832
+ );
3833
+ }
3834
+ function NoteTitle({
3835
+ className,
3836
+ ...props
3837
+ }) {
3838
+ return /* @__PURE__ */ jsx(
3839
+ "p",
3840
+ {
3841
+ className: cn("text-sm font-semibold text-foreground", className),
3842
+ ...props
3843
+ }
3844
+ );
3845
+ }
3846
+ function NoteDescription({
3847
+ className,
3848
+ ...props
3849
+ }) {
3850
+ return /* @__PURE__ */ jsx(
3851
+ "p",
3852
+ {
3853
+ className: cn(
3854
+ "text-xs leading-relaxed text-muted-foreground",
3855
+ className
3856
+ ),
3857
+ ...props
3858
+ }
3859
+ );
3860
+ }
3861
+ function Note({
3862
+ className,
3863
+ variant,
3864
+ icon,
3865
+ title,
3866
+ description,
3867
+ children,
3868
+ ...props
3869
+ }) {
3870
+ return /* @__PURE__ */ jsxs(
3871
+ "div",
3872
+ {
3873
+ role: "note",
3874
+ ...props,
3875
+ className: cn(noteVariants({ variant }), className),
3876
+ children: [
3877
+ icon ? /* @__PURE__ */ jsx(NoteIcon, { children: icon }) : null,
3878
+ /* @__PURE__ */ jsxs("div", { className: "min-w-0 space-y-0", children: [
3879
+ title != null ? typeof title === "string" || typeof title === "number" ? /* @__PURE__ */ jsx(NoteTitle, { children: title }) : title : null,
3880
+ description != null ? typeof description === "string" || typeof description === "number" ? /* @__PURE__ */ jsx(NoteDescription, { children: description }) : description : null,
3881
+ children
3882
+ ] })
3883
+ ]
3884
+ }
3885
+ );
3886
+ }
3767
3887
  function PageHeader({
3768
3888
  label,
3769
3889
  title,
@@ -3796,16 +3916,7 @@ function PageHeader({
3796
3916
  label && "mt-1"
3797
3917
  ),
3798
3918
  children: [
3799
- /* @__PURE__ */ jsx(
3800
- "h1",
3801
- {
3802
- className: cn(
3803
- "text-xl font-bold tracking-tight",
3804
- titleClassName
3805
- ),
3806
- children: title
3807
- }
3808
- ),
3919
+ /* @__PURE__ */ jsx("h1", { className: cn("text-xl font-bold tracking-tight", titleClassName), children: title }),
3809
3920
  badge
3810
3921
  ]
3811
3922
  }
@@ -3832,7 +3943,7 @@ function PageHeader({
3832
3943
  "header",
3833
3944
  {
3834
3945
  className: cn(
3835
- children ? "flex flex-col gap-3 sm:flex-row sm:items-end sm:justify-between" : "w-full",
3946
+ children ? "flex flex-col gap-3 sm:flex-row sm:items-start sm:justify-between" : "w-full",
3836
3947
  className
3837
3948
  ),
3838
3949
  children: [
@@ -4803,6 +4914,6 @@ var ToggleGroupItem = React11.forwardRef(({ className, children, variant, size,
4803
4914
  });
4804
4915
  ToggleGroupItem.displayName = ToggleGroupPrimitive.Item.displayName;
4805
4916
 
4806
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AppChromeBrand, AppChromeHeader, AppChromeSidebar, AspectRatio, Aurora, AuthBanner, AuthBrand, AuthCard, AuthCardDescription, AuthCardHeader, AuthCardTitle, AuthFieldError, AuthFooter, AuthFooterLink, AuthShell, Avatar, AvatarFallback, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartCard, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, Collapsible, CollapsibleContent2 as CollapsibleContent, CollapsibleTrigger2 as 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, Dropdown, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmailInput, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Label3 as Label, ListingPagination, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, PageHeader, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PasswordInput, Popover, PopoverContent, PopoverTrigger, Progress, RadioGroup4 as RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, SearchableSelect, 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, Skeleton, Slider, Toaster as SonnerToaster, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toast, ToastAction, ToastClose, ToastDescription, ToastProvider, ToastTitle, ToastViewport, Toaster2 as Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, authBannerVariants, badgeVariants, buildRangeLabel, buildVisiblePages, buttonVariants, cn, inputVariants, navigationMenuTriggerStyle, toast, toggleVariants, useFormField, useIsMobile, useSidebar, useToast };
4917
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AppChromeBrand, AppChromeHeader, AppChromeSidebar, AspectRatio, Aurora, AuthBanner, AuthBrand, AuthCard, AuthCardDescription, AuthCardHeader, AuthCardTitle, AuthFieldError, AuthFooter, AuthFooterLink, AuthShell, Avatar, AvatarFallback, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartCard, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, Collapsible, CollapsibleContent2 as CollapsibleContent, CollapsibleTrigger2 as 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, DialogIcon, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, Dropdown, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmailInput, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Label3 as Label, ListingPagination, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Note, NoteDescription, NoteIcon, NoteTitle, PageHeader, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PasswordInput, Popover, PopoverContent, PopoverTrigger, Progress, RadioGroup4 as RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, SearchableSelect, 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, Skeleton, Slider, Toaster as SonnerToaster, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toast, ToastAction, ToastClose, ToastDescription, ToastProvider, ToastTitle, ToastViewport, Toaster2 as Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, authBannerVariants, badgeVariants, buildRangeLabel, buildVisiblePages, buttonVariants, cn, dialogIconVariants, inputVariants, navigationMenuTriggerStyle, noteIconVariants, noteVariants, toast, toggleVariants, useFormField, useIsMobile, useSidebar, useToast };
4807
4918
  //# sourceMappingURL=index.js.map
4808
4919
  //# sourceMappingURL=index.js.map