@altimateai/ui-components 0.0.1-beta.11 → 0.0.1-beta.12

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.
@@ -1,7 +1,7 @@
1
- import { B as ButtonProps } from '../Button-BKBSxoPA.js';
2
- export { a as Button, b as buttonVariants } from '../Button-BKBSxoPA.js';
1
+ import { B as ButtonProps } from '../Button-Dln4BC6y.js';
2
+ export { a as Button, b as buttonVariants } from '../Button-Dln4BC6y.js';
3
3
  import * as React$1 from 'react';
4
- import { HTMLAttributes, SelectHTMLAttributes } from 'react';
4
+ import { HTMLAttributes, ReactNode, SelectHTMLAttributes } from 'react';
5
5
  import * as react_jsx_runtime from 'react/jsx-runtime';
6
6
  import * as class_variance_authority_types from 'class-variance-authority/types';
7
7
  import * as SheetPrimitive from '@radix-ui/react-dialog';
@@ -40,7 +40,7 @@ declare const SheetClose: React$1.ForwardRefExoticComponent<SheetPrimitive.Dialo
40
40
  declare const SheetPortal: React$1.FC<SheetPrimitive.DialogPortalProps>;
41
41
  declare const SheetOverlay: React$1.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
42
42
  declare const sheetVariants: (props?: ({
43
- side?: "top" | "bottom" | "right" | "left" | null | undefined;
43
+ side?: "top" | "bottom" | "left" | "right" | null | undefined;
44
44
  } & class_variance_authority_types.ClassProp) | undefined) => string;
45
45
  interface SheetContentProps extends React$1.ComponentPropsWithoutRef<typeof SheetPrimitive.Content>, VariantProps<typeof sheetVariants> {
46
46
  children: React$1.ReactNode;
@@ -122,7 +122,7 @@ declare const CommandInput: React$1.ForwardRefExoticComponent<Omit<Omit<Pick<Pic
122
122
  ref?: React.Ref<HTMLInputElement>;
123
123
  } & {
124
124
  asChild?: boolean;
125
- }, "asChild" | "key" | keyof React$1.InputHTMLAttributes<HTMLInputElement>>, "type" | "onChange" | "value"> & {
125
+ }, "asChild" | "key" | keyof React$1.InputHTMLAttributes<HTMLInputElement>>, "type" | "value" | "onChange"> & {
126
126
  value?: string;
127
127
  onValueChange?: (search: string) => void;
128
128
  } & React$1.RefAttributes<HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
