@connectycube/chat-widget 0.32.1 → 0.33.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.
Files changed (138) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/README.md +3 -1
  3. package/dist/index.es.js +4519 -17710
  4. package/dist/index.umd.js +55 -49
  5. package/dist/{react19/index.es.js → react19.es.js} +6317 -19508
  6. package/dist/types/components/home/main/chat-input-file.d.ts +6 -0
  7. package/dist/types/components/home/main/single-view-form.d.ts +5 -0
  8. package/dist/types/components/shadcn-ui/card.d.ts +9 -0
  9. package/dist/types/components/shadcn-ui/checkbox.d.ts +4 -0
  10. package/dist/types/components/shadcn-ui/class-names.d.ts +46 -0
  11. package/dist/types/components/widget/widget-app.d.ts +1 -0
  12. package/dist/types/components/widget/widget-auth.d.ts +2 -0
  13. package/dist/types/components/widget/widget-error.d.ts +2 -0
  14. package/dist/types/helpers/connectycube.d.ts +10 -1
  15. package/dist/types/helpers/widget.d.ts +3 -0
  16. package/dist/types/hooks/store/useAppDefaultChatStore.d.ts +15 -2
  17. package/dist/types/hooks/store/useAppInterfaceStore.d.ts +6 -0
  18. package/dist/types/hooks/store/useAppNotificationStore.d.ts +2 -2
  19. package/dist/types/hooks/store/useAppSettingsStore.d.ts +13 -4
  20. package/dist/types/hooks/useAppAuthorization.d.ts +2 -1
  21. package/dist/types/hooks/useAppPresets.d.ts +8 -3
  22. package/dist/types/locales/el/translation.json.d.ts +35 -1
  23. package/dist/types/locales/en/translation.json.d.ts +35 -1
  24. package/dist/types/locales/ua/translation.json.d.ts +35 -1
  25. package/package.json +18 -14
  26. package/dist/react19/connectycube-chat-widget-sw.js +0 -44
  27. package/dist/react19/logo.png +0 -0
  28. package/dist/react19/types/App.d.ts +0 -23
  29. package/dist/react19/types/components/calls/calls-confirm-incoming.d.ts +0 -2
  30. package/dist/react19/types/components/calls/calls-fullscreen-stream.d.ts +0 -6
  31. package/dist/react19/types/components/calls/calls-header-buttons.d.ts +0 -3
  32. package/dist/react19/types/components/calls/calls-modal-screen.d.ts +0 -2
  33. package/dist/react19/types/components/calls/calls-navigation/calls-nav-buttons.d.ts +0 -5
  34. package/dist/react19/types/components/calls/calls-navigation/calls-nav-hung-up.d.ts +0 -2
  35. package/dist/react19/types/components/calls/calls-navigation/calls-nav-screen-share.d.ts +0 -2
  36. package/dist/react19/types/components/calls/calls-navigation/calls-nav-toggle-camera.d.ts +0 -2
  37. package/dist/react19/types/components/calls/calls-navigation/calls-nav-toggle-mic.d.ts +0 -2
  38. package/dist/react19/types/components/home/home.d.ts +0 -2
  39. package/dist/react19/types/components/home/main/chat-header/chat-header-avatar.d.ts +0 -3
  40. package/dist/react19/types/components/home/main/chat-header/chat-header-back-button.d.ts +0 -3
  41. package/dist/react19/types/components/home/main/chat-header/chat-header-buttons.d.ts +0 -3
  42. package/dist/react19/types/components/home/main/chat-header/chat-header-titles.d.ts +0 -3
  43. package/dist/react19/types/components/home/main/chat-header/chat-header.d.ts +0 -3
  44. package/dist/react19/types/components/home/main/chat-header.d.ts +0 -3
  45. package/dist/react19/types/components/home/main/chat-info-members.d.ts +0 -3
  46. package/dist/react19/types/components/home/main/chat-info-user.d.ts +0 -7
  47. package/dist/react19/types/components/home/main/chat-input.d.ts +0 -8
  48. package/dist/react19/types/components/home/main/chat-messages-list.d.ts +0 -6
  49. package/dist/react19/types/components/home/main/group-member.d.ts +0 -8
  50. package/dist/react19/types/components/home/main/main.d.ts +0 -2
  51. package/dist/react19/types/components/home/main/message/message-attachment.d.ts +0 -9
  52. package/dist/react19/types/components/home/main/message/message-body.d.ts +0 -6
  53. package/dist/react19/types/components/home/main/message/message-status-mark.d.ts +0 -6
  54. package/dist/react19/types/components/home/main/message/message-url-preview.d.ts +0 -7
  55. package/dist/react19/types/components/home/main/message/message.d.ts +0 -15
  56. package/dist/react19/types/components/home/main/my-profile/my-block-list-item.d.ts +0 -7
  57. package/dist/react19/types/components/home/main/my-profile/my-block-list.d.ts +0 -3
  58. package/dist/react19/types/components/home/main/my-profile/my-profile-settings.d.ts +0 -2
  59. package/dist/react19/types/components/home/main/my-profile/my-profile.d.ts +0 -3
  60. package/dist/react19/types/components/home/main/profile-info.d.ts +0 -6
  61. package/dist/react19/types/components/home/main/quick-actions.d.ts +0 -5
  62. package/dist/react19/types/components/home/main/report-user-dialog.d.ts +0 -6
  63. package/dist/react19/types/components/home/main/user-status/user-status-badge.d.ts +0 -7
  64. package/dist/react19/types/components/home/main/user-status/user-status-select.d.ts +0 -3
  65. package/dist/react19/types/components/home/main/user-status/user-status.d.ts +0 -6
  66. package/dist/react19/types/components/home/sidebar/chat-item.d.ts +0 -8
  67. package/dist/react19/types/components/home/sidebar/chats-list.d.ts +0 -3
  68. package/dist/react19/types/components/home/sidebar/new-chat/create-group-chat/create-group-chat.d.ts +0 -8
  69. package/dist/react19/types/components/home/sidebar/new-chat/create-group-chat/participant.d.ts +0 -7
  70. package/dist/react19/types/components/home/sidebar/new-chat/new-chat-dialog.d.ts +0 -9
  71. package/dist/react19/types/components/home/sidebar/new-chat/searched-user.d.ts +0 -13
  72. package/dist/react19/types/components/home/sidebar/sidebar.d.ts +0 -2
  73. package/dist/react19/types/components/home/sidebar/tabs/chats-tab.d.ts +0 -2
  74. package/dist/react19/types/components/home/sidebar/tabs/users-tab.d.ts +0 -2
  75. package/dist/react19/types/components/home/sidebar/user-item.d.ts +0 -9
  76. package/dist/react19/types/components/home/sidebar/users-list.d.ts +0 -6
  77. package/dist/react19/types/components/shadcn-ui/alert-dialog.d.ts +0 -14
  78. package/dist/react19/types/components/shadcn-ui/avatar.d.ts +0 -6
  79. package/dist/react19/types/components/shadcn-ui/badge.d.ts +0 -9
  80. package/dist/react19/types/components/shadcn-ui/button.d.ts +0 -10
  81. package/dist/react19/types/components/shadcn-ui/dialog.d.ts +0 -13
  82. package/dist/react19/types/components/shadcn-ui/dropdown-menu.d.ts +0 -25
  83. package/dist/react19/types/components/shadcn-ui/input.d.ts +0 -3
  84. package/dist/react19/types/components/shadcn-ui/label.d.ts +0 -4
  85. package/dist/react19/types/components/shadcn-ui/sonner.d.ts +0 -3
  86. package/dist/react19/types/components/shadcn-ui/switch.d.ts +0 -4
  87. package/dist/react19/types/components/shadcn-ui/tabs.d.ts +0 -7
  88. package/dist/react19/types/components/shadcn-ui/tooltip.d.ts +0 -7
  89. package/dist/react19/types/components/shared/alert-busy.d.ts +0 -2
  90. package/dist/react19/types/components/shared/avatar.d.ts +0 -15
  91. package/dist/react19/types/components/shared/chat-status-mark.d.ts +0 -2
  92. package/dist/react19/types/components/shared/confirmation-alert.d.ts +0 -8
  93. package/dist/react19/types/components/shared/empty-content-placeholder.d.ts +0 -7
  94. package/dist/react19/types/components/shared/loader.d.ts +0 -5
  95. package/dist/react19/types/components/widget/widget-app.d.ts +0 -8
  96. package/dist/react19/types/components/widget/widget-button.d.ts +0 -9
  97. package/dist/react19/types/components/widget/widget-calls.d.ts +0 -2
  98. package/dist/react19/types/components/widget/widget-messages-badge.d.ts +0 -5
  99. package/dist/react19/types/components/widget/widget-online-badge.d.ts +0 -5
  100. package/dist/react19/types/components/widget/widget-overlay.d.ts +0 -7
  101. package/dist/react19/types/components/widget/widget-portal.d.ts +0 -8
  102. package/dist/react19/types/components/widget/widget-shadow-root.d.ts +0 -6
  103. package/dist/react19/types/helpers/connectycube.d.ts +0 -47
  104. package/dist/react19/types/helpers/debounce.d.ts +0 -3
  105. package/dist/react19/types/helpers/i18n.d.ts +0 -2
  106. package/dist/react19/types/helpers/notifications.d.ts +0 -11
  107. package/dist/react19/types/helpers/throttle.d.ts +0 -3
  108. package/dist/react19/types/helpers/widget.d.ts +0 -9
  109. package/dist/react19/types/hooks/index.d.ts +0 -23
  110. package/dist/react19/types/hooks/store/useActiveTabsStore.d.ts +0 -15
  111. package/dist/react19/types/hooks/store/useAlertBusyStore.d.ts +0 -11
  112. package/dist/react19/types/hooks/store/useAppDefaultChatStore.d.ts +0 -21
  113. package/dist/react19/types/hooks/store/useAppInterfaceStore.d.ts +0 -31
  114. package/dist/react19/types/hooks/store/useAppNotificationStore.d.ts +0 -34
  115. package/dist/react19/types/hooks/store/useAppQuickActionsStore.d.ts +0 -17
  116. package/dist/react19/types/hooks/store/useAppSettingsStore.d.ts +0 -37
  117. package/dist/react19/types/hooks/store/useDraftMessagesStore.d.ts +0 -14
  118. package/dist/react19/types/hooks/store/useLinkPreviewStore.d.ts +0 -18
  119. package/dist/react19/types/hooks/store/useOnlineUsersCountStore.d.ts +0 -19
  120. package/dist/react19/types/hooks/store/useProfileStore.d.ts +0 -9
  121. package/dist/react19/types/hooks/store/useShadowRootStore.d.ts +0 -7
  122. package/dist/react19/types/hooks/store/useUnreadCountStore.d.ts +0 -8
  123. package/dist/react19/types/hooks/store/useUserSettingsStore.d.ts +0 -17
  124. package/dist/react19/types/hooks/useAppAuthorization.d.ts +0 -14
  125. package/dist/react19/types/hooks/useAppPresets.d.ts +0 -35
  126. package/dist/react19/types/hooks/useAudio.d.ts +0 -6
  127. package/dist/react19/types/hooks/useLastActivity.d.ts +0 -2
  128. package/dist/react19/types/hooks/useNotification.d.ts +0 -9
  129. package/dist/react19/types/hooks/usePageFocus.d.ts +0 -6
  130. package/dist/react19/types/hooks/useResizeScreenWidth.d.ts +0 -10
  131. package/dist/react19/types/hooks/useTypingStatusText.d.ts +0 -3
  132. package/dist/react19/types/index.d.ts +0 -10
  133. package/dist/react19/types/lib/utils.d.ts +0 -6
  134. package/dist/react19/types/locales/el/translation.json.d.ts +0 -76
  135. package/dist/react19/types/locales/en/translation.json.d.ts +0 -76
  136. package/dist/react19/types/locales/ua/translation.json.d.ts +0 -76
  137. package/dist/react19/types/main.d.ts +0 -1
  138. package/dist/react19/types/tests/connectycube.test.d.ts +0 -1
