@altimateai/ui-components 0.0.21 → 0.0.23-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-Dln4BC6y.d.ts → Button-Ba6FLZh8.d.ts} +2 -2
- package/dist/CoachForm.js +7674 -7654
- package/dist/Form.js +3657 -0
- package/dist/Switch.js +128 -0
- package/dist/Table.js +22 -0
- package/dist/Tooltip.js +3074 -2161
- package/dist/assets/icons/index.js +1 -1
- package/dist/index.d.ts +20 -23
- package/dist/index.js +32 -64
- package/dist/index2.js +9 -9
- package/dist/lineage/index.js +2273 -2296
- package/dist/main.css +1 -1
- package/dist/main.js +875 -877
- package/dist/redux-toolkit.modern.js +908 -1012
- package/dist/shadcn/index.d.ts +21 -15
- package/dist/shadcn/index.js +2369 -3026
- package/dist/storybook/Select.stories.tsx +154 -0
- package/dist/storybook/Typography.stories.tsx +14 -14
- 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 { B as ButtonProps } from '../Button-
|
|
2
|
-
export { a as Button, b as buttonVariants } from '../Button-
|
|
1
|
+
import { B as ButtonProps } from '../Button-Ba6FLZh8.js';
|
|
2
|
+
export { a as Button, b as buttonVariants } from '../Button-Ba6FLZh8.js';
|
|
3
3
|
import * as React$1 from 'react';
|
|
4
4
|
import { HTMLAttributes, AriaRole, ReactNode, SelectHTMLAttributes } from 'react';
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
@@ -12,6 +12,7 @@ import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
|
12
12
|
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
13
13
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
14
14
|
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
15
|
+
export { PopoverClose } from '@radix-ui/react-popover';
|
|
15
16
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
16
17
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
17
18
|
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
@@ -32,7 +33,9 @@ import * as ResizablePrimitive from 'react-resizable-panels';
|
|
|
32
33
|
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
33
34
|
import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
|
|
34
35
|
|
|
35
|
-
|
|
36
|
+
interface InputProps extends Omit<React$1.ComponentProps<"input">, "ref"> {
|
|
37
|
+
}
|
|
38
|
+
declare const Input: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
36
39
|
|
|
37
40
|
declare const Sheet: React$1.FC<SheetPrimitive.DialogProps>;
|
|
38
41
|
declare const SheetTrigger: React$1.ForwardRefExoticComponent<SheetPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
@@ -122,7 +125,7 @@ declare const CommandInput: React$1.ForwardRefExoticComponent<Omit<Omit<Pick<Pic
|
|
|
122
125
|
ref?: React.Ref<HTMLInputElement>;
|
|
123
126
|
} & {
|
|
124
127
|
asChild?: boolean;
|
|
125
|
-
}, "asChild" | "key" | keyof React$1.InputHTMLAttributes<HTMLInputElement>>, "
|
|
128
|
+
}, "asChild" | "key" | keyof React$1.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "type" | "value"> & {
|
|
126
129
|
value?: string;
|
|
127
130
|
onValueChange?: (search: string) => void;
|
|
128
131
|
} & React$1.RefAttributes<HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
@@ -148,7 +151,7 @@ declare const CommandGroup: React$1.ForwardRefExoticComponent<Omit<{
|
|
|
148
151
|
ref?: React.Ref<HTMLDivElement>;
|
|
149
152
|
} & {
|
|
150
153
|
asChild?: boolean;
|
|
151
|
-
}, "asChild" | "key" | keyof HTMLAttributes<HTMLDivElement>>, "
|
|
154
|
+
}, "asChild" | "key" | keyof HTMLAttributes<HTMLDivElement>>, "heading" | "value"> & {
|
|
152
155
|
heading?: React.ReactNode;
|
|
153
156
|
value?: string;
|
|
154
157
|
forceMount?: boolean;
|
|
@@ -166,7 +169,7 @@ declare const CommandItem: React$1.ForwardRefExoticComponent<Omit<{
|
|
|
166
169
|
ref?: React.Ref<HTMLDivElement>;
|
|
167
170
|
} & {
|
|
168
171
|
asChild?: boolean;
|
|
169
|
-
}, "asChild" | "key" | keyof HTMLAttributes<HTMLDivElement>>, "
|
|
172
|
+
}, "asChild" | "key" | keyof HTMLAttributes<HTMLDivElement>>, "onSelect" | "disabled" | "value"> & {
|
|
170
173
|
disabled?: boolean;
|
|
171
174
|
onSelect?: (value: string) => void;
|
|
172
175
|
value?: string;
|
|
@@ -219,11 +222,12 @@ declare const TooltipCore: React$1.FC<TooltipPrimitive.TooltipProps>;
|
|
|
219
222
|
declare const TooltipTrigger: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
220
223
|
declare const TooltipContent: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
221
224
|
declare const Tooltip: ({ children, title, ...props }: TooltipPrimitive.TooltipProps & {
|
|
222
|
-
title
|
|
225
|
+
title?: string | React$1.ReactNode;
|
|
226
|
+
children: React$1.ReactNode;
|
|
223
227
|
}) => react_jsx_runtime.JSX.Element;
|
|
224
228
|
|
|
225
229
|
declare const badgeVariants: (props?: ({
|
|
226
|
-
variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
|
|
230
|
+
variant?: "default" | "destructive" | "outline" | "success" | "secondary" | null | undefined;
|
|
227
231
|
interactive?: boolean | null | undefined;
|
|
228
232
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
229
233
|
interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
@@ -333,17 +337,19 @@ interface Props {
|
|
|
333
337
|
value?: string | string[];
|
|
334
338
|
onChange: (value: string | string[]) => void;
|
|
335
339
|
placeholder?: string;
|
|
340
|
+
searchPlaceholder?: string;
|
|
336
341
|
buttonProps?: ButtonProps;
|
|
337
342
|
id?: string;
|
|
338
343
|
icon?: ReactNode;
|
|
339
344
|
multiSelect?: boolean;
|
|
340
345
|
showApplyButton?: boolean;
|
|
346
|
+
showClearButton?: boolean;
|
|
341
347
|
}
|
|
342
|
-
declare const Combobox: ({ options, value, onChange, placeholder, buttonProps, id, icon, multiSelect, showApplyButton, }: Props) => react_jsx_runtime.JSX.Element;
|
|
348
|
+
declare const Combobox: ({ options, value, onChange, placeholder, searchPlaceholder, buttonProps, id, icon, multiSelect, showApplyButton, showClearButton, }: Props) => react_jsx_runtime.JSX.Element;
|
|
343
349
|
|
|
344
350
|
declare const selectVariants: (props?: ({
|
|
345
351
|
variant?: "default" | "destructive" | "outline" | "success" | "secondary" | "ghost" | null | undefined;
|
|
346
|
-
size?: "
|
|
352
|
+
size?: "sm" | "lg" | "default" | null | undefined;
|
|
347
353
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
348
354
|
interface Option {
|
|
349
355
|
value: string;
|
|
@@ -384,7 +390,7 @@ declare function useSidebar(): SidebarContextType;
|
|
|
384
390
|
declare const SidebarProvider: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & {
|
|
385
391
|
defaultOpen?: boolean;
|
|
386
392
|
open?: boolean;
|
|
387
|
-
onOpenChange?: (
|
|
393
|
+
onOpenChange?: (_open: boolean) => void;
|
|
388
394
|
}, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
389
395
|
declare const Sidebar: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & {
|
|
390
396
|
side?: "left" | "right";
|
|
@@ -394,7 +400,7 @@ declare const Sidebar: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttri
|
|
|
394
400
|
declare const SidebarTrigger: React$1.ForwardRefExoticComponent<Omit<ButtonProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
395
401
|
declare const SidebarRail: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
396
402
|
declare const SidebarInset: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
397
|
-
declare const SidebarInput: React$1.ForwardRefExoticComponent<Omit<
|
|
403
|
+
declare const SidebarInput: React$1.ForwardRefExoticComponent<Omit<InputProps & React$1.RefAttributes<HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
398
404
|
declare const SidebarHeader: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
399
405
|
declare const SidebarFooter: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
400
406
|
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>>;
|
|
@@ -415,7 +421,7 @@ declare const SidebarMenuButton: React$1.ForwardRefExoticComponent<Omit<React$1.
|
|
|
415
421
|
tooltip?: string | React$1.ComponentProps<typeof TooltipContent>;
|
|
416
422
|
} & VariantProps<(props?: ({
|
|
417
423
|
variant?: "default" | "outline" | null | undefined;
|
|
418
|
-
size?: "
|
|
424
|
+
size?: "sm" | "lg" | "default" | null | undefined;
|
|
419
425
|
} & class_variance_authority_types.ClassProp) | undefined) => string>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
420
426
|
declare const SidebarMenuAction: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLButtonElement> & React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
421
427
|
asChild?: boolean;
|
|
@@ -492,7 +498,7 @@ declare const MenubarSub: React$1.FC<MenubarPrimitive.MenubarSubProps>;
|
|
|
492
498
|
declare const MenubarRadioGroup: React$1.ForwardRefExoticComponent<MenubarPrimitive.MenubarRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
493
499
|
declare const menubarTriggerVariants: (props?: ({
|
|
494
500
|
variant?: "default" | "destructive" | "outline" | "success" | "secondary" | "ghost" | null | undefined;
|
|
495
|
-
size?: "
|
|
501
|
+
size?: "sm" | "lg" | "default" | null | undefined;
|
|
496
502
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
497
503
|
declare const Menubar: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
498
504
|
interface MenubarTriggerProps extends React$1.ComponentPropsWithoutRef<typeof MenubarPrimitive.Trigger>, VariantProps<typeof menubarTriggerVariants> {
|
|
@@ -568,4 +574,4 @@ interface DragAndDropFileUploadProps {
|
|
|
568
574
|
}
|
|
569
575
|
declare function DragAndDropFileUpload({ onFilesSelected, acceptedFileTypes, maxFiles, className, }: DragAndDropFileUploadProps): react_jsx_runtime.JSX.Element;
|
|
570
576
|
|
|
571
|
-
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, 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, 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 };
|
|
577
|
+
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, 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, 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 };
|