@citron-systems/citron-ui 1.9.0 → 1.10.0
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/README.md +1 -0
- package/dist/index.d.cts +818 -13
- package/dist/index.d.ts +818 -13
- package/dist/index.js +3 -2
- package/dist/index.mjs +3 -2
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as react from 'react';
|
|
3
|
-
import { ReactNode, TextareaHTMLAttributes, ButtonHTMLAttributes, Component, InputHTMLAttributes, ComponentType, HTMLAttributes } from 'react';
|
|
3
|
+
import { ReactNode, TextareaHTMLAttributes, ButtonHTMLAttributes, Component, InputHTMLAttributes, ComponentType, HTMLAttributes, RefObject, FormHTMLAttributes, LabelHTMLAttributes, SelectHTMLAttributes, TableHTMLAttributes, TdHTMLAttributes, ThHTMLAttributes } from 'react';
|
|
4
4
|
import { FallbackProps } from 'react-error-boundary';
|
|
5
5
|
import { LucideIcon } from 'lucide-react';
|
|
6
6
|
|
|
@@ -55,9 +55,17 @@ interface CampaignTableProps {
|
|
|
55
55
|
label: string;
|
|
56
56
|
}[];
|
|
57
57
|
rows: CampaignTableRow[];
|
|
58
|
+
sortKey?: string;
|
|
59
|
+
sortDirection?: 'asc' | 'desc';
|
|
60
|
+
defaultSortKey?: string;
|
|
61
|
+
defaultSortDirection?: 'asc' | 'desc';
|
|
62
|
+
onSortChange?: (key: string, direction: 'asc' | 'desc') => void;
|
|
63
|
+
sortableColumns?: string[];
|
|
64
|
+
emptyTitle?: string;
|
|
65
|
+
emptyDescription?: string;
|
|
58
66
|
className?: string;
|
|
59
67
|
}
|
|
60
|
-
declare function CampaignTable({ columns, rows, className, }: CampaignTableProps): react_jsx_runtime.JSX.Element;
|
|
68
|
+
declare function CampaignTable({ columns, rows, sortKey, sortDirection, defaultSortKey, defaultSortDirection, onSortChange, sortableColumns, emptyTitle, emptyDescription, className, }: CampaignTableProps): react_jsx_runtime.JSX.Element;
|
|
61
69
|
|
|
62
70
|
interface EmailTemplateItem {
|
|
63
71
|
id: string;
|
|
@@ -263,12 +271,18 @@ interface OSNavigationRailItem {
|
|
|
263
271
|
icon: ReactNode;
|
|
264
272
|
label?: string;
|
|
265
273
|
active?: boolean;
|
|
274
|
+
disabled?: boolean;
|
|
275
|
+
onClick?: (id: string) => void;
|
|
266
276
|
}
|
|
267
277
|
interface OSNavigationRailProps {
|
|
268
278
|
items: OSNavigationRailItem[];
|
|
279
|
+
activeItemId?: string;
|
|
280
|
+
defaultActiveItemId?: string;
|
|
281
|
+
onActiveItemChange?: (id: string, item: OSNavigationRailItem) => void;
|
|
282
|
+
onItemClick?: (id: string, item: OSNavigationRailItem) => void;
|
|
269
283
|
className?: string;
|
|
270
284
|
}
|
|
271
|
-
declare function OSNavigationRail({ items, className }: OSNavigationRailProps): react_jsx_runtime.JSX.Element;
|
|
285
|
+
declare function OSNavigationRail({ items, activeItemId, defaultActiveItemId, onActiveItemChange, onItemClick, className, }: OSNavigationRailProps): react_jsx_runtime.JSX.Element;
|
|
272
286
|
|
|
273
287
|
type StatCardChangeVariant = 'success' | 'error' | 'neutral';
|
|
274
288
|
interface StatCardItem {
|
|
@@ -361,7 +375,7 @@ interface TemplateCardProps {
|
|
|
361
375
|
}
|
|
362
376
|
declare function TemplateCard({ category, title, uses, onClick, className, }: TemplateCardProps): react_jsx_runtime.JSX.Element;
|
|
363
377
|
|
|
364
|
-
interface GraphNode {
|
|
378
|
+
interface GraphNode$1 {
|
|
365
379
|
id: string;
|
|
366
380
|
type: EntityType;
|
|
367
381
|
name: string;
|
|
@@ -377,8 +391,8 @@ interface ChatMessage {
|
|
|
377
391
|
|
|
378
392
|
interface ActivityStreamProps {
|
|
379
393
|
events: CitronEvent[];
|
|
380
|
-
onEntitySelect?: (entity: GraphNode) => void;
|
|
381
|
-
findEntity?: (name: string) => GraphNode | null;
|
|
394
|
+
onEntitySelect?: (entity: GraphNode$1) => void;
|
|
395
|
+
findEntity?: (name: string) => GraphNode$1 | null;
|
|
382
396
|
emptyMessage?: string;
|
|
383
397
|
className?: string;
|
|
384
398
|
}
|
|
@@ -399,10 +413,10 @@ interface AppNavigationRailProps {
|
|
|
399
413
|
declare function AppNavigationRail({ items, brandLogo, brandTitle, className, }: AppNavigationRailProps): react_jsx_runtime.JSX.Element;
|
|
400
414
|
|
|
401
415
|
interface ChatFeedProps {
|
|
402
|
-
entities: GraphNode[];
|
|
416
|
+
entities: GraphNode$1[];
|
|
403
417
|
events: CitronEvent[];
|
|
404
|
-
onFocusEntity?: (entity: GraphNode) => void;
|
|
405
|
-
findEntity?: (name: string) => GraphNode | null;
|
|
418
|
+
onFocusEntity?: (entity: GraphNode$1) => void;
|
|
419
|
+
findEntity?: (name: string) => GraphNode$1 | null;
|
|
406
420
|
placeholder?: string;
|
|
407
421
|
emptyMessage?: string;
|
|
408
422
|
className?: string;
|
|
@@ -440,10 +454,10 @@ interface IntelligenceLabInsight {
|
|
|
440
454
|
confidence: number;
|
|
441
455
|
}
|
|
442
456
|
interface IntelligenceLabProps {
|
|
443
|
-
entities: GraphNode[];
|
|
457
|
+
entities: GraphNode$1[];
|
|
444
458
|
events: CitronEvent[];
|
|
445
|
-
focusEntity: GraphNode;
|
|
446
|
-
setFocusEntity: (entity: GraphNode) => void;
|
|
459
|
+
focusEntity: GraphNode$1;
|
|
460
|
+
setFocusEntity: (entity: GraphNode$1) => void;
|
|
447
461
|
loading: boolean;
|
|
448
462
|
kpiCards?: IntelligenceLabKpiCard[];
|
|
449
463
|
aiInsights?: IntelligenceLabInsight[];
|
|
@@ -490,4 +504,795 @@ interface EmailCampaignsViewProps {
|
|
|
490
504
|
}
|
|
491
505
|
declare function EmailCampaignsView({ onSendNow, onSchedule, onSaveDraft, onNewCampaign, onGenerateWithAI, onTemplateClick, className, }: EmailCampaignsViewProps): react_jsx_runtime.JSX.Element;
|
|
492
506
|
|
|
493
|
-
|
|
507
|
+
interface AccordionItem {
|
|
508
|
+
id: string;
|
|
509
|
+
title: ReactNode;
|
|
510
|
+
content: ReactNode;
|
|
511
|
+
disabled?: boolean;
|
|
512
|
+
}
|
|
513
|
+
interface AccordionProps {
|
|
514
|
+
items: AccordionItem[];
|
|
515
|
+
defaultValue?: string[];
|
|
516
|
+
allowMultiple?: boolean;
|
|
517
|
+
className?: string;
|
|
518
|
+
}
|
|
519
|
+
declare function Accordion({ items, defaultValue, allowMultiple, className, }: AccordionProps): react_jsx_runtime.JSX.Element;
|
|
520
|
+
|
|
521
|
+
type AlertVariant = 'info' | 'success' | 'warning' | 'error';
|
|
522
|
+
interface AlertProps {
|
|
523
|
+
title: ReactNode;
|
|
524
|
+
description?: ReactNode;
|
|
525
|
+
variant?: AlertVariant;
|
|
526
|
+
className?: string;
|
|
527
|
+
}
|
|
528
|
+
declare function Alert({ title, description, variant, className, }: AlertProps): react_jsx_runtime.JSX.Element;
|
|
529
|
+
|
|
530
|
+
interface AlertDialogProps {
|
|
531
|
+
open: boolean;
|
|
532
|
+
title: string;
|
|
533
|
+
description?: string;
|
|
534
|
+
confirmLabel?: string;
|
|
535
|
+
cancelLabel?: string;
|
|
536
|
+
destructive?: boolean;
|
|
537
|
+
confirmDisabled?: boolean;
|
|
538
|
+
closeOnConfirm?: boolean;
|
|
539
|
+
initialFocusRef?: RefObject<HTMLElement | null>;
|
|
540
|
+
onOpenChange?: (open: boolean) => void;
|
|
541
|
+
onConfirm?: () => void;
|
|
542
|
+
onCancel?: () => void;
|
|
543
|
+
className?: string;
|
|
544
|
+
}
|
|
545
|
+
declare function AlertDialog({ open, title, description, confirmLabel, cancelLabel, destructive, confirmDisabled, closeOnConfirm, initialFocusRef, onOpenChange, onConfirm, onCancel, className, }: AlertDialogProps): react_jsx_runtime.JSX.Element | null;
|
|
546
|
+
|
|
547
|
+
type BlockType = 'heading' | 'text' | 'image' | 'button' | 'divider' | 'columns';
|
|
548
|
+
interface EmailBlock {
|
|
549
|
+
id: string;
|
|
550
|
+
type: BlockType;
|
|
551
|
+
content: string;
|
|
552
|
+
}
|
|
553
|
+
interface EmailBlockEditorProps {
|
|
554
|
+
blocks: EmailBlock[];
|
|
555
|
+
onBlocksChange: (blocks: EmailBlock[]) => void;
|
|
556
|
+
availableBlockTypes?: BlockType[];
|
|
557
|
+
editingId?: string | null;
|
|
558
|
+
onEditingIdChange?: (editingId: string | null) => void;
|
|
559
|
+
onAddBlock?: (type: BlockType, block: EmailBlock) => void;
|
|
560
|
+
onDeleteBlock?: (id: string) => void;
|
|
561
|
+
onMoveBlock?: (id: string, direction: -1 | 1) => void;
|
|
562
|
+
onBlockContentChange?: (id: string, content: string) => void;
|
|
563
|
+
readOnly?: boolean;
|
|
564
|
+
className?: string;
|
|
565
|
+
}
|
|
566
|
+
declare function EmailBlockEditor({ blocks, onBlocksChange, availableBlockTypes, editingId, onEditingIdChange, onAddBlock, onDeleteBlock, onMoveBlock, onBlockContentChange, readOnly, className, }: EmailBlockEditorProps): react_jsx_runtime.JSX.Element;
|
|
567
|
+
|
|
568
|
+
interface AIEmailGeneratorProps {
|
|
569
|
+
value?: string;
|
|
570
|
+
defaultValue?: string;
|
|
571
|
+
onValueChange?: (value: string) => void;
|
|
572
|
+
isGenerating?: boolean;
|
|
573
|
+
onGeneratingChange?: (isGenerating: boolean) => void;
|
|
574
|
+
generated?: boolean;
|
|
575
|
+
onGeneratedChange?: (generated: boolean) => void;
|
|
576
|
+
generationDelayMs?: number;
|
|
577
|
+
onSubmitPrompt?: (prompt: string) => void;
|
|
578
|
+
generateBlocks?: (prompt: string) => EmailBlock[] | Promise<EmailBlock[]>;
|
|
579
|
+
onGenerate?: (blocks: EmailBlock[]) => void;
|
|
580
|
+
suggestions?: string[];
|
|
581
|
+
className?: string;
|
|
582
|
+
}
|
|
583
|
+
declare function AIEmailGenerator({ value, defaultValue, onValueChange, isGenerating, onGeneratingChange, generated, onGeneratedChange, generationDelayMs, onSubmitPrompt, generateBlocks, onGenerate, suggestions, className, }: AIEmailGeneratorProps): react_jsx_runtime.JSX.Element;
|
|
584
|
+
|
|
585
|
+
interface AppSidebarItem {
|
|
586
|
+
id: string;
|
|
587
|
+
icon: LucideIcon;
|
|
588
|
+
label: string;
|
|
589
|
+
path: string;
|
|
590
|
+
dataTour?: string;
|
|
591
|
+
}
|
|
592
|
+
interface AppSidebarProps {
|
|
593
|
+
items?: AppSidebarItem[];
|
|
594
|
+
bottomItems?: AppSidebarItem[];
|
|
595
|
+
activePath?: string;
|
|
596
|
+
onNavigate?: (path: string) => void;
|
|
597
|
+
logo?: ReactNode;
|
|
598
|
+
className?: string;
|
|
599
|
+
}
|
|
600
|
+
declare function AppSidebar({ items, bottomItems, activePath, onNavigate, logo, className, }: AppSidebarProps): react_jsx_runtime.JSX.Element;
|
|
601
|
+
|
|
602
|
+
type EventStatus = 'success' | 'warning' | 'error' | 'info';
|
|
603
|
+
interface EventFeedItem {
|
|
604
|
+
id: string | number;
|
|
605
|
+
icon: LucideIcon;
|
|
606
|
+
title: string;
|
|
607
|
+
meta: string;
|
|
608
|
+
time: string;
|
|
609
|
+
status: EventStatus;
|
|
610
|
+
}
|
|
611
|
+
interface EventFeedProps {
|
|
612
|
+
title?: string;
|
|
613
|
+
liveLabel?: string;
|
|
614
|
+
events?: EventFeedItem[];
|
|
615
|
+
onItemClick?: (event: EventFeedItem) => void;
|
|
616
|
+
className?: string;
|
|
617
|
+
}
|
|
618
|
+
declare function EventFeed({ title, liveLabel, events, onItemClick, className, }: EventFeedProps): react_jsx_runtime.JSX.Element;
|
|
619
|
+
|
|
620
|
+
interface AppLayoutProps {
|
|
621
|
+
children: ReactNode;
|
|
622
|
+
showEventFeed?: boolean;
|
|
623
|
+
sidebarProps?: Partial<AppSidebarProps>;
|
|
624
|
+
eventFeedProps?: Partial<EventFeedProps>;
|
|
625
|
+
className?: string;
|
|
626
|
+
}
|
|
627
|
+
declare function AppLayout({ children, showEventFeed, sidebarProps, eventFeedProps, className, }: AppLayoutProps): react_jsx_runtime.JSX.Element;
|
|
628
|
+
|
|
629
|
+
interface AspectRatioProps {
|
|
630
|
+
ratio?: number;
|
|
631
|
+
children: ReactNode;
|
|
632
|
+
className?: string;
|
|
633
|
+
}
|
|
634
|
+
declare function AspectRatio({ ratio, children, className }: AspectRatioProps): react_jsx_runtime.JSX.Element;
|
|
635
|
+
|
|
636
|
+
type AvatarSize = 'sm' | 'md' | 'lg';
|
|
637
|
+
interface AvatarProps {
|
|
638
|
+
src?: string;
|
|
639
|
+
alt?: string;
|
|
640
|
+
fallback?: string;
|
|
641
|
+
size?: AvatarSize;
|
|
642
|
+
disabled?: boolean;
|
|
643
|
+
className?: string;
|
|
644
|
+
}
|
|
645
|
+
declare function Avatar({ src, alt, fallback, size, disabled, className, }: AvatarProps): react_jsx_runtime.JSX.Element;
|
|
646
|
+
|
|
647
|
+
type BadgeVariant = 'default' | 'secondary' | 'success' | 'warning' | 'error' | 'outline';
|
|
648
|
+
interface BadgeProps {
|
|
649
|
+
children: ReactNode;
|
|
650
|
+
variant?: BadgeVariant;
|
|
651
|
+
disabled?: boolean;
|
|
652
|
+
className?: string;
|
|
653
|
+
}
|
|
654
|
+
declare function Badge({ children, variant, disabled, className, }: BadgeProps): react_jsx_runtime.JSX.Element;
|
|
655
|
+
|
|
656
|
+
interface BreadcrumbItem {
|
|
657
|
+
id: string;
|
|
658
|
+
label: string;
|
|
659
|
+
href?: string;
|
|
660
|
+
current?: boolean;
|
|
661
|
+
disabled?: boolean;
|
|
662
|
+
onClick?: () => void;
|
|
663
|
+
}
|
|
664
|
+
interface BreadcrumbProps {
|
|
665
|
+
items: BreadcrumbItem[];
|
|
666
|
+
className?: string;
|
|
667
|
+
}
|
|
668
|
+
declare function Breadcrumb({ items, className }: BreadcrumbProps): react_jsx_runtime.JSX.Element;
|
|
669
|
+
|
|
670
|
+
interface CalendarProps {
|
|
671
|
+
value?: Date;
|
|
672
|
+
onChange?: (date: Date) => void;
|
|
673
|
+
disabledDates?: Date[];
|
|
674
|
+
className?: string;
|
|
675
|
+
}
|
|
676
|
+
declare function Calendar({ value, onChange, disabledDates, className }: CalendarProps): react_jsx_runtime.JSX.Element;
|
|
677
|
+
|
|
678
|
+
interface CardProps extends HTMLAttributes<HTMLDivElement> {
|
|
679
|
+
interactive?: boolean;
|
|
680
|
+
disabled?: boolean;
|
|
681
|
+
}
|
|
682
|
+
declare function Card({ className, interactive, disabled, ...props }: CardProps): react_jsx_runtime.JSX.Element;
|
|
683
|
+
declare function CardHeader({ className, ...props }: HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
684
|
+
declare function CardTitle({ className, ...props }: HTMLAttributes<HTMLHeadingElement>): react_jsx_runtime.JSX.Element;
|
|
685
|
+
declare function CardDescription({ className, ...props }: HTMLAttributes<HTMLParagraphElement>): react_jsx_runtime.JSX.Element;
|
|
686
|
+
declare function CardContent({ className, ...props }: HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
687
|
+
declare function CardFooter({ className, ...props }: HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
688
|
+
|
|
689
|
+
interface CarouselProps {
|
|
690
|
+
items: ReactNode[];
|
|
691
|
+
initialIndex?: number;
|
|
692
|
+
loop?: boolean;
|
|
693
|
+
className?: string;
|
|
694
|
+
}
|
|
695
|
+
declare function Carousel({ items, initialIndex, loop, className, }: CarouselProps): react_jsx_runtime.JSX.Element;
|
|
696
|
+
|
|
697
|
+
interface ChartDatum {
|
|
698
|
+
id: string;
|
|
699
|
+
label: string;
|
|
700
|
+
value: number;
|
|
701
|
+
color?: string;
|
|
702
|
+
}
|
|
703
|
+
interface ChartProps {
|
|
704
|
+
data: ChartDatum[];
|
|
705
|
+
title?: string;
|
|
706
|
+
emptyMessage?: string;
|
|
707
|
+
className?: string;
|
|
708
|
+
}
|
|
709
|
+
declare function Chart({ data, title, emptyMessage, className, }: ChartProps): react_jsx_runtime.JSX.Element;
|
|
710
|
+
|
|
711
|
+
interface CheckboxProps {
|
|
712
|
+
checked?: boolean;
|
|
713
|
+
defaultChecked?: boolean;
|
|
714
|
+
onCheckedChange?: (checked: boolean) => void;
|
|
715
|
+
label?: ReactNode;
|
|
716
|
+
description?: ReactNode;
|
|
717
|
+
disabled?: boolean;
|
|
718
|
+
error?: boolean;
|
|
719
|
+
className?: string;
|
|
720
|
+
}
|
|
721
|
+
declare function Checkbox({ checked, defaultChecked, onCheckedChange, label, description, disabled, error, className, }: CheckboxProps): react_jsx_runtime.JSX.Element;
|
|
722
|
+
|
|
723
|
+
interface CircularScoreProps {
|
|
724
|
+
label: string;
|
|
725
|
+
value: number;
|
|
726
|
+
tone?: 'success' | 'warning' | 'error' | 'info' | 'primary';
|
|
727
|
+
size?: number;
|
|
728
|
+
className?: string;
|
|
729
|
+
}
|
|
730
|
+
declare function CircularScore({ label, value, tone, size, className, }: CircularScoreProps): react_jsx_runtime.JSX.Element;
|
|
731
|
+
|
|
732
|
+
interface CollapsibleProps {
|
|
733
|
+
title: ReactNode;
|
|
734
|
+
children: ReactNode;
|
|
735
|
+
defaultOpen?: boolean;
|
|
736
|
+
disabled?: boolean;
|
|
737
|
+
className?: string;
|
|
738
|
+
}
|
|
739
|
+
declare function Collapsible({ title, children, defaultOpen, disabled, className, }: CollapsibleProps): react_jsx_runtime.JSX.Element;
|
|
740
|
+
|
|
741
|
+
interface CommandItem {
|
|
742
|
+
id: string;
|
|
743
|
+
label: string;
|
|
744
|
+
keywords?: string[];
|
|
745
|
+
icon?: ReactNode;
|
|
746
|
+
disabled?: boolean;
|
|
747
|
+
}
|
|
748
|
+
interface CommandProps {
|
|
749
|
+
items: CommandItem[];
|
|
750
|
+
placeholder?: string;
|
|
751
|
+
onSelect?: (item: CommandItem) => void;
|
|
752
|
+
className?: string;
|
|
753
|
+
}
|
|
754
|
+
declare function Command({ items, placeholder, onSelect, className, }: CommandProps): react_jsx_runtime.JSX.Element;
|
|
755
|
+
|
|
756
|
+
type CommandCanvasCardType = 'entity' | 'intelligence';
|
|
757
|
+
interface CommandCanvasMessage {
|
|
758
|
+
id: string;
|
|
759
|
+
role: 'user' | 'assistant';
|
|
760
|
+
content: string;
|
|
761
|
+
cards?: CommandCanvasCardType[];
|
|
762
|
+
}
|
|
763
|
+
interface CommandCanvasProps {
|
|
764
|
+
title?: string;
|
|
765
|
+
subtitle?: string;
|
|
766
|
+
readyLabel?: string;
|
|
767
|
+
placeholder?: string;
|
|
768
|
+
footerText?: string;
|
|
769
|
+
messages?: CommandCanvasMessage[];
|
|
770
|
+
initialMessages?: CommandCanvasMessage[];
|
|
771
|
+
onMessagesChange?: (messages: CommandCanvasMessage[]) => void;
|
|
772
|
+
inputValue?: string;
|
|
773
|
+
defaultInputValue?: string;
|
|
774
|
+
onInputValueChange?: (value: string) => void;
|
|
775
|
+
autoAssistantResponse?: boolean;
|
|
776
|
+
assistantResponseDelayMs?: number;
|
|
777
|
+
isResponding?: boolean;
|
|
778
|
+
onRespondingChange?: (isResponding: boolean) => void;
|
|
779
|
+
onSend?: (value: string) => void;
|
|
780
|
+
generateAssistantMessage?: (value: string) => Omit<CommandCanvasMessage, 'id' | 'role'>;
|
|
781
|
+
renderCard?: (type: CommandCanvasCardType) => ReactNode;
|
|
782
|
+
className?: string;
|
|
783
|
+
}
|
|
784
|
+
declare function CommandCanvas({ title, subtitle, readyLabel, placeholder, footerText, messages, initialMessages, onMessagesChange, inputValue, defaultInputValue, onInputValueChange, autoAssistantResponse, assistantResponseDelayMs, isResponding, onRespondingChange, onSend, generateAssistantMessage, renderCard, className, }: CommandCanvasProps): react_jsx_runtime.JSX.Element;
|
|
785
|
+
|
|
786
|
+
interface ContextMenuItem {
|
|
787
|
+
id: string;
|
|
788
|
+
label: string;
|
|
789
|
+
icon?: ReactNode;
|
|
790
|
+
shortcut?: string;
|
|
791
|
+
disabled?: boolean;
|
|
792
|
+
danger?: boolean;
|
|
793
|
+
onSelect?: () => void;
|
|
794
|
+
}
|
|
795
|
+
interface ContextMenuProps {
|
|
796
|
+
trigger: ReactNode;
|
|
797
|
+
items: ContextMenuItem[];
|
|
798
|
+
className?: string;
|
|
799
|
+
}
|
|
800
|
+
declare function ContextMenu({ trigger, items, className }: ContextMenuProps): react_jsx_runtime.JSX.Element;
|
|
801
|
+
|
|
802
|
+
interface DialogProps {
|
|
803
|
+
open?: boolean;
|
|
804
|
+
defaultOpen?: boolean;
|
|
805
|
+
onOpenChange?: (open: boolean) => void;
|
|
806
|
+
children: ReactNode;
|
|
807
|
+
}
|
|
808
|
+
declare function Dialog({ open, defaultOpen, onOpenChange, children, }: DialogProps): react_jsx_runtime.JSX.Element;
|
|
809
|
+
type DialogTriggerProps = ButtonHTMLAttributes<HTMLButtonElement>;
|
|
810
|
+
declare const DialogTrigger: react.ForwardRefExoticComponent<DialogTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
811
|
+
interface DialogContentProps extends HTMLAttributes<HTMLDivElement> {
|
|
812
|
+
showCloseButton?: boolean;
|
|
813
|
+
initialFocusRef?: RefObject<HTMLElement | null>;
|
|
814
|
+
}
|
|
815
|
+
declare const DialogContent: react.ForwardRefExoticComponent<DialogContentProps & react.RefAttributes<HTMLDivElement>>;
|
|
816
|
+
interface DialogHeaderProps extends HTMLAttributes<HTMLDivElement> {
|
|
817
|
+
}
|
|
818
|
+
declare function DialogHeader({ className, ...props }: DialogHeaderProps): react_jsx_runtime.JSX.Element;
|
|
819
|
+
type DialogTitleProps = HTMLAttributes<HTMLHeadingElement>;
|
|
820
|
+
declare function DialogTitle({ className, ...props }: DialogTitleProps): react_jsx_runtime.JSX.Element;
|
|
821
|
+
type DialogDescriptionProps = HTMLAttributes<HTMLParagraphElement>;
|
|
822
|
+
declare function DialogDescription({ className, ...props }: DialogDescriptionProps): react_jsx_runtime.JSX.Element;
|
|
823
|
+
interface DialogFooterProps extends HTMLAttributes<HTMLDivElement> {
|
|
824
|
+
}
|
|
825
|
+
declare function DialogFooter({ className, ...props }: DialogFooterProps): react_jsx_runtime.JSX.Element;
|
|
826
|
+
type DialogCloseProps = ButtonHTMLAttributes<HTMLButtonElement>;
|
|
827
|
+
declare const DialogClose: react.ForwardRefExoticComponent<DialogCloseProps & react.RefAttributes<HTMLButtonElement>>;
|
|
828
|
+
|
|
829
|
+
type DrawerSide = 'left' | 'right';
|
|
830
|
+
interface DrawerProps {
|
|
831
|
+
children: ReactNode;
|
|
832
|
+
open?: boolean;
|
|
833
|
+
defaultOpen?: boolean;
|
|
834
|
+
onOpenChange?: (open: boolean) => void;
|
|
835
|
+
side?: DrawerSide;
|
|
836
|
+
}
|
|
837
|
+
declare function Drawer({ children, open, defaultOpen, onOpenChange, side, }: DrawerProps): react_jsx_runtime.JSX.Element;
|
|
838
|
+
type DrawerTriggerProps = ButtonHTMLAttributes<HTMLButtonElement>;
|
|
839
|
+
declare const DrawerTrigger: react.ForwardRefExoticComponent<DrawerTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
840
|
+
interface DrawerContentProps extends HTMLAttributes<HTMLDivElement> {
|
|
841
|
+
initialFocusRef?: RefObject<HTMLElement | null>;
|
|
842
|
+
}
|
|
843
|
+
declare const DrawerContent: react.ForwardRefExoticComponent<DrawerContentProps & react.RefAttributes<HTMLDivElement>>;
|
|
844
|
+
interface DrawerHeaderProps extends HTMLAttributes<HTMLDivElement> {
|
|
845
|
+
}
|
|
846
|
+
declare function DrawerHeader({ className, ...props }: DrawerHeaderProps): react_jsx_runtime.JSX.Element;
|
|
847
|
+
type DrawerTitleProps = HTMLAttributes<HTMLHeadingElement>;
|
|
848
|
+
declare function DrawerTitle({ className, ...props }: DrawerTitleProps): react_jsx_runtime.JSX.Element;
|
|
849
|
+
type DrawerDescriptionProps = HTMLAttributes<HTMLParagraphElement>;
|
|
850
|
+
declare function DrawerDescription({ className, ...props }: DrawerDescriptionProps): react_jsx_runtime.JSX.Element;
|
|
851
|
+
interface DrawerFooterProps extends HTMLAttributes<HTMLDivElement> {
|
|
852
|
+
}
|
|
853
|
+
declare function DrawerFooter({ className, ...props }: DrawerFooterProps): react_jsx_runtime.JSX.Element;
|
|
854
|
+
type DrawerCloseProps = ButtonHTMLAttributes<HTMLButtonElement>;
|
|
855
|
+
declare const DrawerClose: react.ForwardRefExoticComponent<DrawerCloseProps & react.RefAttributes<HTMLButtonElement>>;
|
|
856
|
+
|
|
857
|
+
interface DropdownMenuProps {
|
|
858
|
+
children: ReactNode;
|
|
859
|
+
open?: boolean;
|
|
860
|
+
defaultOpen?: boolean;
|
|
861
|
+
onOpenChange?: (open: boolean) => void;
|
|
862
|
+
}
|
|
863
|
+
declare function DropdownMenu({ children, open, defaultOpen, onOpenChange, }: DropdownMenuProps): react_jsx_runtime.JSX.Element;
|
|
864
|
+
interface DropdownMenuTriggerProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
865
|
+
showChevron?: boolean;
|
|
866
|
+
}
|
|
867
|
+
declare const DropdownMenuTrigger: react.ForwardRefExoticComponent<DropdownMenuTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
868
|
+
interface DropdownMenuContentProps extends HTMLAttributes<HTMLDivElement> {
|
|
869
|
+
}
|
|
870
|
+
declare const DropdownMenuContent: react.ForwardRefExoticComponent<DropdownMenuContentProps & react.RefAttributes<HTMLDivElement>>;
|
|
871
|
+
interface DropdownMenuItemProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
872
|
+
icon?: ReactNode;
|
|
873
|
+
}
|
|
874
|
+
declare const DropdownMenuItem: react.ForwardRefExoticComponent<DropdownMenuItemProps & react.RefAttributes<HTMLButtonElement>>;
|
|
875
|
+
interface DropdownMenuSeparatorProps extends HTMLAttributes<HTMLDivElement> {
|
|
876
|
+
}
|
|
877
|
+
declare function DropdownMenuSeparator({ className, ...props }: DropdownMenuSeparatorProps): react_jsx_runtime.JSX.Element;
|
|
878
|
+
|
|
879
|
+
interface FormProps extends FormHTMLAttributes<HTMLFormElement> {
|
|
880
|
+
}
|
|
881
|
+
declare const Form: react.ForwardRefExoticComponent<FormProps & react.RefAttributes<HTMLFormElement>>;
|
|
882
|
+
interface FormFieldProps extends HTMLAttributes<HTMLDivElement> {
|
|
883
|
+
label?: ReactNode;
|
|
884
|
+
hint?: ReactNode;
|
|
885
|
+
error?: ReactNode;
|
|
886
|
+
requiredIndicator?: boolean;
|
|
887
|
+
}
|
|
888
|
+
declare function FormField({ className, label, hint, error, children, requiredIndicator, ...props }: FormFieldProps): react_jsx_runtime.JSX.Element;
|
|
889
|
+
interface FormActionsProps extends HTMLAttributes<HTMLDivElement> {
|
|
890
|
+
}
|
|
891
|
+
declare function FormActions({ className, ...props }: FormActionsProps): react_jsx_runtime.JSX.Element;
|
|
892
|
+
|
|
893
|
+
interface GraphNode {
|
|
894
|
+
id: string;
|
|
895
|
+
label: string;
|
|
896
|
+
kind: 'org' | 'person';
|
|
897
|
+
x: number;
|
|
898
|
+
y: number;
|
|
899
|
+
score: number;
|
|
900
|
+
}
|
|
901
|
+
interface GraphEdge {
|
|
902
|
+
from: string;
|
|
903
|
+
to: string;
|
|
904
|
+
strength: number;
|
|
905
|
+
}
|
|
906
|
+
interface GraphViewProps {
|
|
907
|
+
title?: string;
|
|
908
|
+
subtitle?: string;
|
|
909
|
+
nodes?: GraphNode[];
|
|
910
|
+
edges?: GraphEdge[];
|
|
911
|
+
className?: string;
|
|
912
|
+
}
|
|
913
|
+
declare function GraphView({ title, subtitle, nodes, edges, className, }: GraphViewProps): react_jsx_runtime.JSX.Element;
|
|
914
|
+
|
|
915
|
+
interface GuidedTourStep {
|
|
916
|
+
target: string;
|
|
917
|
+
title: string;
|
|
918
|
+
description: string;
|
|
919
|
+
position: 'top' | 'bottom' | 'left' | 'right';
|
|
920
|
+
}
|
|
921
|
+
interface GuidedTourProps {
|
|
922
|
+
steps?: GuidedTourStep[];
|
|
923
|
+
open?: boolean;
|
|
924
|
+
defaultOpen?: boolean;
|
|
925
|
+
onOpenChange?: (open: boolean) => void;
|
|
926
|
+
stepIndex?: number;
|
|
927
|
+
defaultStepIndex?: number;
|
|
928
|
+
onStepIndexChange?: (stepIndex: number) => void;
|
|
929
|
+
onComplete: () => void;
|
|
930
|
+
className?: string;
|
|
931
|
+
}
|
|
932
|
+
declare function GuidedTour({ steps, open, defaultOpen, onOpenChange, stepIndex, defaultStepIndex, onStepIndexChange, onComplete, className, }: GuidedTourProps): react_jsx_runtime.JSX.Element | null;
|
|
933
|
+
|
|
934
|
+
interface HoverCardProps {
|
|
935
|
+
children: ReactNode;
|
|
936
|
+
openDelay?: number;
|
|
937
|
+
closeDelay?: number;
|
|
938
|
+
}
|
|
939
|
+
declare function HoverCard({ children, openDelay, closeDelay, }: HoverCardProps): react_jsx_runtime.JSX.Element;
|
|
940
|
+
interface HoverCardTriggerProps extends HTMLAttributes<HTMLDivElement> {
|
|
941
|
+
}
|
|
942
|
+
declare const HoverCardTrigger: react.ForwardRefExoticComponent<HoverCardTriggerProps & react.RefAttributes<HTMLDivElement>>;
|
|
943
|
+
interface HoverCardContentProps extends HTMLAttributes<HTMLDivElement> {
|
|
944
|
+
}
|
|
945
|
+
declare const HoverCardContent: react.ForwardRefExoticComponent<HoverCardContentProps & react.RefAttributes<HTMLDivElement>>;
|
|
946
|
+
|
|
947
|
+
interface InputOtpProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'value' | 'defaultValue' | 'onChange'> {
|
|
948
|
+
length?: number;
|
|
949
|
+
value?: string;
|
|
950
|
+
defaultValue?: string;
|
|
951
|
+
onValueChange?: (value: string) => void;
|
|
952
|
+
containerProps?: HTMLAttributes<HTMLDivElement>;
|
|
953
|
+
}
|
|
954
|
+
declare const InputOtp: react.ForwardRefExoticComponent<InputOtpProps & react.RefAttributes<HTMLDivElement>>;
|
|
955
|
+
|
|
956
|
+
interface IntelligenceScoreItem {
|
|
957
|
+
label: string;
|
|
958
|
+
value: number;
|
|
959
|
+
tone?: 'success' | 'warning' | 'error' | 'info' | 'primary';
|
|
960
|
+
}
|
|
961
|
+
interface IntelligenceCardProps {
|
|
962
|
+
title?: string;
|
|
963
|
+
items?: IntelligenceScoreItem[];
|
|
964
|
+
className?: string;
|
|
965
|
+
}
|
|
966
|
+
declare function IntelligenceCard({ title, items, className, }: IntelligenceCardProps): react_jsx_runtime.JSX.Element;
|
|
967
|
+
|
|
968
|
+
interface LabelProps extends LabelHTMLAttributes<HTMLLabelElement> {
|
|
969
|
+
requiredIndicator?: boolean;
|
|
970
|
+
}
|
|
971
|
+
declare const Label: react.ForwardRefExoticComponent<LabelProps & react.RefAttributes<HTMLLabelElement>>;
|
|
972
|
+
|
|
973
|
+
interface MenubarProps extends HTMLAttributes<HTMLDivElement> {
|
|
974
|
+
}
|
|
975
|
+
declare const Menubar: react.ForwardRefExoticComponent<MenubarProps & react.RefAttributes<HTMLDivElement>>;
|
|
976
|
+
interface MenubarMenuProps extends HTMLAttributes<HTMLDivElement> {
|
|
977
|
+
id: string;
|
|
978
|
+
}
|
|
979
|
+
declare function MenubarMenu({ id, className, ...props }: MenubarMenuProps): react_jsx_runtime.JSX.Element;
|
|
980
|
+
interface MenubarTriggerProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
981
|
+
showChevron?: boolean;
|
|
982
|
+
}
|
|
983
|
+
declare const MenubarTrigger: react.ForwardRefExoticComponent<MenubarTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
984
|
+
interface MenubarContentProps extends HTMLAttributes<HTMLDivElement> {
|
|
985
|
+
}
|
|
986
|
+
declare const MenubarContent: react.ForwardRefExoticComponent<MenubarContentProps & react.RefAttributes<HTMLDivElement>>;
|
|
987
|
+
interface MenubarItemProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
988
|
+
icon?: ReactNode;
|
|
989
|
+
}
|
|
990
|
+
declare const MenubarItem: react.ForwardRefExoticComponent<MenubarItemProps & react.RefAttributes<HTMLButtonElement>>;
|
|
991
|
+
interface MenubarSeparatorProps extends HTMLAttributes<HTMLDivElement> {
|
|
992
|
+
}
|
|
993
|
+
declare function MenubarSeparator({ className, ...props }: MenubarSeparatorProps): react_jsx_runtime.JSX.Element;
|
|
994
|
+
interface MenubarCloseZoneProps extends HTMLAttributes<HTMLDivElement> {
|
|
995
|
+
}
|
|
996
|
+
declare const MenubarCloseZone: react.ForwardRefExoticComponent<MenubarCloseZoneProps & react.RefAttributes<HTMLDivElement>>;
|
|
997
|
+
|
|
998
|
+
interface NavigationMenuItem {
|
|
999
|
+
id: string;
|
|
1000
|
+
label: string;
|
|
1001
|
+
href?: string;
|
|
1002
|
+
active?: boolean;
|
|
1003
|
+
disabled?: boolean;
|
|
1004
|
+
icon?: ReactNode;
|
|
1005
|
+
}
|
|
1006
|
+
interface NavigationMenuProps {
|
|
1007
|
+
items: NavigationMenuItem[];
|
|
1008
|
+
className?: string;
|
|
1009
|
+
onItemSelect?: (item: NavigationMenuItem) => void;
|
|
1010
|
+
}
|
|
1011
|
+
declare function NavigationMenu({ items, className, onItemSelect, }: NavigationMenuProps): react_jsx_runtime.JSX.Element;
|
|
1012
|
+
|
|
1013
|
+
interface NavLinkProps {
|
|
1014
|
+
label: string;
|
|
1015
|
+
icon: LucideIcon;
|
|
1016
|
+
active?: boolean;
|
|
1017
|
+
onClick?: () => void;
|
|
1018
|
+
title?: string;
|
|
1019
|
+
dataTour?: string;
|
|
1020
|
+
className?: string;
|
|
1021
|
+
}
|
|
1022
|
+
declare function NavLink({ label, icon: Icon, active, onClick, title, dataTour, className, }: NavLinkProps): react_jsx_runtime.JSX.Element;
|
|
1023
|
+
|
|
1024
|
+
interface OnboardingStep {
|
|
1025
|
+
id: string;
|
|
1026
|
+
question: string;
|
|
1027
|
+
subtitle: string;
|
|
1028
|
+
icon: LucideIcon;
|
|
1029
|
+
type: 'input' | 'select' | 'multi-select';
|
|
1030
|
+
field: string;
|
|
1031
|
+
placeholder?: string;
|
|
1032
|
+
options?: Array<{
|
|
1033
|
+
value: string;
|
|
1034
|
+
label: string;
|
|
1035
|
+
}>;
|
|
1036
|
+
}
|
|
1037
|
+
interface OnboardingWizardProps {
|
|
1038
|
+
onComplete: (data: Record<string, string | string[]>) => void;
|
|
1039
|
+
steps?: OnboardingStep[];
|
|
1040
|
+
value?: Record<string, string | string[]>;
|
|
1041
|
+
defaultValue?: Record<string, string | string[]>;
|
|
1042
|
+
onValueChange?: (value: Record<string, string | string[]>) => void;
|
|
1043
|
+
stepIndex?: number;
|
|
1044
|
+
defaultStepIndex?: number;
|
|
1045
|
+
onStepIndexChange?: (index: number) => void;
|
|
1046
|
+
onCancel?: () => void;
|
|
1047
|
+
showSkip?: boolean;
|
|
1048
|
+
className?: string;
|
|
1049
|
+
}
|
|
1050
|
+
declare function OnboardingWizard({ onComplete, steps, value, defaultValue, onValueChange, stepIndex, defaultStepIndex, onStepIndexChange, onCancel, showSkip, className, }: OnboardingWizardProps): react_jsx_runtime.JSX.Element;
|
|
1051
|
+
|
|
1052
|
+
interface PaginationProps {
|
|
1053
|
+
page: number;
|
|
1054
|
+
totalPages: number;
|
|
1055
|
+
onPageChange: (page: number) => void;
|
|
1056
|
+
className?: string;
|
|
1057
|
+
}
|
|
1058
|
+
declare function Pagination({ page, totalPages, onPageChange, className, }: PaginationProps): react_jsx_runtime.JSX.Element;
|
|
1059
|
+
|
|
1060
|
+
interface PopoverProps {
|
|
1061
|
+
children: ReactNode;
|
|
1062
|
+
open?: boolean;
|
|
1063
|
+
defaultOpen?: boolean;
|
|
1064
|
+
onOpenChange?: (open: boolean) => void;
|
|
1065
|
+
}
|
|
1066
|
+
declare function Popover({ children, open, defaultOpen, onOpenChange, }: PopoverProps): react_jsx_runtime.JSX.Element;
|
|
1067
|
+
type PopoverTriggerProps = ButtonHTMLAttributes<HTMLButtonElement>;
|
|
1068
|
+
declare const PopoverTrigger: react.ForwardRefExoticComponent<PopoverTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
1069
|
+
interface PopoverContentProps extends HTMLAttributes<HTMLDivElement> {
|
|
1070
|
+
}
|
|
1071
|
+
declare const PopoverContent: react.ForwardRefExoticComponent<PopoverContentProps & react.RefAttributes<HTMLDivElement>>;
|
|
1072
|
+
type PopoverCloseProps = ButtonHTMLAttributes<HTMLButtonElement>;
|
|
1073
|
+
declare const PopoverClose: react.ForwardRefExoticComponent<PopoverCloseProps & react.RefAttributes<HTMLButtonElement>>;
|
|
1074
|
+
|
|
1075
|
+
interface ProgressProps extends HTMLAttributes<HTMLDivElement> {
|
|
1076
|
+
value: number;
|
|
1077
|
+
max?: number;
|
|
1078
|
+
showValueLabel?: boolean;
|
|
1079
|
+
}
|
|
1080
|
+
declare const Progress: react.ForwardRefExoticComponent<ProgressProps & react.RefAttributes<HTMLDivElement>>;
|
|
1081
|
+
|
|
1082
|
+
interface RadioGroupOption {
|
|
1083
|
+
value: string;
|
|
1084
|
+
label: ReactNode;
|
|
1085
|
+
description?: ReactNode;
|
|
1086
|
+
disabled?: boolean;
|
|
1087
|
+
}
|
|
1088
|
+
interface RadioGroupProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange'> {
|
|
1089
|
+
options: RadioGroupOption[];
|
|
1090
|
+
value?: string;
|
|
1091
|
+
defaultValue?: string;
|
|
1092
|
+
onValueChange?: (value: string) => void;
|
|
1093
|
+
name?: string;
|
|
1094
|
+
}
|
|
1095
|
+
declare const RadioGroup: react.ForwardRefExoticComponent<RadioGroupProps & react.RefAttributes<HTMLDivElement>>;
|
|
1096
|
+
interface RadioGroupItemProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
1097
|
+
}
|
|
1098
|
+
declare const RadioGroupItem: react.ForwardRefExoticComponent<RadioGroupItemProps & react.RefAttributes<HTMLInputElement>>;
|
|
1099
|
+
|
|
1100
|
+
type ResizableDirection = 'horizontal' | 'vertical';
|
|
1101
|
+
interface ResizableProps {
|
|
1102
|
+
primary: ReactNode;
|
|
1103
|
+
secondary: ReactNode;
|
|
1104
|
+
direction?: ResizableDirection;
|
|
1105
|
+
defaultPrimarySize?: number;
|
|
1106
|
+
minPrimarySize?: number;
|
|
1107
|
+
minSecondarySize?: number;
|
|
1108
|
+
className?: string;
|
|
1109
|
+
}
|
|
1110
|
+
declare function Resizable({ primary, secondary, direction, defaultPrimarySize, minPrimarySize, minSecondarySize, className, }: ResizableProps): react_jsx_runtime.JSX.Element;
|
|
1111
|
+
|
|
1112
|
+
interface ScrollAreaProps extends HTMLAttributes<HTMLDivElement> {
|
|
1113
|
+
maxHeight?: string;
|
|
1114
|
+
}
|
|
1115
|
+
declare const ScrollArea: react.ForwardRefExoticComponent<ScrollAreaProps & react.RefAttributes<HTMLDivElement>>;
|
|
1116
|
+
|
|
1117
|
+
interface SelectOption {
|
|
1118
|
+
value: string;
|
|
1119
|
+
label: string;
|
|
1120
|
+
disabled?: boolean;
|
|
1121
|
+
}
|
|
1122
|
+
interface SelectProps extends SelectHTMLAttributes<HTMLSelectElement> {
|
|
1123
|
+
options: SelectOption[];
|
|
1124
|
+
placeholder?: string;
|
|
1125
|
+
error?: boolean;
|
|
1126
|
+
}
|
|
1127
|
+
declare const Select: react.ForwardRefExoticComponent<SelectProps & react.RefAttributes<HTMLSelectElement>>;
|
|
1128
|
+
|
|
1129
|
+
type SeparatorOrientation = 'horizontal' | 'vertical';
|
|
1130
|
+
interface SeparatorProps extends HTMLAttributes<HTMLDivElement> {
|
|
1131
|
+
orientation?: SeparatorOrientation;
|
|
1132
|
+
decorative?: boolean;
|
|
1133
|
+
}
|
|
1134
|
+
declare const Separator: react.ForwardRefExoticComponent<SeparatorProps & react.RefAttributes<HTMLDivElement>>;
|
|
1135
|
+
|
|
1136
|
+
type SheetSide = 'top' | 'right' | 'bottom' | 'left';
|
|
1137
|
+
interface SheetProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
|
|
1138
|
+
open: boolean;
|
|
1139
|
+
onOpenChange?: (open: boolean) => void;
|
|
1140
|
+
side?: SheetSide;
|
|
1141
|
+
title?: ReactNode;
|
|
1142
|
+
description?: ReactNode;
|
|
1143
|
+
showCloseButton?: boolean;
|
|
1144
|
+
overlayClassName?: string;
|
|
1145
|
+
}
|
|
1146
|
+
declare function Sheet({ open, onOpenChange, side, title, description, showCloseButton, className, overlayClassName, children, ...props }: SheetProps): react_jsx_runtime.JSX.Element | null;
|
|
1147
|
+
|
|
1148
|
+
interface SidebarItem {
|
|
1149
|
+
id: string;
|
|
1150
|
+
label: string;
|
|
1151
|
+
icon?: LucideIcon;
|
|
1152
|
+
active?: boolean;
|
|
1153
|
+
disabled?: boolean;
|
|
1154
|
+
badge?: ReactNode;
|
|
1155
|
+
onClick?: () => void;
|
|
1156
|
+
}
|
|
1157
|
+
interface SidebarProps extends HTMLAttributes<HTMLElement> {
|
|
1158
|
+
items: SidebarItem[];
|
|
1159
|
+
collapsed?: boolean;
|
|
1160
|
+
onCollapsedChange?: (collapsed: boolean) => void;
|
|
1161
|
+
header?: ReactNode;
|
|
1162
|
+
footer?: ReactNode;
|
|
1163
|
+
}
|
|
1164
|
+
declare function Sidebar({ items, collapsed, onCollapsedChange, header, footer, className, ...props }: SidebarProps): react_jsx_runtime.JSX.Element;
|
|
1165
|
+
|
|
1166
|
+
interface SliderProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'value' | 'defaultValue' | 'onChange'> {
|
|
1167
|
+
value?: number;
|
|
1168
|
+
defaultValue?: number;
|
|
1169
|
+
min?: number;
|
|
1170
|
+
max?: number;
|
|
1171
|
+
step?: number;
|
|
1172
|
+
showValue?: boolean;
|
|
1173
|
+
onValueChange?: (value: number) => void;
|
|
1174
|
+
}
|
|
1175
|
+
declare const Slider: react.ForwardRefExoticComponent<SliderProps & react.RefAttributes<HTMLInputElement>>;
|
|
1176
|
+
|
|
1177
|
+
type ToastVariant = 'info' | 'success' | 'warning' | 'error';
|
|
1178
|
+
interface ToastAction extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
1179
|
+
label: string;
|
|
1180
|
+
}
|
|
1181
|
+
interface ToastProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
|
|
1182
|
+
title: ReactNode;
|
|
1183
|
+
description?: ReactNode;
|
|
1184
|
+
variant?: ToastVariant;
|
|
1185
|
+
action?: ToastAction;
|
|
1186
|
+
onClose?: () => void;
|
|
1187
|
+
}
|
|
1188
|
+
declare function Toast({ title, description, variant, action, onClose, className, ...props }: ToastProps): react_jsx_runtime.JSX.Element;
|
|
1189
|
+
|
|
1190
|
+
type ToasterPosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
|
1191
|
+
interface ToasterItem extends ToastProps {
|
|
1192
|
+
id: string;
|
|
1193
|
+
}
|
|
1194
|
+
interface ToasterProps extends HTMLAttributes<HTMLDivElement> {
|
|
1195
|
+
toasts: ToasterItem[];
|
|
1196
|
+
position?: ToasterPosition;
|
|
1197
|
+
onDismiss?: (id: string) => void;
|
|
1198
|
+
}
|
|
1199
|
+
declare function Toaster({ toasts, position, onDismiss, className, ...props }: ToasterProps): react_jsx_runtime.JSX.Element;
|
|
1200
|
+
|
|
1201
|
+
interface SonnerProps extends HTMLAttributes<HTMLDivElement> {
|
|
1202
|
+
toasts: ToasterItem[];
|
|
1203
|
+
maxVisible?: number;
|
|
1204
|
+
position?: ToasterPosition;
|
|
1205
|
+
onDismiss?: (id: string) => void;
|
|
1206
|
+
}
|
|
1207
|
+
declare function Sonner({ toasts, maxVisible, position, onDismiss, ...props }: SonnerProps): react_jsx_runtime.JSX.Element;
|
|
1208
|
+
|
|
1209
|
+
interface SwitchProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'onChange'> {
|
|
1210
|
+
checked?: boolean;
|
|
1211
|
+
defaultChecked?: boolean;
|
|
1212
|
+
onCheckedChange?: (checked: boolean) => void;
|
|
1213
|
+
}
|
|
1214
|
+
declare const Switch: react.ForwardRefExoticComponent<SwitchProps & react.RefAttributes<HTMLButtonElement>>;
|
|
1215
|
+
|
|
1216
|
+
declare const Table: react.ForwardRefExoticComponent<TableHTMLAttributes<HTMLTableElement> & react.RefAttributes<HTMLTableElement>>;
|
|
1217
|
+
declare const TableHeader: react.ForwardRefExoticComponent<HTMLAttributes<HTMLTableSectionElement> & react.RefAttributes<HTMLTableSectionElement>>;
|
|
1218
|
+
declare const TableBody: react.ForwardRefExoticComponent<HTMLAttributes<HTMLTableSectionElement> & react.RefAttributes<HTMLTableSectionElement>>;
|
|
1219
|
+
declare const TableRow: react.ForwardRefExoticComponent<HTMLAttributes<HTMLTableRowElement> & react.RefAttributes<HTMLTableRowElement>>;
|
|
1220
|
+
type TableSortDirection = 'asc' | 'desc';
|
|
1221
|
+
interface TableHeadProps extends ThHTMLAttributes<HTMLTableCellElement> {
|
|
1222
|
+
sortable?: boolean;
|
|
1223
|
+
sortDirection?: TableSortDirection;
|
|
1224
|
+
onSort?: () => void;
|
|
1225
|
+
sortButtonProps?: Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'type' | 'onClick'>;
|
|
1226
|
+
}
|
|
1227
|
+
declare const TableHead: react.ForwardRefExoticComponent<TableHeadProps & react.RefAttributes<HTMLTableCellElement>>;
|
|
1228
|
+
declare const TableCell: react.ForwardRefExoticComponent<TdHTMLAttributes<HTMLTableCellElement> & react.RefAttributes<HTMLTableCellElement>>;
|
|
1229
|
+
declare const TableCaption: react.ForwardRefExoticComponent<HTMLAttributes<HTMLTableCaptionElement> & react.RefAttributes<HTMLTableCaptionElement>>;
|
|
1230
|
+
interface TableEmptyStateProps extends TdHTMLAttributes<HTMLTableCellElement> {
|
|
1231
|
+
colSpan: number;
|
|
1232
|
+
title?: string;
|
|
1233
|
+
description?: string;
|
|
1234
|
+
}
|
|
1235
|
+
declare const TableEmptyState: react.ForwardRefExoticComponent<TableEmptyStateProps & react.RefAttributes<HTMLTableCellElement>>;
|
|
1236
|
+
|
|
1237
|
+
interface TabsItem {
|
|
1238
|
+
id: string;
|
|
1239
|
+
label: ReactNode;
|
|
1240
|
+
content: ReactNode;
|
|
1241
|
+
disabled?: boolean;
|
|
1242
|
+
}
|
|
1243
|
+
interface TabsProps extends HTMLAttributes<HTMLDivElement> {
|
|
1244
|
+
items: TabsItem[];
|
|
1245
|
+
value?: string;
|
|
1246
|
+
defaultValue?: string;
|
|
1247
|
+
onValueChange?: (value: string) => void;
|
|
1248
|
+
fullWidth?: boolean;
|
|
1249
|
+
}
|
|
1250
|
+
declare function Tabs({ items, value, defaultValue, onValueChange, fullWidth, className, ...props }: TabsProps): react_jsx_runtime.JSX.Element;
|
|
1251
|
+
|
|
1252
|
+
type TextareaResize = 'none' | 'vertical' | 'horizontal' | 'both';
|
|
1253
|
+
interface TextareaProps extends TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
1254
|
+
error?: boolean;
|
|
1255
|
+
resize?: TextareaResize;
|
|
1256
|
+
}
|
|
1257
|
+
declare const Textarea: react.ForwardRefExoticComponent<TextareaProps & react.RefAttributes<HTMLTextAreaElement>>;
|
|
1258
|
+
|
|
1259
|
+
type ToggleSize = 'sm' | 'md' | 'lg';
|
|
1260
|
+
type ToggleVariant = 'default' | 'outline';
|
|
1261
|
+
interface ToggleProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'onChange'> {
|
|
1262
|
+
pressed?: boolean;
|
|
1263
|
+
defaultPressed?: boolean;
|
|
1264
|
+
onPressedChange?: (pressed: boolean) => void;
|
|
1265
|
+
size?: ToggleSize;
|
|
1266
|
+
variant?: ToggleVariant;
|
|
1267
|
+
}
|
|
1268
|
+
declare function Toggle({ pressed, defaultPressed, onPressedChange, size, variant, disabled, className, children, ...props }: ToggleProps): react_jsx_runtime.JSX.Element;
|
|
1269
|
+
|
|
1270
|
+
type ToggleGroupType = 'single' | 'multiple';
|
|
1271
|
+
interface ToggleGroupItem {
|
|
1272
|
+
id: string;
|
|
1273
|
+
label: string;
|
|
1274
|
+
icon?: LucideIcon;
|
|
1275
|
+
disabled?: boolean;
|
|
1276
|
+
}
|
|
1277
|
+
interface ToggleGroupProps extends HTMLAttributes<HTMLDivElement> {
|
|
1278
|
+
type?: ToggleGroupType;
|
|
1279
|
+
items: ToggleGroupItem[];
|
|
1280
|
+
value?: string | string[];
|
|
1281
|
+
defaultValue?: string | string[];
|
|
1282
|
+
onValueChange?: (value: string | string[]) => void;
|
|
1283
|
+
}
|
|
1284
|
+
declare function ToggleGroup({ type, items, value, defaultValue, onValueChange, className, ...props }: ToggleGroupProps): react_jsx_runtime.JSX.Element;
|
|
1285
|
+
|
|
1286
|
+
type TooltipSide = 'top' | 'right' | 'bottom' | 'left';
|
|
1287
|
+
interface TooltipProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'content'> {
|
|
1288
|
+
content: ReactNode;
|
|
1289
|
+
side?: TooltipSide;
|
|
1290
|
+
open?: boolean;
|
|
1291
|
+
defaultOpen?: boolean;
|
|
1292
|
+
onOpenChange?: (open: boolean) => void;
|
|
1293
|
+
disabled?: boolean;
|
|
1294
|
+
children: ReactNode;
|
|
1295
|
+
}
|
|
1296
|
+
declare function Tooltip({ content, side, open, defaultOpen, onOpenChange, disabled, className, children, ...props }: TooltipProps): react_jsx_runtime.JSX.Element;
|
|
1297
|
+
|
|
1298
|
+
export { AIComposeInput, type AIComposeInputProps, AIEmailGenerator, type AIEmailGeneratorProps, Accordion, type AccordionItem, type AccordionProps, type ActionButtonItem, ActionButtons, type ActionButtonsProps, ActivityStream, type ActivityStreamProps, Alert, AlertDialog, type AlertDialogProps, type AlertProps, type AlertVariant, AppLayout, type AppLayoutProps, AppNavigationRail, type AppNavigationRailItem, type AppNavigationRailProps, AppSidebar, type AppSidebarItem, type AppSidebarProps, AspectRatio, type AspectRatioProps, Avatar, type AvatarProps, type AvatarSize, Badge, type BadgeProps, type BadgeVariant, type BlockType, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, Button, type ButtonProps, type ButtonVariant, Calendar, type CalendarProps, type CampaignStatus, CampaignTable, type CampaignTableProps, type CampaignTableRow, Card, CardContent, CardDescription, CardFooter, CardHeader, type CardProps, CardTitle, Carousel, type CarouselProps, Chart, type ChartDatum, type ChartProps, ChatFeed, type ChatFeedProps, type ChatMessage, Checkbox, type CheckboxProps, CircularScore, type CircularScoreProps, type CitronEvent, Collapsible, type CollapsibleProps, Command, CommandBar, type CommandBarProps, CommandCanvas, type CommandCanvasCardType, type CommandCanvasMessage, type CommandCanvasProps, CommandInterface, type CommandInterfaceProps, type CommandItem, type CommandProps, ContextMenu, type ContextMenuItem, type ContextMenuProps, Dialog, DialogClose, type DialogCloseProps, DialogContent, type DialogContentProps, DialogDescription, type DialogDescriptionProps, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, type DialogProps, DialogTitle, type DialogTitleProps, DialogTrigger, type DialogTriggerProps, Drawer, DrawerClose, type DrawerCloseProps, DrawerContent, type DrawerContentProps, DrawerDescription, type DrawerDescriptionProps, DrawerFooter, type DrawerFooterProps, DrawerHeader, type DrawerHeaderProps, type DrawerProps, DrawerTitle, type DrawerTitleProps, DrawerTrigger, type DrawerTriggerProps, DropdownMenu, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuItem, type DropdownMenuItemProps, type DropdownMenuProps, DropdownMenuSeparator, type DropdownMenuSeparatorProps, DropdownMenuTrigger, type DropdownMenuTriggerProps, type Edge, type EmailBlock, EmailBlockEditor, type EmailBlockEditorProps, EmailCampaignsView, type EmailCampaignsViewProps, EmailComposeActionButtons, type EmailTemplateItem, EmailTemplatesSection, type EmailTemplatesSectionProps, EntityCard, type EntityCardProps, EntityCommandCard, type EntityCommandCardProps, type EntityCommandCardStat, type EntityType, ErrorBoundary, type ErrorBoundaryProps, EventFeed, type EventFeedItem, type EventFeedProps, EventRow, type EventRowProps, type EventStatus, type EventStreamEvent, EventStreamFeed, type EventStreamFeedProps, EventStreamSidebar, type EventStreamSidebarProps, type EventStreamStatus, Form, FormActions, type FormActionsProps, FormField, type FormFieldProps, type FormProps, type GraphEdge, type GraphNode$1 as GraphNode, GraphView, type GraphViewProps, GuidedTour, type GuidedTourProps, type GuidedTourStep, HoverCard, HoverCardContent, type HoverCardContentProps, type HoverCardProps, HoverCardTrigger, type HoverCardTriggerProps, Input, InputOtp, type InputOtpProps, type InputProps, IntelligenceCard, type IntelligenceCardProps, IntelligenceLab, type IntelligenceLabInsight, type IntelligenceLabKpiCard, type IntelligenceLabProps, IntelligenceScoreCard, type IntelligenceScoreCardProps, type IntelligenceScoreItem, Label, type LabelProps, MainShell, type MainShellProps, Menubar, MenubarCloseZone, type MenubarCloseZoneProps, MenubarContent, type MenubarContentProps, MenubarItem, type MenubarItemProps, MenubarMenu, type MenubarMenuProps, type MenubarProps, MenubarSeparator, type MenubarSeparatorProps, MenubarTrigger, type MenubarTriggerProps, type MetricComparisonItem, MetricComparisonList, type MetricComparisonListProps, type MetricComparisonVariant, ModuleContainer, type ModuleContainerProps, ModuleErrorBoundary, type ModuleErrorBoundaryProps, ModuleSkeleton, type ModuleSkeletonProps, NavLink, type NavLinkProps, NavigationMenu, type NavigationMenuItem, type NavigationMenuProps, OSNavigationRail, type OSNavigationRailItem, type OSNavigationRailProps, OnboardingWizard, type OnboardingWizardProps, PageErrorFallback, type PageErrorFallbackProps, PageHeader, PageHeaderActionButton, type PageHeaderActionButtonProps, type PageHeaderProps, Pagination, type PaginationProps, Popover, PopoverClose, type PopoverCloseProps, PopoverContent, type PopoverContentProps, type PopoverProps, PopoverTrigger, type PopoverTriggerProps, Progress, type ProgressProps, RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioGroupOption, type RadioGroupProps, Resizable, type ResizableProps, RouteWithErrorBoundary, type RouteWithErrorBoundaryProps, ScrollArea, type ScrollAreaProps, SearchBar, type SearchBarProps, Select, type SelectOption, type SelectProps, Separator, type SeparatorOrientation, type SeparatorProps, Sheet, type SheetProps, type SheetSide, Sidebar, type SidebarItem, type SidebarProps, Skeleton, type SkeletonProps, Slider, type SliderProps, Sonner, type SonnerProps, type StatCardChangeVariant, StatCardGrid, type StatCardGridProps, type StatCardItem, type StatCardWithChartItem, StatCards, type StatCardsProps, StatCardsWithChart, type StatCardsWithChartProps, StatusBadge, type StatusBadgeProps, type StatusBadgeVariant, Switch, type SwitchProps, type TabItem, TabSystem, type TabSystemProps, Table, TableBody, TableCaption, TableCell, TableEmptyState, TableHead, TableHeader, TableRow, type TableSortDirection, Tabs, type TabsItem, type TabsProps, TaskCreateForm, type TaskCreateFormProps, type TaskCreatePayload, TaskItem, type TaskItemData, type TaskItemProps, TaskList, type TaskListProps, type TaskPriority, type TaskSection, type TaskStatus, type TaskWithStatus, TasksView, type TasksViewProps, TemplateCard, type TemplateCardProps, Textarea, type TextareaProps, type TextareaResize, Toast, type ToastAction, type ToastProps, type ToastVariant, Toaster, type ToasterItem, type ToasterPosition, type ToasterProps, Toggle, ToggleGroup, type ToggleGroupItem, type ToggleGroupProps, type ToggleGroupType, type ToggleProps, type ToggleSize, type ToggleVariant, Tooltip, type TooltipProps, type TooltipSide };
|