@@ -1,2 +0,0 @@
1
- declare const CallsModalScreen: React.FC;
2
- export default CallsModalScreen;
@@ -1,5 +0,0 @@
1
- type CallsNavButtonsProps = {
2
- customButton?: React.ReactNode;
3
- };
4
- declare const CallsNavButtons: React.FC<CallsNavButtonsProps>;
5
- export default CallsNavButtons;
@@ -1,2 +0,0 @@
1
- declare const CallsNavHungUp: React.FC;
2
- export default CallsNavHungUp;
@@ -1,2 +0,0 @@
1
- declare const CallsNavScreenShare: React.FC;
2
- export default CallsNavScreenShare;
@@ -1,2 +0,0 @@
1
- declare const CallsNavToggleCamera: React.FC;
2
- export default CallsNavToggleCamera;
@@ -1,2 +0,0 @@
1
- declare const CallsNavToggleMic: React.FC;
2
- export default CallsNavToggleMic;
@@ -1,2 +0,0 @@
1
- declare const Home: () => import("react/jsx-runtime").JSX.Element;
2
- export default Home;
@@ -1,3 +0,0 @@
1
- import { default as React } from 'react';
2
- declare const ChatHeaderAvatar: React.FC;
3
- export default ChatHeaderAvatar;
@@ -1,3 +0,0 @@
1
- import { default as React } from 'react';
2
- declare const ChatHeaderBackButton: React.FC;
3
- export default ChatHeaderBackButton;
@@ -1,3 +0,0 @@
1
- import { default as React } from 'react';
2
- declare const ChatHeaderButtons: React.FC;
3
- export default ChatHeaderButtons;
@@ -1,3 +0,0 @@
1
- import { default as React } from 'react';
2
- declare const ChatHeaderTitles: React.FC;
3
- export default ChatHeaderTitles;
@@ -1,3 +0,0 @@
1
- import { default as React } from 'react';
2
- declare const ChatHeader: React.FC;
3
- export default ChatHeader;
@@ -1,3 +0,0 @@
1
- import { default as React } from 'react';
2
- declare const _default: React.NamedExoticComponent<{}>;
3
- export default _default;
@@ -1,3 +0,0 @@
1
- import { default as React } from 'react';
2
- declare const _default: React.NamedExoticComponent<{}>;
3
- export default _default;
@@ -1,7 +0,0 @@
1
- import { default as React } from 'react';
2
- import { Users } from 'connectycube/types';
3
- export interface ChatInfoUserProps {
4
- user?: Users.User | null;
5
- }
6
- declare const _default: React.NamedExoticComponent<ChatInfoUserProps>;
7
- export default _default;
@@ -1,8 +0,0 @@
1
- import { default as React } from 'react';
2
- import { Dialogs } from 'connectycube/types';
3
- export interface ChatInputProps {
4
- onSendMessage: (message: string, dialog?: Dialogs.Dialog) => void;
5
- onSendMessageWithAttachment: (files: File[]) => void;
6
- }
7
- declare const _default: React.NamedExoticComponent<ChatInputProps>;
8
- export default _default;
@@ -1,6 +0,0 @@
1
- import { default as React } from 'react';
2
- type ChatMessagesListProps = {
3
- onSendMessage: (text: string) => void;
4
- };
5
- declare const ChatMessagesList: React.FC<ChatMessagesListProps>;
6
- export default ChatMessagesList;
@@ -1,8 +0,0 @@
1
- import { default as React } from 'react';
2
- export interface GroupMemberProps {
3
- userId: number;
4
- name: string;
5
- avatar?: string | null;
6
- }
7
- declare const _default: React.NamedExoticComponent<GroupMemberProps>;
8
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const Main: () => import("react/jsx-runtime").JSX.Element;
2
- export default Main;
@@ -1,9 +0,0 @@
1
- import { Messages } from 'connectycube/types';
2
- import { default as React } from 'react';
3
- export interface MessageAttachmentProps {
4
- attachment: Messages.Attachment;
5
- uploading: boolean;
6
- stickToBottom?: (skipOnce?: boolean) => void;
7
- }
8
- declare const _default: React.NamedExoticComponent<MessageAttachmentProps>;
9
- export default _default;
@@ -1,6 +0,0 @@
1
- type MessageBodyProps = {
2
- message: string;
3
- id: string;
4
- };
5
- declare const MessageBody: React.FC<MessageBodyProps>;
6
- export default MessageBody;
@@ -1,6 +0,0 @@
1
- import { MessageStatus } from '@connectycube/use-chat';
2
- type MessageStatusMarkProps = {
3
- status: MessageStatus;
4
- };
5
- declare const MessageStatusMark: React.FC<MessageStatusMarkProps>;
6
- export default MessageStatusMark;
@@ -1,7 +0,0 @@
1
- type MessageUrlPreviewProps = {
2
- message: string;
3
- id: string;
4
- stickToBottom?: (skipOnce?: boolean) => void;
5
- };
6
- declare const MessageUrlPreview: React.FC<MessageUrlPreviewProps>;
7
- export default MessageUrlPreview;
@@ -1,15 +0,0 @@
1
- import { default as React } from 'react';
2
- import { Messages } from 'connectycube/types';
3
- export interface MessageProps {
4
- message: Messages.Message;
5
- senderName?: string;
6
- senderAvatar?: string | null;
7
- isLastMessage: boolean;
8
- isPlaceholder: boolean;
9
- isSameUserSender: boolean;
10
- isCurrentUserSender: boolean;
11
- enableUrlPreview?: boolean;
12
- stickToBottom?: (id: string, skipOnce?: boolean) => void;
13
- }
14
- declare const Message: React.FC<MessageProps>;
15
- export default Message;
@@ -1,7 +0,0 @@
1
- import { default as React } from 'react';
2
- import { Users } from 'connectycube/types';
3
- export interface MyBlockListItemProps {
4
- user?: Users.User;
5
- }
6
- declare const _default: React.NamedExoticComponent<MyBlockListItemProps>;
7
- export default _default;
@@ -1,3 +0,0 @@
1
- import { default as React } from 'react';
2
- declare const MyBlockList: React.FC;
3
- export default MyBlockList;
@@ -1,2 +0,0 @@
1
- declare const MyProfileSettings: () => import("react/jsx-runtime").JSX.Element;
2
- export default MyProfileSettings;
@@ -1,3 +0,0 @@
1
- import { default as React } from 'react';
2
- declare const MyProfile: React.FC;
3
- export default MyProfile;
@@ -1,6 +0,0 @@
1
- import { default as React } from 'react';
2
- type ProfileInfoProps = {
3
- profileClassName: string;
4
- };
5
- declare const _default: React.NamedExoticComponent<ProfileInfoProps>;
6
- export default _default;
@@ -1,5 +0,0 @@
1
- export interface QuickActionsProps {
2
- sendMessage: (text: string) => void;
3
- }
4
- declare const QuickActions: React.FC<QuickActionsProps>;
5
- export default QuickActions;
@@ -1,6 +0,0 @@
1
- import { default as React } from 'react';
2
- export interface ReportUserDialogProps {
3
- userId: number;
4
- }
5
- declare const _default: React.NamedExoticComponent<ReportUserDialogProps>;
6
- export default _default;
@@ -1,7 +0,0 @@
1
- import { USER_STATUS } from '../../../../helpers/connectycube';
2
- type UserStatusBadgeProps = {
3
- status: USER_STATUS;
4
- size?: number;
5
- };
6
- declare const UserStatusBadge: React.FC<UserStatusBadgeProps>;
7
- export default UserStatusBadge;
@@ -1,3 +0,0 @@
1
- import { default as React } from 'react';
2
- declare const UserStatusSelect: React.FC;
3
- export default UserStatusSelect;
@@ -1,6 +0,0 @@
1
- import { USER_STATUS } from '../../../../helpers/connectycube';
2
- type UserStatusProps = {
3
- status: USER_STATUS;
4
- };
5
- declare const UserStatus: React.FC<UserStatusProps>;
6
- export default UserStatus;
@@ -1,8 +0,0 @@
1
- import { default as React } from 'react';
2
- import { Dialogs } from 'connectycube/types';
3
- export interface ChatItemProps {
4
- dialog: Dialogs.Dialog;
5
- isFirstInList?: boolean;
6
- }
7
- declare const ChatItem: React.FC<ChatItemProps>;
8
- export default ChatItem;
@@ -1,3 +0,0 @@
1
- import { default as React } from 'react';
2
- declare const _default: React.NamedExoticComponent<{}>;
3
- export default _default;
@@ -1,8 +0,0 @@
1
- import { default as React } from 'react';
2
- import { Users } from 'connectycube/types';
3
- export interface CreateGroupChatProps {
4
- users: Users.User[];
5
- onCreateChat: (name: string) => Promise<void>;
6
- }
7
- declare const _default: React.NamedExoticComponent<CreateGroupChatProps>;
8
- export default _default;
@@ -1,7 +0,0 @@
1
- import { default as React } from 'react';
2
- export interface ParticipantProps {
3
- avatar?: string;
4
- name: string;
5
- }
6
- declare const _default: React.NamedExoticComponent<ParticipantProps>;
7
- export default _default;
@@ -1,9 +0,0 @@
1
- import { default as React } from 'react';
2
- export type ChatType = 'private' | 'group';
3
- export interface NewChatDialogProps {
4
- chatType: ChatType;
5
- addUsersMode?: boolean;
6
- onFinish: () => void;
7
- }
8
- declare const _default: React.NamedExoticComponent<NewChatDialogProps>;
9
- export default _default;
@@ -1,13 +0,0 @@
1
- import { default as React } from 'react';
2
- import { ChatType } from './new-chat-dialog';
3
- export interface SearchedUserProps {
4
- id: number;
5
- name: string;
6
- avatar?: string;
7
- chatType: ChatType;
8
- onStartChat: (userId: number) => void;
9
- isSelected: boolean;
10
- onSelectUser: (userId: number, isSelected: boolean) => void;
11
- }
12
- declare const _default: React.NamedExoticComponent<SearchedUserProps>;
13
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const SideBar: React.FC;
2
- export default SideBar;
@@ -1,2 +0,0 @@
1
- declare const ChatsTab: React.FC;
2
- export default ChatsTab;
@@ -1,2 +0,0 @@
1
- declare const UsersTab: React.FC;
2
- export default UsersTab;
@@ -1,9 +0,0 @@
1
- import { USER_STATUS } from '../../../helpers/connectycube';
2
- export interface UserItemProps {
3
- userId: number;
4
- userName: string;
5
- avatar?: string;
6
- status?: USER_STATUS | null;
7
- }
8
- declare const _default: import('react').NamedExoticComponent<UserItemProps>;
9
- export default _default;
@@ -1,6 +0,0 @@
1
- import { default as React } from 'react';
2
- export interface UsersListProps {
3
- searchTerm?: string;
4
- }
5
- declare const _default: React.NamedExoticComponent<UsersListProps>;
6
- export default _default;
@@ -1,14 +0,0 @@
1
- import * as React from 'react';
2
- import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
3
- declare function AlertDialog({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
- declare function AlertDialogTrigger({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
5
- declare function AlertDialogPortal({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Portal>): import("react/jsx-runtime").JSX.Element;
6
- declare function AlertDialogOverlay({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Overlay>): import("react/jsx-runtime").JSX.Element;
7
- declare function AlertDialogContent({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Content> & React.ComponentProps<typeof AlertDialogPrimitive.Portal>): import("react/jsx-runtime").JSX.Element;
8
- declare function AlertDialogHeader({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
9
- declare function AlertDialogFooter({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
10
- declare function AlertDialogTitle({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Title>): import("react/jsx-runtime").JSX.Element;
11
- declare function AlertDialogDescription({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Description>): import("react/jsx-runtime").JSX.Element;
12
- declare function AlertDialogAction({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Action>): import("react/jsx-runtime").JSX.Element;
13
- declare function AlertDialogCancel({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Cancel>): import("react/jsx-runtime").JSX.Element;
14
- export { AlertDialog, AlertDialogPortal, AlertDialogOverlay, AlertDialogTrigger, AlertDialogContent, AlertDialogHeader, AlertDialogFooter, AlertDialogTitle, AlertDialogDescription, AlertDialogAction, AlertDialogCancel, };
@@ -1,6 +0,0 @@
1
- import * as React from 'react';
2
- import * as AvatarPrimitive from '@radix-ui/react-avatar';
3
- declare function Avatar({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
- declare function AvatarImage({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Image>): import("react/jsx-runtime").JSX.Element;
5
- declare function AvatarFallback({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Fallback>): import("react/jsx-runtime").JSX.Element;
6
- export { Avatar, AvatarImage, AvatarFallback };
@@ -1,9 +0,0 @@
1
- import { VariantProps } from 'class-variance-authority';
2
- import * as React from 'react';
3
- declare const badgeVariants: (props?: ({
4
- variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
5
- } & import('class-variance-authority/types').ClassProp) | undefined) => string;
6
- declare function Badge({ className, variant, asChild, ...props }: React.ComponentProps<'span'> & VariantProps<typeof badgeVariants> & {
7
- asChild?: boolean;
8
- }): import("react/jsx-runtime").JSX.Element;
9
- export { Badge, badgeVariants };
@@ -1,10 +0,0 @@
1
- import { VariantProps } from 'class-variance-authority';
2
- import * as React from 'react';
3
- declare const buttonVariants: (props?: ({
4
- variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
5
- size?: "default" | "icon" | "sm" | "lg" | null | undefined;
6
- } & import('class-variance-authority/types').ClassProp) | undefined) => string;
7
- declare function Button({ className, variant, size, asChild, ...props }: React.ComponentProps<'button'> & VariantProps<typeof buttonVariants> & {
8
- asChild?: boolean;
9
- }): import("react/jsx-runtime").JSX.Element;
10
- export { Button, buttonVariants };
@@ -1,13 +0,0 @@
1
- import * as React from 'react';
2
- import * as DialogPrimitive from '@radix-ui/react-dialog';
3
- declare function Dialog({ ...props }: React.ComponentProps<typeof DialogPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
- declare function DialogTrigger({ ...props }: React.ComponentProps<typeof DialogPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
5
- declare function DialogPortal({ ...props }: React.ComponentProps<typeof DialogPrimitive.Portal>): import("react/jsx-runtime").JSX.Element;
6
- declare function DialogClose({ ...props }: React.ComponentProps<typeof DialogPrimitive.Close>): import("react/jsx-runtime").JSX.Element;
7
- declare function DialogOverlay({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Overlay>): import("react/jsx-runtime").JSX.Element;
8
- declare function DialogContent({ className, children, ...props }: React.ComponentProps<typeof DialogPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
9
- declare function DialogHeader({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
10
- declare function DialogFooter({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
11
- declare function DialogTitle({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Title>): import("react/jsx-runtime").JSX.Element;
12
- declare function DialogDescription({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Description>): import("react/jsx-runtime").JSX.Element;
13
- export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, };
@@ -1,25 +0,0 @@
1
- import * as React from 'react';
2
- import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
3
- declare function DropdownMenu({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
- declare function DropdownMenuPortal({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Portal>): import("react/jsx-runtime").JSX.Element;
5
- declare function DropdownMenuTrigger({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
6
- declare function DropdownMenuContent({ className, sideOffset, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
7
- declare function DropdownMenuGroup({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Group>): import("react/jsx-runtime").JSX.Element;
8
- declare function DropdownMenuItem({ className, inset, variant, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Item> & {
9
- inset?: boolean;
10
- variant?: 'default' | 'destructive';
11
- }): import("react/jsx-runtime").JSX.Element;
12
- declare function DropdownMenuCheckboxItem({ className, children, checked, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>): import("react/jsx-runtime").JSX.Element;
13
- declare function DropdownMenuRadioGroup({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>): import("react/jsx-runtime").JSX.Element;
14
- declare function DropdownMenuRadioItem({ className, children, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>): import("react/jsx-runtime").JSX.Element;
15
- declare function DropdownMenuLabel({ className, inset, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
16
- inset?: boolean;
17
- }): import("react/jsx-runtime").JSX.Element;
18
- declare function DropdownMenuSeparator({ className, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Separator>): import("react/jsx-runtime").JSX.Element;
19
- declare function DropdownMenuShortcut({ className, ...props }: React.ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
20
- declare function DropdownMenuSub({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Sub>): import("react/jsx-runtime").JSX.Element;
21
- declare function DropdownMenuSubTrigger({ className, inset, children, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {
22
- inset?: boolean;
23
- }): import("react/jsx-runtime").JSX.Element;
24
- declare function DropdownMenuSubContent({ className, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.SubContent>): import("react/jsx-runtime").JSX.Element;
25
- export { DropdownMenu, DropdownMenuPortal, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuGroup, DropdownMenuLabel, DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubTrigger, DropdownMenuSubContent, };
@@ -1,3 +0,0 @@
1
- import * as React from 'react';
2
- declare function Input({ className, type, ...props }: React.ComponentProps<'input'>): import("react/jsx-runtime").JSX.Element;
3
- export { Input };
@@ -1,4 +0,0 @@
1
- import * as React from 'react';
2
- import * as LabelPrimitive from '@radix-ui/react-label';
3
- declare function Label({ className, ...props }: React.ComponentProps<typeof LabelPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
- export { Label };
@@ -1,3 +0,0 @@
1
- import { ToasterProps } from 'sonner';
2
- declare const Toaster: ({ ...props }: ToasterProps) => import("react/jsx-runtime").JSX.Element;
3
- export { Toaster };
@@ -1,4 +0,0 @@
1
- import * as React from 'react';
2
- import * as SwitchPrimitive from '@radix-ui/react-switch';
3
- declare function Switch({ className, ...props }: React.ComponentProps<typeof SwitchPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
- export { Switch };
@@ -1,7 +0,0 @@
1
- import * as React from 'react';
2
- import * as TabsPrimitive from '@radix-ui/react-tabs';
3
- declare function Tabs({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
- declare function TabsList({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.List>): import("react/jsx-runtime").JSX.Element;
5
- declare function TabsTrigger({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
6
- declare function TabsContent({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
7
- export { Tabs, TabsList, TabsTrigger, TabsContent };
@@ -1,7 +0,0 @@
1
- import * as React from 'react';
2
- import * as TooltipPrimitive from '@radix-ui/react-tooltip';
3
- declare function TooltipProvider({ delayDuration, ...props }: React.ComponentProps<typeof TooltipPrimitive.Provider>): import("react/jsx-runtime").JSX.Element;
4
- declare function Tooltip({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
5
- declare function TooltipTrigger({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
6
- declare function TooltipContent({ className, sideOffset, children, ...props }: React.ComponentProps<typeof TooltipPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
7
- export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider };
@@ -1,2 +0,0 @@
1
- declare const AlertBusy: React.FC;
2
- export default AlertBusy;
@@ -1,15 +0,0 @@
1
- import { default as React } from 'react';
2
- import { USER_STATUS } from '../../helpers/connectycube';
3
- interface BaseAvatarProps {
4
- imageUIDOrUrl?: string | null;
5
- name?: string;
6
- className?: string;
7
- }
8
- interface AvatarWithStatusProps extends BaseAvatarProps {
9
- isOnline?: boolean;
10
- status?: USER_STATUS | null;
11
- }
12
- declare const Avatar: React.FC<BaseAvatarProps> & {
13
- WithStatus: React.NamedExoticComponent<AvatarWithStatusProps>;
14
- };
15
- export default Avatar;
@@ -1,2 +0,0 @@
1
- declare const ChatStatusMark: React.FC;
2
- export default ChatStatusMark;
@@ -1,8 +0,0 @@
1
- import { ReactElement } from 'react';
2
- export interface ConfirmationAlertProps {
3
- triggerChild: ReactElement;
4
- title: string;
5
- body: string;
6
- onConfirm: () => void;
7
- }
8
- export declare const ConfirmationAlert: React.FC<ConfirmationAlertProps>;
@@ -1,7 +0,0 @@
1
- import { default as React } from 'react';
2
- type EmptyContentPlaceholderProps = {
3
- title: string | string[];
4
- className?: React.HTMLAttributes<HTMLDivElement>['className'];
5
- };
6
- declare const _default: React.NamedExoticComponent<EmptyContentPlaceholderProps>;
7
- export default _default;
@@ -1,5 +0,0 @@
1
- export interface LoaderProps {
2
- className?: string;
3
- }
4
- declare const Loader: React.FC<LoaderProps>;
5
- export default Loader;
@@ -1,8 +0,0 @@
1
- type WidgetAppProps = {
2
- id?: string;
3
- name?: string;
4
- avatar?: string;
5
- userProfileLink?: string;
6
- };
7
- declare const WidgetApp: React.FC<WidgetAppProps>;
8
- export default WidgetApp;
@@ -1,9 +0,0 @@
1
- type WidgetButtonProps = {
2
- lng: 'en' | 'el' | 'ua';
3
- title?: string;
4
- style?: React.CSSProperties;
5
- badgeStyle?: React.CSSProperties;
6
- onlineBadgeStyle?: React.CSSProperties;
7
- };
8
- declare const WidgetButton: React.FC<WidgetButtonProps>;
9
- export default WidgetButton;
@@ -1,2 +0,0 @@
1
- declare const WidgetCalls: React.FC;
2
- export default WidgetCalls;
@@ -1,5 +0,0 @@
1
- type WidgetMessageBadgeProps = {
2
- style?: React.CSSProperties;
3
- };
4
- declare const WidgetMessageBadge: React.FC<WidgetMessageBadgeProps>;
5
- export default WidgetMessageBadge;
@@ -1,5 +0,0 @@
1
- type WidgetOnlineBadgeProps = {
2
- style?: React.CSSProperties;
3
- };
4
- declare const WidgetOnlineBadge: React.FC<WidgetOnlineBadgeProps>;
5
- export default WidgetOnlineBadge;
@@ -1,7 +0,0 @@
1
- type WidgetOverlayProps = {
2
- disableClickOutside?: boolean;
3
- disableEscKeyPress?: boolean;
4
- style?: React.CSSProperties;
5
- };
6
- declare const WidgetOverlay: React.FC<WidgetOverlayProps>;
7
- export default WidgetOverlay;
@@ -1,8 +0,0 @@
1
- import { ReactNode } from 'react';
2
- type WidgetPortalProps = {
3
- children: ReactNode;
4
- embedded?: boolean;
5
- style?: React.CSSProperties;
6
- };
7
- declare const WidgetPortal: React.FC<WidgetPortalProps>;
8
- export default WidgetPortal;
@@ -1,6 +0,0 @@
1
- import { ReactNode } from 'react';
2
- type WidgetShadowRootProps = {
3
- children: ReactNode;
4
- };
5
- declare const WidgetShadowRoot: React.FC<WidgetShadowRootProps>;
6
- export default WidgetShadowRoot;