@altimateai/ui-components 0.0.1-beta.6 → 0.0.1-beta.9

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,10 +1,12 @@
1
- import * as class_variance_authority_types from 'class-variance-authority/types';
1
+ import { B as ButtonProps } from '../Button-BKBSxoPA.js';
2
+ export { a as Button, b as buttonVariants } from '../Button-BKBSxoPA.js';
2
3
  import * as React$1 from 'react';
3
- import { HTMLAttributes } from 'react';
4
- import { VariantProps } from 'class-variance-authority';
4
+ import { HTMLAttributes, SelectHTMLAttributes } from 'react';
5
5
  import * as react_jsx_runtime from 'react/jsx-runtime';
6
+ import * as class_variance_authority_types from 'class-variance-authority/types';
6
7
  import * as SheetPrimitive from '@radix-ui/react-dialog';
7
8
  import { DialogProps } from '@radix-ui/react-dialog';
9
+ import { VariantProps } from 'class-variance-authority';
8
10
  import * as LabelPrimitive from '@radix-ui/react-label';
9
11
  import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
10
12
  import * as AvatarPrimitive from '@radix-ui/react-avatar';
@@ -30,15 +32,6 @@ import * as ResizablePrimitive from 'react-resizable-panels';
30
32
  import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
31
33
  import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
32
34
 
33
- declare const buttonVariants: (props?: ({
34
- variant?: "link" | "outline" | "default" | "secondary" | "destructive" | "success" | "ghost" | null | undefined;
35
- size?: "default" | "icon" | "sm" | "lg" | null | undefined;
36
- } & class_variance_authority_types.ClassProp) | undefined) => string;
37
- interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
38
- asChild?: boolean;
39
- }
40
- declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
41
-
42
35
  declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
43
36
 
44
37
  declare const Sheet: React$1.FC<SheetPrimitive.DialogProps>;
@@ -113,7 +106,7 @@ declare const Command: React$1.ForwardRefExoticComponent<Omit<{
113
106
  ref?: React.Ref<HTMLDivElement>;
114
107
  } & {
115
108
  asChild?: boolean;
116
- }, "key" | keyof HTMLAttributes<HTMLDivElement> | "asChild"> & {
109
+ }, "asChild" | "key" | keyof HTMLAttributes<HTMLDivElement>> & {
117
110
  label?: string;
118
111
  shouldFilter?: boolean;
119
112
  filter?: (value: string, search: string, keywords?: string[]) => number;
@@ -129,7 +122,7 @@ declare const CommandInput: React$1.ForwardRefExoticComponent<Omit<Omit<Pick<Pic
129
122
  ref?: React.Ref<HTMLInputElement>;
130
123
  } & {
131
124
  asChild?: boolean;
132
- }, "key" | "asChild" | keyof React$1.InputHTMLAttributes<HTMLInputElement>>, "type" | "onChange" | "value"> & {
125
+ }, "asChild" | "key" | keyof React$1.InputHTMLAttributes<HTMLInputElement>>, "type" | "onChange" | "value"> & {
133
126
  value?: string;
134
127
  onValueChange?: (search: string) => void;
135
128
  } & React$1.RefAttributes<HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
@@ -139,7 +132,7 @@ declare const CommandList: React$1.ForwardRefExoticComponent<Omit<{
139
132
  ref?: React.Ref<HTMLDivElement>;
140
133
  } & {
141
134
  asChild?: boolean;
142
- }, "key" | keyof HTMLAttributes<HTMLDivElement> | "asChild"> & {
135
+ }, "asChild" | "key" | keyof HTMLAttributes<HTMLDivElement>> & {
143
136
  label?: string;
144
137
  } & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
