@storm-ds/ui 1.0.1 → 1.0.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/index.d.mts +71 -28
- package/dist/index.d.ts +71 -28
- package/dist/index.js +184 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +183 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +7 -3
package/dist/index.d.mts
CHANGED
|
@@ -8,14 +8,14 @@ declare const variantStyles$7: {
|
|
|
8
8
|
readonly ghost: "border border-transparent bg-transparent text-storm-foreground hover:bg-storm-accent/10";
|
|
9
9
|
readonly destructive: "border border-storm-destructive bg-storm-destructive text-white hover:bg-storm-destructive/90";
|
|
10
10
|
};
|
|
11
|
-
declare const sizeStyles$
|
|
11
|
+
declare const sizeStyles$d: {
|
|
12
12
|
readonly sm: "px-3 py-1.5 text-sm";
|
|
13
13
|
readonly md: "px-4 py-2 text-base";
|
|
14
14
|
readonly lg: "px-6 py-3 text-lg";
|
|
15
15
|
};
|
|
16
16
|
interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
17
17
|
variant?: keyof typeof variantStyles$7;
|
|
18
|
-
size?: keyof typeof sizeStyles$
|
|
18
|
+
size?: keyof typeof sizeStyles$d;
|
|
19
19
|
loading?: boolean;
|
|
20
20
|
iconOnly?: boolean;
|
|
21
21
|
}
|
|
@@ -51,13 +51,13 @@ declare const CardImage: react.ForwardRefExoticComponent<CardImageProps & react.
|
|
|
51
51
|
declare const CardTitle: react.ForwardRefExoticComponent<CardTitleProps & react.RefAttributes<HTMLHeadingElement>>;
|
|
52
52
|
declare const CardDescription: react.ForwardRefExoticComponent<CardDescriptionProps & react.RefAttributes<HTMLParagraphElement>>;
|
|
53
53
|
|
|
54
|
-
declare const sizeStyles$
|
|
54
|
+
declare const sizeStyles$c: {
|
|
55
55
|
readonly sm: "h-8 px-3 py-1.5 text-sm";
|
|
56
56
|
readonly md: "h-10 px-4 py-2 text-base";
|
|
57
57
|
readonly lg: "h-12 px-6 py-3 text-lg";
|
|
58
58
|
};
|
|
59
59
|
interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size'> {
|
|
60
|
-
size?: keyof typeof sizeStyles$
|
|
60
|
+
size?: keyof typeof sizeStyles$c;
|
|
61
61
|
error?: boolean;
|
|
62
62
|
}
|
|
63
63
|
declare const Input: react.ForwardRefExoticComponent<InputProps & react.RefAttributes<HTMLInputElement>>;
|
|
@@ -79,24 +79,24 @@ interface LabelProps extends React.LabelHTMLAttributes<HTMLLabelElement> {
|
|
|
79
79
|
}
|
|
80
80
|
declare const Label: react.ForwardRefExoticComponent<LabelProps & react.RefAttributes<HTMLLabelElement>>;
|
|
81
81
|
|
|
82
|
-
declare const sizeStyles$
|
|
82
|
+
declare const sizeStyles$b: {
|
|
83
83
|
readonly sm: "h-8 px-3 py-1.5 text-sm";
|
|
84
84
|
readonly md: "h-10 px-4 py-2 text-base";
|
|
85
85
|
readonly lg: "h-12 px-6 py-2 text-lg";
|
|
86
86
|
};
|
|
87
87
|
interface SelectProps extends Omit<React.SelectHTMLAttributes<HTMLSelectElement>, 'size'> {
|
|
88
|
-
size?: keyof typeof sizeStyles$
|
|
88
|
+
size?: keyof typeof sizeStyles$b;
|
|
89
89
|
error?: boolean;
|
|
90
90
|
}
|
|
91
91
|
declare const Select: react.ForwardRefExoticComponent<SelectProps & react.RefAttributes<HTMLSelectElement>>;
|
|
92
92
|
|
|
93
|
-
declare const sizeStyles$
|
|
93
|
+
declare const sizeStyles$a: {
|
|
94
94
|
readonly sm: "h-4 w-4";
|
|
95
95
|
readonly md: "h-5 w-5";
|
|
96
96
|
readonly lg: "h-6 w-6";
|
|
97
97
|
};
|
|
98
98
|
interface CheckboxProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type' | 'size'> {
|
|
99
|
-
size?: keyof typeof sizeStyles$
|
|
99
|
+
size?: keyof typeof sizeStyles$a;
|
|
100
100
|
}
|
|
101
101
|
declare const Checkbox: react.ForwardRefExoticComponent<CheckboxProps & react.RefAttributes<HTMLInputElement>>;
|
|
102
102
|
|
|
@@ -112,7 +112,7 @@ interface SwitchProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>
|
|
|
112
112
|
}
|
|
113
113
|
declare const Switch: react.ForwardRefExoticComponent<SwitchProps & react.RefAttributes<HTMLButtonElement>>;
|
|
114
114
|
|
|
115
|
-
declare const sizeStyles$
|
|
115
|
+
declare const sizeStyles$9: {
|
|
116
116
|
readonly sm: "h-4 w-4";
|
|
117
117
|
readonly md: "h-5 w-5";
|
|
118
118
|
readonly lg: "h-6 w-6";
|
|
@@ -121,7 +121,7 @@ interface RadioGroupProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
121
121
|
orientation?: 'vertical' | 'horizontal';
|
|
122
122
|
}
|
|
123
123
|
interface RadioGroupItemProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type' | 'size'> {
|
|
124
|
-
size?: keyof typeof sizeStyles$
|
|
124
|
+
size?: keyof typeof sizeStyles$9;
|
|
125
125
|
}
|
|
126
126
|
declare const RadioGroup: react.ForwardRefExoticComponent<RadioGroupProps & react.RefAttributes<HTMLDivElement>>;
|
|
127
127
|
declare const RadioGroupItem: react.ForwardRefExoticComponent<RadioGroupItemProps & react.RefAttributes<HTMLInputElement>>;
|
|
@@ -162,24 +162,24 @@ declare const variantStyles$4: {
|
|
|
162
162
|
readonly warning: "border border-storm-warning bg-storm-warning text-storm-warning-foreground";
|
|
163
163
|
readonly info: "border border-storm-info bg-storm-info text-storm-info-foreground";
|
|
164
164
|
};
|
|
165
|
-
declare const sizeStyles$
|
|
165
|
+
declare const sizeStyles$8: {
|
|
166
166
|
readonly sm: "px-1.5 py-0.5 text-[10px]";
|
|
167
167
|
readonly md: "px-2.5 py-0.5 text-xs";
|
|
168
168
|
readonly lg: "px-3 py-1 text-sm";
|
|
169
169
|
};
|
|
170
170
|
interface BadgeProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
171
171
|
variant?: keyof typeof variantStyles$4;
|
|
172
|
-
size?: keyof typeof sizeStyles$
|
|
172
|
+
size?: keyof typeof sizeStyles$8;
|
|
173
173
|
}
|
|
174
174
|
declare const Badge: react.ForwardRefExoticComponent<BadgeProps & react.RefAttributes<HTMLSpanElement>>;
|
|
175
175
|
|
|
176
|
-
declare const sizeStyles$
|
|
176
|
+
declare const sizeStyles$7: {
|
|
177
177
|
readonly sm: "h-8 w-8 text-xs";
|
|
178
178
|
readonly md: "h-10 w-10 text-sm";
|
|
179
179
|
readonly lg: "h-12 w-12 text-base";
|
|
180
180
|
};
|
|
181
181
|
interface AvatarProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
182
|
-
size?: keyof typeof sizeStyles$
|
|
182
|
+
size?: keyof typeof sizeStyles$7;
|
|
183
183
|
src?: string;
|
|
184
184
|
alt?: string;
|
|
185
185
|
fallback?: string;
|
|
@@ -221,7 +221,7 @@ declare const BreadcrumbItem: react.ForwardRefExoticComponent<BreadcrumbItemProp
|
|
|
221
221
|
declare const BreadcrumbSeparator: react.ForwardRefExoticComponent<react.HTMLAttributes<HTMLSpanElement> & react.RefAttributes<HTMLSpanElement>>;
|
|
222
222
|
declare const BreadcrumbEllipsis: react.ForwardRefExoticComponent<react.HTMLAttributes<HTMLSpanElement> & react.RefAttributes<HTMLSpanElement>>;
|
|
223
223
|
|
|
224
|
-
declare const sizeStyles$
|
|
224
|
+
declare const sizeStyles$6: {
|
|
225
225
|
readonly sm: "h-8 w-8 text-xs";
|
|
226
226
|
readonly md: "h-10 w-10 text-sm";
|
|
227
227
|
readonly lg: "h-12 w-12 text-base";
|
|
@@ -230,7 +230,7 @@ interface PaginationProps extends React.HTMLAttributes<HTMLElement> {
|
|
|
230
230
|
}
|
|
231
231
|
interface PaginationItemProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
232
232
|
active?: boolean;
|
|
233
|
-
size?: keyof typeof sizeStyles$
|
|
233
|
+
size?: keyof typeof sizeStyles$6;
|
|
234
234
|
}
|
|
235
235
|
declare const Pagination: react.ForwardRefExoticComponent<PaginationProps & react.RefAttributes<HTMLElement>>;
|
|
236
236
|
declare const PaginationItem: react.ForwardRefExoticComponent<PaginationItemProps & react.RefAttributes<HTMLButtonElement>>;
|
|
@@ -249,7 +249,7 @@ declare const NavigationMenu: react.ForwardRefExoticComponent<NavigationMenuProp
|
|
|
249
249
|
declare const NavigationMenuItem: react.ForwardRefExoticComponent<NavigationMenuItemProps & react.RefAttributes<HTMLDivElement>>;
|
|
250
250
|
declare const NavigationMenuLink: react.ForwardRefExoticComponent<NavigationMenuLinkProps & react.RefAttributes<HTMLAnchorElement>>;
|
|
251
251
|
|
|
252
|
-
declare const sizeStyles$
|
|
252
|
+
declare const sizeStyles$5: {
|
|
253
253
|
readonly sm: "max-w-sm";
|
|
254
254
|
readonly md: "max-w-lg";
|
|
255
255
|
readonly lg: "max-w-2xl";
|
|
@@ -257,7 +257,7 @@ declare const sizeStyles$4: {
|
|
|
257
257
|
readonly full: "max-w-[calc(100vw-2rem)]";
|
|
258
258
|
};
|
|
259
259
|
interface DialogProps extends React.DialogHTMLAttributes<HTMLDialogElement> {
|
|
260
|
-
size?: keyof typeof sizeStyles$
|
|
260
|
+
size?: keyof typeof sizeStyles$5;
|
|
261
261
|
}
|
|
262
262
|
interface DialogContentProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
263
263
|
}
|
|
@@ -368,7 +368,7 @@ interface TableCaptionProps extends React.HTMLAttributes<HTMLTableCaptionElement
|
|
|
368
368
|
}
|
|
369
369
|
declare const TableCaption: react.ForwardRefExoticComponent<TableCaptionProps & react.RefAttributes<HTMLTableCaptionElement>>;
|
|
370
370
|
|
|
371
|
-
declare const sizeStyles$
|
|
371
|
+
declare const sizeStyles$4: {
|
|
372
372
|
readonly sm: "h-1";
|
|
373
373
|
readonly md: "h-2";
|
|
374
374
|
readonly lg: "h-3";
|
|
@@ -382,12 +382,12 @@ declare const variantStyles$1: {
|
|
|
382
382
|
interface ProgressProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
383
383
|
value?: number;
|
|
384
384
|
max?: number;
|
|
385
|
-
size?: keyof typeof sizeStyles$
|
|
385
|
+
size?: keyof typeof sizeStyles$4;
|
|
386
386
|
variant?: keyof typeof variantStyles$1;
|
|
387
387
|
}
|
|
388
388
|
declare const Progress: react.ForwardRefExoticComponent<ProgressProps & react.RefAttributes<HTMLDivElement>>;
|
|
389
389
|
|
|
390
|
-
declare const sizeStyles$
|
|
390
|
+
declare const sizeStyles$3: {
|
|
391
391
|
readonly sm: {
|
|
392
392
|
readonly track: "h-1";
|
|
393
393
|
readonly thumb: "h-3 w-3";
|
|
@@ -407,7 +407,7 @@ interface SliderProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onChan
|
|
|
407
407
|
min?: number;
|
|
408
408
|
max?: number;
|
|
409
409
|
step?: number;
|
|
410
|
-
size?: keyof typeof sizeStyles$
|
|
410
|
+
size?: keyof typeof sizeStyles$3;
|
|
411
411
|
disabled?: boolean;
|
|
412
412
|
onChange?: (value: number) => void;
|
|
413
413
|
}
|
|
@@ -417,7 +417,7 @@ declare const variantStyles: {
|
|
|
417
417
|
readonly default: "hover:bg-storm-accent/10 data-[state=on]:bg-storm-accent/20 data-[state=on]:text-storm-foreground";
|
|
418
418
|
readonly outline: "border border-storm-border hover:bg-storm-accent/10 data-[state=on]:bg-storm-accent/20 data-[state=on]:text-storm-foreground";
|
|
419
419
|
};
|
|
420
|
-
declare const sizeStyles$
|
|
420
|
+
declare const sizeStyles$2: {
|
|
421
421
|
readonly sm: "h-8 px-2 text-sm";
|
|
422
422
|
readonly md: "h-10 px-3 text-base";
|
|
423
423
|
readonly lg: "h-12 px-4 text-lg";
|
|
@@ -426,24 +426,24 @@ interface ToggleProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
|
426
426
|
pressed?: boolean;
|
|
427
427
|
defaultPressed?: boolean;
|
|
428
428
|
variant?: keyof typeof variantStyles;
|
|
429
|
-
size?: keyof typeof sizeStyles$
|
|
429
|
+
size?: keyof typeof sizeStyles$2;
|
|
430
430
|
onPressedChange?: (pressed: boolean) => void;
|
|
431
431
|
}
|
|
432
432
|
declare const Toggle: react.ForwardRefExoticComponent<ToggleProps & react.RefAttributes<HTMLButtonElement>>;
|
|
433
433
|
|
|
434
|
-
declare const sizeStyles: {
|
|
434
|
+
declare const sizeStyles$1: {
|
|
435
435
|
readonly sm: "h-8 px-2 text-sm";
|
|
436
436
|
readonly md: "h-10 px-3 text-base";
|
|
437
437
|
readonly lg: "h-12 px-4 text-lg";
|
|
438
438
|
};
|
|
439
439
|
interface ToggleGroupProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
440
440
|
variant?: 'default' | 'outline';
|
|
441
|
-
size?: keyof typeof sizeStyles;
|
|
441
|
+
size?: keyof typeof sizeStyles$1;
|
|
442
442
|
}
|
|
443
443
|
declare const ToggleGroup: react.ForwardRefExoticComponent<ToggleGroupProps & react.RefAttributes<HTMLDivElement>>;
|
|
444
444
|
interface ToggleGroupItemProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
445
445
|
active?: boolean;
|
|
446
|
-
size?: keyof typeof sizeStyles;
|
|
446
|
+
size?: keyof typeof sizeStyles$1;
|
|
447
447
|
}
|
|
448
448
|
declare const ToggleGroupItem: react.ForwardRefExoticComponent<ToggleGroupItemProps & react.RefAttributes<HTMLButtonElement>>;
|
|
449
449
|
|
|
@@ -921,7 +921,50 @@ interface SonnerToasterProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
921
921
|
}
|
|
922
922
|
declare const SonnerToaster: react.ForwardRefExoticComponent<SonnerToasterProps & react.RefAttributes<HTMLDivElement>>;
|
|
923
923
|
|
|
924
|
+
interface MetricCardProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
925
|
+
label: string;
|
|
926
|
+
value: string;
|
|
927
|
+
change?: string;
|
|
928
|
+
changeLabel?: string;
|
|
929
|
+
}
|
|
930
|
+
declare const MetricCard: react.ForwardRefExoticComponent<MetricCardProps & react.RefAttributes<HTMLDivElement>>;
|
|
931
|
+
|
|
932
|
+
declare const sizeStyles: {
|
|
933
|
+
readonly sm: "h-8 px-3 py-1.5 text-sm";
|
|
934
|
+
readonly md: "h-10 px-4 py-2 text-base";
|
|
935
|
+
readonly lg: "h-12 px-6 py-3 text-lg";
|
|
936
|
+
};
|
|
937
|
+
interface PasswordInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size' | 'type'> {
|
|
938
|
+
size?: keyof typeof sizeStyles;
|
|
939
|
+
error?: boolean;
|
|
940
|
+
}
|
|
941
|
+
declare const PasswordInput: react.ForwardRefExoticComponent<PasswordInputProps & react.RefAttributes<HTMLInputElement>>;
|
|
942
|
+
|
|
943
|
+
interface ListItemProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
944
|
+
leading?: React.ReactNode;
|
|
945
|
+
title: string;
|
|
946
|
+
subtitle?: string;
|
|
947
|
+
trailing?: React.ReactNode;
|
|
948
|
+
truncate?: boolean;
|
|
949
|
+
}
|
|
950
|
+
declare const ListItem: react.ForwardRefExoticComponent<ListItemProps & react.RefAttributes<HTMLDivElement>>;
|
|
951
|
+
|
|
952
|
+
interface NavItemProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
953
|
+
active?: boolean;
|
|
954
|
+
icon?: React.ReactNode;
|
|
955
|
+
badge?: React.ReactNode;
|
|
956
|
+
}
|
|
957
|
+
declare const NavItem: react.ForwardRefExoticComponent<NavItemProps & react.RefAttributes<HTMLButtonElement>>;
|
|
958
|
+
|
|
959
|
+
interface PageHeaderProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
960
|
+
title: string;
|
|
961
|
+
description?: string;
|
|
962
|
+
badge?: React.ReactNode;
|
|
963
|
+
actions?: React.ReactNode;
|
|
964
|
+
}
|
|
965
|
+
declare const PageHeader: react.ForwardRefExoticComponent<PageHeaderProps & react.RefAttributes<HTMLDivElement>>;
|
|
966
|
+
|
|
924
967
|
type ClassValue = string | undefined | null | false | Record<string, boolean | undefined | null> | ClassValue[];
|
|
925
968
|
declare function cn(...inputs: ClassValue[]): string;
|
|
926
969
|
|
|
927
|
-
export { Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, Alert, AlertDescription, type AlertDescriptionProps, AlertDialog, AlertDialogAction, type AlertDialogActionProps, AlertDialogCancel, type AlertDialogCancelProps, AlertDialogContent, type AlertDialogContentProps, AlertDialogDescription, type AlertDialogDescriptionProps, AlertDialogFooter, type AlertDialogFooterProps, AlertDialogHeader, type AlertDialogHeaderProps, type AlertDialogProps, AlertDialogTitle, type AlertDialogTitleProps, type AlertProps, AlertTitle, type AlertTitleProps, AspectRatio, type AspectRatioProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, type BreadcrumbItemProps, type BreadcrumbProps, BreadcrumbSeparator, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, Calendar, type CalendarProps, Card, CardBody, type CardBodyProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, CardImage, type CardImageProps, type CardProps, CardTitle, type CardTitleProps, Carousel, CarouselContent, type CarouselContentProps, CarouselItem, type CarouselItemProps, CarouselNext, type CarouselNextProps, CarouselPrevious, type CarouselPreviousProps, type CarouselProps, Checkbox, type CheckboxProps, Collapsible, CollapsibleContent, type CollapsibleContentProps, type CollapsibleProps, CollapsibleTrigger, type CollapsibleTriggerProps, Combobox, type ComboboxOption, type ComboboxProps, Command, CommandDialog, type CommandDialogProps, CommandEmpty, type CommandEmptyProps, CommandGroup, type CommandGroupProps, CommandInput, type CommandInputProps, CommandItem, type CommandItemProps, CommandList, type CommandListProps, type CommandProps, CommandSeparator, type CommandSeparatorProps, CommandShortcut, type CommandShortcutProps, ContextMenu, ContextMenuContent, type ContextMenuContentProps, ContextMenuItem, type ContextMenuItemProps, ContextMenuLabel, type ContextMenuLabelProps, type ContextMenuProps, ContextMenuSeparator, type ContextMenuSeparatorProps, DataTable, type DataTableColumn, type DataTableProps, DatePicker, type DatePickerProps, Dialog, DialogClose, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, DialogHeader, type DialogProps, DialogTitle, type Dir, DirectionProvider, type DirectionProviderProps, Drawer, DrawerClose, DrawerContent, type DrawerContentProps, DrawerDescription, type DrawerDescriptionProps, DrawerFooter, type DrawerFooterProps, DrawerHeader, type DrawerHeaderProps, type DrawerProps, DrawerTitle, type DrawerTitleProps, DropdownMenu, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuLabel, type DropdownMenuLabelProps, type DropdownMenuProps, DropdownMenuSeparator, DropdownMenuTrigger, Empty, type EmptyProps, Field, type FieldProps, HoverCard, HoverCardContent, type HoverCardContentProps, type HoverCardProps, HoverCardTrigger, type HoverCardTriggerProps, Input, InputGroup, InputGroupAddon, type InputGroupAddonProps, type InputGroupProps, InputOTP, type InputOTPProps, InputOTPSeparator, type InputOTPSeparatorProps, type InputProps, Item, type ItemProps, Kbd, type KbdProps, Label, type LabelProps, Menubar, MenubarContent, type MenubarContentProps, MenubarItem, type MenubarItemProps, MenubarMenu, type MenubarMenuProps, type MenubarProps, MenubarSeparator, type MenubarSeparatorProps, MenubarShortcut, type MenubarShortcutProps, MenubarTrigger, type MenubarTriggerProps, NativeSelect, type NativeSelectProps, NavigationMenu, NavigationMenuItem, type NavigationMenuItemProps, NavigationMenuLink, type NavigationMenuLinkProps, type NavigationMenuProps, Pagination, PaginationEllipsis, PaginationItem, type PaginationItemProps, PaginationNext, PaginationPrevious, type PaginationProps, Popover, PopoverContent, type PopoverContentProps, type PopoverProps, PopoverTrigger, type PopoverTriggerProps, Progress, type ProgressProps, RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, ResizableHandle, type ResizableHandleProps, ResizablePanel, ResizablePanelGroup, type ResizablePanelGroupProps, type ResizablePanelProps, ScrollArea, type ScrollAreaProps, Select, type SelectProps, Separator, type SeparatorProps, Sheet, SheetClose, SheetContent, type SheetContentProps, SheetDescription, type SheetDescriptionProps, SheetFooter, type SheetFooterProps, SheetHeader, type SheetHeaderProps, type SheetProps, SheetTitle, type SheetTitleProps, SidebarContent, type SidebarContentProps, SidebarFooter, type SidebarFooterProps, SidebarGroup, type SidebarGroupProps, SidebarHeader, type SidebarHeaderProps, SidebarItem, type SidebarItemProps, SidebarProvider, type SidebarProviderProps, SidebarTrigger, type SidebarTriggerProps, Skeleton, type SkeletonProps, Slider, type SliderProps, SonnerProvider, type SonnerProviderProps, type SonnerToast as SonnerToastType, SonnerToaster, type SonnerToasterProps, type ToastVariant as SonnerVariant, Spinner, type SpinnerProps, StormSidebar, type StormSidebarProps, Switch, type SwitchProps, Table, TableBody, type TableBodyProps, TableCaption, type TableCaptionProps, TableCell, type TableCellProps, TableFooter, type TableFooterProps, TableHead, type TableHeadProps, TableHeader, type TableHeaderProps, type TableProps, TableRow, type TableRowProps, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, TabsTrigger, type TabsTriggerProps, Textarea, type TextareaProps, Toast, ToastAction, type ToastActionProps, ToastClose, ToastDescription, type ToastDescriptionProps, type ToastProps, ToastTitle, type ToastTitleProps, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps, type ToggleProps, Tooltip, TooltipContent, type TooltipContentProps, type TooltipProps, TooltipTrigger, TypographyBlockquote, type TypographyBlockquoteProps, TypographyH1, type TypographyH1Props, TypographyH2, type TypographyH2Props, TypographyH3, type TypographyH3Props, TypographyH4, type TypographyH4Props, TypographyInlineCode, type TypographyInlineCodeProps, TypographyLarge, type TypographyLargeProps, TypographyLead, type TypographyLeadProps, TypographyList, type TypographyListProps, TypographyMuted, type TypographyMutedProps, TypographyP, type TypographyPProps, TypographySmall, type TypographySmallProps, cn, useDirection, useSidebar, useSonner };
|
|
970
|
+
export { Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, Alert, AlertDescription, type AlertDescriptionProps, AlertDialog, AlertDialogAction, type AlertDialogActionProps, AlertDialogCancel, type AlertDialogCancelProps, AlertDialogContent, type AlertDialogContentProps, AlertDialogDescription, type AlertDialogDescriptionProps, AlertDialogFooter, type AlertDialogFooterProps, AlertDialogHeader, type AlertDialogHeaderProps, type AlertDialogProps, AlertDialogTitle, type AlertDialogTitleProps, type AlertProps, AlertTitle, type AlertTitleProps, AspectRatio, type AspectRatioProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, type BreadcrumbItemProps, type BreadcrumbProps, BreadcrumbSeparator, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, Calendar, type CalendarProps, Card, CardBody, type CardBodyProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, CardImage, type CardImageProps, type CardProps, CardTitle, type CardTitleProps, Carousel, CarouselContent, type CarouselContentProps, CarouselItem, type CarouselItemProps, CarouselNext, type CarouselNextProps, CarouselPrevious, type CarouselPreviousProps, type CarouselProps, Checkbox, type CheckboxProps, Collapsible, CollapsibleContent, type CollapsibleContentProps, type CollapsibleProps, CollapsibleTrigger, type CollapsibleTriggerProps, Combobox, type ComboboxOption, type ComboboxProps, Command, CommandDialog, type CommandDialogProps, CommandEmpty, type CommandEmptyProps, CommandGroup, type CommandGroupProps, CommandInput, type CommandInputProps, CommandItem, type CommandItemProps, CommandList, type CommandListProps, type CommandProps, CommandSeparator, type CommandSeparatorProps, CommandShortcut, type CommandShortcutProps, ContextMenu, ContextMenuContent, type ContextMenuContentProps, ContextMenuItem, type ContextMenuItemProps, ContextMenuLabel, type ContextMenuLabelProps, type ContextMenuProps, ContextMenuSeparator, type ContextMenuSeparatorProps, DataTable, type DataTableColumn, type DataTableProps, DatePicker, type DatePickerProps, Dialog, DialogClose, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, DialogHeader, type DialogProps, DialogTitle, type Dir, DirectionProvider, type DirectionProviderProps, Drawer, DrawerClose, DrawerContent, type DrawerContentProps, DrawerDescription, type DrawerDescriptionProps, DrawerFooter, type DrawerFooterProps, DrawerHeader, type DrawerHeaderProps, type DrawerProps, DrawerTitle, type DrawerTitleProps, DropdownMenu, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuLabel, type DropdownMenuLabelProps, type DropdownMenuProps, DropdownMenuSeparator, DropdownMenuTrigger, Empty, type EmptyProps, Field, type FieldProps, HoverCard, HoverCardContent, type HoverCardContentProps, type HoverCardProps, HoverCardTrigger, type HoverCardTriggerProps, Input, InputGroup, InputGroupAddon, type InputGroupAddonProps, type InputGroupProps, InputOTP, type InputOTPProps, InputOTPSeparator, type InputOTPSeparatorProps, type InputProps, Item, type ItemProps, Kbd, type KbdProps, Label, type LabelProps, ListItem, type ListItemProps, Menubar, MenubarContent, type MenubarContentProps, MenubarItem, type MenubarItemProps, MenubarMenu, type MenubarMenuProps, type MenubarProps, MenubarSeparator, type MenubarSeparatorProps, MenubarShortcut, type MenubarShortcutProps, MenubarTrigger, type MenubarTriggerProps, MetricCard, type MetricCardProps, NativeSelect, type NativeSelectProps, NavItem, type NavItemProps, NavigationMenu, NavigationMenuItem, type NavigationMenuItemProps, NavigationMenuLink, type NavigationMenuLinkProps, type NavigationMenuProps, PageHeader, type PageHeaderProps, Pagination, PaginationEllipsis, PaginationItem, type PaginationItemProps, PaginationNext, PaginationPrevious, type PaginationProps, PasswordInput, type PasswordInputProps, Popover, PopoverContent, type PopoverContentProps, type PopoverProps, PopoverTrigger, type PopoverTriggerProps, Progress, type ProgressProps, RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, ResizableHandle, type ResizableHandleProps, ResizablePanel, ResizablePanelGroup, type ResizablePanelGroupProps, type ResizablePanelProps, ScrollArea, type ScrollAreaProps, Select, type SelectProps, Separator, type SeparatorProps, Sheet, SheetClose, SheetContent, type SheetContentProps, SheetDescription, type SheetDescriptionProps, SheetFooter, type SheetFooterProps, SheetHeader, type SheetHeaderProps, type SheetProps, SheetTitle, type SheetTitleProps, SidebarContent, type SidebarContentProps, SidebarFooter, type SidebarFooterProps, SidebarGroup, type SidebarGroupProps, SidebarHeader, type SidebarHeaderProps, SidebarItem, type SidebarItemProps, SidebarProvider, type SidebarProviderProps, SidebarTrigger, type SidebarTriggerProps, Skeleton, type SkeletonProps, Slider, type SliderProps, SonnerProvider, type SonnerProviderProps, type SonnerToast as SonnerToastType, SonnerToaster, type SonnerToasterProps, type ToastVariant as SonnerVariant, Spinner, type SpinnerProps, StormSidebar, type StormSidebarProps, Switch, type SwitchProps, Table, TableBody, type TableBodyProps, TableCaption, type TableCaptionProps, TableCell, type TableCellProps, TableFooter, type TableFooterProps, TableHead, type TableHeadProps, TableHeader, type TableHeaderProps, type TableProps, TableRow, type TableRowProps, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, TabsTrigger, type TabsTriggerProps, Textarea, type TextareaProps, Toast, ToastAction, type ToastActionProps, ToastClose, ToastDescription, type ToastDescriptionProps, type ToastProps, ToastTitle, type ToastTitleProps, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps, type ToggleProps, Tooltip, TooltipContent, type TooltipContentProps, type TooltipProps, TooltipTrigger, TypographyBlockquote, type TypographyBlockquoteProps, TypographyH1, type TypographyH1Props, TypographyH2, type TypographyH2Props, TypographyH3, type TypographyH3Props, TypographyH4, type TypographyH4Props, TypographyInlineCode, type TypographyInlineCodeProps, TypographyLarge, type TypographyLargeProps, TypographyLead, type TypographyLeadProps, TypographyList, type TypographyListProps, TypographyMuted, type TypographyMutedProps, TypographyP, type TypographyPProps, TypographySmall, type TypographySmallProps, cn, useDirection, useSidebar, useSonner };
|
package/dist/index.d.ts
CHANGED
|
@@ -8,14 +8,14 @@ declare const variantStyles$7: {
|
|
|
8
8
|
readonly ghost: "border border-transparent bg-transparent text-storm-foreground hover:bg-storm-accent/10";
|
|
9
9
|
readonly destructive: "border border-storm-destructive bg-storm-destructive text-white hover:bg-storm-destructive/90";
|
|
10
10
|
};
|
|
11
|
-
declare const sizeStyles$
|
|
11
|
+
declare const sizeStyles$d: {
|
|
12
12
|
readonly sm: "px-3 py-1.5 text-sm";
|
|
13
13
|
readonly md: "px-4 py-2 text-base";
|
|
14
14
|
readonly lg: "px-6 py-3 text-lg";
|
|
15
15
|
};
|
|
16
16
|
interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
17
17
|
variant?: keyof typeof variantStyles$7;
|
|
18
|
-
size?: keyof typeof sizeStyles$
|
|
18
|
+
size?: keyof typeof sizeStyles$d;
|
|
19
19
|
loading?: boolean;
|
|
20
20
|
iconOnly?: boolean;
|
|
21
21
|
}
|
|
@@ -51,13 +51,13 @@ declare const CardImage: react.ForwardRefExoticComponent<CardImageProps & react.
|
|
|
51
51
|
declare const CardTitle: react.ForwardRefExoticComponent<CardTitleProps & react.RefAttributes<HTMLHeadingElement>>;
|
|
52
52
|
declare const CardDescription: react.ForwardRefExoticComponent<CardDescriptionProps & react.RefAttributes<HTMLParagraphElement>>;
|
|
53
53
|
|
|
54
|
-
declare const sizeStyles$
|
|
54
|
+
declare const sizeStyles$c: {
|
|
55
55
|
readonly sm: "h-8 px-3 py-1.5 text-sm";
|
|
56
56
|
readonly md: "h-10 px-4 py-2 text-base";
|
|
57
57
|
readonly lg: "h-12 px-6 py-3 text-lg";
|
|
58
58
|
};
|
|
59
59
|
interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size'> {
|
|
60
|
-
size?: keyof typeof sizeStyles$
|
|
60
|
+
size?: keyof typeof sizeStyles$c;
|
|
61
61
|
error?: boolean;
|
|
62
62
|
}
|
|
63
63
|
declare const Input: react.ForwardRefExoticComponent<InputProps & react.RefAttributes<HTMLInputElement>>;
|
|
@@ -79,24 +79,24 @@ interface LabelProps extends React.LabelHTMLAttributes<HTMLLabelElement> {
|
|
|
79
79
|
}
|
|
80
80
|
declare const Label: react.ForwardRefExoticComponent<LabelProps & react.RefAttributes<HTMLLabelElement>>;
|
|
81
81
|
|
|
82
|
-
declare const sizeStyles$
|
|
82
|
+
declare const sizeStyles$b: {
|
|
83
83
|
readonly sm: "h-8 px-3 py-1.5 text-sm";
|
|
84
84
|
readonly md: "h-10 px-4 py-2 text-base";
|
|
85
85
|
readonly lg: "h-12 px-6 py-2 text-lg";
|
|
86
86
|
};
|
|
87
87
|
interface SelectProps extends Omit<React.SelectHTMLAttributes<HTMLSelectElement>, 'size'> {
|
|
88
|
-
size?: keyof typeof sizeStyles$
|
|
88
|
+
size?: keyof typeof sizeStyles$b;
|
|
89
89
|
error?: boolean;
|
|
90
90
|
}
|
|
91
91
|
declare const Select: react.ForwardRefExoticComponent<SelectProps & react.RefAttributes<HTMLSelectElement>>;
|
|
92
92
|
|
|
93
|
-
declare const sizeStyles$
|
|
93
|
+
declare const sizeStyles$a: {
|
|
94
94
|
readonly sm: "h-4 w-4";
|
|
95
95
|
readonly md: "h-5 w-5";
|
|
96
96
|
readonly lg: "h-6 w-6";
|
|
97
97
|
};
|
|
98
98
|
interface CheckboxProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type' | 'size'> {
|
|
99
|
-
size?: keyof typeof sizeStyles$
|
|
99
|
+
size?: keyof typeof sizeStyles$a;
|
|
100
100
|
}
|
|
101
101
|
declare const Checkbox: react.ForwardRefExoticComponent<CheckboxProps & react.RefAttributes<HTMLInputElement>>;
|
|
102
102
|
|
|
@@ -112,7 +112,7 @@ interface SwitchProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>
|
|
|
112
112
|
}
|
|
113
113
|
declare const Switch: react.ForwardRefExoticComponent<SwitchProps & react.RefAttributes<HTMLButtonElement>>;
|
|
114
114
|
|
|
115
|
-
declare const sizeStyles$
|
|
115
|
+
declare const sizeStyles$9: {
|
|
116
116
|
readonly sm: "h-4 w-4";
|
|
117
117
|
readonly md: "h-5 w-5";
|
|
118
118
|
readonly lg: "h-6 w-6";
|
|
@@ -121,7 +121,7 @@ interface RadioGroupProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
121
121
|
orientation?: 'vertical' | 'horizontal';
|
|
122
122
|
}
|
|
123
123
|
interface RadioGroupItemProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type' | 'size'> {
|
|
124
|
-
size?: keyof typeof sizeStyles$
|
|
124
|
+
size?: keyof typeof sizeStyles$9;
|
|
125
125
|
}
|
|
126
126
|
declare const RadioGroup: react.ForwardRefExoticComponent<RadioGroupProps & react.RefAttributes<HTMLDivElement>>;
|
|
127
127
|
declare const RadioGroupItem: react.ForwardRefExoticComponent<RadioGroupItemProps & react.RefAttributes<HTMLInputElement>>;
|
|
@@ -162,24 +162,24 @@ declare const variantStyles$4: {
|
|
|
162
162
|
readonly warning: "border border-storm-warning bg-storm-warning text-storm-warning-foreground";
|
|
163
163
|
readonly info: "border border-storm-info bg-storm-info text-storm-info-foreground";
|
|
164
164
|
};
|
|
165
|
-
declare const sizeStyles$
|
|
165
|
+
declare const sizeStyles$8: {
|
|
166
166
|
readonly sm: "px-1.5 py-0.5 text-[10px]";
|
|
167
167
|
readonly md: "px-2.5 py-0.5 text-xs";
|
|
168
168
|
readonly lg: "px-3 py-1 text-sm";
|
|
169
169
|
};
|
|
170
170
|
interface BadgeProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
171
171
|
variant?: keyof typeof variantStyles$4;
|
|
172
|
-
size?: keyof typeof sizeStyles$
|
|
172
|
+
size?: keyof typeof sizeStyles$8;
|
|
173
173
|
}
|
|
174
174
|
declare const Badge: react.ForwardRefExoticComponent<BadgeProps & react.RefAttributes<HTMLSpanElement>>;
|
|
175
175
|
|
|
176
|
-
declare const sizeStyles$
|
|
176
|
+
declare const sizeStyles$7: {
|
|
177
177
|
readonly sm: "h-8 w-8 text-xs";
|
|
178
178
|
readonly md: "h-10 w-10 text-sm";
|
|
179
179
|
readonly lg: "h-12 w-12 text-base";
|
|
180
180
|
};
|
|
181
181
|
interface AvatarProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
182
|
-
size?: keyof typeof sizeStyles$
|
|
182
|
+
size?: keyof typeof sizeStyles$7;
|
|
183
183
|
src?: string;
|
|
184
184
|
alt?: string;
|
|
185
185
|
fallback?: string;
|
|
@@ -221,7 +221,7 @@ declare const BreadcrumbItem: react.ForwardRefExoticComponent<BreadcrumbItemProp
|
|
|
221
221
|
declare const BreadcrumbSeparator: react.ForwardRefExoticComponent<react.HTMLAttributes<HTMLSpanElement> & react.RefAttributes<HTMLSpanElement>>;
|
|
222
222
|
declare const BreadcrumbEllipsis: react.ForwardRefExoticComponent<react.HTMLAttributes<HTMLSpanElement> & react.RefAttributes<HTMLSpanElement>>;
|
|
223
223
|
|
|
224
|
-
declare const sizeStyles$
|
|
224
|
+
declare const sizeStyles$6: {
|
|
225
225
|
readonly sm: "h-8 w-8 text-xs";
|
|
226
226
|
readonly md: "h-10 w-10 text-sm";
|
|
227
227
|
readonly lg: "h-12 w-12 text-base";
|
|
@@ -230,7 +230,7 @@ interface PaginationProps extends React.HTMLAttributes<HTMLElement> {
|
|
|
230
230
|
}
|
|
231
231
|
interface PaginationItemProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
232
232
|
active?: boolean;
|
|
233
|
-
size?: keyof typeof sizeStyles$
|
|
233
|
+
size?: keyof typeof sizeStyles$6;
|
|
234
234
|
}
|
|
235
235
|
declare const Pagination: react.ForwardRefExoticComponent<PaginationProps & react.RefAttributes<HTMLElement>>;
|
|
236
236
|
declare const PaginationItem: react.ForwardRefExoticComponent<PaginationItemProps & react.RefAttributes<HTMLButtonElement>>;
|
|
@@ -249,7 +249,7 @@ declare const NavigationMenu: react.ForwardRefExoticComponent<NavigationMenuProp
|
|
|
249
249
|
declare const NavigationMenuItem: react.ForwardRefExoticComponent<NavigationMenuItemProps & react.RefAttributes<HTMLDivElement>>;
|
|
250
250
|
declare const NavigationMenuLink: react.ForwardRefExoticComponent<NavigationMenuLinkProps & react.RefAttributes<HTMLAnchorElement>>;
|
|
251
251
|
|
|
252
|
-
declare const sizeStyles$
|
|
252
|
+
declare const sizeStyles$5: {
|
|
253
253
|
readonly sm: "max-w-sm";
|
|
254
254
|
readonly md: "max-w-lg";
|
|
255
255
|
readonly lg: "max-w-2xl";
|
|
@@ -257,7 +257,7 @@ declare const sizeStyles$4: {
|
|
|
257
257
|
readonly full: "max-w-[calc(100vw-2rem)]";
|
|
258
258
|
};
|
|
259
259
|
interface DialogProps extends React.DialogHTMLAttributes<HTMLDialogElement> {
|
|
260
|
-
size?: keyof typeof sizeStyles$
|
|
260
|
+
size?: keyof typeof sizeStyles$5;
|
|
261
261
|
}
|
|
262
262
|
interface DialogContentProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
263
263
|
}
|
|
@@ -368,7 +368,7 @@ interface TableCaptionProps extends React.HTMLAttributes<HTMLTableCaptionElement
|
|
|
368
368
|
}
|
|
369
369
|
declare const TableCaption: react.ForwardRefExoticComponent<TableCaptionProps & react.RefAttributes<HTMLTableCaptionElement>>;
|
|
370
370
|
|
|
371
|
-
declare const sizeStyles$
|
|
371
|
+
declare const sizeStyles$4: {
|
|
372
372
|
readonly sm: "h-1";
|
|
373
373
|
readonly md: "h-2";
|
|
374
374
|
readonly lg: "h-3";
|
|
@@ -382,12 +382,12 @@ declare const variantStyles$1: {
|
|
|
382
382
|
interface ProgressProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
383
383
|
value?: number;
|
|
384
384
|
max?: number;
|
|
385
|
-
size?: keyof typeof sizeStyles$
|
|
385
|
+
size?: keyof typeof sizeStyles$4;
|
|
386
386
|
variant?: keyof typeof variantStyles$1;
|
|
387
387
|
}
|
|
388
388
|
declare const Progress: react.ForwardRefExoticComponent<ProgressProps & react.RefAttributes<HTMLDivElement>>;
|
|
389
389
|
|
|
390
|
-
declare const sizeStyles$
|
|
390
|
+
declare const sizeStyles$3: {
|
|
391
391
|
readonly sm: {
|
|
392
392
|
readonly track: "h-1";
|
|
393
393
|
readonly thumb: "h-3 w-3";
|
|
@@ -407,7 +407,7 @@ interface SliderProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onChan
|
|
|
407
407
|
min?: number;
|
|
408
408
|
max?: number;
|
|
409
409
|
step?: number;
|
|
410
|
-
size?: keyof typeof sizeStyles$
|
|
410
|
+
size?: keyof typeof sizeStyles$3;
|
|
411
411
|
disabled?: boolean;
|
|
412
412
|
onChange?: (value: number) => void;
|
|
413
413
|
}
|
|
@@ -417,7 +417,7 @@ declare const variantStyles: {
|
|
|
417
417
|
readonly default: "hover:bg-storm-accent/10 data-[state=on]:bg-storm-accent/20 data-[state=on]:text-storm-foreground";
|
|
418
418
|
readonly outline: "border border-storm-border hover:bg-storm-accent/10 data-[state=on]:bg-storm-accent/20 data-[state=on]:text-storm-foreground";
|
|
419
419
|
};
|
|
420
|
-
declare const sizeStyles$
|
|
420
|
+
declare const sizeStyles$2: {
|
|
421
421
|
readonly sm: "h-8 px-2 text-sm";
|
|
422
422
|
readonly md: "h-10 px-3 text-base";
|
|
423
423
|
readonly lg: "h-12 px-4 text-lg";
|
|
@@ -426,24 +426,24 @@ interface ToggleProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
|
426
426
|
pressed?: boolean;
|
|
427
427
|
defaultPressed?: boolean;
|
|
428
428
|
variant?: keyof typeof variantStyles;
|
|
429
|
-
size?: keyof typeof sizeStyles$
|
|
429
|
+
size?: keyof typeof sizeStyles$2;
|
|
430
430
|
onPressedChange?: (pressed: boolean) => void;
|
|
431
431
|
}
|
|
432
432
|
declare const Toggle: react.ForwardRefExoticComponent<ToggleProps & react.RefAttributes<HTMLButtonElement>>;
|
|
433
433
|
|
|
434
|
-
declare const sizeStyles: {
|
|
434
|
+
declare const sizeStyles$1: {
|
|
435
435
|
readonly sm: "h-8 px-2 text-sm";
|
|
436
436
|
readonly md: "h-10 px-3 text-base";
|
|
437
437
|
readonly lg: "h-12 px-4 text-lg";
|
|
438
438
|
};
|
|
439
439
|
interface ToggleGroupProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
440
440
|
variant?: 'default' | 'outline';
|
|
441
|
-
size?: keyof typeof sizeStyles;
|
|
441
|
+
size?: keyof typeof sizeStyles$1;
|
|
442
442
|
}
|
|
443
443
|
declare const ToggleGroup: react.ForwardRefExoticComponent<ToggleGroupProps & react.RefAttributes<HTMLDivElement>>;
|
|
444
444
|
interface ToggleGroupItemProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
445
445
|
active?: boolean;
|
|
446
|
-
size?: keyof typeof sizeStyles;
|
|
446
|
+
size?: keyof typeof sizeStyles$1;
|
|
447
447
|
}
|
|
448
448
|
declare const ToggleGroupItem: react.ForwardRefExoticComponent<ToggleGroupItemProps & react.RefAttributes<HTMLButtonElement>>;
|
|
449
449
|
|
|
@@ -921,7 +921,50 @@ interface SonnerToasterProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
921
921
|
}
|
|
922
922
|
declare const SonnerToaster: react.ForwardRefExoticComponent<SonnerToasterProps & react.RefAttributes<HTMLDivElement>>;
|
|
923
923
|
|
|
924
|
+
interface MetricCardProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
925
|
+
label: string;
|
|
926
|
+
value: string;
|
|
927
|
+
change?: string;
|
|
928
|
+
changeLabel?: string;
|
|
929
|
+
}
|
|
930
|
+
declare const MetricCard: react.ForwardRefExoticComponent<MetricCardProps & react.RefAttributes<HTMLDivElement>>;
|
|
931
|
+
|
|
932
|
+
declare const sizeStyles: {
|
|
933
|
+
readonly sm: "h-8 px-3 py-1.5 text-sm";
|
|
934
|
+
readonly md: "h-10 px-4 py-2 text-base";
|
|
935
|
+
readonly lg: "h-12 px-6 py-3 text-lg";
|
|
936
|
+
};
|
|
937
|
+
interface PasswordInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size' | 'type'> {
|
|
938
|
+
size?: keyof typeof sizeStyles;
|
|
939
|
+
error?: boolean;
|
|
940
|
+
}
|
|
941
|
+
declare const PasswordInput: react.ForwardRefExoticComponent<PasswordInputProps & react.RefAttributes<HTMLInputElement>>;
|
|
942
|
+
|
|
943
|
+
interface ListItemProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
944
|
+
leading?: React.ReactNode;
|
|
945
|
+
title: string;
|
|
946
|
+
subtitle?: string;
|
|
947
|
+
trailing?: React.ReactNode;
|
|
948
|
+
truncate?: boolean;
|
|
949
|
+
}
|
|
950
|
+
declare const ListItem: react.ForwardRefExoticComponent<ListItemProps & react.RefAttributes<HTMLDivElement>>;
|
|
951
|
+
|
|
952
|
+
interface NavItemProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
953
|
+
active?: boolean;
|
|
954
|
+
icon?: React.ReactNode;
|
|
955
|
+
badge?: React.ReactNode;
|
|
956
|
+
}
|
|
957
|
+
declare const NavItem: react.ForwardRefExoticComponent<NavItemProps & react.RefAttributes<HTMLButtonElement>>;
|
|
958
|
+
|
|
959
|
+
interface PageHeaderProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
960
|
+
title: string;
|
|
961
|
+
description?: string;
|
|
962
|
+
badge?: React.ReactNode;
|
|
963
|
+
actions?: React.ReactNode;
|
|
964
|
+
}
|
|
965
|
+
declare const PageHeader: react.ForwardRefExoticComponent<PageHeaderProps & react.RefAttributes<HTMLDivElement>>;
|
|
966
|
+
|
|
924
967
|
type ClassValue = string | undefined | null | false | Record<string, boolean | undefined | null> | ClassValue[];
|
|
925
968
|
declare function cn(...inputs: ClassValue[]): string;
|
|
926
969
|
|
|
927
|
-
export { Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, Alert, AlertDescription, type AlertDescriptionProps, AlertDialog, AlertDialogAction, type AlertDialogActionProps, AlertDialogCancel, type AlertDialogCancelProps, AlertDialogContent, type AlertDialogContentProps, AlertDialogDescription, type AlertDialogDescriptionProps, AlertDialogFooter, type AlertDialogFooterProps, AlertDialogHeader, type AlertDialogHeaderProps, type AlertDialogProps, AlertDialogTitle, type AlertDialogTitleProps, type AlertProps, AlertTitle, type AlertTitleProps, AspectRatio, type AspectRatioProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, type BreadcrumbItemProps, type BreadcrumbProps, BreadcrumbSeparator, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, Calendar, type CalendarProps, Card, CardBody, type CardBodyProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, CardImage, type CardImageProps, type CardProps, CardTitle, type CardTitleProps, Carousel, CarouselContent, type CarouselContentProps, CarouselItem, type CarouselItemProps, CarouselNext, type CarouselNextProps, CarouselPrevious, type CarouselPreviousProps, type CarouselProps, Checkbox, type CheckboxProps, Collapsible, CollapsibleContent, type CollapsibleContentProps, type CollapsibleProps, CollapsibleTrigger, type CollapsibleTriggerProps, Combobox, type ComboboxOption, type ComboboxProps, Command, CommandDialog, type CommandDialogProps, CommandEmpty, type CommandEmptyProps, CommandGroup, type CommandGroupProps, CommandInput, type CommandInputProps, CommandItem, type CommandItemProps, CommandList, type CommandListProps, type CommandProps, CommandSeparator, type CommandSeparatorProps, CommandShortcut, type CommandShortcutProps, ContextMenu, ContextMenuContent, type ContextMenuContentProps, ContextMenuItem, type ContextMenuItemProps, ContextMenuLabel, type ContextMenuLabelProps, type ContextMenuProps, ContextMenuSeparator, type ContextMenuSeparatorProps, DataTable, type DataTableColumn, type DataTableProps, DatePicker, type DatePickerProps, Dialog, DialogClose, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, DialogHeader, type DialogProps, DialogTitle, type Dir, DirectionProvider, type DirectionProviderProps, Drawer, DrawerClose, DrawerContent, type DrawerContentProps, DrawerDescription, type DrawerDescriptionProps, DrawerFooter, type DrawerFooterProps, DrawerHeader, type DrawerHeaderProps, type DrawerProps, DrawerTitle, type DrawerTitleProps, DropdownMenu, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuLabel, type DropdownMenuLabelProps, type DropdownMenuProps, DropdownMenuSeparator, DropdownMenuTrigger, Empty, type EmptyProps, Field, type FieldProps, HoverCard, HoverCardContent, type HoverCardContentProps, type HoverCardProps, HoverCardTrigger, type HoverCardTriggerProps, Input, InputGroup, InputGroupAddon, type InputGroupAddonProps, type InputGroupProps, InputOTP, type InputOTPProps, InputOTPSeparator, type InputOTPSeparatorProps, type InputProps, Item, type ItemProps, Kbd, type KbdProps, Label, type LabelProps, Menubar, MenubarContent, type MenubarContentProps, MenubarItem, type MenubarItemProps, MenubarMenu, type MenubarMenuProps, type MenubarProps, MenubarSeparator, type MenubarSeparatorProps, MenubarShortcut, type MenubarShortcutProps, MenubarTrigger, type MenubarTriggerProps, NativeSelect, type NativeSelectProps, NavigationMenu, NavigationMenuItem, type NavigationMenuItemProps, NavigationMenuLink, type NavigationMenuLinkProps, type NavigationMenuProps, Pagination, PaginationEllipsis, PaginationItem, type PaginationItemProps, PaginationNext, PaginationPrevious, type PaginationProps, Popover, PopoverContent, type PopoverContentProps, type PopoverProps, PopoverTrigger, type PopoverTriggerProps, Progress, type ProgressProps, RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, ResizableHandle, type ResizableHandleProps, ResizablePanel, ResizablePanelGroup, type ResizablePanelGroupProps, type ResizablePanelProps, ScrollArea, type ScrollAreaProps, Select, type SelectProps, Separator, type SeparatorProps, Sheet, SheetClose, SheetContent, type SheetContentProps, SheetDescription, type SheetDescriptionProps, SheetFooter, type SheetFooterProps, SheetHeader, type SheetHeaderProps, type SheetProps, SheetTitle, type SheetTitleProps, SidebarContent, type SidebarContentProps, SidebarFooter, type SidebarFooterProps, SidebarGroup, type SidebarGroupProps, SidebarHeader, type SidebarHeaderProps, SidebarItem, type SidebarItemProps, SidebarProvider, type SidebarProviderProps, SidebarTrigger, type SidebarTriggerProps, Skeleton, type SkeletonProps, Slider, type SliderProps, SonnerProvider, type SonnerProviderProps, type SonnerToast as SonnerToastType, SonnerToaster, type SonnerToasterProps, type ToastVariant as SonnerVariant, Spinner, type SpinnerProps, StormSidebar, type StormSidebarProps, Switch, type SwitchProps, Table, TableBody, type TableBodyProps, TableCaption, type TableCaptionProps, TableCell, type TableCellProps, TableFooter, type TableFooterProps, TableHead, type TableHeadProps, TableHeader, type TableHeaderProps, type TableProps, TableRow, type TableRowProps, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, TabsTrigger, type TabsTriggerProps, Textarea, type TextareaProps, Toast, ToastAction, type ToastActionProps, ToastClose, ToastDescription, type ToastDescriptionProps, type ToastProps, ToastTitle, type ToastTitleProps, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps, type ToggleProps, Tooltip, TooltipContent, type TooltipContentProps, type TooltipProps, TooltipTrigger, TypographyBlockquote, type TypographyBlockquoteProps, TypographyH1, type TypographyH1Props, TypographyH2, type TypographyH2Props, TypographyH3, type TypographyH3Props, TypographyH4, type TypographyH4Props, TypographyInlineCode, type TypographyInlineCodeProps, TypographyLarge, type TypographyLargeProps, TypographyLead, type TypographyLeadProps, TypographyList, type TypographyListProps, TypographyMuted, type TypographyMutedProps, TypographyP, type TypographyPProps, TypographySmall, type TypographySmallProps, cn, useDirection, useSidebar, useSonner };
|
|
970
|
+
export { Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, Alert, AlertDescription, type AlertDescriptionProps, AlertDialog, AlertDialogAction, type AlertDialogActionProps, AlertDialogCancel, type AlertDialogCancelProps, AlertDialogContent, type AlertDialogContentProps, AlertDialogDescription, type AlertDialogDescriptionProps, AlertDialogFooter, type AlertDialogFooterProps, AlertDialogHeader, type AlertDialogHeaderProps, type AlertDialogProps, AlertDialogTitle, type AlertDialogTitleProps, type AlertProps, AlertTitle, type AlertTitleProps, AspectRatio, type AspectRatioProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, type BreadcrumbItemProps, type BreadcrumbProps, BreadcrumbSeparator, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, Calendar, type CalendarProps, Card, CardBody, type CardBodyProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, CardImage, type CardImageProps, type CardProps, CardTitle, type CardTitleProps, Carousel, CarouselContent, type CarouselContentProps, CarouselItem, type CarouselItemProps, CarouselNext, type CarouselNextProps, CarouselPrevious, type CarouselPreviousProps, type CarouselProps, Checkbox, type CheckboxProps, Collapsible, CollapsibleContent, type CollapsibleContentProps, type CollapsibleProps, CollapsibleTrigger, type CollapsibleTriggerProps, Combobox, type ComboboxOption, type ComboboxProps, Command, CommandDialog, type CommandDialogProps, CommandEmpty, type CommandEmptyProps, CommandGroup, type CommandGroupProps, CommandInput, type CommandInputProps, CommandItem, type CommandItemProps, CommandList, type CommandListProps, type CommandProps, CommandSeparator, type CommandSeparatorProps, CommandShortcut, type CommandShortcutProps, ContextMenu, ContextMenuContent, type ContextMenuContentProps, ContextMenuItem, type ContextMenuItemProps, ContextMenuLabel, type ContextMenuLabelProps, type ContextMenuProps, ContextMenuSeparator, type ContextMenuSeparatorProps, DataTable, type DataTableColumn, type DataTableProps, DatePicker, type DatePickerProps, Dialog, DialogClose, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, DialogHeader, type DialogProps, DialogTitle, type Dir, DirectionProvider, type DirectionProviderProps, Drawer, DrawerClose, DrawerContent, type DrawerContentProps, DrawerDescription, type DrawerDescriptionProps, DrawerFooter, type DrawerFooterProps, DrawerHeader, type DrawerHeaderProps, type DrawerProps, DrawerTitle, type DrawerTitleProps, DropdownMenu, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuLabel, type DropdownMenuLabelProps, type DropdownMenuProps, DropdownMenuSeparator, DropdownMenuTrigger, Empty, type EmptyProps, Field, type FieldProps, HoverCard, HoverCardContent, type HoverCardContentProps, type HoverCardProps, HoverCardTrigger, type HoverCardTriggerProps, Input, InputGroup, InputGroupAddon, type InputGroupAddonProps, type InputGroupProps, InputOTP, type InputOTPProps, InputOTPSeparator, type InputOTPSeparatorProps, type InputProps, Item, type ItemProps, Kbd, type KbdProps, Label, type LabelProps, ListItem, type ListItemProps, Menubar, MenubarContent, type MenubarContentProps, MenubarItem, type MenubarItemProps, MenubarMenu, type MenubarMenuProps, type MenubarProps, MenubarSeparator, type MenubarSeparatorProps, MenubarShortcut, type MenubarShortcutProps, MenubarTrigger, type MenubarTriggerProps, MetricCard, type MetricCardProps, NativeSelect, type NativeSelectProps, NavItem, type NavItemProps, NavigationMenu, NavigationMenuItem, type NavigationMenuItemProps, NavigationMenuLink, type NavigationMenuLinkProps, type NavigationMenuProps, PageHeader, type PageHeaderProps, Pagination, PaginationEllipsis, PaginationItem, type PaginationItemProps, PaginationNext, PaginationPrevious, type PaginationProps, PasswordInput, type PasswordInputProps, Popover, PopoverContent, type PopoverContentProps, type PopoverProps, PopoverTrigger, type PopoverTriggerProps, Progress, type ProgressProps, RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, ResizableHandle, type ResizableHandleProps, ResizablePanel, ResizablePanelGroup, type ResizablePanelGroupProps, type ResizablePanelProps, ScrollArea, type ScrollAreaProps, Select, type SelectProps, Separator, type SeparatorProps, Sheet, SheetClose, SheetContent, type SheetContentProps, SheetDescription, type SheetDescriptionProps, SheetFooter, type SheetFooterProps, SheetHeader, type SheetHeaderProps, type SheetProps, SheetTitle, type SheetTitleProps, SidebarContent, type SidebarContentProps, SidebarFooter, type SidebarFooterProps, SidebarGroup, type SidebarGroupProps, SidebarHeader, type SidebarHeaderProps, SidebarItem, type SidebarItemProps, SidebarProvider, type SidebarProviderProps, SidebarTrigger, type SidebarTriggerProps, Skeleton, type SkeletonProps, Slider, type SliderProps, SonnerProvider, type SonnerProviderProps, type SonnerToast as SonnerToastType, SonnerToaster, type SonnerToasterProps, type ToastVariant as SonnerVariant, Spinner, type SpinnerProps, StormSidebar, type StormSidebarProps, Switch, type SwitchProps, Table, TableBody, type TableBodyProps, TableCaption, type TableCaptionProps, TableCell, type TableCellProps, TableFooter, type TableFooterProps, TableHead, type TableHeadProps, TableHeader, type TableHeaderProps, type TableProps, TableRow, type TableRowProps, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, TabsTrigger, type TabsTriggerProps, Textarea, type TextareaProps, Toast, ToastAction, type ToastActionProps, ToastClose, ToastDescription, type ToastDescriptionProps, type ToastProps, ToastTitle, type ToastTitleProps, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps, type ToggleProps, Tooltip, TooltipContent, type TooltipContentProps, type TooltipProps, TooltipTrigger, TypographyBlockquote, type TypographyBlockquoteProps, TypographyH1, type TypographyH1Props, TypographyH2, type TypographyH2Props, TypographyH3, type TypographyH3Props, TypographyH4, type TypographyH4Props, TypographyInlineCode, type TypographyInlineCodeProps, TypographyLarge, type TypographyLargeProps, TypographyLead, type TypographyLeadProps, TypographyList, type TypographyListProps, TypographyMuted, type TypographyMutedProps, TypographyP, type TypographyPProps, TypographySmall, type TypographySmallProps, cn, useDirection, useSidebar, useSonner };
|