@altimateai/ui-components 0.0.1-beta.9 → 0.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.
@@ -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, AriaRole, 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;
@@ -210,13 +210,17 @@ interface TypographyProps {
210
210
  className?: string;
211
211
  weight?: FontWeight;
212
212
  size?: FontSize;
213
+ role?: AriaRole | undefined;
213
214
  }
214
- declare const Typography: ({ variant, children, className, weight, size, }: TypographyProps) => react_jsx_runtime.JSX.Element;
215
+ declare const Typography: ({ variant, children, className, weight, size, role, }: TypographyProps) => react_jsx_runtime.JSX.Element;
215
216
 
216
217
  declare const TooltipProvider: React$1.FC<TooltipPrimitive.TooltipProviderProps>;
217
- declare const Tooltip: React$1.FC<TooltipPrimitive.TooltipProps>;
218
+ declare const TooltipCore: React$1.FC<TooltipPrimitive.TooltipProps>;
218
219
  declare const TooltipTrigger: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
219
220
  declare const TooltipContent: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
221
+ declare const Tooltip: ({ children, title, ...props }: TooltipPrimitive.TooltipProps & {
222
+ title: string | React$1.ReactNode;
223
+ }) => react_jsx_runtime.JSX.Element;
220
224
 
221
225
  declare const badgeVariants: (props?: ({
222
226
  variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
@@ -323,15 +327,22 @@ declare const SelectLabel: React$1.ForwardRefExoticComponent<Omit<SelectPrimitiv
323
327
  declare const SelectItem: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
324
328
  declare const SelectSeparator: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
325
329
 
330
+ declare const selectVariants: (props?: ({
331
+ variant?: "default" | "destructive" | "outline" | "success" | "secondary" | "ghost" | null | undefined;
332
+ size?: "default" | "sm" | "lg" | null | undefined;
333
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
326
334
  interface Option {
327
335
  value: string;
328
336
  label: string;
329
337
  }
330
- interface NativeSelectProps extends Omit<SelectHTMLAttributes<HTMLSelectElement>, "onChange"> {
338
+ type SelectAttributes = Omit<SelectHTMLAttributes<HTMLSelectElement>, "onChange" | "size">;
339
+ interface NativeSelectProps extends SelectAttributes, VariantProps<typeof selectVariants> {
331
340
  options: Option[];
332
341
  onChange?: (value: string) => void;
333
342
  value?: string;
334
343
  placeholder?: string;
344
+ icon?: ReactNode;
345
+ open?: boolean;
335
346
  }
336
347
  declare const NativeSelect: React$1.ForwardRefExoticComponent<NativeSelectProps & React$1.RefAttributes<HTMLButtonElement>>;
337
348
 
@@ -454,8 +465,14 @@ declare const MenubarGroup: React$1.ForwardRefExoticComponent<MenubarPrimitive.M
454
465
  declare const MenubarPortal: React$1.FC<MenubarPrimitive.MenubarPortalProps>;
455
466
  declare const MenubarSub: React$1.FC<MenubarPrimitive.MenubarSubProps>;
456
467
  declare const MenubarRadioGroup: React$1.ForwardRefExoticComponent<MenubarPrimitive.MenubarRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
468
+ declare const menubarTriggerVariants: (props?: ({
469
+ variant?: "default" | "destructive" | "outline" | "success" | "secondary" | "ghost" | null | undefined;
470
+ size?: "default" | "sm" | "lg" | null | undefined;
471
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
457
472
  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>>;
473
+ interface MenubarTriggerProps extends React$1.ComponentPropsWithoutRef<typeof MenubarPrimitive.Trigger>, VariantProps<typeof menubarTriggerVariants> {
474
+ }
475
+ declare const MenubarTrigger: React$1.ForwardRefExoticComponent<MenubarTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
459
476
  declare const MenubarSubTrigger: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarSubTriggerProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
460
477
  inset?: boolean;
461
478
  } & React$1.RefAttributes<HTMLDivElement>>;
@@ -518,4 +535,4 @@ declare const HoverCard: React$1.FC<HoverCardPrimitive.HoverCardProps>;
518
535
  declare const HoverCardTrigger: React$1.ForwardRefExoticComponent<HoverCardPrimitive.HoverCardTriggerProps & React$1.RefAttributes<HTMLAnchorElement>>;
519
536
  declare const HoverCardContent: React$1.ForwardRefExoticComponent<Omit<HoverCardPrimitive.HoverCardContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
520
537
 
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 };
538
+ 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 };