@altimateai/ui-components 0.0.23 → 0.0.24-beta.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/{Button-Cj79i7Go.d.ts → Button-C4jhPGlR.d.ts} +2 -2
- package/dist/CoachForm.js +12573 -12414
- package/dist/Form.js +3658 -0
- package/dist/Stack.js +2911 -1993
- package/dist/Switch.js +128 -0
- package/dist/Table.js +22 -0
- package/dist/chatbotV2/index.d.ts +2 -2
- package/dist/index.d.ts +22 -25
- package/dist/index.js +32 -64
- package/dist/lineage/index.js +2335 -2354
- package/dist/main.css +1 -1
- package/dist/main.js +840 -842
- package/dist/redux-toolkit.modern.js +910 -1014
- package/dist/shadcn/index.d.ts +18 -14
- package/dist/shadcn/index.js +2724 -3420
- package/dist/storybook/Badge.stories.tsx +7 -0
- package/dist/storybook/Card.stories.tsx +2 -2
- package/dist/storybook/Label.stories.tsx +2 -2
- package/dist/storybook/Typography.stories.tsx +14 -14
- package/dist/{types-MLsaGOQh.d.ts → types-CPlzEfL7.d.ts} +31 -3
- package/package.json +2 -2
- package/dist/Label.js +0 -48
- package/dist/NativeSelect.js +0 -3918
package/dist/shadcn/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as Button, B as ButtonProps } from '../Button-
|
|
2
|
-
export { b as buttonVariants } from '../Button-
|
|
1
|
+
import { a as Button, B as ButtonProps } from '../Button-C4jhPGlR.js';
|
|
2
|
+
export { b as buttonVariants } from '../Button-C4jhPGlR.js';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import { DayPicker, DayButton, DateRange } from 'react-day-picker';
|
|
5
5
|
import * as React$1 from 'react';
|
|
@@ -13,6 +13,7 @@ import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
|
13
13
|
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
14
14
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
15
15
|
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
16
|
+
export { PopoverClose } from '@radix-ui/react-popover';
|
|
16
17
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
17
18
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
18
19
|
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
@@ -57,7 +58,9 @@ declare const TZDateRange: ({ selectedRange, onChange, tz, predefinedRanges, dis
|
|
|
57
58
|
disableAfter?: Date;
|
|
58
59
|
}) => react_jsx_runtime.JSX.Element;
|
|
59
60
|
|
|
60
|
-
|
|
61
|
+
interface InputProps extends Omit<React$1.ComponentProps<"input">, "ref"> {
|
|
62
|
+
}
|
|
63
|
+
declare const Input: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
61
64
|
|
|
62
65
|
declare const Sheet: React$1.FC<SheetPrimitive.DialogProps>;
|
|
63
66
|
declare const SheetTrigger: React$1.ForwardRefExoticComponent<SheetPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
@@ -147,7 +150,7 @@ declare const CommandInput: React$1.ForwardRefExoticComponent<Omit<Omit<Pick<Pic
|
|
|
147
150
|
ref?: React.Ref<HTMLInputElement>;
|
|
148
151
|
} & {
|
|
149
152
|
asChild?: boolean;
|
|
150
|
-
}, "asChild" | "key" | keyof React$1.InputHTMLAttributes<HTMLInputElement>>, "
|
|
153
|
+
}, "asChild" | "key" | keyof React$1.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "type" | "value"> & {
|
|
151
154
|
value?: string;
|
|
152
155
|
onValueChange?: (search: string) => void;
|
|
153
156
|
} & React$1.RefAttributes<HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
@@ -173,7 +176,7 @@ declare const CommandGroup: React$1.ForwardRefExoticComponent<Omit<{
|
|
|
173
176
|
ref?: React.Ref<HTMLDivElement>;
|
|
174
177
|
} & {
|
|
175
178
|
asChild?: boolean;
|
|
176
|
-
}, "asChild" | "key" | keyof HTMLAttributes<HTMLDivElement>>, "
|
|
179
|
+
}, "asChild" | "key" | keyof HTMLAttributes<HTMLDivElement>>, "heading" | "value"> & {
|
|
177
180
|
heading?: React.ReactNode;
|
|
178
181
|
value?: string;
|
|
179
182
|
forceMount?: boolean;
|
|
@@ -191,7 +194,7 @@ declare const CommandItem: React$1.ForwardRefExoticComponent<Omit<{
|
|
|
191
194
|
ref?: React.Ref<HTMLDivElement>;
|
|
192
195
|
} & {
|
|
193
196
|
asChild?: boolean;
|
|
194
|
-
}, "asChild" | "key" | keyof HTMLAttributes<HTMLDivElement>>, "
|
|
197
|
+
}, "asChild" | "key" | keyof HTMLAttributes<HTMLDivElement>>, "onSelect" | "disabled" | "value"> & {
|
|
195
198
|
disabled?: boolean;
|
|
196
199
|
onSelect?: (value: string) => void;
|
|
197
200
|
value?: string;
|
|
@@ -244,11 +247,12 @@ declare const TooltipCore: React$1.FC<TooltipPrimitive.TooltipProps>;
|
|
|
244
247
|
declare const TooltipTrigger: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
245
248
|
declare const TooltipContent: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
246
249
|
declare const Tooltip: ({ children, title, ...props }: TooltipPrimitive.TooltipProps & {
|
|
247
|
-
title
|
|
250
|
+
title?: string | React$1.ReactNode;
|
|
251
|
+
children: React$1.ReactNode;
|
|
248
252
|
}) => react_jsx_runtime.JSX.Element;
|
|
249
253
|
|
|
250
254
|
declare const badgeVariants: (props?: ({
|
|
251
|
-
variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
|
|
255
|
+
variant?: "default" | "destructive" | "outline" | "success" | "secondary" | "warning" | null | undefined;
|
|
252
256
|
interactive?: boolean | null | undefined;
|
|
253
257
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
254
258
|
interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
@@ -370,7 +374,7 @@ declare const Combobox: ({ options, value, onChange, placeholder, searchPlacehol
|
|
|
370
374
|
|
|
371
375
|
declare const selectVariants: (props?: ({
|
|
372
376
|
variant?: "default" | "destructive" | "outline" | "success" | "secondary" | "ghost" | null | undefined;
|
|
373
|
-
size?: "
|
|
377
|
+
size?: "sm" | "lg" | "default" | null | undefined;
|
|
374
378
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
375
379
|
interface Option {
|
|
376
380
|
value: string;
|
|
@@ -411,7 +415,7 @@ declare function useSidebar(): SidebarContextType;
|
|
|
411
415
|
declare const SidebarProvider: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & {
|
|
412
416
|
defaultOpen?: boolean;
|
|
413
417
|
open?: boolean;
|
|
414
|
-
onOpenChange?: (
|
|
418
|
+
onOpenChange?: (_open: boolean) => void;
|
|
415
419
|
}, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
416
420
|
declare const Sidebar: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & {
|
|
417
421
|
side?: "left" | "right";
|
|
@@ -421,7 +425,7 @@ declare const Sidebar: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttri
|
|
|
421
425
|
declare const SidebarTrigger: React$1.ForwardRefExoticComponent<Omit<ButtonProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
422
426
|
declare const SidebarRail: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
423
427
|
declare const SidebarInset: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
424
|
-
declare const SidebarInput: React$1.ForwardRefExoticComponent<Omit<
|
|
428
|
+
declare const SidebarInput: React$1.ForwardRefExoticComponent<Omit<InputProps & React$1.RefAttributes<HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
425
429
|
declare const SidebarHeader: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
426
430
|
declare const SidebarFooter: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
427
431
|
declare const SidebarSeparator: React$1.ForwardRefExoticComponent<Omit<Omit<_radix_ui_react_separator.SeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
@@ -442,7 +446,7 @@ declare const SidebarMenuButton: React$1.ForwardRefExoticComponent<Omit<React$1.
|
|
|
442
446
|
tooltip?: string | React$1.ComponentProps<typeof TooltipContent>;
|
|
443
447
|
} & VariantProps<(props?: ({
|
|
444
448
|
variant?: "default" | "outline" | null | undefined;
|
|
445
|
-
size?: "
|
|
449
|
+
size?: "sm" | "lg" | "default" | null | undefined;
|
|
446
450
|
} & class_variance_authority_types.ClassProp) | undefined) => string>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
447
451
|
declare const SidebarMenuAction: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLButtonElement> & React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
448
452
|
asChild?: boolean;
|
|
@@ -519,7 +523,7 @@ declare const MenubarSub: React$1.FC<MenubarPrimitive.MenubarSubProps>;
|
|
|
519
523
|
declare const MenubarRadioGroup: React$1.ForwardRefExoticComponent<MenubarPrimitive.MenubarRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
520
524
|
declare const menubarTriggerVariants: (props?: ({
|
|
521
525
|
variant?: "default" | "destructive" | "outline" | "success" | "secondary" | "ghost" | null | undefined;
|
|
522
|
-
size?: "
|
|
526
|
+
size?: "sm" | "lg" | "default" | null | undefined;
|
|
523
527
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
524
528
|
declare const Menubar: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
525
529
|
interface MenubarTriggerProps extends React$1.ComponentPropsWithoutRef<typeof MenubarPrimitive.Trigger>, VariantProps<typeof menubarTriggerVariants> {
|
|
@@ -595,4 +599,4 @@ interface DragAndDropFileUploadProps {
|
|
|
595
599
|
}
|
|
596
600
|
declare function DragAndDropFileUpload({ onFilesSelected, acceptedFileTypes, maxFiles, className, }: DragAndDropFileUploadProps): react_jsx_runtime.JSX.Element;
|
|
597
601
|
|
|
598
|
-
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, ButtonProps, Calendar, CalendarDayButton, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DragAndDropFileUpload, type DragAndDropFileUploadProps, 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, PREDEFINED_RANGES, 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, TZDateRange, 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 };
|
|
602
|
+
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, ButtonProps, Calendar, CalendarDayButton, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DragAndDropFileUpload, type DragAndDropFileUploadProps, 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, type InputProps, Label, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NativeSelect, type Option, PREDEFINED_RANGES, 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, TZDateRange, 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 };
|