@greatapps/greatchat-ui 0.1.6 → 0.2.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.ts +2 -4
- package/dist/index.js +666 -1559
- package/dist/index.js.map +1 -1
- package/package.json +16 -13
- package/src/components/channel-card.tsx +1 -1
- package/src/components/channel-create-dialog.tsx +4 -4
- package/src/components/channel-edit-dialog.tsx +4 -4
- package/src/components/channels-page.tsx +3 -3
- package/src/components/chat-dashboard.tsx +5 -5
- package/src/components/chat-input.tsx +1 -2
- package/src/components/chat-view.tsx +1 -8
- package/src/components/contact-avatar.tsx +1 -2
- package/src/components/contact-form-dialog.tsx +4 -4
- package/src/components/contact-info-panel.tsx +1 -4
- package/src/components/contacts-page.tsx +1 -1
- package/src/components/contacts-table.tsx +3 -5
- package/src/components/data-table.tsx +4 -4
- package/src/components/inbox-item.tsx +6 -4
- package/src/components/inbox-page.tsx +1 -8
- package/src/components/inbox-sidebar.tsx +1 -5
- package/src/components/message-bubble.tsx +4 -6
- package/src/components/new-conversation-dialog.tsx +2 -6
- package/src/components/whatsapp-qr-dialog.tsx +2 -2
- package/src/components/whatsapp-status-badge.tsx +1 -1
- package/src/index.ts +1 -1
- package/src/components/ui/alert-dialog.tsx +0 -167
- package/src/components/ui/avatar.tsx +0 -51
- package/src/components/ui/badge.tsx +0 -44
- package/src/components/ui/button.tsx +0 -62
- package/src/components/ui/card.tsx +0 -94
- package/src/components/ui/command.tsx +0 -106
- package/src/components/ui/dialog.tsx +0 -133
- package/src/components/ui/dropdown-menu.tsx +0 -173
- package/src/components/ui/input.tsx +0 -19
- package/src/components/ui/label.tsx +0 -24
- package/src/components/ui/progress.tsx +0 -31
- package/src/components/ui/scroll-area.tsx +0 -50
- package/src/components/ui/select.tsx +0 -156
- package/src/components/ui/separator.tsx +0 -26
- package/src/components/ui/skeleton.tsx +0 -16
- package/src/components/ui/table.tsx +0 -101
- package/src/components/ui/tabs.tsx +0 -64
- package/src/components/ui/textarea.tsx +0 -18
- package/src/components/ui/tooltip.tsx +0 -58
- package/src/lib/utils.ts +0 -6
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
export { cn } from '@greatapps/greatauth-ui/ui';
|
|
2
2
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
3
3
|
import * as _tanstack_query_core from '@tanstack/query-core';
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
@@ -138,8 +138,6 @@ declare function createGchatClient(config: GchatClientConfig): {
|
|
|
138
138
|
provisionChannel: (idAccount: number, id: number) => Promise<ApiResponse<unknown>>;
|
|
139
139
|
};
|
|
140
140
|
|
|
141
|
-
declare function cn(...inputs: ClassValue[]): string;
|
|
142
|
-
|
|
143
141
|
/**
|
|
144
142
|
* Groups messages by date. Assumes messages are pre-sorted by datetime_add (ascending).
|
|
145
143
|
*/
|
|
@@ -587,4 +585,4 @@ interface ChatDashboardProps {
|
|
|
587
585
|
}
|
|
588
586
|
declare function ChatDashboard({ config, userName, onNavigateToInbox, onNavigateToChannels, renderExtraSection, }: ChatDashboardProps): react_jsx_runtime.JSX.Element;
|
|
589
587
|
|
|
590
|
-
export { type ApiResponse, type Channel, ChannelCard, type ChannelCardProps, ChannelCreateDialog, type ChannelCreateDialogProps, ChannelEditDialog, type ChannelEditDialogProps, ChannelsPage, type ChannelsPageProps, ChatDashboard, type ChatDashboardProps, ChatInput, type ChatInputProps, ChatView, type ChatViewProps, type Contact, ContactAvatar, type ContactAvatarProps, ContactFormDialog, type ContactFormDialogProps, ContactInfoPanel, type ContactInfoPanelProps, ContactsPage, type ContactsPageProps, ContactsTable, type ContactsTableProps, DEFAULT_CHANNEL_STATUS_POLLING, DEFAULT_INBOX_POLLING, DEFAULT_MESSAGES_POLLING, DEFAULT_QR_POLLING, DataTable, type DataTableProps, type GchatClientConfig, type GchatHookConfig, type Inbox, InboxItem, type InboxItemProps, type InboxMessage, InboxPage, type InboxPageProps, InboxSidebar, type InboxSidebarProps, type InboxStats, MessageBubble, type MessageBubbleProps, type MessageContentType, NewConversationDialog, type NewConversationDialogProps, WhatsappIcon, WhatsappQrDialog, type WhatsappQrDialogProps, type WhatsappStatus, WhatsappStatusBadge, type WhatsappStatusBadgeProps,
|
|
588
|
+
export { type ApiResponse, type Channel, ChannelCard, type ChannelCardProps, ChannelCreateDialog, type ChannelCreateDialogProps, ChannelEditDialog, type ChannelEditDialogProps, ChannelsPage, type ChannelsPageProps, ChatDashboard, type ChatDashboardProps, ChatInput, type ChatInputProps, ChatView, type ChatViewProps, type Contact, ContactAvatar, type ContactAvatarProps, ContactFormDialog, type ContactFormDialogProps, ContactInfoPanel, type ContactInfoPanelProps, ContactsPage, type ContactsPageProps, ContactsTable, type ContactsTableProps, DEFAULT_CHANNEL_STATUS_POLLING, DEFAULT_INBOX_POLLING, DEFAULT_MESSAGES_POLLING, DEFAULT_QR_POLLING, DataTable, type DataTableProps, type GchatClientConfig, type GchatHookConfig, type Inbox, InboxItem, type InboxItemProps, type InboxMessage, InboxPage, type InboxPageProps, InboxSidebar, type InboxSidebarProps, type InboxStats, MessageBubble, type MessageBubbleProps, type MessageContentType, NewConversationDialog, type NewConversationDialogProps, WhatsappIcon, WhatsappQrDialog, type WhatsappQrDialogProps, type WhatsappStatus, WhatsappStatusBadge, type WhatsappStatusBadgeProps, createGchatClient, formatDateGroup, formatMessageTime, groupMessagesByDate, useChannelQR, useChannelWhatsappStatus, useChannels, useConnectChannel, useContacts, useCreateChannel, useCreateContact, useCreateInbox, useDeleteChannel, useDeleteContact, useDeleteInbox, useDisconnectChannel, useEditMessage, useGetContact, useInbox, useInboxMessages, useInboxStats, useInboxes, useLogoutChannel, useRetryMessage, useRevokeMessage, useSendMessage, useUpdateChannel, useUpdateContact, useUpdateInbox };
|