@altimateai/ui-components 0.0.23-beta.6 → 0.0.23
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-C4jhPGlR.d.ts → Button-Cj79i7Go.d.ts} +2 -2
- package/dist/CoachForm.js +7653 -7673
- package/dist/Label.js +48 -0
- package/dist/NativeSelect.js +3918 -0
- package/dist/Stack.js +2013 -2926
- package/dist/index.d.ts +23 -20
- package/dist/index.js +64 -32
- package/dist/lineage/index.js +2354 -2335
- package/dist/main.css +1 -1
- package/dist/main.js +842 -840
- package/dist/redux-toolkit.modern.js +1014 -910
- package/dist/shadcn/index.d.ts +14 -18
- package/dist/shadcn/index.js +3420 -2724
- package/dist/storybook/Badge.stories.tsx +0 -7
- 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/package.json +2 -2
- package/dist/Form.js +0 -3658
- package/dist/Switch.js +0 -128
- package/dist/Table.js +0 -22
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-Cj79i7Go.js';
|
|
2
|
+
export { b as buttonVariants } from '../Button-Cj79i7Go.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,7 +13,6 @@ 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';
|
|
17
16
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
18
17
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
19
18
|
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
@@ -58,9 +57,7 @@ declare const TZDateRange: ({ selectedRange, onChange, tz, predefinedRanges, dis
|
|
|
58
57
|
disableAfter?: Date;
|
|
59
58
|
}) => react_jsx_runtime.JSX.Element;
|
|
60
59
|
|
|
61
|
-
|
|
62
|
-
}
|
|
63
|
-
declare const Input: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
60
|
+
declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
64
61
|
|
|
65
62
|
declare const Sheet: React$1.FC<SheetPrimitive.DialogProps>;
|
|
66
63
|
declare const SheetTrigger: React$1.ForwardRefExoticComponent<SheetPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
@@ -150,7 +147,7 @@ declare const CommandInput: React$1.ForwardRefExoticComponent<Omit<Omit<Pick<Pic
|
|
|
150
147
|
ref?: React.Ref<HTMLInputElement>;
|
|
151
148
|
} & {
|
|
152
149
|
asChild?: boolean;
|
|
153
|
-
}, "asChild" | "key" | keyof React$1.InputHTMLAttributes<HTMLInputElement>>, "
|
|
150
|
+
}, "asChild" | "key" | keyof React$1.InputHTMLAttributes<HTMLInputElement>>, "type" | "value" | "onChange"> & {
|
|
154
151
|
value?: string;
|
|
155
152
|
onValueChange?: (search: string) => void;
|
|
156
153
|
} & React$1.RefAttributes<HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
@@ -176,7 +173,7 @@ declare const CommandGroup: React$1.ForwardRefExoticComponent<Omit<{
|
|
|
176
173
|
ref?: React.Ref<HTMLDivElement>;
|
|
177
174
|
} & {
|
|
178
175
|
asChild?: boolean;
|
|
179
|
-
}, "asChild" | "key" | keyof HTMLAttributes<HTMLDivElement>>, "
|
|
176
|
+
}, "asChild" | "key" | keyof HTMLAttributes<HTMLDivElement>>, "value" | "heading"> & {
|
|
180
177
|
heading?: React.ReactNode;
|
|
181
178
|
value?: string;
|
|
182
179
|
forceMount?: boolean;
|
|
@@ -194,7 +191,7 @@ declare const CommandItem: React$1.ForwardRefExoticComponent<Omit<{
|
|
|
194
191
|
ref?: React.Ref<HTMLDivElement>;
|
|
195
192
|
} & {
|
|
196
193
|
asChild?: boolean;
|
|
197
|
-
}, "asChild" | "key" | keyof HTMLAttributes<HTMLDivElement>>, "
|
|
194
|
+
}, "asChild" | "key" | keyof HTMLAttributes<HTMLDivElement>>, "disabled" | "value" | "onSelect"> & {
|
|
198
195
|
disabled?: boolean;
|
|
199
196
|
onSelect?: (value: string) => void;
|
|
200
197
|
value?: string;
|
|
@@ -247,12 +244,11 @@ declare const TooltipCore: React$1.FC<TooltipPrimitive.TooltipProps>;
|
|
|
247
244
|
declare const TooltipTrigger: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
248
245
|
declare const TooltipContent: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
249
246
|
declare const Tooltip: ({ children, title, ...props }: TooltipPrimitive.TooltipProps & {
|
|
250
|
-
title
|
|
251
|
-
children: React$1.ReactNode;
|
|
247
|
+
title: string | React$1.ReactNode;
|
|
252
248
|
}) => react_jsx_runtime.JSX.Element;
|
|
253
249
|
|
|
254
250
|
declare const badgeVariants: (props?: ({
|
|
255
|
-
variant?: "default" | "destructive" | "outline" | "
|
|
251
|
+
variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
|
|
256
252
|
interactive?: boolean | null | undefined;
|
|
257
253
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
258
254
|
interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
@@ -374,7 +370,7 @@ declare const Combobox: ({ options, value, onChange, placeholder, searchPlacehol
|
|
|
374
370
|
|
|
375
371
|
declare const selectVariants: (props?: ({
|
|
376
372
|
variant?: "default" | "destructive" | "outline" | "success" | "secondary" | "ghost" | null | undefined;
|
|
377
|
-
size?: "
|
|
373
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
378
374
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
379
375
|
interface Option {
|
|
380
376
|
value: string;
|
|
@@ -415,7 +411,7 @@ declare function useSidebar(): SidebarContextType;
|
|
|
415
411
|
declare const SidebarProvider: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & {
|
|
416
412
|
defaultOpen?: boolean;
|
|
417
413
|
open?: boolean;
|
|
418
|
-
onOpenChange?: (
|
|
414
|
+
onOpenChange?: (open: boolean) => void;
|
|
419
415
|
}, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
420
416
|
declare const Sidebar: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & {
|
|
421
417
|
side?: "left" | "right";
|
|
@@ -425,7 +421,7 @@ declare const Sidebar: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttri
|
|
|
425
421
|
declare const SidebarTrigger: React$1.ForwardRefExoticComponent<Omit<ButtonProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
426
422
|
declare const SidebarRail: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
427
423
|
declare const SidebarInset: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
428
|
-
declare const SidebarInput: React$1.ForwardRefExoticComponent<Omit<
|
|
424
|
+
declare const SidebarInput: React$1.ForwardRefExoticComponent<Omit<Omit<React$1.DetailedHTMLProps<React$1.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
429
425
|
declare const SidebarHeader: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
430
426
|
declare const SidebarFooter: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
431
427
|
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>>;
|
|
@@ -446,7 +442,7 @@ declare const SidebarMenuButton: React$1.ForwardRefExoticComponent<Omit<React$1.
|
|
|
446
442
|
tooltip?: string | React$1.ComponentProps<typeof TooltipContent>;
|
|
447
443
|
} & VariantProps<(props?: ({
|
|
448
444
|
variant?: "default" | "outline" | null | undefined;
|
|
449
|
-
size?: "
|
|
445
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
450
446
|
} & class_variance_authority_types.ClassProp) | undefined) => string>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
451
447
|
declare const SidebarMenuAction: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLButtonElement> & React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
452
448
|
asChild?: boolean;
|
|
@@ -523,7 +519,7 @@ declare const MenubarSub: React$1.FC<MenubarPrimitive.MenubarSubProps>;
|
|
|
523
519
|
declare const MenubarRadioGroup: React$1.ForwardRefExoticComponent<MenubarPrimitive.MenubarRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
524
520
|
declare const menubarTriggerVariants: (props?: ({
|
|
525
521
|
variant?: "default" | "destructive" | "outline" | "success" | "secondary" | "ghost" | null | undefined;
|
|
526
|
-
size?: "
|
|
522
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
527
523
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
528
524
|
declare const Menubar: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
529
525
|
interface MenubarTriggerProps extends React$1.ComponentPropsWithoutRef<typeof MenubarPrimitive.Trigger>, VariantProps<typeof menubarTriggerVariants> {
|
|
@@ -599,4 +595,4 @@ interface DragAndDropFileUploadProps {
|
|
|
599
595
|
}
|
|
600
596
|
declare function DragAndDropFileUpload({ onFilesSelected, acceptedFileTypes, maxFiles, className, }: DragAndDropFileUploadProps): react_jsx_runtime.JSX.Element;
|
|
601
597
|
|
|
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,
|
|
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 };
|