@altimateai/ui-components 0.0.69-beta.1 → 0.0.69-beta.2
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-Bsgqi8kG.d.ts → Button-42Dj_nRE.d.ts} +12 -5
- package/dist/Stack.js +297 -299
- package/dist/index.d.ts +7 -7
- package/dist/redux-toolkit.modern.js +11 -1
- package/dist/shadcn/index.d.ts +8 -15
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
|
-
import { HTMLAttributes, ButtonHTMLAttributes, ReactNode, FC, MouseEvent } from 'react';
|
|
3
|
-
import { B as ButtonProps } from './Button-
|
|
2
|
+
import React__default, { HTMLAttributes, ButtonHTMLAttributes, ReactNode, FC, MouseEvent } from 'react';
|
|
3
|
+
import { B as ButtonProps, a as Button } from './Button-42Dj_nRE.js';
|
|
4
4
|
import { Components } from 'react-markdown';
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
6
|
import { PlotParams } from 'react-plotly.js';
|
|
@@ -25,16 +25,16 @@ interface SpinnerProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
25
25
|
}
|
|
26
26
|
declare const Spinner: React$1.ForwardRefExoticComponent<SpinnerProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
27
27
|
|
|
28
|
-
interface Props$7 extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
29
|
-
variant?: ButtonProps["variant"];
|
|
28
|
+
interface Props$7 extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, "title"> {
|
|
29
|
+
variant?: ButtonProps<"icon">["variant"];
|
|
30
30
|
title: string;
|
|
31
31
|
}
|
|
32
|
-
declare const IconButton: (props: Props$7) => JSX.Element;
|
|
32
|
+
declare const IconButton: ({ title, variant, type, ...props }: Props$7) => JSX.Element;
|
|
33
33
|
|
|
34
|
-
type Props$6 =
|
|
34
|
+
type Props$6 = {
|
|
35
35
|
loading: boolean;
|
|
36
36
|
loadingText?: string | null;
|
|
37
|
-
}
|
|
37
|
+
} & React__default.ComponentProps<typeof Button>;
|
|
38
38
|
declare const LoadingButton: ({ loading, loadingText, ...rest }: Props$6) => JSX.Element;
|
|
39
39
|
|
|
40
40
|
interface Props$5 {
|
|
@@ -12,7 +12,17 @@ function is(e) {
|
|
|
12
12
|
* This source code is licensed under the MIT license.
|
|
13
13
|
* See the LICENSE file in the root directory of this source tree.
|
|
14
14
|
*/
|
|
15
|
-
const zt = [["path", { d: "M20 11a8.1 8.1 0 0 0 -15.5 -2m-.5 -4v4h4", key: "svg-0" }], ["path", { d: "M4 13a8.1 8.1 0 0 0 15.5 2m.5 4v-4h-4", key: "svg-1" }]], ss = bt("outline", "refresh", "Refresh", zt), us = (
|
|
15
|
+
const zt = [["path", { d: "M20 11a8.1 8.1 0 0 0 -15.5 -2m-.5 -4v4h4", key: "svg-0" }], ["path", { d: "M4 13a8.1 8.1 0 0 0 15.5 2m.5 4v-4h-4", key: "svg-1" }]], ss = bt("outline", "refresh", "Refresh", zt), us = ({ title: e, variant: o, type: n, ...r }) => /* @__PURE__ */ $.jsx(
|
|
16
|
+
pt,
|
|
17
|
+
{
|
|
18
|
+
...r,
|
|
19
|
+
title: e,
|
|
20
|
+
type: n ?? "button",
|
|
21
|
+
size: "icon",
|
|
22
|
+
variant: o ?? "ghost",
|
|
23
|
+
children: r.children
|
|
24
|
+
}
|
|
25
|
+
);
|
|
16
26
|
var ee = {}, pr = { exports: {} };
|
|
17
27
|
(function(e) {
|
|
18
28
|
function o(n) {
|
package/dist/shadcn/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as Button, B as ButtonProps } from '../Button-
|
|
2
|
-
export {
|
|
1
|
+
import { a as Button, B as ButtonProps, b as ButtonSize } from '../Button-42Dj_nRE.js';
|
|
2
|
+
export { c as buttonVariants } from '../Button-42Dj_nRE.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';
|
|
@@ -504,23 +504,15 @@ declare const Sidebar: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttri
|
|
|
504
504
|
variant?: "sidebar" | "floating" | "inset";
|
|
505
505
|
collapsible?: "offcanvas" | "icon" | "none";
|
|
506
506
|
}, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
507
|
-
declare const SidebarTrigger: React$1.ForwardRefExoticComponent<
|
|
507
|
+
declare const SidebarTrigger: React$1.ForwardRefExoticComponent<Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement> & Omit<VariantProps<(props?: ({
|
|
508
508
|
variant?: "link" | "default" | "destructive" | "outline" | "success" | "secondary" | "ghost" | null | undefined;
|
|
509
509
|
size?: "xs" | "sm" | "lg" | "default" | "icon" | null | undefined;
|
|
510
510
|
} & class_variance_authority_types.ClassProp) | undefined) => string>, "size"> & {
|
|
511
511
|
asChild?: boolean;
|
|
512
512
|
} & {
|
|
513
|
-
size
|
|
514
|
-
title: string;
|
|
515
|
-
} & React$1.RefAttributes<HTMLButtonElement>, "ref"> | Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement> & Omit<VariantProps<(props?: ({
|
|
516
|
-
variant?: "link" | "default" | "destructive" | "outline" | "success" | "secondary" | "ghost" | null | undefined;
|
|
517
|
-
size?: "xs" | "sm" | "lg" | "default" | "icon" | null | undefined;
|
|
518
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>, "size"> & {
|
|
519
|
-
asChild?: boolean;
|
|
520
|
-
} & {
|
|
521
|
-
size?: "default" | "sm" | "xs" | "lg";
|
|
513
|
+
size?: ButtonSize | undefined;
|
|
522
514
|
title?: string;
|
|
523
|
-
} & React$1.RefAttributes<HTMLButtonElement>, "ref">
|
|
515
|
+
} & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
524
516
|
declare const SidebarRail: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
525
517
|
declare const SidebarInset: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
526
518
|
declare const SidebarInput: React$1.ForwardRefExoticComponent<Omit<InputProps & React$1.RefAttributes<HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
@@ -659,7 +651,8 @@ declare const PaginationContent: React$1.ForwardRefExoticComponent<Omit<React$1.
|
|
|
659
651
|
declare const PaginationItem: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
|
|
660
652
|
type PaginationLinkProps = {
|
|
661
653
|
isActive?: boolean;
|
|
662
|
-
|
|
654
|
+
size?: ButtonSize;
|
|
655
|
+
} & React$1.ComponentProps<"a">;
|
|
663
656
|
declare const PaginationLink: {
|
|
664
657
|
({ className, isActive, size, children, "aria-label": ariaLabel, ...props }: PaginationLinkProps): react_jsx_runtime.JSX.Element;
|
|
665
658
|
displayName: string;
|
|
@@ -740,4 +733,4 @@ declare function ToggleGroup({ className, variant, size, spacing, children, ...p
|
|
|
740
733
|
}): react_jsx_runtime.JSX.Element;
|
|
741
734
|
declare function ToggleGroupItem({ className, children, variant, size, ...props }: React$1.ComponentProps<typeof ToggleGroupPrimitive.Item> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
|
|
742
735
|
|
|
743
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, type AutosizeTextAreaRef, AutosizeTextarea, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonProps, Calendar, CalendarDayButton, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, Combobox, ComboboxInner, type ComboboxOption, type ComboboxRef, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, DebouncedInput, type DebouncedInputProps, 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, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, 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, type TabsProps, TabsTrigger, TagsInput, TagsInputClear, TagsInputInput, TagsInputItem, TagsInputLabel, TagsInputList, Textarea, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipCore, TooltipProvider, TooltipTrigger, Typography, badgeVariants, reducer, tabsVariants, toast, toggleVariants, useAutosizeTextArea, useFormField, useSidebar, useToast };
|
|
736
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, type AutosizeTextAreaRef, AutosizeTextarea, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonProps, ButtonSize, Calendar, CalendarDayButton, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, Combobox, ComboboxInner, type ComboboxOption, type ComboboxRef, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, DebouncedInput, type DebouncedInputProps, 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, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, 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, type TabsProps, TabsTrigger, TagsInput, TagsInputClear, TagsInputInput, TagsInputItem, TagsInputLabel, TagsInputList, Textarea, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipCore, TooltipProvider, TooltipTrigger, Typography, badgeVariants, reducer, tabsVariants, toast, toggleVariants, useAutosizeTextArea, useFormField, useSidebar, useToast };
|