145
138
  declare const CommandEmpty: React$1.ForwardRefExoticComponent<Omit<{
@@ -148,14 +141,14 @@ declare const CommandEmpty: React$1.ForwardRefExoticComponent<Omit<{
148
141
  ref?: React.Ref<HTMLDivElement>;
149
142
  } & {
150
143
  asChild?: boolean;
151
- }, "key" | keyof HTMLAttributes<HTMLDivElement> | "asChild"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
144
+ }, "asChild" | "key" | keyof HTMLAttributes<HTMLDivElement>> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
152
145
  declare const CommandGroup: React$1.ForwardRefExoticComponent<Omit<{
153
146
  children?: React.ReactNode;
154
147
  } & Omit<Pick<Pick<React$1.DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof HTMLAttributes<HTMLDivElement>> & {
155
148
  ref?: React.Ref<HTMLDivElement>;
156
149
  } & {
157
150
  asChild?: boolean;
158
- }, "key" | keyof HTMLAttributes<HTMLDivElement> | "asChild">, "heading" | "value"> & {
151
+ }, "asChild" | "key" | keyof HTMLAttributes<HTMLDivElement>>, "heading" | "value"> & {
159
152
  heading?: React.ReactNode;
160
153
  value?: string;
161
154
  forceMount?: boolean;
@@ -164,7 +157,7 @@ declare const CommandSeparator: React$1.ForwardRefExoticComponent<Omit<Pick<Pick
164
157
  ref?: React.Ref<HTMLDivElement>;
165
158
  } & {
166
159
  asChild?: boolean;
167
- }, "key" | keyof HTMLAttributes<HTMLDivElement> | "asChild"> & {
160
+ }, "asChild" | "key" | keyof HTMLAttributes<HTMLDivElement>> & {
168
161
  alwaysRender?: boolean;
169
162
  } & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
170
163
  declare const CommandItem: React$1.ForwardRefExoticComponent<Omit<{
@@ -173,7 +166,7 @@ declare const CommandItem: React$1.ForwardRefExoticComponent<Omit<{
173
166
  ref?: React.Ref<HTMLDivElement>;
174
167
  } & {
175
168
  asChild?: boolean;
176
- }, "key" | keyof HTMLAttributes<HTMLDivElement> | "asChild">, "onSelect" | "disabled" | "value"> & {
169
+ }, "asChild" | "key" | keyof HTMLAttributes<HTMLDivElement>>, "onSelect" | "disabled" | "value"> & {
177
170
  disabled?: boolean;
178
171
  onSelect?: (value: string) => void;
179
172
  value?: string;
@@ -226,7 +219,7 @@ declare const TooltipTrigger: React$1.ForwardRefExoticComponent<TooltipPrimitive
226
219
  declare const TooltipContent: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
227
220
 
228
221
  declare const badgeVariants: (props?: ({
229
- variant?: "outline" | "default" | "secondary" | "destructive" | null | undefined;
222
+ variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
230
223
  } & class_variance_authority_types.ClassProp) | undefined) => string;
231
224
  interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
232
225
  }
@@ -330,6 +323,18 @@ declare const SelectLabel: React$1.ForwardRefExoticComponent<Omit<SelectPrimitiv
330
323
  declare const SelectItem: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
331
324
  declare const SelectSeparator: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
332
325
 
326
+ interface Option {
327
+ value: string;
328
+ label: string;
329
+ }
330
+ interface NativeSelectProps extends Omit<SelectHTMLAttributes<HTMLSelectElement>, "onChange"> {
331
+ options: Option[];
332
+ onChange?: (value: string) => void;
333
+ value?: string;
334
+ placeholder?: string;
335
+ }
336
+ declare const NativeSelect: React$1.ForwardRefExoticComponent<NativeSelectProps & React$1.RefAttributes<HTMLButtonElement>>;
337
+
333
338
  type SidebarContextType = {
334
339
  state: "expanded" | "collapsed";
335
340
  open: boolean;
@@ -373,7 +378,7 @@ declare const SidebarMenuButton: React$1.ForwardRefExoticComponent<Omit<React$1.
373
378
  isActive?: boolean;
374
379
  tooltip?: string | React$1.ComponentProps<typeof TooltipContent>;
375
380
  } & VariantProps<(props?: ({
376
- variant?: "outline" | "default" | null | undefined;
381
+ variant?: "default" | "outline" | null | undefined;
377
382
  size?: "default" | "sm" | "lg" | null | undefined;
378
383
  } & class_variance_authority_types.ClassProp) | undefined) => string>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
379
384
  declare const SidebarMenuAction: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLButtonElement> & React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
@@ -513,4 +518,4 @@ declare const HoverCard: React$1.FC<HoverCardPrimitive.HoverCardProps>;
513
518
  declare const HoverCardTrigger: React$1.ForwardRefExoticComponent<HoverCardPrimitive.HoverCardTriggerProps & React$1.RefAttributes<HTMLAnchorElement>>;
514
519
  declare const HoverCardContent: React$1.ForwardRefExoticComponent<Omit<HoverCardPrimitive.HoverCardContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
515
520
 
516
- 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, Button, type 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, 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, buttonVariants, reducer, toast, useFormField, useSidebar, useToast };
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 };