@cortexasystem/ui 0.1.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1326 -643
- package/dist/index.d.cts +171 -13
- package/dist/index.d.ts +171 -13
- package/dist/index.js +1307 -646
- package/package.json +3 -3
- package/src/assets/isotipo-cortexa-dark.png +0 -0
- package/src/assets/isotipo-cortexa-light.png +0 -0
- package/src/components/ai/ai-chat.tsx +597 -0
- package/src/components/branding/brand-logo.tsx +77 -0
- package/src/components/data-display/icons.tsx +81 -0
- package/src/components/data-display/profile-avatar.tsx +154 -0
- package/src/components/data-display/typography.tsx +46 -0
- package/src/components/feedback/empty-state.tsx +63 -0
- package/src/components/feedback/loading-state.tsx +93 -0
- package/src/components/feedback/module-skeleton.tsx +76 -0
- package/src/components/feedback/notification.tsx +111 -0
- package/src/components/feedback/skeleton.tsx +9 -0
- package/src/components/feedback/spinner.tsx +18 -0
- package/src/components/feedback/status-badge.tsx +44 -0
- package/src/components/feedback/sync-status-badge.tsx +54 -0
- package/src/components/feedback/sync-status-bar.tsx +92 -0
- package/src/components/feedback/toaster.tsx +36 -0
- package/src/components/forms/searchable-select.tsx +206 -0
- package/src/components/forms/select.tsx +142 -0
- package/src/components/layout/app-shell.tsx +44 -0
- package/src/components/layout/form-section.tsx +21 -0
- package/src/components/layout/page-header.tsx +21 -0
- package/src/components/layout/theme-toggle.tsx +33 -0
- package/src/components/navigation/breadcrumb.tsx +87 -0
- package/src/components/navigation/header-user-menu.tsx +108 -0
- package/src/components/navigation/navbar.tsx +30 -0
- package/src/components/navigation/page-breadcrumb.tsx +44 -0
- package/src/components/navigation/sidebar.tsx +104 -0
- package/src/components/navigation/steps.tsx +82 -0
- package/src/components/overlays/dialog.tsx +94 -0
- package/src/components/overlays/drawer.tsx +85 -0
- package/src/components/overlays/dropdown-menu.tsx +179 -0
- package/src/components/overlays/sheet.tsx +110 -0
- package/src/components/primitives/alert.tsx +43 -0
- package/src/components/primitives/avatar.tsx +41 -0
- package/src/components/primitives/badge.tsx +26 -0
- package/src/components/primitives/button.tsx +49 -0
- package/src/components/primitives/card.tsx +97 -0
- package/src/components/primitives/checkbox.tsx +52 -0
- package/src/components/primitives/input.tsx +23 -0
- package/src/components/primitives/label.tsx +18 -0
- package/src/components/primitives/radio-group.tsx +57 -0
- package/src/components/primitives/separator.tsx +23 -0
- package/src/components/primitives/switch.tsx +75 -0
- package/src/components/primitives/textarea.tsx +18 -0
- package/src/components/tables/data-table.tsx +214 -0
- package/src/components/tables/data-table.types.ts +9 -0
- package/src/components/tables/table-row-actions.tsx +61 -0
- package/src/components/tables/table.tsx +88 -0
- package/src/declarations.d.ts +14 -0
- package/src/index.ts +50 -0
- package/src/lib/cn.ts +6 -0
- package/src/providers/theme-provider.tsx +90 -0
- package/src/styles.css +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -32,6 +32,119 @@ declare function useTheme(): ThemeProviderState;
|
|
|
32
32
|
|
|
33
33
|
declare function cn(...inputs: ClassValue[]): string;
|
|
34
34
|
|
|
35
|
+
declare const buttonVariants: (props?: ({
|
|
36
|
+
variant?: "link" | "default" | "secondary" | "destructive" | "outline" | "ghost" | null | undefined;
|
|
37
|
+
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
38
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
39
|
+
interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
40
|
+
asChild?: boolean;
|
|
41
|
+
}
|
|
42
|
+
declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
43
|
+
|
|
44
|
+
declare const Textarea: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & React$1.RefAttributes<HTMLTextAreaElement>>;
|
|
45
|
+
|
|
46
|
+
type AiChatLayoutVariant = "screen" | "sidebar";
|
|
47
|
+
type AiChatRole = "assistant" | "user" | "system";
|
|
48
|
+
type AiChatMessageStatus = "complete" | "streaming" | "error";
|
|
49
|
+
interface AiChatLayoutProps extends React$1.HTMLAttributes<HTMLElement> {
|
|
50
|
+
variant?: AiChatLayoutVariant;
|
|
51
|
+
}
|
|
52
|
+
declare function AiChatLayout({ className, variant, ...props }: AiChatLayoutProps): react_jsx_runtime.JSX.Element;
|
|
53
|
+
declare const AiChatSidebar: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
54
|
+
interface AiChatSidebarHeaderProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
55
|
+
title: string;
|
|
56
|
+
description?: string;
|
|
57
|
+
action?: React$1.ReactNode;
|
|
58
|
+
}
|
|
59
|
+
declare function AiChatSidebarHeader({ className, title, description, action, ...props }: AiChatSidebarHeaderProps): react_jsx_runtime.JSX.Element;
|
|
60
|
+
declare const AiChatThreadList: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
61
|
+
interface AiChatThreadButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
62
|
+
title: string;
|
|
63
|
+
preview?: string;
|
|
64
|
+
timestamp?: string;
|
|
65
|
+
active?: boolean;
|
|
66
|
+
unreadCount?: number;
|
|
67
|
+
icon?: LucideIcon;
|
|
68
|
+
}
|
|
69
|
+
declare const AiChatThreadButton: React$1.ForwardRefExoticComponent<AiChatThreadButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
70
|
+
declare const AiChatPanel: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
71
|
+
interface AiChatHeaderProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
72
|
+
title: string;
|
|
73
|
+
description?: string;
|
|
74
|
+
meta?: React$1.ReactNode;
|
|
75
|
+
actions?: React$1.ReactNode;
|
|
76
|
+
}
|
|
77
|
+
declare function AiChatHeader({ className, title, description, meta, actions, ...props }: AiChatHeaderProps): react_jsx_runtime.JSX.Element;
|
|
78
|
+
declare const AiChatMessageList: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
79
|
+
interface AiChatMessageSource {
|
|
80
|
+
label: string;
|
|
81
|
+
href?: string;
|
|
82
|
+
}
|
|
83
|
+
interface AiChatMessageProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
84
|
+
role?: AiChatRole;
|
|
85
|
+
author?: string;
|
|
86
|
+
timestamp?: string;
|
|
87
|
+
status?: AiChatMessageStatus;
|
|
88
|
+
avatar?: React$1.ReactNode;
|
|
89
|
+
actions?: React$1.ReactNode;
|
|
90
|
+
sources?: AiChatMessageSource[];
|
|
91
|
+
}
|
|
92
|
+
declare function AiChatMessage({ className, role, author, timestamp, status, avatar, actions, sources, children, ...props }: AiChatMessageProps): react_jsx_runtime.JSX.Element;
|
|
93
|
+
type AiChatAssistantMessageProps = Omit<AiChatMessageProps, "role">;
|
|
94
|
+
declare function AiChatAssistantMessage(props: AiChatAssistantMessageProps): react_jsx_runtime.JSX.Element;
|
|
95
|
+
type AiChatUserMessageProps = Omit<AiChatMessageProps, "role">;
|
|
96
|
+
declare function AiChatUserMessage(props: AiChatUserMessageProps): react_jsx_runtime.JSX.Element;
|
|
97
|
+
interface AiChatSummaryActionsProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
98
|
+
title?: string;
|
|
99
|
+
description?: string;
|
|
100
|
+
actionsClassName?: string;
|
|
101
|
+
}
|
|
102
|
+
declare function AiChatSummaryActions({ className, title, description, actionsClassName, children, ...props }: AiChatSummaryActionsProps): react_jsx_runtime.JSX.Element;
|
|
103
|
+
interface AiChatSummaryActionProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
104
|
+
title: string;
|
|
105
|
+
description?: string;
|
|
106
|
+
icon?: LucideIcon;
|
|
107
|
+
active?: boolean;
|
|
108
|
+
badge?: string;
|
|
109
|
+
}
|
|
110
|
+
declare const AiChatSummaryAction: React$1.ForwardRefExoticComponent<AiChatSummaryActionProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
111
|
+
interface AiChatComposerProps extends Omit<React$1.FormHTMLAttributes<HTMLFormElement>, "onSubmit"> {
|
|
112
|
+
textareaProps?: React$1.ComponentPropsWithoutRef<typeof Textarea>;
|
|
113
|
+
onSubmit?: React$1.FormEventHandler<HTMLFormElement>;
|
|
114
|
+
submitLabel?: string;
|
|
115
|
+
submitIcon?: React$1.ReactNode;
|
|
116
|
+
leadingActions?: React$1.ReactNode;
|
|
117
|
+
trailingActions?: React$1.ReactNode;
|
|
118
|
+
helperText?: React$1.ReactNode;
|
|
119
|
+
disabled?: boolean;
|
|
120
|
+
}
|
|
121
|
+
declare function AiChatComposer({ className, textareaProps, onSubmit, submitLabel, submitIcon, leadingActions, trailingActions, helperText, disabled, ...props }: AiChatComposerProps): react_jsx_runtime.JSX.Element;
|
|
122
|
+
interface AiChatEmptyStateProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
123
|
+
title: string;
|
|
124
|
+
description: string;
|
|
125
|
+
prompts?: string[];
|
|
126
|
+
onPromptSelect?: (prompt: string) => void;
|
|
127
|
+
}
|
|
128
|
+
declare function AiChatEmptyState({ className, title, description, prompts, onPromptSelect, ...props }: AiChatEmptyStateProps): react_jsx_runtime.JSX.Element;
|
|
129
|
+
interface AiChatFloatingButtonProps extends ButtonProps {
|
|
130
|
+
label?: string;
|
|
131
|
+
unreadCount?: number;
|
|
132
|
+
icon?: LucideIcon;
|
|
133
|
+
}
|
|
134
|
+
declare function AiChatFloatingButton({ className, label, unreadCount, icon: Icon, variant, size, children, ...props }: AiChatFloatingButtonProps): react_jsx_runtime.JSX.Element;
|
|
135
|
+
type AiChatFloatingSidebarSide = "left" | "right";
|
|
136
|
+
interface AiChatFloatingSidebarProps {
|
|
137
|
+
children: React$1.ReactNode;
|
|
138
|
+
trigger?: React$1.ReactNode;
|
|
139
|
+
side?: AiChatFloatingSidebarSide;
|
|
140
|
+
open?: boolean;
|
|
141
|
+
defaultOpen?: boolean;
|
|
142
|
+
onOpenChange?: (open: boolean) => void;
|
|
143
|
+
contentClassName?: string;
|
|
144
|
+
triggerAsChild?: boolean;
|
|
145
|
+
}
|
|
146
|
+
declare function AiChatFloatingSidebar({ children, trigger, side, open, defaultOpen, onOpenChange, contentClassName, triggerAsChild }: AiChatFloatingSidebarProps): react_jsx_runtime.JSX.Element;
|
|
147
|
+
|
|
35
148
|
interface BrandLogoProps {
|
|
36
149
|
className?: string;
|
|
37
150
|
size?: "sm" | "md" | "lg";
|
|
@@ -108,6 +221,18 @@ type TypographyProps<T extends ElementType> = {
|
|
|
108
221
|
} & VariantProps<typeof typographyVariants> & Omit<ComponentPropsWithoutRef<T>, "as" | "children" | "className">;
|
|
109
222
|
declare function Typography<T extends ElementType = "p">({ as, className, variant, children, ...props }: TypographyProps<T>): react_jsx_runtime.JSX.Element;
|
|
110
223
|
|
|
224
|
+
interface EmptyStateProps {
|
|
225
|
+
className?: string;
|
|
226
|
+
icon?: LucideIcon;
|
|
227
|
+
title: string;
|
|
228
|
+
description?: ReactNode;
|
|
229
|
+
action?: ReactNode;
|
|
230
|
+
secondaryAction?: ReactNode;
|
|
231
|
+
align?: "left" | "center";
|
|
232
|
+
compact?: boolean;
|
|
233
|
+
}
|
|
234
|
+
declare function EmptyState({ className, icon: Icon, title, description, action, secondaryAction, align, compact }: EmptyStateProps): react_jsx_runtime.JSX.Element;
|
|
235
|
+
|
|
111
236
|
interface LoadingStateProps {
|
|
112
237
|
className?: string;
|
|
113
238
|
title?: string;
|
|
@@ -128,14 +253,14 @@ interface LoadingTableRowsProps {
|
|
|
128
253
|
}
|
|
129
254
|
declare function LoadingTableRows({ className, columns, rows }: LoadingTableRowsProps): react_jsx_runtime.JSX.Element;
|
|
130
255
|
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
256
|
+
type ModuleSkeletonVariant = "cards" | "table" | "form";
|
|
257
|
+
interface ModuleSkeletonProps {
|
|
258
|
+
className?: string;
|
|
259
|
+
variant?: ModuleSkeletonVariant;
|
|
260
|
+
cardCount?: number;
|
|
261
|
+
showHeaderAction?: boolean;
|
|
137
262
|
}
|
|
138
|
-
declare
|
|
263
|
+
declare function ModuleSkeleton({ className, variant, cardCount, showHeaderAction }: ModuleSkeletonProps): react_jsx_runtime.JSX.Element;
|
|
139
264
|
|
|
140
265
|
type NotificationTone = "info" | "success" | "warning" | "danger" | "loading";
|
|
141
266
|
interface NotificationMessageProps {
|
|
@@ -152,12 +277,14 @@ interface NotifyPayload {
|
|
|
152
277
|
description?: string;
|
|
153
278
|
actionLabel?: string;
|
|
154
279
|
onAction?: () => void;
|
|
280
|
+
duration?: number;
|
|
155
281
|
}
|
|
156
282
|
declare const notify: {
|
|
157
283
|
info: (payload: NotifyPayload) => string | number;
|
|
158
284
|
success: (payload: NotifyPayload) => string | number;
|
|
159
285
|
warning: (payload: NotifyPayload) => string | number;
|
|
160
286
|
danger: (payload: NotifyPayload) => string | number;
|
|
287
|
+
error: (payload: NotifyPayload) => string | number;
|
|
161
288
|
loading: (payload: NotifyPayload) => string | number;
|
|
162
289
|
};
|
|
163
290
|
interface NotificationActionProps extends React.ComponentProps<typeof Button> {
|
|
@@ -181,6 +308,26 @@ interface StatusBadgeProps {
|
|
|
181
308
|
}
|
|
182
309
|
declare function StatusBadge({ children, tone, className }: StatusBadgeProps): react_jsx_runtime.JSX.Element;
|
|
183
310
|
|
|
311
|
+
type SyncStatus = "synced" | "pending" | "syncing" | "conflict" | "offline";
|
|
312
|
+
interface SyncStatusBadgeProps {
|
|
313
|
+
className?: string;
|
|
314
|
+
status: SyncStatus;
|
|
315
|
+
label?: string;
|
|
316
|
+
}
|
|
317
|
+
declare function SyncStatusBadge({ className, status, label }: SyncStatusBadgeProps): react_jsx_runtime.JSX.Element;
|
|
318
|
+
|
|
319
|
+
type SyncBarState = "synced" | "pending" | "syncing" | "conflict" | "offline";
|
|
320
|
+
interface SyncStatusBarProps {
|
|
321
|
+
className?: string;
|
|
322
|
+
state: SyncBarState;
|
|
323
|
+
pendingCount?: number;
|
|
324
|
+
errorCount?: number;
|
|
325
|
+
syncingCount?: number;
|
|
326
|
+
onClick?: () => void;
|
|
327
|
+
label?: string;
|
|
328
|
+
}
|
|
329
|
+
declare function SyncStatusBar({ className, state, pendingCount, errorCount, syncingCount, onClick, label }: SyncStatusBarProps): react_jsx_runtime.JSX.Element;
|
|
330
|
+
|
|
184
331
|
declare function Toaster(props: ToasterProps): react_jsx_runtime.JSX.Element;
|
|
185
332
|
|
|
186
333
|
interface SearchableSelectOption {
|
|
@@ -293,6 +440,19 @@ declare const BreadcrumbEllipsis: {
|
|
|
293
440
|
displayName: string;
|
|
294
441
|
};
|
|
295
442
|
|
|
443
|
+
interface HeaderUserMenuProps {
|
|
444
|
+
className?: string;
|
|
445
|
+
name: string;
|
|
446
|
+
email?: string;
|
|
447
|
+
role?: string;
|
|
448
|
+
initials?: string;
|
|
449
|
+
avatarSrc?: string;
|
|
450
|
+
logoutLabel?: string;
|
|
451
|
+
onLogout?: () => void;
|
|
452
|
+
extraItems?: ReactNode;
|
|
453
|
+
}
|
|
454
|
+
declare function HeaderUserMenu({ className, name, email, role, initials, avatarSrc, logoutLabel, onLogout, extraItems }: HeaderUserMenuProps): react_jsx_runtime.JSX.Element;
|
|
455
|
+
|
|
296
456
|
interface NavbarProps {
|
|
297
457
|
brand?: ReactNode;
|
|
298
458
|
actions?: ReactNode;
|
|
@@ -392,7 +552,7 @@ declare const SheetClose: React$1.ForwardRefExoticComponent<DialogPrimitive.Dial
|
|
|
392
552
|
declare const SheetPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
|
|
393
553
|
declare const SheetOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
394
554
|
declare const sheetVariants: (props?: ({
|
|
395
|
-
side?: "
|
|
555
|
+
side?: "top" | "bottom" | "left" | "right" | null | undefined;
|
|
396
556
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
397
557
|
interface SheetContentProps extends React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, VariantProps<typeof sheetVariants> {
|
|
398
558
|
}
|
|
@@ -419,7 +579,7 @@ declare const AvatarImage: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitiv
|
|
|
419
579
|
declare const AvatarFallback: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
420
580
|
|
|
421
581
|
declare const badgeVariants: (props?: ({
|
|
422
|
-
variant?: "default" | "
|
|
582
|
+
variant?: "default" | "secondary" | "destructive" | "outline" | null | undefined;
|
|
423
583
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
424
584
|
interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
425
585
|
}
|
|
@@ -467,7 +627,7 @@ declare const Separator: React$1.ForwardRefExoticComponent<Omit<SeparatorPrimiti
|
|
|
467
627
|
type SwitchProps = Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "type" | "size"> & {
|
|
468
628
|
size?: "default" | "sm";
|
|
469
629
|
};
|
|
470
|
-
declare const Switch: React$1.ForwardRefExoticComponent<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "
|
|
630
|
+
declare const Switch: React$1.ForwardRefExoticComponent<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "type" | "size"> & {
|
|
471
631
|
size?: "default" | "sm";
|
|
472
632
|
} & React$1.RefAttributes<HTMLInputElement>>;
|
|
473
633
|
interface SwitchFieldProps extends SwitchProps {
|
|
@@ -477,8 +637,6 @@ interface SwitchFieldProps extends SwitchProps {
|
|
|
477
637
|
}
|
|
478
638
|
declare function SwitchField({ id, label, description, containerClassName, size, className, ...props }: SwitchFieldProps): react_jsx_runtime.JSX.Element;
|
|
479
639
|
|
|
480
|
-
declare const Textarea: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & React$1.RefAttributes<HTMLTextAreaElement>>;
|
|
481
|
-
|
|
482
640
|
interface ColumnDef<T> {
|
|
483
641
|
key: keyof T | string;
|
|
484
642
|
label: string;
|
|
@@ -522,4 +680,4 @@ interface TableRowActionsProps {
|
|
|
522
680
|
}
|
|
523
681
|
declare function TableRowActions({ className, label, menuLabel, items }: TableRowActionsProps): react_jsx_runtime.JSX.Element;
|
|
524
682
|
|
|
525
|
-
export { Alert, AlertDescription, AlertTitle, AppShell, Avatar, AvatarFallback, AvatarGroup, type AvatarGroupUser, AvatarImage, Badge, type BadgeProps, BrandLogo, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, type BreadcrumbItemDef, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CenteredIconCard, Checkbox, CheckboxField, ClickableCard, type ColumnDef, DataTable, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, FeatureIcon, type FeatureIconProps, FormSection, type IconSize, type IconTone, Input, Label, LoadingCard, LoadingState, LoadingTableRows, ModuleIconButton, type ModuleIconButtonProps, Navbar, NotificationAction, NotificationMessage, type NotificationMessageProps, type NotificationTone, PageBreadcrumb, PageHeader, ProfileAvatar, type ProfileAvatarProps, ProfileAvatarRow, type ProfileAvatarSize, type ProfileAvatarStatus, RadioField, RadioGroup, RadioGroupItem, SearchableSelect, type SearchableSelectOption, type SearchableSelectProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, type SidebarGroup, type SidebarNavItem, Skeleton, Spinner, StatusBadge, type StatusTone, type StepItem, type StepStatus, Steps, Switch, SwitchField, Table, type TableActionItem, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, TableRowActions, Textarea, type Theme, ThemeProvider, type ThemeProviderProps, ThemeToggle, Toaster, Typography, badgeVariants, buttonVariants, cn, notify, useTheme };
|
|
683
|
+
export { AiChatAssistantMessage, type AiChatAssistantMessageProps, AiChatComposer, AiChatEmptyState, AiChatFloatingButton, type AiChatFloatingButtonProps, AiChatFloatingSidebar, type AiChatFloatingSidebarProps, type AiChatFloatingSidebarSide, AiChatHeader, AiChatLayout, type AiChatLayoutProps, type AiChatLayoutVariant, AiChatMessage, AiChatMessageList, type AiChatMessageProps, type AiChatMessageSource, type AiChatMessageStatus, AiChatPanel, type AiChatRole, AiChatSidebar, AiChatSidebarHeader, AiChatSummaryAction, type AiChatSummaryActionProps, AiChatSummaryActions, type AiChatSummaryActionsProps, AiChatThreadButton, type AiChatThreadButtonProps, AiChatThreadList, AiChatUserMessage, type AiChatUserMessageProps, Alert, AlertDescription, AlertTitle, AppShell, Avatar, AvatarFallback, AvatarGroup, type AvatarGroupUser, AvatarImage, Badge, type BadgeProps, BrandLogo, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, type BreadcrumbItemDef, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CenteredIconCard, Checkbox, CheckboxField, ClickableCard, type ColumnDef, DataTable, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, type EmptyStateProps, FeatureIcon, type FeatureIconProps, FormSection, HeaderUserMenu, type HeaderUserMenuProps, type IconSize, type IconTone, Input, Label, LoadingCard, LoadingState, LoadingTableRows, ModuleIconButton, type ModuleIconButtonProps, ModuleSkeleton, type ModuleSkeletonProps, type ModuleSkeletonVariant, Navbar, NotificationAction, NotificationMessage, type NotificationMessageProps, type NotificationTone, PageBreadcrumb, PageHeader, ProfileAvatar, type ProfileAvatarProps, ProfileAvatarRow, type ProfileAvatarSize, type ProfileAvatarStatus, RadioField, RadioGroup, RadioGroupItem, SearchableSelect, type SearchableSelectOption, type SearchableSelectProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, type SidebarGroup, type SidebarNavItem, Skeleton, Spinner, StatusBadge, type StatusTone, type StepItem, type StepStatus, Steps, Switch, SwitchField, type SyncBarState, type SyncStatus, SyncStatusBadge, type SyncStatusBadgeProps, SyncStatusBar, type SyncStatusBarProps, Table, type TableActionItem, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, TableRowActions, Textarea, type Theme, ThemeProvider, type ThemeProviderProps, ThemeToggle, Toaster, Typography, badgeVariants, buttonVariants, cn, notify, useTheme };
|
package/dist/index.d.ts
CHANGED
|
@@ -32,6 +32,119 @@ declare function useTheme(): ThemeProviderState;
|
|
|
32
32
|
|
|
33
33
|
declare function cn(...inputs: ClassValue[]): string;
|
|
34
34
|
|
|
35
|
+
declare const buttonVariants: (props?: ({
|
|
36
|
+
variant?: "link" | "default" | "secondary" | "destructive" | "outline" | "ghost" | null | undefined;
|
|
37
|
+
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
38
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
39
|
+
interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
40
|
+
asChild?: boolean;
|
|
41
|
+
}
|
|
42
|
+
declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
43
|
+
|
|
44
|
+
declare const Textarea: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & React$1.RefAttributes<HTMLTextAreaElement>>;
|
|
45
|
+
|
|
46
|
+
type AiChatLayoutVariant = "screen" | "sidebar";
|
|
47
|
+
type AiChatRole = "assistant" | "user" | "system";
|
|
48
|
+
type AiChatMessageStatus = "complete" | "streaming" | "error";
|
|
49
|
+
interface AiChatLayoutProps extends React$1.HTMLAttributes<HTMLElement> {
|
|
50
|
+
variant?: AiChatLayoutVariant;
|
|
51
|
+
}
|
|
52
|
+
declare function AiChatLayout({ className, variant, ...props }: AiChatLayoutProps): react_jsx_runtime.JSX.Element;
|
|
53
|
+
declare const AiChatSidebar: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
54
|
+
interface AiChatSidebarHeaderProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
55
|
+
title: string;
|
|
56
|
+
description?: string;
|
|
57
|
+
action?: React$1.ReactNode;
|
|
58
|
+
}
|
|
59
|
+
declare function AiChatSidebarHeader({ className, title, description, action, ...props }: AiChatSidebarHeaderProps): react_jsx_runtime.JSX.Element;
|
|
60
|
+
declare const AiChatThreadList: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
61
|
+
interface AiChatThreadButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
62
|
+
title: string;
|
|
63
|
+
preview?: string;
|
|
64
|
+
timestamp?: string;
|
|
65
|
+
active?: boolean;
|
|
66
|
+
unreadCount?: number;
|
|
67
|
+
icon?: LucideIcon;
|
|
68
|
+
}
|
|
69
|
+
declare const AiChatThreadButton: React$1.ForwardRefExoticComponent<AiChatThreadButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
70
|
+
declare const AiChatPanel: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
71
|
+
interface AiChatHeaderProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
72
|
+
title: string;
|
|
73
|
+
description?: string;
|
|
74
|
+
meta?: React$1.ReactNode;
|
|
75
|
+
actions?: React$1.ReactNode;
|
|
76
|
+
}
|
|
77
|
+
declare function AiChatHeader({ className, title, description, meta, actions, ...props }: AiChatHeaderProps): react_jsx_runtime.JSX.Element;
|
|
78
|
+
declare const AiChatMessageList: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
79
|
+
interface AiChatMessageSource {
|
|
80
|
+
label: string;
|
|
81
|
+
href?: string;
|
|
82
|
+
}
|
|
83
|
+
interface AiChatMessageProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
84
|
+
role?: AiChatRole;
|
|
85
|
+
author?: string;
|
|
86
|
+
timestamp?: string;
|
|
87
|
+
status?: AiChatMessageStatus;
|
|
88
|
+
avatar?: React$1.ReactNode;
|
|
89
|
+
actions?: React$1.ReactNode;
|
|
90
|
+
sources?: AiChatMessageSource[];
|
|
91
|
+
}
|
|
92
|
+
declare function AiChatMessage({ className, role, author, timestamp, status, avatar, actions, sources, children, ...props }: AiChatMessageProps): react_jsx_runtime.JSX.Element;
|
|
93
|
+
type AiChatAssistantMessageProps = Omit<AiChatMessageProps, "role">;
|
|
94
|
+
declare function AiChatAssistantMessage(props: AiChatAssistantMessageProps): react_jsx_runtime.JSX.Element;
|
|
95
|
+
type AiChatUserMessageProps = Omit<AiChatMessageProps, "role">;
|
|
96
|
+
declare function AiChatUserMessage(props: AiChatUserMessageProps): react_jsx_runtime.JSX.Element;
|
|
97
|
+
interface AiChatSummaryActionsProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
98
|
+
title?: string;
|
|
99
|
+
description?: string;
|
|
100
|
+
actionsClassName?: string;
|
|
101
|
+
}
|
|
102
|
+
declare function AiChatSummaryActions({ className, title, description, actionsClassName, children, ...props }: AiChatSummaryActionsProps): react_jsx_runtime.JSX.Element;
|
|
103
|
+
interface AiChatSummaryActionProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
104
|
+
title: string;
|
|
105
|
+
description?: string;
|
|
106
|
+
icon?: LucideIcon;
|
|
107
|
+
active?: boolean;
|
|
108
|
+
badge?: string;
|
|
109
|
+
}
|
|
110
|
+
declare const AiChatSummaryAction: React$1.ForwardRefExoticComponent<AiChatSummaryActionProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
111
|
+
interface AiChatComposerProps extends Omit<React$1.FormHTMLAttributes<HTMLFormElement>, "onSubmit"> {
|
|
112
|
+
textareaProps?: React$1.ComponentPropsWithoutRef<typeof Textarea>;
|
|
113
|
+
onSubmit?: React$1.FormEventHandler<HTMLFormElement>;
|
|
114
|
+
submitLabel?: string;
|
|
115
|
+
submitIcon?: React$1.ReactNode;
|
|
116
|
+
leadingActions?: React$1.ReactNode;
|
|
117
|
+
trailingActions?: React$1.ReactNode;
|
|
118
|
+
helperText?: React$1.ReactNode;
|
|
119
|
+
disabled?: boolean;
|
|
120
|
+
}
|
|
121
|
+
declare function AiChatComposer({ className, textareaProps, onSubmit, submitLabel, submitIcon, leadingActions, trailingActions, helperText, disabled, ...props }: AiChatComposerProps): react_jsx_runtime.JSX.Element;
|
|
122
|
+
interface AiChatEmptyStateProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
123
|
+
title: string;
|
|
124
|
+
description: string;
|
|
125
|
+
prompts?: string[];
|
|
126
|
+
onPromptSelect?: (prompt: string) => void;
|
|
127
|
+
}
|
|
128
|
+
declare function AiChatEmptyState({ className, title, description, prompts, onPromptSelect, ...props }: AiChatEmptyStateProps): react_jsx_runtime.JSX.Element;
|
|
129
|
+
interface AiChatFloatingButtonProps extends ButtonProps {
|
|
130
|
+
label?: string;
|
|
131
|
+
unreadCount?: number;
|
|
132
|
+
icon?: LucideIcon;
|
|
133
|
+
}
|
|
134
|
+
declare function AiChatFloatingButton({ className, label, unreadCount, icon: Icon, variant, size, children, ...props }: AiChatFloatingButtonProps): react_jsx_runtime.JSX.Element;
|
|
135
|
+
type AiChatFloatingSidebarSide = "left" | "right";
|
|
136
|
+
interface AiChatFloatingSidebarProps {
|
|
137
|
+
children: React$1.ReactNode;
|
|
138
|
+
trigger?: React$1.ReactNode;
|
|
139
|
+
side?: AiChatFloatingSidebarSide;
|
|
140
|
+
open?: boolean;
|
|
141
|
+
defaultOpen?: boolean;
|
|
142
|
+
onOpenChange?: (open: boolean) => void;
|
|
143
|
+
contentClassName?: string;
|
|
144
|
+
triggerAsChild?: boolean;
|
|
145
|
+
}
|
|
146
|
+
declare function AiChatFloatingSidebar({ children, trigger, side, open, defaultOpen, onOpenChange, contentClassName, triggerAsChild }: AiChatFloatingSidebarProps): react_jsx_runtime.JSX.Element;
|
|
147
|
+
|
|
35
148
|
interface BrandLogoProps {
|
|
36
149
|
className?: string;
|
|
37
150
|
size?: "sm" | "md" | "lg";
|
|
@@ -108,6 +221,18 @@ type TypographyProps<T extends ElementType> = {
|
|
|
108
221
|
} & VariantProps<typeof typographyVariants> & Omit<ComponentPropsWithoutRef<T>, "as" | "children" | "className">;
|
|
109
222
|
declare function Typography<T extends ElementType = "p">({ as, className, variant, children, ...props }: TypographyProps<T>): react_jsx_runtime.JSX.Element;
|
|
110
223
|
|
|
224
|
+
interface EmptyStateProps {
|
|
225
|
+
className?: string;
|
|
226
|
+
icon?: LucideIcon;
|
|
227
|
+
title: string;
|
|
228
|
+
description?: ReactNode;
|
|
229
|
+
action?: ReactNode;
|
|
230
|
+
secondaryAction?: ReactNode;
|
|
231
|
+
align?: "left" | "center";
|
|
232
|
+
compact?: boolean;
|
|
233
|
+
}
|
|
234
|
+
declare function EmptyState({ className, icon: Icon, title, description, action, secondaryAction, align, compact }: EmptyStateProps): react_jsx_runtime.JSX.Element;
|
|
235
|
+
|
|
111
236
|
interface LoadingStateProps {
|
|
112
237
|
className?: string;
|
|
113
238
|
title?: string;
|
|
@@ -128,14 +253,14 @@ interface LoadingTableRowsProps {
|
|
|
128
253
|
}
|
|
129
254
|
declare function LoadingTableRows({ className, columns, rows }: LoadingTableRowsProps): react_jsx_runtime.JSX.Element;
|
|
130
255
|
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
256
|
+
type ModuleSkeletonVariant = "cards" | "table" | "form";
|
|
257
|
+
interface ModuleSkeletonProps {
|
|
258
|
+
className?: string;
|
|
259
|
+
variant?: ModuleSkeletonVariant;
|
|
260
|
+
cardCount?: number;
|
|
261
|
+
showHeaderAction?: boolean;
|
|
137
262
|
}
|
|
138
|
-
declare
|
|
263
|
+
declare function ModuleSkeleton({ className, variant, cardCount, showHeaderAction }: ModuleSkeletonProps): react_jsx_runtime.JSX.Element;
|
|
139
264
|
|
|
140
265
|
type NotificationTone = "info" | "success" | "warning" | "danger" | "loading";
|
|
141
266
|
interface NotificationMessageProps {
|
|
@@ -152,12 +277,14 @@ interface NotifyPayload {
|
|
|
152
277
|
description?: string;
|
|
153
278
|
actionLabel?: string;
|
|
154
279
|
onAction?: () => void;
|
|
280
|
+
duration?: number;
|
|
155
281
|
}
|
|
156
282
|
declare const notify: {
|
|
157
283
|
info: (payload: NotifyPayload) => string | number;
|
|
158
284
|
success: (payload: NotifyPayload) => string | number;
|
|
159
285
|
warning: (payload: NotifyPayload) => string | number;
|
|
160
286
|
danger: (payload: NotifyPayload) => string | number;
|
|
287
|
+
error: (payload: NotifyPayload) => string | number;
|
|
161
288
|
loading: (payload: NotifyPayload) => string | number;
|
|
162
289
|
};
|
|
163
290
|
interface NotificationActionProps extends React.ComponentProps<typeof Button> {
|
|
@@ -181,6 +308,26 @@ interface StatusBadgeProps {
|
|
|
181
308
|
}
|
|
182
309
|
declare function StatusBadge({ children, tone, className }: StatusBadgeProps): react_jsx_runtime.JSX.Element;
|
|
183
310
|
|
|
311
|
+
type SyncStatus = "synced" | "pending" | "syncing" | "conflict" | "offline";
|
|
312
|
+
interface SyncStatusBadgeProps {
|
|
313
|
+
className?: string;
|
|
314
|
+
status: SyncStatus;
|
|
315
|
+
label?: string;
|
|
316
|
+
}
|
|
317
|
+
declare function SyncStatusBadge({ className, status, label }: SyncStatusBadgeProps): react_jsx_runtime.JSX.Element;
|
|
318
|
+
|
|
319
|
+
type SyncBarState = "synced" | "pending" | "syncing" | "conflict" | "offline";
|
|
320
|
+
interface SyncStatusBarProps {
|
|
321
|
+
className?: string;
|
|
322
|
+
state: SyncBarState;
|
|
323
|
+
pendingCount?: number;
|
|
324
|
+
errorCount?: number;
|
|
325
|
+
syncingCount?: number;
|
|
326
|
+
onClick?: () => void;
|
|
327
|
+
label?: string;
|
|
328
|
+
}
|
|
329
|
+
declare function SyncStatusBar({ className, state, pendingCount, errorCount, syncingCount, onClick, label }: SyncStatusBarProps): react_jsx_runtime.JSX.Element;
|
|
330
|
+
|
|
184
331
|
declare function Toaster(props: ToasterProps): react_jsx_runtime.JSX.Element;
|
|
185
332
|
|
|
186
333
|
interface SearchableSelectOption {
|
|
@@ -293,6 +440,19 @@ declare const BreadcrumbEllipsis: {
|
|
|
293
440
|
displayName: string;
|
|
294
441
|
};
|
|
295
442
|
|
|
443
|
+
interface HeaderUserMenuProps {
|
|
444
|
+
className?: string;
|
|
445
|
+
name: string;
|
|
446
|
+
email?: string;
|
|
447
|
+
role?: string;
|
|
448
|
+
initials?: string;
|
|
449
|
+
avatarSrc?: string;
|
|
450
|
+
logoutLabel?: string;
|
|
451
|
+
onLogout?: () => void;
|
|
452
|
+
extraItems?: ReactNode;
|
|
453
|
+
}
|
|
454
|
+
declare function HeaderUserMenu({ className, name, email, role, initials, avatarSrc, logoutLabel, onLogout, extraItems }: HeaderUserMenuProps): react_jsx_runtime.JSX.Element;
|
|
455
|
+
|
|
296
456
|
interface NavbarProps {
|
|
297
457
|
brand?: ReactNode;
|
|
298
458
|
actions?: ReactNode;
|
|
@@ -392,7 +552,7 @@ declare const SheetClose: React$1.ForwardRefExoticComponent<DialogPrimitive.Dial
|
|
|
392
552
|
declare const SheetPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
|
|
393
553
|
declare const SheetOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
394
554
|
declare const sheetVariants: (props?: ({
|
|
395
|
-
side?: "
|
|
555
|
+
side?: "top" | "bottom" | "left" | "right" | null | undefined;
|
|
396
556
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
397
557
|
interface SheetContentProps extends React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, VariantProps<typeof sheetVariants> {
|
|
398
558
|
}
|
|
@@ -419,7 +579,7 @@ declare const AvatarImage: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitiv
|
|
|
419
579
|
declare const AvatarFallback: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
420
580
|
|
|
421
581
|
declare const badgeVariants: (props?: ({
|
|
422
|
-
variant?: "default" | "
|
|
582
|
+
variant?: "default" | "secondary" | "destructive" | "outline" | null | undefined;
|
|
423
583
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
424
584
|
interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
425
585
|
}
|
|
@@ -467,7 +627,7 @@ declare const Separator: React$1.ForwardRefExoticComponent<Omit<SeparatorPrimiti
|
|
|
467
627
|
type SwitchProps = Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "type" | "size"> & {
|
|
468
628
|
size?: "default" | "sm";
|
|
469
629
|
};
|
|
470
|
-
declare const Switch: React$1.ForwardRefExoticComponent<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "
|
|
630
|
+
declare const Switch: React$1.ForwardRefExoticComponent<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "type" | "size"> & {
|
|
471
631
|
size?: "default" | "sm";
|
|
472
632
|
} & React$1.RefAttributes<HTMLInputElement>>;
|
|
473
633
|
interface SwitchFieldProps extends SwitchProps {
|
|
@@ -477,8 +637,6 @@ interface SwitchFieldProps extends SwitchProps {
|
|
|
477
637
|
}
|
|
478
638
|
declare function SwitchField({ id, label, description, containerClassName, size, className, ...props }: SwitchFieldProps): react_jsx_runtime.JSX.Element;
|
|
479
639
|
|
|
480
|
-
declare const Textarea: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & React$1.RefAttributes<HTMLTextAreaElement>>;
|
|
481
|
-
|
|
482
640
|
interface ColumnDef<T> {
|
|
483
641
|
key: keyof T | string;
|
|
484
642
|
label: string;
|
|
@@ -522,4 +680,4 @@ interface TableRowActionsProps {
|
|
|
522
680
|
}
|
|
523
681
|
declare function TableRowActions({ className, label, menuLabel, items }: TableRowActionsProps): react_jsx_runtime.JSX.Element;
|
|
524
682
|
|
|
525
|
-
export { Alert, AlertDescription, AlertTitle, AppShell, Avatar, AvatarFallback, AvatarGroup, type AvatarGroupUser, AvatarImage, Badge, type BadgeProps, BrandLogo, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, type BreadcrumbItemDef, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CenteredIconCard, Checkbox, CheckboxField, ClickableCard, type ColumnDef, DataTable, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, FeatureIcon, type FeatureIconProps, FormSection, type IconSize, type IconTone, Input, Label, LoadingCard, LoadingState, LoadingTableRows, ModuleIconButton, type ModuleIconButtonProps, Navbar, NotificationAction, NotificationMessage, type NotificationMessageProps, type NotificationTone, PageBreadcrumb, PageHeader, ProfileAvatar, type ProfileAvatarProps, ProfileAvatarRow, type ProfileAvatarSize, type ProfileAvatarStatus, RadioField, RadioGroup, RadioGroupItem, SearchableSelect, type SearchableSelectOption, type SearchableSelectProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, type SidebarGroup, type SidebarNavItem, Skeleton, Spinner, StatusBadge, type StatusTone, type StepItem, type StepStatus, Steps, Switch, SwitchField, Table, type TableActionItem, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, TableRowActions, Textarea, type Theme, ThemeProvider, type ThemeProviderProps, ThemeToggle, Toaster, Typography, badgeVariants, buttonVariants, cn, notify, useTheme };
|
|
683
|
+
export { AiChatAssistantMessage, type AiChatAssistantMessageProps, AiChatComposer, AiChatEmptyState, AiChatFloatingButton, type AiChatFloatingButtonProps, AiChatFloatingSidebar, type AiChatFloatingSidebarProps, type AiChatFloatingSidebarSide, AiChatHeader, AiChatLayout, type AiChatLayoutProps, type AiChatLayoutVariant, AiChatMessage, AiChatMessageList, type AiChatMessageProps, type AiChatMessageSource, type AiChatMessageStatus, AiChatPanel, type AiChatRole, AiChatSidebar, AiChatSidebarHeader, AiChatSummaryAction, type AiChatSummaryActionProps, AiChatSummaryActions, type AiChatSummaryActionsProps, AiChatThreadButton, type AiChatThreadButtonProps, AiChatThreadList, AiChatUserMessage, type AiChatUserMessageProps, Alert, AlertDescription, AlertTitle, AppShell, Avatar, AvatarFallback, AvatarGroup, type AvatarGroupUser, AvatarImage, Badge, type BadgeProps, BrandLogo, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, type BreadcrumbItemDef, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CenteredIconCard, Checkbox, CheckboxField, ClickableCard, type ColumnDef, DataTable, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, type EmptyStateProps, FeatureIcon, type FeatureIconProps, FormSection, HeaderUserMenu, type HeaderUserMenuProps, type IconSize, type IconTone, Input, Label, LoadingCard, LoadingState, LoadingTableRows, ModuleIconButton, type ModuleIconButtonProps, ModuleSkeleton, type ModuleSkeletonProps, type ModuleSkeletonVariant, Navbar, NotificationAction, NotificationMessage, type NotificationMessageProps, type NotificationTone, PageBreadcrumb, PageHeader, ProfileAvatar, type ProfileAvatarProps, ProfileAvatarRow, type ProfileAvatarSize, type ProfileAvatarStatus, RadioField, RadioGroup, RadioGroupItem, SearchableSelect, type SearchableSelectOption, type SearchableSelectProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, type SidebarGroup, type SidebarNavItem, Skeleton, Spinner, StatusBadge, type StatusTone, type StepItem, type StepStatus, Steps, Switch, SwitchField, type SyncBarState, type SyncStatus, SyncStatusBadge, type SyncStatusBadgeProps, SyncStatusBar, type SyncStatusBarProps, Table, type TableActionItem, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, TableRowActions, Textarea, type Theme, ThemeProvider, type ThemeProviderProps, ThemeToggle, Toaster, Typography, badgeVariants, buttonVariants, cn, notify, useTheme };
|