@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.
- package/CHANGELOG.md +31 -0
- package/README.md +3 -1
- package/dist/index.es.js +4519 -17710
- package/dist/index.umd.js +55 -49
- package/dist/{react19/index.es.js → react19.es.js} +6317 -19508
- package/dist/types/components/home/main/chat-input-file.d.ts +6 -0
- package/dist/types/components/home/main/single-view-form.d.ts +5 -0
- package/dist/types/components/shadcn-ui/card.d.ts +9 -0
- package/dist/types/components/shadcn-ui/checkbox.d.ts +4 -0
- package/dist/types/components/shadcn-ui/class-names.d.ts +46 -0
- package/dist/types/components/widget/widget-app.d.ts +1 -0
- package/dist/types/components/widget/widget-auth.d.ts +2 -0
- package/dist/types/components/widget/widget-error.d.ts +2 -0
- package/dist/types/helpers/connectycube.d.ts +10 -1
- package/dist/types/helpers/widget.d.ts +3 -0
- package/dist/types/hooks/store/useAppDefaultChatStore.d.ts +15 -2
- package/dist/types/hooks/store/useAppInterfaceStore.d.ts +6 -0
- package/dist/types/hooks/store/useAppNotificationStore.d.ts +2 -2
- package/dist/types/hooks/store/useAppSettingsStore.d.ts +13 -4
- package/dist/types/hooks/useAppAuthorization.d.ts +2 -1
- package/dist/types/hooks/useAppPresets.d.ts +8 -3
- package/dist/types/locales/el/translation.json.d.ts +35 -1
- package/dist/types/locales/en/translation.json.d.ts +35 -1
- package/dist/types/locales/ua/translation.json.d.ts +35 -1
- package/package.json +18 -14
- package/dist/react19/connectycube-chat-widget-sw.js +0 -44
- package/dist/react19/logo.png +0 -0
- package/dist/react19/types/App.d.ts +0 -23
- package/dist/react19/types/components/calls/calls-confirm-incoming.d.ts +0 -2
- package/dist/react19/types/components/calls/calls-fullscreen-stream.d.ts +0 -6
- package/dist/react19/types/components/calls/calls-header-buttons.d.ts +0 -3
- package/dist/react19/types/components/calls/calls-modal-screen.d.ts +0 -2
- package/dist/react19/types/components/calls/calls-navigation/calls-nav-buttons.d.ts +0 -5
- package/dist/react19/types/components/calls/calls-navigation/calls-nav-hung-up.d.ts +0 -2
- package/dist/react19/types/components/calls/calls-navigation/calls-nav-screen-share.d.ts +0 -2
- package/dist/react19/types/components/calls/calls-navigation/calls-nav-toggle-camera.d.ts +0 -2
- package/dist/react19/types/components/calls/calls-navigation/calls-nav-toggle-mic.d.ts +0 -2
- package/dist/react19/types/components/home/home.d.ts +0 -2
- package/dist/react19/types/components/home/main/chat-header/chat-header-avatar.d.ts +0 -3
- package/dist/react19/types/components/home/main/chat-header/chat-header-back-button.d.ts +0 -3
- package/dist/react19/types/components/home/main/chat-header/chat-header-buttons.d.ts +0 -3
- package/dist/react19/types/components/home/main/chat-header/chat-header-titles.d.ts +0 -3
- package/dist/react19/types/components/home/main/chat-header/chat-header.d.ts +0 -3
- package/dist/react19/types/components/home/main/chat-header.d.ts +0 -3
- package/dist/react19/types/components/home/main/chat-info-members.d.ts +0 -3
- package/dist/react19/types/components/home/main/chat-info-user.d.ts +0 -7
- package/dist/react19/types/components/home/main/chat-input.d.ts +0 -8
- package/dist/react19/types/components/home/main/chat-messages-list.d.ts +0 -6
- package/dist/react19/types/components/home/main/group-member.d.ts +0 -8
- package/dist/react19/types/components/home/main/main.d.ts +0 -2
- package/dist/react19/types/components/home/main/message/message-attachment.d.ts +0 -9
- package/dist/react19/types/components/home/main/message/message-body.d.ts +0 -6
- package/dist/react19/types/components/home/main/message/message-status-mark.d.ts +0 -6
- package/dist/react19/types/components/home/main/message/message-url-preview.d.ts +0 -7
- package/dist/react19/types/components/home/main/message/message.d.ts +0 -15
- package/dist/react19/types/components/home/main/my-profile/my-block-list-item.d.ts +0 -7
- package/dist/react19/types/components/home/main/my-profile/my-block-list.d.ts +0 -3
- package/dist/react19/types/components/home/main/my-profile/my-profile-settings.d.ts +0 -2
- package/dist/react19/types/components/home/main/my-profile/my-profile.d.ts +0 -3
- package/dist/react19/types/components/home/main/profile-info.d.ts +0 -6
- package/dist/react19/types/components/home/main/quick-actions.d.ts +0 -5
- package/dist/react19/types/components/home/main/report-user-dialog.d.ts +0 -6
- package/dist/react19/types/components/home/main/user-status/user-status-badge.d.ts +0 -7
- package/dist/react19/types/components/home/main/user-status/user-status-select.d.ts +0 -3
- package/dist/react19/types/components/home/main/user-status/user-status.d.ts +0 -6
- package/dist/react19/types/components/home/sidebar/chat-item.d.ts +0 -8
- package/dist/react19/types/components/home/sidebar/chats-list.d.ts +0 -3
- package/dist/react19/types/components/home/sidebar/new-chat/create-group-chat/create-group-chat.d.ts +0 -8
- package/dist/react19/types/components/home/sidebar/new-chat/create-group-chat/participant.d.ts +0 -7
- package/dist/react19/types/components/home/sidebar/new-chat/new-chat-dialog.d.ts +0 -9
- package/dist/react19/types/components/home/sidebar/new-chat/searched-user.d.ts +0 -13
- package/dist/react19/types/components/home/sidebar/sidebar.d.ts +0 -2
- package/dist/react19/types/components/home/sidebar/tabs/chats-tab.d.ts +0 -2
- package/dist/react19/types/components/home/sidebar/tabs/users-tab.d.ts +0 -2
- package/dist/react19/types/components/home/sidebar/user-item.d.ts +0 -9
- package/dist/react19/types/components/home/sidebar/users-list.d.ts +0 -6
- package/dist/react19/types/components/shadcn-ui/alert-dialog.d.ts +0 -14
- package/dist/react19/types/components/shadcn-ui/avatar.d.ts +0 -6
- package/dist/react19/types/components/shadcn-ui/badge.d.ts +0 -9
- package/dist/react19/types/components/shadcn-ui/button.d.ts +0 -10
- package/dist/react19/types/components/shadcn-ui/dialog.d.ts +0 -13
- package/dist/react19/types/components/shadcn-ui/dropdown-menu.d.ts +0 -25
- package/dist/react19/types/components/shadcn-ui/input.d.ts +0 -3
- package/dist/react19/types/components/shadcn-ui/label.d.ts +0 -4
- package/dist/react19/types/components/shadcn-ui/sonner.d.ts +0 -3
- package/dist/react19/types/components/shadcn-ui/switch.d.ts +0 -4
- package/dist/react19/types/components/shadcn-ui/tabs.d.ts +0 -7
- package/dist/react19/types/components/shadcn-ui/tooltip.d.ts +0 -7
- package/dist/react19/types/components/shared/alert-busy.d.ts +0 -2
- package/dist/react19/types/components/shared/avatar.d.ts +0 -15
- package/dist/react19/types/components/shared/chat-status-mark.d.ts +0 -2
- package/dist/react19/types/components/shared/confirmation-alert.d.ts +0 -8
- package/dist/react19/types/components/shared/empty-content-placeholder.d.ts +0 -7
- package/dist/react19/types/components/shared/loader.d.ts +0 -5
- package/dist/react19/types/components/widget/widget-app.d.ts +0 -8
- package/dist/react19/types/components/widget/widget-button.d.ts +0 -9
- package/dist/react19/types/components/widget/widget-calls.d.ts +0 -2
- package/dist/react19/types/components/widget/widget-messages-badge.d.ts +0 -5
- package/dist/react19/types/components/widget/widget-online-badge.d.ts +0 -5
- package/dist/react19/types/components/widget/widget-overlay.d.ts +0 -7
- package/dist/react19/types/components/widget/widget-portal.d.ts +0 -8
- package/dist/react19/types/components/widget/widget-shadow-root.d.ts +0 -6
- package/dist/react19/types/helpers/connectycube.d.ts +0 -47
- package/dist/react19/types/helpers/debounce.d.ts +0 -3
- package/dist/react19/types/helpers/i18n.d.ts +0 -2
- package/dist/react19/types/helpers/notifications.d.ts +0 -11
- package/dist/react19/types/helpers/throttle.d.ts +0 -3
- package/dist/react19/types/helpers/widget.d.ts +0 -9
- package/dist/react19/types/hooks/index.d.ts +0 -23
- package/dist/react19/types/hooks/store/useActiveTabsStore.d.ts +0 -15
- package/dist/react19/types/hooks/store/useAlertBusyStore.d.ts +0 -11
- package/dist/react19/types/hooks/store/useAppDefaultChatStore.d.ts +0 -21
- package/dist/react19/types/hooks/store/useAppInterfaceStore.d.ts +0 -31
- package/dist/react19/types/hooks/store/useAppNotificationStore.d.ts +0 -34
- package/dist/react19/types/hooks/store/useAppQuickActionsStore.d.ts +0 -17
- package/dist/react19/types/hooks/store/useAppSettingsStore.d.ts +0 -37
- package/dist/react19/types/hooks/store/useDraftMessagesStore.d.ts +0 -14
- package/dist/react19/types/hooks/store/useLinkPreviewStore.d.ts +0 -18
- package/dist/react19/types/hooks/store/useOnlineUsersCountStore.d.ts +0 -19
- package/dist/react19/types/hooks/store/useProfileStore.d.ts +0 -9
- package/dist/react19/types/hooks/store/useShadowRootStore.d.ts +0 -7
- package/dist/react19/types/hooks/store/useUnreadCountStore.d.ts +0 -8
- package/dist/react19/types/hooks/store/useUserSettingsStore.d.ts +0 -17
- package/dist/react19/types/hooks/useAppAuthorization.d.ts +0 -14
- package/dist/react19/types/hooks/useAppPresets.d.ts +0 -35
- package/dist/react19/types/hooks/useAudio.d.ts +0 -6
- package/dist/react19/types/hooks/useLastActivity.d.ts +0 -2
- package/dist/react19/types/hooks/useNotification.d.ts +0 -9
- package/dist/react19/types/hooks/usePageFocus.d.ts +0 -6
- package/dist/react19/types/hooks/useResizeScreenWidth.d.ts +0 -10
- package/dist/react19/types/hooks/useTypingStatusText.d.ts +0 -3
- package/dist/react19/types/index.d.ts +0 -10
- package/dist/react19/types/lib/utils.d.ts +0 -6
- package/dist/react19/types/locales/el/translation.json.d.ts +0 -76
- package/dist/react19/types/locales/en/translation.json.d.ts +0 -76
- package/dist/react19/types/locales/ua/translation.json.d.ts +0 -76
- package/dist/react19/types/main.d.ts +0 -1
- package/dist/react19/types/tests/connectycube.test.d.ts +0 -1
|
@@ -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,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,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;
|
package/dist/react19/types/components/home/sidebar/new-chat/create-group-chat/create-group-chat.d.ts
DELETED
|
@@ -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,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,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,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,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,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,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,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;
|