@@ -148,7 +148,7 @@ declare const CommandGroup: React$1.ForwardRefExoticComponent<Omit<{
148
148
  ref?: React.Ref<HTMLDivElement>;
149
149
  } & {
150
150
  asChild?: boolean;
151
- }, "asChild" | "key" | keyof HTMLAttributes<HTMLDivElement>>, "heading" | "value"> & {
151
+ }, "asChild" | "key" | keyof HTMLAttributes<HTMLDivElement>>, "value" | "heading"> & {
152
152
  heading?: React.ReactNode;
153
153
  value?: string;
154
154
  forceMount?: boolean;
@@ -166,7 +166,7 @@ declare const CommandItem: React$1.ForwardRefExoticComponent<Omit<{
166
166
  ref?: React.Ref<HTMLDivElement>;
167
167
  } & {
168
168
  asChild?: boolean;
169
- }, "asChild" | "key" | keyof HTMLAttributes<HTMLDivElement>>, "onSelect" | "disabled" | "value"> & {
169
+ }, "asChild" | "key" | keyof HTMLAttributes<HTMLDivElement>>, "disabled" | "value" | "onSelect"> & {
170
170
  disabled?: boolean;
171
171
  onSelect?: (value: string) => void;
172
172
  value?: string;
@@ -214,9 +214,12 @@ interface TypographyProps {
214
214
  declare const Typography: ({ variant, children, className, weight, size, }: TypographyProps) => react_jsx_runtime.JSX.Element;
215
215
 
216
216
  declare const TooltipProvider: React$1.FC<TooltipPrimitive.TooltipProviderProps>;
217
- declare const Tooltip: React$1.FC<TooltipPrimitive.TooltipProps>;
217
+ declare const TooltipCore: React$1.FC<TooltipPrimitive.TooltipProps>;
218
218
  declare const TooltipTrigger: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
219
219
  declare const TooltipContent: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
220
+ declare const Tooltip: ({ children, title, ...props }: TooltipPrimitive.TooltipProps & {
221
+ title: string | React$1.ReactNode;
222
+ }) => react_jsx_runtime.JSX.Element;
220
223
 
221
224
  declare const badgeVariants: (props?: ({
222
225
  variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
@@ -323,15 +326,21 @@ declare const SelectLabel: React$1.ForwardRefExoticComponent<Omit<SelectPrimitiv
323
326
  declare const SelectItem: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
324
327
  declare const SelectSeparator: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
325
328
 
329
+ declare const selectVariants: (props?: ({
330
+ variant?: "default" | "destructive" | "outline" | "success" | "secondary" | "ghost" | null | undefined;
331
+ size?: "default" | "sm" | "lg" | null | undefined;
332
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
326
333
  interface Option {
327
334
  value: string;
328
335
  label: string;
329
336
  }
330
- interface NativeSelectProps extends Omit<SelectHTMLAttributes<HTMLSelectElement>, "onChange"> {
337
+ type SelectAttributes = Omit<SelectHTMLAttributes<HTMLSelectElement>, "onChange" | "size">;
338
+ interface NativeSelectProps extends SelectAttributes, VariantProps<typeof selectVariants> {
331
339
  options: Option[];
332
340
  onChange?: (value: string) => void;
333
341
  value?: string;
334
342
  placeholder?: string;
343
+ icon?: ReactNode;
335
344
  }
336
345
  declare const NativeSelect: React$1.ForwardRefExoticComponent<NativeSelectProps & React$1.RefAttributes<HTMLButtonElement>>;
337
346
 
@@ -454,8 +463,14 @@ declare const MenubarGroup: React$1.ForwardRefExoticComponent<MenubarPrimitive.M
454
463
  declare const MenubarPortal: React$1.FC<MenubarPrimitive.MenubarPortalProps>;
455
464
  declare const MenubarSub: React$1.FC<MenubarPrimitive.MenubarSubProps>;
456
465
  declare const MenubarRadioGroup: React$1.ForwardRefExoticComponent<MenubarPrimitive.MenubarRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
466
+ declare const menubarTriggerVariants: (props?: ({
467
+ variant?: "default" | "destructive" | "outline" | "success" | "secondary" | "ghost" | null | undefined;
468
+ size?: "default" | "sm" | "lg" | null | undefined;
469
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
457
470
  declare const Menubar: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
458
- declare const MenubarTrigger: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
471
+ interface MenubarTriggerProps extends React$1.ComponentPropsWithoutRef<typeof MenubarPrimitive.Trigger>, VariantProps<typeof menubarTriggerVariants> {
472
+ }
473
+ declare const MenubarTrigger: React$1.ForwardRefExoticComponent<MenubarTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
459
474
  declare const MenubarSubTrigger: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarSubTriggerProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
460
475
  inset?: boolean;
461
476
  } & React$1.RefAttributes<HTMLDivElement>>;
@@ -518,4 +533,4 @@ declare const HoverCard: React$1.FC<HoverCardPrimitive.HoverCardProps>;
518
533
  declare const HoverCardTrigger: React$1.ForwardRefExoticComponent<HoverCardPrimitive.HoverCardTriggerProps & React$1.RefAttributes<HTMLAnchorElement>>;
519
534
  declare const HoverCardContent: React$1.ForwardRefExoticComponent<Omit<HoverCardPrimitive.HoverCardContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
520
535
 
521
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HoverCard, HoverCardContent, HoverCardTrigger, Input, Label, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NativeSelect, type Option, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, 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, Skeleton, Slider, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Typography, badgeVariants, reducer, toast, useFormField, useSidebar, useToast };
536
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HoverCard, HoverCardContent, HoverCardTrigger, Input, Label, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NativeSelect, type Option, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, 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, Skeleton, Slider, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, TooltipContent, TooltipCore, TooltipProvider, TooltipTrigger, Typography, badgeVariants, reducer, toast, useFormField, useSidebar, useToast };