@ethora/chat-component 24.11.20 → 24.11.22
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/assets/icons.d.ts +16 -0
- package/dist/components/DropdownMenu/DropdownMenu.d.ts +1 -0
- package/dist/components/MainComponents/ChatHeader.d.ts +1 -0
- package/dist/components/MainComponents/ChatRoom.d.ts +1 -0
- package/dist/components/MainComponents/ProfileImagePlaceholder.d.ts +1 -1
- package/dist/components/MainComponents/RoomList.d.ts +1 -0
- package/dist/components/Modals/Modal/Modal.d.ts +2 -1
- package/dist/components/Modals/ModalHeaderComponent.d.ts +2 -1
- package/dist/components/Modals/SettingsModals/BlockedUsers/BlockedUsersModal.d.ts +7 -0
- package/dist/components/Modals/SettingsModals/DocumentShares/DocumentSharesModal.d.ts +7 -0
- package/dist/components/Modals/SettingsModals/ManageDataModal/ManageDataModal.d.ts +7 -0
- package/dist/components/Modals/SettingsModals/ManageDataModal/StyledComponents.d.ts +0 -0
- package/dist/components/Modals/SettingsModals/ProfileShares/ProfileShares.d.ts +7 -0
- package/dist/components/Modals/SettingsModals/Referrals/Referrals.d.ts +7 -0
- package/dist/components/Modals/SettingsModals/Visibility/StyledComponents.d.ts +8 -0
- package/dist/components/Modals/SettingsModals/Visibility/VisibilityModal.d.ts +5 -0
- package/dist/components/Modals/UserProfileModal/EditUserModal.d.ts +9 -0
- package/dist/components/SortDropDown/index.d.ts +9 -0
- package/dist/components/Toast/index.d.ts +3 -0
- package/dist/components/styled/StyledInput.d.ts +9 -0
- package/dist/context/toastProvider.d.ts +0 -0
- package/dist/helpers/constants/MODAL_TYPES.d.ts +14 -0
- package/dist/main.js +6763 -5802
- package/dist/main.js.map +1 -1
- package/dist/networking/api-requests/user.api.d.ts +5 -0
- package/dist/networking/stanzaHandlers.d.ts +10 -0
- package/dist/roomStore/chatSettingsSlice.d.ts +9 -4
- package/dist/types/types.d.ts +3 -0
- package/package.json +1 -1
package/dist/assets/icons.d.ts
CHANGED
|
@@ -22,6 +22,10 @@ export declare const SearchIcon: ({ color, ...props }: {
|
|
|
22
22
|
[x: string]: any;
|
|
23
23
|
color?: string;
|
|
24
24
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
export declare const ReferalsIcon: ({ color, ...props }: {
|
|
26
|
+
[x: string]: any;
|
|
27
|
+
color?: string;
|
|
28
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
25
29
|
export declare const NoMessages: ({ color, ...props }: {
|
|
26
30
|
[x: string]: any;
|
|
27
31
|
color?: string;
|
|
@@ -82,3 +86,15 @@ export declare const ChatIcon: ({ color, ...props }: {
|
|
|
82
86
|
[x: string]: any;
|
|
83
87
|
color?: string;
|
|
84
88
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
89
|
+
export declare const EditIcon: ({ color, ...props }: {
|
|
90
|
+
[x: string]: any;
|
|
91
|
+
color?: string;
|
|
92
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
93
|
+
export declare const InfoIcon: ({ color, ...props }: {
|
|
94
|
+
[x: string]: any;
|
|
95
|
+
color?: string;
|
|
96
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
97
|
+
export declare const PlusIcon: ({ color, ...props }: {
|
|
98
|
+
[x: string]: any;
|
|
99
|
+
color?: string;
|
|
100
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
+
import { ModalType } from '../../../types/types';
|
|
2
3
|
|
|
3
4
|
interface ModalProps {
|
|
4
5
|
children?: React.ReactNode;
|
|
5
6
|
modal?: string;
|
|
6
|
-
setOpenModal: (value?:
|
|
7
|
+
setOpenModal: (value?: ModalType) => any;
|
|
7
8
|
}
|
|
8
9
|
declare const Modal: React.FC<ModalProps>;
|
|
9
10
|
export default Modal;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
|
|
3
3
|
interface ModalHeaderComponentProps {
|
|
4
|
-
handleCloseModal
|
|
4
|
+
handleCloseModal?: any;
|
|
5
5
|
headerTitle?: string;
|
|
6
|
+
rightMenu?: React.ReactElement;
|
|
6
7
|
leftMenu?: React.ReactElement;
|
|
7
8
|
}
|
|
8
9
|
declare const ModalHeaderComponent: React.FC<ModalHeaderComponentProps>;
|
|
File without changes
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const Container: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2
|
+
export declare const Title: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
3
|
+
export declare const Description: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, never>> & string;
|
|
4
|
+
export declare const RadioGroup: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
5
|
+
export declare const RadioLabel: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, never>> & string;
|
|
6
|
+
export declare const RadioInput: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, {
|
|
7
|
+
radioColor?: string;
|
|
8
|
+
}>> & string;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
interface EditUserModalProps {
|
|
4
|
+
setIsEditing: React.Dispatch<React.SetStateAction<boolean>>;
|
|
5
|
+
modalUser: any;
|
|
6
|
+
config: any;
|
|
7
|
+
}
|
|
8
|
+
declare const EditUserModal: React.FC<EditUserModalProps>;
|
|
9
|
+
export default EditUserModal;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare const Notification: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
2
|
+
type: "success" | "error";
|
|
3
|
+
}>> & string;
|
|
File without changes
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare const MODAL_TYPES: {
|
|
2
|
+
SETTINGS: string;
|
|
3
|
+
PROFILE: string;
|
|
4
|
+
CHAT_PROFILE: string;
|
|
5
|
+
MANAGE_DATA: string;
|
|
6
|
+
VISIBILITY: string;
|
|
7
|
+
PROFILE_SHARES: string;
|
|
8
|
+
DOCUMENT_SHARES: string;
|
|
9
|
+
BLOCKED_USERS: string;
|
|
10
|
+
REFERRALS: string;
|
|
11
|
+
};
|
|
12
|
+
export declare const MODAL_COMPONENTS: Record<string, React.FC<{
|
|
13
|
+
handleCloseModal: () => void;
|
|
14
|
+
}>>;
|