@pixonui/react 0.4.1 → 0.5.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/dist/index.d.mts +202 -34
- package/dist/index.d.ts +202 -34
- package/dist/index.js +12 -12
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +12 -12
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -1
package/dist/index.d.ts
CHANGED
|
@@ -3,6 +3,8 @@ import React__default, { ReactNode, RefObject, FormEvent } from 'react';
|
|
|
3
3
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
4
4
|
import { VariantProps } from 'class-variance-authority';
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
|
+
import * as _socket_io_component_emitter from '@socket.io/component-emitter';
|
|
7
|
+
import { Socket } from 'socket.io-client';
|
|
6
8
|
import { ClassValue } from 'clsx';
|
|
7
9
|
|
|
8
10
|
interface PrimaryButtonProps extends React__default.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
@@ -1654,34 +1656,77 @@ interface AIResponseProps extends React__default.HTMLAttributes<HTMLDivElement>,
|
|
|
1654
1656
|
declare const AIResponse: React__default.ForwardRefExoticComponent<AIResponseProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1655
1657
|
|
|
1656
1658
|
type UserStatus = 'online' | 'offline' | 'away' | 'busy';
|
|
1659
|
+
type PresenceStatus = 'unavailable' | 'available' | 'composing' | 'recording' | 'paused';
|
|
1657
1660
|
interface User {
|
|
1658
1661
|
id: string;
|
|
1659
1662
|
name: string;
|
|
1660
1663
|
avatar?: string;
|
|
1661
1664
|
status?: UserStatus;
|
|
1665
|
+
presence?: PresenceStatus;
|
|
1662
1666
|
lastSeen?: Date;
|
|
1663
1667
|
bio?: string;
|
|
1664
1668
|
phone?: string;
|
|
1665
1669
|
isOnline?: boolean;
|
|
1670
|
+
verified?: boolean;
|
|
1666
1671
|
}
|
|
1667
|
-
type MessageType = 'text' | 'image' | 'file' | 'system' | 'audio' | 'video' | 'location' | 'contact' | 'poll' | 'sticker';
|
|
1668
|
-
type MessageStatus = 'sending' | 'sent' | 'delivered' | 'read' | 'failed';
|
|
1672
|
+
type MessageType = 'text' | 'image' | 'file' | 'system' | 'audio' | 'video' | 'location' | 'contact' | 'poll' | 'sticker' | 'template' | 'interactive' | 'reaction' | 'revoked';
|
|
1673
|
+
type MessageStatus = 'sending' | 'sent' | 'delivered' | 'read' | 'failed' | 'played';
|
|
1669
1674
|
interface ChatAttachment {
|
|
1670
1675
|
id: string;
|
|
1671
|
-
type: 'image' | 'file' | 'audio' | 'video';
|
|
1676
|
+
type: 'image' | 'file' | 'audio' | 'video' | 'sticker';
|
|
1672
1677
|
url: string;
|
|
1673
1678
|
name?: string;
|
|
1674
1679
|
size?: string;
|
|
1675
1680
|
duration?: number;
|
|
1676
1681
|
thumbnail?: string;
|
|
1682
|
+
mimetype?: string;
|
|
1683
|
+
caption?: string;
|
|
1684
|
+
blurhash?: string;
|
|
1677
1685
|
}
|
|
1678
1686
|
interface PollOption {
|
|
1679
1687
|
id: string;
|
|
1680
1688
|
text: string;
|
|
1681
1689
|
votes: string[];
|
|
1682
1690
|
}
|
|
1691
|
+
interface InteractiveButton {
|
|
1692
|
+
id: string;
|
|
1693
|
+
text: string;
|
|
1694
|
+
type: 'reply' | 'url' | 'call';
|
|
1695
|
+
payload?: string;
|
|
1696
|
+
}
|
|
1697
|
+
interface InteractiveListSection {
|
|
1698
|
+
title?: string;
|
|
1699
|
+
rows: {
|
|
1700
|
+
id: string;
|
|
1701
|
+
title: string;
|
|
1702
|
+
description?: string;
|
|
1703
|
+
}[];
|
|
1704
|
+
}
|
|
1705
|
+
interface InteractiveCard {
|
|
1706
|
+
header?: {
|
|
1707
|
+
type: 'image' | 'video';
|
|
1708
|
+
attachment: ChatAttachment;
|
|
1709
|
+
};
|
|
1710
|
+
body: string;
|
|
1711
|
+
footer?: string;
|
|
1712
|
+
buttons: InteractiveButton[];
|
|
1713
|
+
}
|
|
1714
|
+
interface InteractiveContent {
|
|
1715
|
+
type: 'button' | 'list' | 'carousel';
|
|
1716
|
+
header?: {
|
|
1717
|
+
type: 'text' | 'image' | 'video' | 'document';
|
|
1718
|
+
text?: string;
|
|
1719
|
+
attachment?: ChatAttachment;
|
|
1720
|
+
};
|
|
1721
|
+
body: string;
|
|
1722
|
+
footer?: string;
|
|
1723
|
+
buttons?: InteractiveButton[];
|
|
1724
|
+
sections?: InteractiveListSection[];
|
|
1725
|
+
cards?: InteractiveCard[];
|
|
1726
|
+
}
|
|
1683
1727
|
interface Message {
|
|
1684
1728
|
id: string;
|
|
1729
|
+
remoteJid: string;
|
|
1685
1730
|
content: string;
|
|
1686
1731
|
senderId: string;
|
|
1687
1732
|
timestamp: Date;
|
|
@@ -1695,11 +1740,13 @@ interface Message {
|
|
|
1695
1740
|
latitude: number;
|
|
1696
1741
|
longitude: number;
|
|
1697
1742
|
address?: string;
|
|
1743
|
+
name?: string;
|
|
1698
1744
|
};
|
|
1699
1745
|
contact?: {
|
|
1700
1746
|
name: string;
|
|
1701
1747
|
phone: string;
|
|
1702
1748
|
avatar?: string;
|
|
1749
|
+
vcard?: string;
|
|
1703
1750
|
};
|
|
1704
1751
|
poll?: {
|
|
1705
1752
|
question: string;
|
|
@@ -1707,30 +1754,53 @@ interface Message {
|
|
|
1707
1754
|
multipleChoice?: boolean;
|
|
1708
1755
|
expiresAt?: Date;
|
|
1709
1756
|
};
|
|
1757
|
+
interactive?: InteractiveContent;
|
|
1758
|
+
ephemeralExpiration?: number;
|
|
1710
1759
|
isEdited?: boolean;
|
|
1711
1760
|
isPinned?: boolean;
|
|
1761
|
+
isForwarded?: boolean;
|
|
1762
|
+
forwardingScore?: number;
|
|
1763
|
+
broadcast?: boolean;
|
|
1764
|
+
starred?: boolean;
|
|
1712
1765
|
}
|
|
1713
1766
|
interface Conversation {
|
|
1714
1767
|
id: string;
|
|
1715
1768
|
user?: User;
|
|
1716
1769
|
group?: GroupInfo;
|
|
1717
1770
|
lastMessage?: Message;
|
|
1718
|
-
unreadCount
|
|
1771
|
+
unreadCount: number;
|
|
1719
1772
|
isTyping?: boolean;
|
|
1720
|
-
|
|
1773
|
+
presence?: Record<string, PresenceStatus>;
|
|
1721
1774
|
isMuted?: boolean;
|
|
1775
|
+
muteExpiration?: number;
|
|
1722
1776
|
isPinned?: boolean;
|
|
1723
1777
|
isArchived?: boolean;
|
|
1778
|
+
isReadOnly?: boolean;
|
|
1779
|
+
ephemeralExpiration?: number;
|
|
1780
|
+
labels?: string[];
|
|
1781
|
+
wallpaper?: string;
|
|
1724
1782
|
}
|
|
1725
1783
|
interface GroupInfo {
|
|
1726
1784
|
id: string;
|
|
1727
1785
|
name: string;
|
|
1728
1786
|
avatar?: string;
|
|
1729
1787
|
description?: string;
|
|
1730
|
-
members:
|
|
1788
|
+
members: GroupMember[];
|
|
1731
1789
|
admins: string[];
|
|
1732
1790
|
createdBy: string;
|
|
1733
1791
|
createdAt: Date;
|
|
1792
|
+
inviteCode?: string;
|
|
1793
|
+
restrict?: boolean;
|
|
1794
|
+
announce?: boolean;
|
|
1795
|
+
}
|
|
1796
|
+
interface GroupMember extends User {
|
|
1797
|
+
role: 'admin' | 'member' | 'superadmin';
|
|
1798
|
+
}
|
|
1799
|
+
interface ChatLabel {
|
|
1800
|
+
id: string;
|
|
1801
|
+
name: string;
|
|
1802
|
+
color: string;
|
|
1803
|
+
count?: number;
|
|
1734
1804
|
}
|
|
1735
1805
|
|
|
1736
1806
|
interface ChatLayoutProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
@@ -1909,6 +1979,20 @@ interface EmojiPickerProps extends Omit<React__default.HTMLAttributes<HTMLDivEle
|
|
|
1909
1979
|
}
|
|
1910
1980
|
declare function EmojiPicker({ onSelect, className, ...props }: EmojiPickerProps): react_jsx_runtime.JSX.Element;
|
|
1911
1981
|
|
|
1982
|
+
interface InteractiveMessageProps {
|
|
1983
|
+
data: InteractiveContent;
|
|
1984
|
+
isOwn: boolean;
|
|
1985
|
+
onAction?: (button: InteractiveButton) => void;
|
|
1986
|
+
}
|
|
1987
|
+
declare function InteractiveMessage({ data, isOwn, onAction }: InteractiveMessageProps): react_jsx_runtime.JSX.Element;
|
|
1988
|
+
|
|
1989
|
+
interface CarouselMessageProps {
|
|
1990
|
+
cards: InteractiveCard[];
|
|
1991
|
+
isOwn: boolean;
|
|
1992
|
+
onAction?: (button: InteractiveButton) => void;
|
|
1993
|
+
}
|
|
1994
|
+
declare function CarouselMessage({ cards, isOwn, onAction }: CarouselMessageProps): react_jsx_runtime.JSX.Element;
|
|
1995
|
+
|
|
1912
1996
|
interface VoiceRecorderProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
1913
1997
|
onSend: (blob: Blob, duration: number) => void;
|
|
1914
1998
|
onCancel: () => void;
|
|
@@ -1923,6 +2007,117 @@ interface MessageSearchProps extends Omit<React__default.HTMLAttributes<HTMLDivE
|
|
|
1923
2007
|
}
|
|
1924
2008
|
declare function MessageSearch({ onSearch, results, onResultClick, onClose, className, ...props }: MessageSearchProps): react_jsx_runtime.JSX.Element;
|
|
1925
2009
|
|
|
2010
|
+
interface ChatState {
|
|
2011
|
+
conversations: Map<string, Conversation>;
|
|
2012
|
+
messages: Map<string, Message[]>;
|
|
2013
|
+
activeChatId: string | null;
|
|
2014
|
+
presence: Map<string, PresenceStatus>;
|
|
2015
|
+
}
|
|
2016
|
+
declare class ChatStore {
|
|
2017
|
+
private state;
|
|
2018
|
+
private listeners;
|
|
2019
|
+
getState: () => ChatState;
|
|
2020
|
+
subscribe: (listener: () => void) => () => boolean;
|
|
2021
|
+
private emitChange;
|
|
2022
|
+
setConversations(conversations: Conversation[]): void;
|
|
2023
|
+
upsertConversation(conversation: Partial<Conversation> & {
|
|
2024
|
+
id: string;
|
|
2025
|
+
}): void;
|
|
2026
|
+
setMessages(chatId: string, messages: Message[]): void;
|
|
2027
|
+
addMessage(chatId: string, message: Message): void;
|
|
2028
|
+
updateMessageStatus(chatId: string, messageId: string, status: Message['status']): void;
|
|
2029
|
+
updateMessage(chatId: string, messageId: string, updates: Partial<Message>): void;
|
|
2030
|
+
addReaction(chatId: string, messageId: string, emoji: string, userId: string): void;
|
|
2031
|
+
removeReaction(chatId: string, messageId: string, emoji: string, userId: string): void;
|
|
2032
|
+
deleteMessage(chatId: string, messageId: string): void;
|
|
2033
|
+
setActiveChat(chatId: string | null): void;
|
|
2034
|
+
setUserPresence(userId: string, status: PresenceStatus): void;
|
|
2035
|
+
}
|
|
2036
|
+
declare const chatStore: ChatStore;
|
|
2037
|
+
declare function useChatStore<T>(selector: (state: ChatState) => T): T;
|
|
2038
|
+
declare function useConversations(): Conversation[];
|
|
2039
|
+
declare function useMessages(chatId: string | null): Message[];
|
|
2040
|
+
declare function useActiveChat(): Conversation | null | undefined;
|
|
2041
|
+
declare function useUserPresence(userId: string): PresenceStatus;
|
|
2042
|
+
|
|
2043
|
+
interface UseSocketOptions {
|
|
2044
|
+
url: string;
|
|
2045
|
+
token?: string;
|
|
2046
|
+
rooms?: string[];
|
|
2047
|
+
onConnect?: () => void;
|
|
2048
|
+
onDisconnect?: () => void;
|
|
2049
|
+
onError?: (error: any) => void;
|
|
2050
|
+
}
|
|
2051
|
+
/**
|
|
2052
|
+
* Advanced Socket.io hook with Redis-ready event handling and automatic room management.
|
|
2053
|
+
*/
|
|
2054
|
+
declare function useSocket({ url, token, rooms, onConnect, onDisconnect, onError }: UseSocketOptions): {
|
|
2055
|
+
socket: Socket<_socket_io_component_emitter.DefaultEventsMap, _socket_io_component_emitter.DefaultEventsMap> | null;
|
|
2056
|
+
emit: (event: string, data: any) => void;
|
|
2057
|
+
on: (event: string, callback: (...args: any[]) => void) => () => void;
|
|
2058
|
+
isConnected: boolean;
|
|
2059
|
+
};
|
|
2060
|
+
|
|
2061
|
+
/**
|
|
2062
|
+
* Hook to synchronize Baileys/WhatsApp events from a Socket.io server into the ChatStore.
|
|
2063
|
+
*/
|
|
2064
|
+
declare function useBaileysSync(socketUrl: string, token?: string): {
|
|
2065
|
+
isConnected: boolean;
|
|
2066
|
+
emit: (event: string, data: any) => void;
|
|
2067
|
+
};
|
|
2068
|
+
/**
|
|
2069
|
+
* Hook for managing "is typing" or "is recording" status with debouncing.
|
|
2070
|
+
*/
|
|
2071
|
+
declare function useChatPresence(chatId: string, userId: string): {
|
|
2072
|
+
setPresence: (status: PresenceStatus) => void;
|
|
2073
|
+
};
|
|
2074
|
+
/**
|
|
2075
|
+
* Hook for handling media uploads with progress.
|
|
2076
|
+
*/
|
|
2077
|
+
declare function useChatMedia(): {
|
|
2078
|
+
uploadMedia: (file: File, onProgress?: (p: number) => void) => Promise<{
|
|
2079
|
+
url: string;
|
|
2080
|
+
thumbnail: string;
|
|
2081
|
+
blurhash: string;
|
|
2082
|
+
}>;
|
|
2083
|
+
};
|
|
2084
|
+
/**
|
|
2085
|
+
* Hook for searching messages across thousands of entries using a Web Worker.
|
|
2086
|
+
*/
|
|
2087
|
+
declare function useChatSearchWorker(messages: Message[]): {
|
|
2088
|
+
search: (query: string) => Message[];
|
|
2089
|
+
};
|
|
2090
|
+
|
|
2091
|
+
interface UseVirtualListOptions {
|
|
2092
|
+
/** Total number of items in the list */
|
|
2093
|
+
itemCount: number;
|
|
2094
|
+
/** Fixed height of a single item or a function to get height by index */
|
|
2095
|
+
itemHeight: number | ((index: number) => number);
|
|
2096
|
+
/** Number of items to render outside the visible area */
|
|
2097
|
+
overscan?: number;
|
|
2098
|
+
/** Initial scroll offset */
|
|
2099
|
+
initialScrollTop?: number;
|
|
2100
|
+
/** Whether to start the list at the bottom (useful for chats) */
|
|
2101
|
+
startAtBottom?: boolean;
|
|
2102
|
+
}
|
|
2103
|
+
/**
|
|
2104
|
+
* A high-performance hook for virtualizing long lists with dynamic or fixed heights.
|
|
2105
|
+
* Supports 120fps scrolling by only rendering visible items.
|
|
2106
|
+
*/
|
|
2107
|
+
declare function useVirtualList({ itemCount, itemHeight, overscan, initialScrollTop, startAtBottom }: UseVirtualListOptions): {
|
|
2108
|
+
containerRef: React$1.RefObject<HTMLDivElement>;
|
|
2109
|
+
visibleItems: {
|
|
2110
|
+
index: number;
|
|
2111
|
+
offsetTop: number;
|
|
2112
|
+
height: number;
|
|
2113
|
+
}[];
|
|
2114
|
+
totalHeight: number;
|
|
2115
|
+
startIndex: number;
|
|
2116
|
+
onScroll: (e: React.UIEvent<HTMLDivElement>) => void;
|
|
2117
|
+
scrollToIndex: (index: number, behavior?: ScrollBehavior) => void;
|
|
2118
|
+
scrollToBottom: (behavior?: ScrollBehavior) => void;
|
|
2119
|
+
};
|
|
2120
|
+
|
|
1926
2121
|
declare const surfaceVariants: (props?: ({
|
|
1927
2122
|
variant?: "ghost" | "default" | null | undefined;
|
|
1928
2123
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
@@ -2462,33 +2657,6 @@ declare function useViewTransition(): {
|
|
|
2462
2657
|
startTransition: (updateCallback: () => void) => void;
|
|
2463
2658
|
};
|
|
2464
2659
|
|
|
2465
|
-
interface UseVirtualListOptions {
|
|
2466
|
-
/** Total number of items in the list */
|
|
2467
|
-
itemCount: number;
|
|
2468
|
-
/** Estimated height of a single item in pixels */
|
|
2469
|
-
itemHeight?: number;
|
|
2470
|
-
/** Number of items to render outside the visible area */
|
|
2471
|
-
overscan?: number;
|
|
2472
|
-
}
|
|
2473
|
-
/**
|
|
2474
|
-
* A high-performance hook for virtualizing long lists with dynamic or fixed heights.
|
|
2475
|
-
* Supports 120fps scrolling by only rendering visible items.
|
|
2476
|
-
*
|
|
2477
|
-
* @example
|
|
2478
|
-
* const { containerRef, visibleItems, totalHeight } = useVirtualList({ itemCount: 10000 });
|
|
2479
|
-
*/
|
|
2480
|
-
declare function useVirtualList({ itemCount, itemHeight, overscan }: UseVirtualListOptions): {
|
|
2481
|
-
containerRef: React$1.RefObject<HTMLDivElement>;
|
|
2482
|
-
visibleItems: {
|
|
2483
|
-
index: number;
|
|
2484
|
-
offsetTop: number;
|
|
2485
|
-
}[];
|
|
2486
|
-
totalHeight: number;
|
|
2487
|
-
startIndex: number;
|
|
2488
|
-
onScroll: (e: React.UIEvent<HTMLDivElement>) => void;
|
|
2489
|
-
scrollToIndex: (index: number) => void;
|
|
2490
|
-
};
|
|
2491
|
-
|
|
2492
2660
|
interface VoiceRecorderHook {
|
|
2493
2661
|
isRecording: boolean;
|
|
2494
2662
|
duration: number;
|
|
@@ -2525,4 +2693,4 @@ declare function truncate(str: string, length: number): string;
|
|
|
2525
2693
|
*/
|
|
2526
2694
|
declare function slugify(str: string): string;
|
|
2527
2695
|
|
|
2528
|
-
export { AIPromptInput, type AIPromptInputProps, AIResponse, type AIResponseProps, type AIResponseSource, Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, Alert, type AlertProps, type AlertVariant, type Align, AreaChart, type AreaChartProps, AssigneePicker, type Attachment, AudioPlayer, Avatar, Background, type BackgroundProps, Badge, type BadgeProps, BarChart, type BarChartProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, type Breakpoint, Button, type ButtonProps, Calendar, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, ChartContainer, type ChartContainerProps, type ChartContextValue, type ChartDataPoint, ChartGrid, ChartSkeleton, ChartTooltip, ChartXAxis, ChartYAxis, type ChatAttachment, ChatBanner, ChatHeader, ChatInput, ChatLayout, type ChatMessage, ChatProfile, ChatSidebar, Checkbox, type CheckboxProps, Checklist, type ChecklistItem, Collapse, type CollapseProps, ColorPicker, type ColorPickerProps, type Column, ColumnLimit, Combobox, ComboboxContent, ComboboxEmpty, ComboboxInput, ComboboxItem, type ComboboxItemProps, ComboboxList, type ComboboxProps, ComboboxTrigger, Command, CommandDialog, type CommandDialogProps, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandShortcut, ConfirmDialog, type ConfirmDialogProps, Container, type ContainerProps, type Conversation, DataTable, DatePicker, type DatePickerProps, DateSeparator, DateTimePicker, type DateTimePickerProps, Dialog, DialogDescription, DialogFooter, DialogHeader, type DialogProps, DialogTitle, Divider, type DragState, Drawer, DrawerDescription, DrawerFooter, DrawerHeader, type DrawerProps, DrawerTitle, type DropPosition, DropdownMenu, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuLabel, type DropdownMenuProps, DropdownMenuSeparator, DropdownMenuTrigger, type DropdownMenuTriggerProps, DueDatePicker, type ElementScrollValues, EmojiPicker, EmptyState, type EmptyStateProps, FileDropzone, type FileDropzoneProps, type FilterOption, FormControl, FormDescription, FormItem, FormLabel, FormMessage, GlowButton, type GlowButtonProps, Grid, type GridProps, GroupHeader, type GroupInfo, Heading, type HeadingProps, HeroText, type HeroTextProps, type HistoryState, Image, type ImageProps, KanbanBoard as Kanban, KanbanBoard, type KanbanBoardColumn, type KanbanBoardState, type KanbanBoardTask, KanbanCalendarView, type KanbanCalendarViewProps, KanbanCard, KanbanColumn, type KanbanColumnDef, KanbanFilterBar, type KanbanFilterBarProps, KanbanHeader, type KanbanHistoryEntry, type KanbanLabel, KanbanListView, type KanbanProps, KanbanQuickAdd, KanbanSwimlane, KanbanTableView, type KanbanTask, KanbanTaskModal, type KanbanTaskModalProps, KanbanTimelineView, type KanbanUser, Kbd, type KbdProps, Label, LabelPicker, type LabelProps, LetterPullup, type LetterPullupProps, LineChart, type LineChartProps, LinkPreview, Magnetic, type MagneticProps, Marquee, type MarqueeProps, MentionList, type Message, MessageBubble, MessageList, MessageSearch, type MessageStatus, type MessageType, MetricCard, type MetricCardProps, Modal, ModalDescription, ModalFooter, ModalHeader, type ModalProps, ModalTitle, Motion, MotionGroup, type MotionProps, type MousePosition, Navbar, NumberInput, type NumberInputProps, NumberTicker, type NumberTickerProps, OTPInput, type OTPInputProps, OnlineIndicator, type Orientation, PageLoader, type PageLoaderProps, PageTransition, type PageTransitionProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Parallax, PasswordInput, type PasswordInputProps, PieChart, type PieChartProps, type PollOption, Popover, PopoverContent, type PopoverContentProps, type PopoverProps, PopoverTrigger, type PopoverTriggerProps, PrimaryButton, Progress, type ProgressProps, type ProgressSize, type ProgressVariant, RadarChart, type RadarChartProps, type RadarDataPoint, RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, Rating, type RatingProps, ReadReceipt, ReplyPreview, Reveal, type RevealProps, type SavedFilter, ScrollArea, type ScrollAreaProps, type ScrollDirection, ScrollProgress, type ScrollProgressProps, type ScrollValues, Select, type SelectOption, type SelectProps, Separator, type SeparatorProps, ShinyText, type ShinyTextProps, type ShortcutHandler, type ShortcutMap, type Side, Sidebar, SidebarContent, type SidebarContentProps, SidebarFooter, type SidebarFooterProps, SidebarGroup, type SidebarGroupProps, SidebarHeader, type SidebarHeaderProps, SidebarItem, type SidebarItemProps, type SidebarProps, Skeleton, type SkeletonProps, SkipToContent, type SkipToContentProps, Slider, type SliderProps, type SortConfig, Sparkline, type SparklineProps, Spotlight, type SpotlightProps, Stack, type StackProps, StatusDot, type StatusDotProps, Stepper, type StepperProps, type Subtask, SubtaskList, Surface, type SurfaceProps, Switch, type SwitchProps, SystemMessage, Table, TableBody, TableCell, TableHead, TableHeader, type TableProps, TableRow, type TableRowProps, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, TabsTrigger, type TabsTriggerProps, TagInput, type TagInputProps, TaskActivity, TaskAttachments, TaskComments, Terminal, TerminalLine, type TerminalProps, Text, TextGradient, type TextGradientProps, TextInput, type TextInputProps, TextMotion, Textarea, type TextareaProps, ThemeProvider, ThemeToggle, TimeTracker, Timeline, TimelineItem, type TimelineItemProps, Toast, ToastContext, type ToastContextType, type ToastOptions, type ToastProps, ToastProvider, type ToastVariant, ToggleGroup, type ToggleGroupProps, Tooltip, type TooltipPosition, type TooltipProps, Tree, type TreeNode, type TreeProps, TypingIndicator, type UseChatOptions, type UseClipboardOptions, type UseInViewOptions, type UseInfiniteScrollOptions, type UseVirtualListOptions, type User, UserMenu, type UserMenuProps, UserPreview, type UserPreviewProps, type UserStatus, VoiceRecorder, type VoiceRecorderHook, type YAxisProps, cn, formatCurrency, formatDate, formatNumber, normalize, slugify, truncate, useAsync, useBreakpoint, useChart, useChat, useChatMessages, useChatSearch, useClickOutside, useClipboard, useContainerQuery, useDebounce, useDrag, useElementScroll, useFetch, useFlip, useFloating, useForm, useHistory, useIdle, useInView, useInfiniteScroll, useIntersection, useKanban, useKanbanFilters, useKanbanHistory, useKanbanKeyboard, useKanbanSync, useKanbanUndo, useKeyboardShortcuts, useLocalStorage, useMediaQuery, useMousePosition, useOnMount, useOnUnmount, useOrientation, usePrevious, useReadReceipts, useReducedMotion, useScroll, useScrollDirection, useScrollLock, useScrollTransform, useScrollVelocity, useSearch, useSequence, useSessionStorage, useSpring, useStagger, useTextScramble, useTheme, useThrottle, useTimer, useToast, useToggle, useTypingIndicator, useViewTransition, useVirtualList, useVoiceRecorder };
|
|
2696
|
+
export { AIPromptInput, type AIPromptInputProps, AIResponse, type AIResponseProps, type AIResponseSource, Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, Alert, type AlertProps, type AlertVariant, type Align, AreaChart, type AreaChartProps, AssigneePicker, type Attachment, AudioPlayer, Avatar, Background, type BackgroundProps, Badge, type BadgeProps, BarChart, type BarChartProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, type Breakpoint, Button, type ButtonProps, Calendar, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CarouselMessage, ChartContainer, type ChartContainerProps, type ChartContextValue, type ChartDataPoint, ChartGrid, ChartSkeleton, ChartTooltip, ChartXAxis, ChartYAxis, type ChatAttachment, ChatBanner, ChatHeader, ChatInput, type ChatLabel, ChatLayout, type ChatMessage, ChatProfile, ChatSidebar, Checkbox, type CheckboxProps, Checklist, type ChecklistItem, Collapse, type CollapseProps, ColorPicker, type ColorPickerProps, type Column, ColumnLimit, Combobox, ComboboxContent, ComboboxEmpty, ComboboxInput, ComboboxItem, type ComboboxItemProps, ComboboxList, type ComboboxProps, ComboboxTrigger, Command, CommandDialog, type CommandDialogProps, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandShortcut, ConfirmDialog, type ConfirmDialogProps, Container, type ContainerProps, type Conversation, DataTable, DatePicker, type DatePickerProps, DateSeparator, DateTimePicker, type DateTimePickerProps, Dialog, DialogDescription, DialogFooter, DialogHeader, type DialogProps, DialogTitle, Divider, type DragState, Drawer, DrawerDescription, DrawerFooter, DrawerHeader, type DrawerProps, DrawerTitle, type DropPosition, DropdownMenu, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuLabel, type DropdownMenuProps, DropdownMenuSeparator, DropdownMenuTrigger, type DropdownMenuTriggerProps, DueDatePicker, type ElementScrollValues, EmojiPicker, EmptyState, type EmptyStateProps, FileDropzone, type FileDropzoneProps, type FilterOption, FormControl, FormDescription, FormItem, FormLabel, FormMessage, GlowButton, type GlowButtonProps, Grid, type GridProps, GroupHeader, type GroupInfo, type GroupMember, Heading, type HeadingProps, HeroText, type HeroTextProps, type HistoryState, Image, type ImageProps, type InteractiveButton, type InteractiveCard, type InteractiveContent, type InteractiveListSection, InteractiveMessage, KanbanBoard as Kanban, KanbanBoard, type KanbanBoardColumn, type KanbanBoardState, type KanbanBoardTask, KanbanCalendarView, type KanbanCalendarViewProps, KanbanCard, KanbanColumn, type KanbanColumnDef, KanbanFilterBar, type KanbanFilterBarProps, KanbanHeader, type KanbanHistoryEntry, type KanbanLabel, KanbanListView, type KanbanProps, KanbanQuickAdd, KanbanSwimlane, KanbanTableView, type KanbanTask, KanbanTaskModal, type KanbanTaskModalProps, KanbanTimelineView, type KanbanUser, Kbd, type KbdProps, Label, LabelPicker, type LabelProps, LetterPullup, type LetterPullupProps, LineChart, type LineChartProps, LinkPreview, Magnetic, type MagneticProps, Marquee, type MarqueeProps, MentionList, type Message, MessageBubble, MessageList, MessageSearch, type MessageStatus, type MessageType, MetricCard, type MetricCardProps, Modal, ModalDescription, ModalFooter, ModalHeader, type ModalProps, ModalTitle, Motion, MotionGroup, type MotionProps, type MousePosition, Navbar, NumberInput, type NumberInputProps, NumberTicker, type NumberTickerProps, OTPInput, type OTPInputProps, OnlineIndicator, type Orientation, PageLoader, type PageLoaderProps, PageTransition, type PageTransitionProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Parallax, PasswordInput, type PasswordInputProps, PieChart, type PieChartProps, type PollOption, Popover, PopoverContent, type PopoverContentProps, type PopoverProps, PopoverTrigger, type PopoverTriggerProps, type PresenceStatus, PrimaryButton, Progress, type ProgressProps, type ProgressSize, type ProgressVariant, RadarChart, type RadarChartProps, type RadarDataPoint, RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, Rating, type RatingProps, ReadReceipt, ReplyPreview, Reveal, type RevealProps, type SavedFilter, ScrollArea, type ScrollAreaProps, type ScrollDirection, ScrollProgress, type ScrollProgressProps, type ScrollValues, Select, type SelectOption, type SelectProps, Separator, type SeparatorProps, ShinyText, type ShinyTextProps, type ShortcutHandler, type ShortcutMap, type Side, Sidebar, SidebarContent, type SidebarContentProps, SidebarFooter, type SidebarFooterProps, SidebarGroup, type SidebarGroupProps, SidebarHeader, type SidebarHeaderProps, SidebarItem, type SidebarItemProps, type SidebarProps, Skeleton, type SkeletonProps, SkipToContent, type SkipToContentProps, Slider, type SliderProps, type SortConfig, Sparkline, type SparklineProps, Spotlight, type SpotlightProps, Stack, type StackProps, StatusDot, type StatusDotProps, Stepper, type StepperProps, type Subtask, SubtaskList, Surface, type SurfaceProps, Switch, type SwitchProps, SystemMessage, Table, TableBody, TableCell, TableHead, TableHeader, type TableProps, TableRow, type TableRowProps, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, TabsTrigger, type TabsTriggerProps, TagInput, type TagInputProps, TaskActivity, TaskAttachments, TaskComments, Terminal, TerminalLine, type TerminalProps, Text, TextGradient, type TextGradientProps, TextInput, type TextInputProps, TextMotion, Textarea, type TextareaProps, ThemeProvider, ThemeToggle, TimeTracker, Timeline, TimelineItem, type TimelineItemProps, Toast, ToastContext, type ToastContextType, type ToastOptions, type ToastProps, ToastProvider, type ToastVariant, ToggleGroup, type ToggleGroupProps, Tooltip, type TooltipPosition, type TooltipProps, Tree, type TreeNode, type TreeProps, TypingIndicator, type UseChatOptions, type UseClipboardOptions, type UseInViewOptions, type UseInfiniteScrollOptions, type UseVirtualListOptions, type User, UserMenu, type UserMenuProps, UserPreview, type UserPreviewProps, type UserStatus, VoiceRecorder, type VoiceRecorderHook, type YAxisProps, chatStore, cn, formatCurrency, formatDate, formatNumber, normalize, slugify, truncate, useActiveChat, useAsync, useBaileysSync, useBreakpoint, useChart, useChat, useChatMedia, useChatMessages, useChatPresence, useChatSearch, useChatSearchWorker, useChatStore, useClickOutside, useClipboard, useContainerQuery, useConversations, useDebounce, useDrag, useElementScroll, useFetch, useFlip, useFloating, useForm, useHistory, useIdle, useInView, useInfiniteScroll, useIntersection, useKanban, useKanbanFilters, useKanbanHistory, useKanbanKeyboard, useKanbanSync, useKanbanUndo, useKeyboardShortcuts, useLocalStorage, useMediaQuery, useMessages, useMousePosition, useOnMount, useOnUnmount, useOrientation, usePrevious, useReadReceipts, useReducedMotion, useScroll, useScrollDirection, useScrollLock, useScrollTransform, useScrollVelocity, useSearch, useSequence, useSessionStorage, useSocket, useSpring, useStagger, useTextScramble, useTheme, useThrottle, useTimer, useToast, useToggle, useTypingIndicator, useUserPresence, useViewTransition, useVirtualList, useVoiceRecorder };
|