sceyt-chat-react-uikit 1.6.7-beta.9 → 1.6.8-beta.1
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/LICENSE +18 -18
- package/README.md +101 -101
- package/assets/svg/addAttachment.svg +3 -3
- package/assets/svg/addChat.svg +5 -5
- package/assets/svg/addMember.svg +5 -5
- package/assets/svg/arrowLeft.svg +3 -3
- package/assets/svg/avatar.svg +5 -5
- package/assets/svg/blockChannel.svg +3 -3
- package/assets/svg/bold.svg +5 -5
- package/assets/svg/bottom.svg +3 -3
- package/assets/svg/cameraIcon.svg +3 -3
- package/assets/svg/cancel.svg +3 -3
- package/assets/svg/chat.svg +3 -3
- package/assets/svg/chatLogo.svg +13 -13
- package/assets/svg/check.svg +3 -3
- package/assets/svg/checkCircle.svg +5 -5
- package/assets/svg/chevronBottom.svg +3 -3
- package/assets/svg/chevron_down.svg +3 -3
- package/assets/svg/choseFile.svg +3 -3
- package/assets/svg/choseMedia.svg +3 -3
- package/assets/svg/clear.svg +3 -3
- package/assets/svg/clearHistory.svg +6 -6
- package/assets/svg/close.svg +4 -4
- package/assets/svg/contact.svg +3 -3
- package/assets/svg/copy.svg +3 -3
- package/assets/svg/copyIcon.svg +3 -3
- package/assets/svg/createChannel.svg +3 -3
- package/assets/svg/createChat.svg +3 -3
- package/assets/svg/createGroup.svg +3 -3
- package/assets/svg/cross.svg +3 -3
- package/assets/svg/deleteChannel.svg +3 -3
- package/assets/svg/deleteFailed.svg +4 -4
- package/assets/svg/deleteIcon.svg +3 -3
- package/assets/svg/deleteUpload.svg +5 -5
- package/assets/svg/deletedUserAvatar.svg +5 -5
- package/assets/svg/download.svg +4 -4
- package/assets/svg/downloadFile.svg +3 -3
- package/assets/svg/downloadIcon.svg +5 -5
- package/assets/svg/editIcon.svg +3 -3
- package/assets/svg/emojiAnimalIcon.svg +3 -3
- package/assets/svg/emojiFlagicon.svg +3 -3
- package/assets/svg/emojiFoodIcon.svg +5 -5
- package/assets/svg/emojiObjectIcon.svg +10 -10
- package/assets/svg/emojiSmileIcon.svg +4 -4
- package/assets/svg/emojiSymbolsIcon.svg +3 -3
- package/assets/svg/emojiTravelIcon.svg +3 -3
- package/assets/svg/errorIcon.svg +5 -5
- package/assets/svg/error_circle.svg +3 -3
- package/assets/svg/eye.svg +3 -3
- package/assets/svg/fileIcon.svg +4 -4
- package/assets/svg/file_icon.svg +3 -3
- package/assets/svg/forward.svg +4 -4
- package/assets/svg/fullscreen.svg +4 -4
- package/assets/svg/fullscreenExit.svg +4 -4
- package/assets/svg/info.svg +5 -5
- package/assets/svg/italic.svg +5 -5
- package/assets/svg/leave.svg +3 -3
- package/assets/svg/linkIcon.svg +3 -3
- package/assets/svg/lock.svg +3 -3
- package/assets/svg/markAsRead.svg +3 -3
- package/assets/svg/markAsUnread.svg +6 -6
- package/assets/svg/mention.svg +4 -4
- package/assets/svg/message.svg +5 -5
- package/assets/svg/mono.svg +5 -5
- package/assets/svg/more_vert.svg +3 -3
- package/assets/svg/noAvatar.svg +16 -16
- package/assets/svg/noMessagesIcon.svg +9 -9
- package/assets/svg/notifications.svg +3 -3
- package/assets/svg/notificationsOff (5).svg +10 -10
- package/assets/svg/notificationsOff.svg +10 -10
- package/assets/svg/notificationsOff3.svg +10 -10
- package/assets/svg/pause.svg +4 -4
- package/assets/svg/pauseRecord.svg +5 -5
- package/assets/svg/pending_icon.svg +3 -3
- package/assets/svg/picture.svg +3 -3
- package/assets/svg/pin.svg +3 -3
- package/assets/svg/play.svg +4 -4
- package/assets/svg/playRecord.svg +3 -3
- package/assets/svg/playVideo.svg +4 -4
- package/assets/svg/plus.svg +2 -2
- package/assets/svg/profile.svg +3 -3
- package/assets/svg/react2.svg +8 -8
- package/assets/svg/recordButton.svg +8 -8
- package/assets/svg/refresh.svg +3 -3
- package/assets/svg/replyIcon.svg +3 -3
- package/assets/svg/replyInThreadIcon.svg +3 -3
- package/assets/svg/report.svg +5 -5
- package/assets/svg/report_icon.svg +3 -3
- package/assets/svg/resend.svg +3 -3
- package/assets/svg/search.svg +3 -3
- package/assets/svg/selectionIcon.svg +5 -5
- package/assets/svg/send.svg +4 -4
- package/assets/svg/sliderButtonLeft.svg +3 -3
- package/assets/svg/sliderButtonRight.svg +3 -3
- package/assets/svg/star.svg +3 -3
- package/assets/svg/stopRecord.svg +3 -3
- package/assets/svg/strikethrough.svg +8 -8
- package/assets/svg/tick.svg +3 -3
- package/assets/svg/ticksLogin.svg +3 -3
- package/assets/svg/ticks_delivered.svg +4 -4
- package/assets/svg/ticks_read.svg +4 -4
- package/assets/svg/ticks_sent.svg +3 -3
- package/assets/svg/underline.svg +8 -8
- package/assets/svg/unmuteNotifications.svg +4 -4
- package/assets/svg/unpin.svg +3 -3
- package/assets/svg/unreadMention.svg +4 -4
- package/assets/svg/upload.svg +3 -3
- package/assets/svg/video-call.svg +4 -4
- package/assets/svg/videoPlayerPause.svg +3 -3
- package/assets/svg/videoPlayerPlay.svg +3 -3
- package/assets/svg/voiceIcon.svg +7 -7
- package/assets/svg/voicePreview.svg +4 -5
- package/assets/svg/voicePreviewPause.svg +4 -5
- package/assets/svg/volume.svg +3 -3
- package/assets/svg/volumeMute.svg +3 -3
- package/components/Attachment/index.d.ts +4 -2
- package/components/Avatar/index.d.ts +6 -2
- package/components/Channel/index.d.ts +5 -3
- package/components/ChannelDetails/DetailsTab/Files/index.d.ts +1 -1
- package/components/ChannelList/ContactItem/index.d.ts +1 -2
- package/components/ChatContainer/index.d.ts +2 -4
- package/components/Message/Message.types.d.ts +1 -0
- package/components/Message/MessageBody/index.d.ts +2 -1
- package/components/Message/MessageStatusAndTime/index.d.ts +2 -1
- package/components/Message/RepliedMessage/index.d.ts +1 -1
- package/components/Message/index.d.ts +1 -1
- package/components/MessageDivider/index.d.ts +1 -1
- package/components/Messages/MessageList/index.d.ts +5 -0
- package/components/SendMessageInput/MentionsPlugin/index.d.ts +1 -1
- package/components/SendMessageInput/RecordingAnimation.d.ts +3 -1
- package/components/VideoPreview/index.d.ts +1 -0
- package/index.js +1399 -1133
- package/index.modern.js +1399 -1133
- package/messageUtils/index.d.ts +2 -2
- package/package.json +101 -101
- package/assets/svg/voicePreviewHoverIcon.svg +0 -5
- package/assets/svg/voicePreviewPauseHover.svg +0 -5
- package/components/ChannelList/ChannelTabs/index.d.ts +0 -5
- package/components/Message/TextFormat/index.d.ts +0 -19
- package/components/Profile/index.d.ts +0 -3
package/messageUtils/index.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ declare const MessageTextFormat: ({ text, message, contactsMap, getFromContacts,
|
|
|
15
15
|
getFromContacts: boolean;
|
|
16
16
|
isLastMessage?: boolean | undefined;
|
|
17
17
|
asSampleText?: boolean | undefined;
|
|
18
|
-
accentColor
|
|
19
|
-
textSecondary
|
|
18
|
+
accentColor: string;
|
|
19
|
+
textSecondary: string;
|
|
20
20
|
}) => any;
|
|
21
21
|
export { MessageStatusIcon, MessageTextFormat };
|
package/package.json
CHANGED
|
@@ -1,102 +1,102 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "sceyt-chat-react-uikit",
|
|
3
|
-
"version": "1.6.
|
|
4
|
-
"description": "Interactive React UI Components for Sceyt Chat.",
|
|
5
|
-
"author": "Sceyt",
|
|
6
|
-
"license": "MIT",
|
|
7
|
-
"main": "index.js",
|
|
8
|
-
"module": "index.modern.js",
|
|
9
|
-
"types": "index.d.ts",
|
|
10
|
-
"keywords": [
|
|
11
|
-
"sceyt",
|
|
12
|
-
"sceyt.com",
|
|
13
|
-
"messaging",
|
|
14
|
-
"chat-components",
|
|
15
|
-
"react"
|
|
16
|
-
],
|
|
17
|
-
"repository": {
|
|
18
|
-
"type": "git",
|
|
19
|
-
"url": "https://github.com/sceyt/sceyt-chat-react-uikit"
|
|
20
|
-
},
|
|
21
|
-
"engines": {
|
|
22
|
-
"node": ">=10"
|
|
23
|
-
},
|
|
24
|
-
"scripts": {
|
|
25
|
-
"test": "echo \"Error: no test specified\" && exit 1"
|
|
26
|
-
},
|
|
27
|
-
"peerDependencies": {
|
|
28
|
-
"react": "18.2.0",
|
|
29
|
-
"react-dom": "18.2.0"
|
|
30
|
-
},
|
|
31
|
-
"devDependencies": {
|
|
32
|
-
"@reduxjs/toolkit": "^1.8.5",
|
|
33
|
-
"@testing-library/jest-dom": "^4.2.4",
|
|
34
|
-
"@testing-library/react": "^9.5.0",
|
|
35
|
-
"@testing-library/user-event": "^7.2.1",
|
|
36
|
-
"@types/dom-mediacapture-record": "^1.0.11",
|
|
37
|
-
"@types/file-saver": "^2.0.5",
|
|
38
|
-
"@types/jest": "^25.1.4",
|
|
39
|
-
"@types/node": "18.7.15",
|
|
40
|
-
"@types/react": "^18.0.18",
|
|
41
|
-
"@types/react-dom": "18.0.6",
|
|
42
|
-
"@types/react-easy-crop": "^2.0.0",
|
|
43
|
-
"@types/react-redux": "^7.1.24",
|
|
44
|
-
"@types/redux-saga": "^0.10.5",
|
|
45
|
-
"@types/styled-components": "^5.1.26",
|
|
46
|
-
"@types/uuid": "^9.0.0",
|
|
47
|
-
"@typescript-eslint/eslint-plugin": "^6.13.1",
|
|
48
|
-
"@typescript-eslint/parser": "^6.13.1",
|
|
49
|
-
"@types/linkify-it": "^3.0.2",
|
|
50
|
-
"@types/wavesurfer.js": "^6.0.6",
|
|
51
|
-
"babel-eslint": "^10.0.3",
|
|
52
|
-
"cross-env": "^7.0.2",
|
|
53
|
-
"eslint": "8.54.0",
|
|
54
|
-
"eslint-config-prettier": "9.0.0",
|
|
55
|
-
"eslint-config-standard": "^17.1.0",
|
|
56
|
-
"eslint-config-standard-react": "^13.0.0",
|
|
57
|
-
"eslint-plugin-import": "^2.29.0",
|
|
58
|
-
"eslint-plugin-n": "^16.3.1",
|
|
59
|
-
"eslint-plugin-prettier": "^5.0.1",
|
|
60
|
-
"eslint-plugin-promise": "^6.1.1",
|
|
61
|
-
"eslint-plugin-react": "^7.33.2",
|
|
62
|
-
"eslint-plugin-react-hooks": "^4.6.0",
|
|
63
|
-
"eslint-plugin-standard": "^5.0.0",
|
|
64
|
-
"microbundle-crl": "^0.13.11",
|
|
65
|
-
"moment": "^2.29.4",
|
|
66
|
-
"npm-run-all": "4.1.5",
|
|
67
|
-
"prettier": "3.1.0",
|
|
68
|
-
"react-scripts": "5.0.1",
|
|
69
|
-
"typescript": "^5.3.2",
|
|
70
|
-
"webpack-cli": "^5.1.1"
|
|
71
|
-
},
|
|
72
|
-
"files": [
|
|
73
|
-
"assets",
|
|
74
|
-
"types",
|
|
75
|
-
"messageUtils",
|
|
76
|
-
"components",
|
|
77
|
-
"index.d.ts",
|
|
78
|
-
"index.js",
|
|
79
|
-
"index.modern.js",
|
|
80
|
-
"README.md",
|
|
81
|
-
"LICENSE",
|
|
82
|
-
"package.json"
|
|
83
|
-
],
|
|
84
|
-
"dependencies": {
|
|
85
|
-
"@lexical/offset": "^0.12.2",
|
|
86
|
-
"@lexical/react": "^0.12.2",
|
|
87
|
-
"lexical": "^0.12.2",
|
|
88
|
-
"linkify-it": "^4.0.1",
|
|
89
|
-
"loglevel": "^1.9.2",
|
|
90
|
-
"react-easy-crop": "^4.6.2",
|
|
91
|
-
"mic-recorder-to-mp3": "https://github.com/NikolaBalaban/mic-recorder-to-mp3.git",
|
|
92
|
-
"react-elastic-carousel": "^0.11.5",
|
|
93
|
-
"file-saver": "^2.0.5",
|
|
94
|
-
"uuid": "^9.0.0",
|
|
95
|
-
"styled-components": "^5.3.5",
|
|
96
|
-
"react-redux": "^8.0.2",
|
|
97
|
-
"redux": "^4.2.0",
|
|
98
|
-
"redux-saga": "^1.1.3",
|
|
99
|
-
"wavesurfer.js": "^6.6.3",
|
|
100
|
-
"react-circular-progressbar": "^2.1.0"
|
|
101
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "sceyt-chat-react-uikit",
|
|
3
|
+
"version": "1.6.8-beta.1",
|
|
4
|
+
"description": "Interactive React UI Components for Sceyt Chat.",
|
|
5
|
+
"author": "Sceyt",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"main": "index.js",
|
|
8
|
+
"module": "index.modern.js",
|
|
9
|
+
"types": "index.d.ts",
|
|
10
|
+
"keywords": [
|
|
11
|
+
"sceyt",
|
|
12
|
+
"sceyt.com",
|
|
13
|
+
"messaging",
|
|
14
|
+
"chat-components",
|
|
15
|
+
"react"
|
|
16
|
+
],
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "https://github.com/sceyt/sceyt-chat-react-uikit"
|
|
20
|
+
},
|
|
21
|
+
"engines": {
|
|
22
|
+
"node": ">=10"
|
|
23
|
+
},
|
|
24
|
+
"scripts": {
|
|
25
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
26
|
+
},
|
|
27
|
+
"peerDependencies": {
|
|
28
|
+
"react": "18.2.0",
|
|
29
|
+
"react-dom": "18.2.0"
|
|
30
|
+
},
|
|
31
|
+
"devDependencies": {
|
|
32
|
+
"@reduxjs/toolkit": "^1.8.5",
|
|
33
|
+
"@testing-library/jest-dom": "^4.2.4",
|
|
34
|
+
"@testing-library/react": "^9.5.0",
|
|
35
|
+
"@testing-library/user-event": "^7.2.1",
|
|
36
|
+
"@types/dom-mediacapture-record": "^1.0.11",
|
|
37
|
+
"@types/file-saver": "^2.0.5",
|
|
38
|
+
"@types/jest": "^25.1.4",
|
|
39
|
+
"@types/node": "18.7.15",
|
|
40
|
+
"@types/react": "^18.0.18",
|
|
41
|
+
"@types/react-dom": "18.0.6",
|
|
42
|
+
"@types/react-easy-crop": "^2.0.0",
|
|
43
|
+
"@types/react-redux": "^7.1.24",
|
|
44
|
+
"@types/redux-saga": "^0.10.5",
|
|
45
|
+
"@types/styled-components": "^5.1.26",
|
|
46
|
+
"@types/uuid": "^9.0.0",
|
|
47
|
+
"@typescript-eslint/eslint-plugin": "^6.13.1",
|
|
48
|
+
"@typescript-eslint/parser": "^6.13.1",
|
|
49
|
+
"@types/linkify-it": "^3.0.2",
|
|
50
|
+
"@types/wavesurfer.js": "^6.0.6",
|
|
51
|
+
"babel-eslint": "^10.0.3",
|
|
52
|
+
"cross-env": "^7.0.2",
|
|
53
|
+
"eslint": "8.54.0",
|
|
54
|
+
"eslint-config-prettier": "9.0.0",
|
|
55
|
+
"eslint-config-standard": "^17.1.0",
|
|
56
|
+
"eslint-config-standard-react": "^13.0.0",
|
|
57
|
+
"eslint-plugin-import": "^2.29.0",
|
|
58
|
+
"eslint-plugin-n": "^16.3.1",
|
|
59
|
+
"eslint-plugin-prettier": "^5.0.1",
|
|
60
|
+
"eslint-plugin-promise": "^6.1.1",
|
|
61
|
+
"eslint-plugin-react": "^7.33.2",
|
|
62
|
+
"eslint-plugin-react-hooks": "^4.6.0",
|
|
63
|
+
"eslint-plugin-standard": "^5.0.0",
|
|
64
|
+
"microbundle-crl": "^0.13.11",
|
|
65
|
+
"moment": "^2.29.4",
|
|
66
|
+
"npm-run-all": "4.1.5",
|
|
67
|
+
"prettier": "3.1.0",
|
|
68
|
+
"react-scripts": "5.0.1",
|
|
69
|
+
"typescript": "^5.3.2",
|
|
70
|
+
"webpack-cli": "^5.1.1"
|
|
71
|
+
},
|
|
72
|
+
"files": [
|
|
73
|
+
"assets",
|
|
74
|
+
"types",
|
|
75
|
+
"messageUtils",
|
|
76
|
+
"components",
|
|
77
|
+
"index.d.ts",
|
|
78
|
+
"index.js",
|
|
79
|
+
"index.modern.js",
|
|
80
|
+
"README.md",
|
|
81
|
+
"LICENSE",
|
|
82
|
+
"package.json"
|
|
83
|
+
],
|
|
84
|
+
"dependencies": {
|
|
85
|
+
"@lexical/offset": "^0.12.2",
|
|
86
|
+
"@lexical/react": "^0.12.2",
|
|
87
|
+
"lexical": "^0.12.2",
|
|
88
|
+
"linkify-it": "^4.0.1",
|
|
89
|
+
"loglevel": "^1.9.2",
|
|
90
|
+
"react-easy-crop": "^4.6.2",
|
|
91
|
+
"mic-recorder-to-mp3": "https://github.com/NikolaBalaban/mic-recorder-to-mp3.git",
|
|
92
|
+
"react-elastic-carousel": "^0.11.5",
|
|
93
|
+
"file-saver": "^2.0.5",
|
|
94
|
+
"uuid": "^9.0.0",
|
|
95
|
+
"styled-components": "^5.3.5",
|
|
96
|
+
"react-redux": "^8.0.2",
|
|
97
|
+
"redux": "^4.2.0",
|
|
98
|
+
"redux-saga": "^1.1.3",
|
|
99
|
+
"wavesurfer.js": "^6.6.3",
|
|
100
|
+
"react-circular-progressbar": "^2.1.0"
|
|
101
|
+
}
|
|
102
102
|
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<rect width="40" height="40" rx="8" fill="white"/>
|
|
3
|
-
<circle cx="20" cy="20" r="14" fill="#0DBD8B"/>
|
|
4
|
-
<path d="M25.0239 19.1307C25.6587 19.5145 25.6587 20.4839 25.0239 20.8676L18.4122 24.8653C17.7828 25.2459 17 24.7645 17 23.9969V16.0015C17 15.2338 17.7828 14.7525 18.4122 15.133L25.0239 19.1307Z" fill="white"/>
|
|
5
|
-
</svg>
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<rect width="40" height="40" rx="8" fill="white"/>
|
|
3
|
-
<circle cx="20" cy="20" r="14" fill="#0DBD8B"/>
|
|
4
|
-
<path d="M17.9744 15C18.3311 15 18.4604 15.0371 18.5907 15.1069C18.7211 15.1766 18.8234 15.2789 18.8931 15.4093C18.9629 15.5396 19 15.6689 19 16.0256V23.9744C19 24.3311 18.9629 24.4604 18.8931 24.5907C18.8234 24.7211 18.7211 24.8234 18.5907 24.8931C18.4604 24.9629 18.3311 25 17.9744 25H17.0256C16.6689 25 16.5396 24.9629 16.4093 24.8931C16.2789 24.8234 16.1766 24.7211 16.1069 24.5907C16.0371 24.4604 16 24.3311 16 23.9744V16.0256C16 15.6689 16.0371 15.5396 16.1069 15.4093C16.1766 15.2789 16.2789 15.1766 16.4093 15.1069C16.5396 15.0371 16.6689 15 17.0256 15H17.9744ZM22.9744 15C23.3311 15 23.4604 15.0371 23.5907 15.1069C23.7211 15.1766 23.8234 15.2789 23.8931 15.4093C23.9629 15.5396 24 15.6689 24 16.0256V23.9744C24 24.3311 23.9629 24.4604 23.8931 24.5907C23.8234 24.7211 23.7211 24.8234 23.5907 24.8931C23.4604 24.9629 23.3311 25 22.9744 25H22.0256C21.6689 25 21.5396 24.9629 21.4093 24.8931C21.2789 24.8234 21.1766 24.7211 21.1069 24.5907C21.0371 24.4604 21 24.3311 21 23.9744V16.0256C21 15.6689 21.0371 15.5396 21.1069 15.4093C21.1766 15.2789 21.2789 15.1766 21.4093 15.1069C21.5396 15.0371 21.6689 15 22.0256 15H22.9744Z" fill="white"/>
|
|
5
|
-
</svg>
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export default function TextFormat({ handleFormatToBold, handleFormatToItalic, handleFormatToStrikethrough, handleFormatToMonospace, handleClosePopup, isBoldText, isItalicText, isStrikethroughText, isMonospaceText, top, bottom, right, left, theme, editorProps }: {
|
|
3
|
-
top?: string;
|
|
4
|
-
bottom?: string;
|
|
5
|
-
right?: string;
|
|
6
|
-
left?: string;
|
|
7
|
-
isBoldText?: boolean;
|
|
8
|
-
isItalicText?: boolean;
|
|
9
|
-
isStrikethroughText?: boolean;
|
|
10
|
-
isMonospaceText?: boolean;
|
|
11
|
-
isUnderlineText?: boolean;
|
|
12
|
-
handleFormatToBold?: (props?: any) => void;
|
|
13
|
-
handleFormatToItalic?: (props?: any) => void;
|
|
14
|
-
handleFormatToStrikethrough?: (props?: any) => void;
|
|
15
|
-
handleFormatToMonospace?: (props?: any) => void;
|
|
16
|
-
handleClosePopup?: () => void;
|
|
17
|
-
theme?: string;
|
|
18
|
-
editorProps: any;
|
|
19
|
-
}): React.JSX.Element;
|