sceyt-chat-react-uikit 1.6.8-beta.1 → 1.6.8-beta.10
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/arrowDown.svg +3 -0
- 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 -4
- package/assets/svg/voicePreviewPause.svg +4 -4
- package/assets/svg/volume.svg +3 -3
- package/assets/svg/volumeMute.svg +3 -3
- package/components/Attachment/index.d.ts +2 -1
- package/components/Avatar/index.d.ts +1 -0
- package/components/Channel/index.d.ts +2 -0
- package/components/ChannelDetails/DetailsTab/Voices/voiceItem.d.ts +2 -1
- package/components/ChannelList/ContactItem/index.d.ts +1 -0
- package/components/ChatContainer/index.d.ts +2 -2
- package/components/Messages/MessageList/index.d.ts +3 -1
- package/components/MessagesScrollToUnreadMentionsButton/index.d.ts +20 -0
- package/components/index.d.ts +2 -1
- package/index.js +1615 -1167
- package/index.modern.js +1616 -1169
- package/package.json +101 -101
- package/types/index.d.ts +1 -0
package/package.json
CHANGED
|
@@ -1,102 +1,102 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "sceyt-chat-react-uikit",
|
|
3
|
-
"version": "1.6.8-beta.
|
|
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.10",
|
|
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
|
}
|
package/types/index.d.ts
CHANGED
|
@@ -158,6 +158,7 @@ export interface IChannel {
|
|
|
158
158
|
members: IMember[];
|
|
159
159
|
newReactions: IReaction[];
|
|
160
160
|
lastReactedMessage?: IMessage;
|
|
161
|
+
mentionsIds?: string[];
|
|
161
162
|
delete: () => Promise<void>;
|
|
162
163
|
deleteAllMessages: (forEveryone?: boolean) => Promise<void>;
|
|
163
164
|
hide: () => Promise<boolean>;
|