@altimateai/ui-components 0.0.23-beta.3 → 0.0.23-beta.4
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-Ba6FLZh8.d.ts → Button-C4jhPGlR.d.ts} +1 -1
- package/dist/CoachForm.js +49 -49
- package/dist/Form.js +87 -87
- package/dist/{Tooltip.js → Stack.js} +349 -276
- package/dist/Switch.js +1 -1
- package/dist/Table.js +1 -1
- package/dist/assets/icons/index.d.ts +2 -0
- package/dist/assets/icons/index.js +48 -47
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +13 -12
- package/dist/index2.css +1 -1
- package/dist/index2.js +142 -141
- package/dist/lineage/index.js +4 -4
- package/dist/main.js +96 -96
- package/dist/redux-toolkit.modern.js +464 -534
- package/dist/shadcn/index.d.ts +33 -8
- package/dist/shadcn/index.js +5858 -2905
- package/dist/storybook/Calendar.stories.tsx +103 -0
- package/dist/storybook/DateRange.stories.tsx +540 -0
- package/dist/storybook/Typography.stories.tsx +26 -0
- package/package.json +1 -1
package/dist/shadcn/index.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { B as ButtonProps } from '../Button-
|
|
2
|
-
export {
|
|
3
|
-
import * as React$1 from 'react';
|
|
4
|
-
import { HTMLAttributes, AriaRole, ReactNode, SelectHTMLAttributes } from 'react';
|
|
1
|
+
import { a as Button, B as ButtonProps } from '../Button-C4jhPGlR.js';
|
|
2
|
+
export { b as buttonVariants } from '../Button-C4jhPGlR.js';
|
|
5
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
|
+
import { DayPicker, DayButton, DateRange } from 'react-day-picker';
|
|
5
|
+
import * as React$1 from 'react';
|
|
6
|
+
import { ComponentProps, HTMLAttributes, AriaRole, ReactNode, SelectHTMLAttributes } from 'react';
|
|
6
7
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
7
8
|
import * as SheetPrimitive from '@radix-ui/react-dialog';
|
|
8
9
|
import { DialogProps } from '@radix-ui/react-dialog';
|
|
@@ -33,6 +34,30 @@ import * as ResizablePrimitive from 'react-resizable-panels';
|
|
|
33
34
|
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
34
35
|
import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
|
|
35
36
|
|
|
37
|
+
declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, components, ...props }: ComponentProps<typeof DayPicker> & {
|
|
38
|
+
buttonVariant?: ComponentProps<typeof Button>["variant"];
|
|
39
|
+
}): react_jsx_runtime.JSX.Element;
|
|
40
|
+
declare function CalendarDayButton({ className, day, modifiers, ...props }: ComponentProps<typeof DayButton>): react_jsx_runtime.JSX.Element;
|
|
41
|
+
|
|
42
|
+
declare enum PREDEFINED_RANGES {
|
|
43
|
+
LAST_DAY = "Last day",
|
|
44
|
+
LAST_7_DAYS = "Last 7 days",
|
|
45
|
+
LAST_28_DAYS = "Last 28 days",
|
|
46
|
+
LAST_30_DAYS = "Last 30 days",
|
|
47
|
+
LAST_3_MONTHS = "Last 3 months",
|
|
48
|
+
LAST_6_MONTHS = "Last 6 months",
|
|
49
|
+
LAST_12_MONTHS = "Last 12 months"
|
|
50
|
+
}
|
|
51
|
+
declare const TZDateRange: ({ selectedRange, onChange, tz, predefinedRanges, disableCalendarSelection, disableBefore, disableAfter, }: {
|
|
52
|
+
selectedRange?: DateRange;
|
|
53
|
+
onChange: (range: DateRange) => void;
|
|
54
|
+
tz?: string;
|
|
55
|
+
predefinedRanges?: PREDEFINED_RANGES[];
|
|
56
|
+
disableCalendarSelection?: boolean;
|
|
57
|
+
disableBefore?: Date;
|
|
58
|
+
disableAfter?: Date;
|
|
59
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
60
|
+
|
|
36
61
|
interface InputProps extends Omit<React$1.ComponentProps<"input">, "ref"> {
|
|
37
62
|
}
|
|
38
63
|
declare const Input: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
@@ -43,7 +68,7 @@ declare const SheetClose: React$1.ForwardRefExoticComponent<SheetPrimitive.Dialo
|
|
|
43
68
|
declare const SheetPortal: React$1.FC<SheetPrimitive.DialogPortalProps>;
|
|
44
69
|
declare const SheetOverlay: React$1.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
45
70
|
declare const sheetVariants: (props?: ({
|
|
46
|
-
side?: "
|
|
71
|
+
side?: "left" | "right" | "top" | "bottom" | null | undefined;
|
|
47
72
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
48
73
|
interface SheetContentProps extends React$1.ComponentPropsWithoutRef<typeof SheetPrimitive.Content>, VariantProps<typeof sheetVariants> {
|
|
49
74
|
children: React$1.ReactNode;
|
|
@@ -205,8 +230,8 @@ declare const DialogTitle: React$1.ForwardRefExoticComponent<Omit<SheetPrimitive
|
|
|
205
230
|
declare const DialogDescription: React$1.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
206
231
|
|
|
207
232
|
type TypographyVariant = "h1" | "h2" | "h3" | "h4" | "subheading" | "body" | "caption";
|
|
208
|
-
type FontWeight = "regular" | "medium" | "semibold" | "bold";
|
|
209
|
-
type FontSize = "sm" | "md" | "lg" | "xl";
|
|
233
|
+
type FontWeight = "light" | "regular" | "medium" | "semibold" | "bold";
|
|
234
|
+
type FontSize = "xs" | "sm" | "md" | "lg" | "xl";
|
|
210
235
|
interface TypographyProps {
|
|
211
236
|
variant?: TypographyVariant;
|
|
212
237
|
children: React.ReactNode;
|
|
@@ -574,4 +599,4 @@ interface DragAndDropFileUploadProps {
|
|
|
574
599
|
}
|
|
575
600
|
declare function DragAndDropFileUpload({ onFilesSelected, acceptedFileTypes, maxFiles, className, }: DragAndDropFileUploadProps): react_jsx_runtime.JSX.Element;
|
|
576
601
|
|
|
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 };
|
|
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 };
|