sceyt-chat-react-uikit 1.6.8-beta.1 → 1.6.8-beta.11

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 (129) hide show
  1. package/LICENSE +18 -18
  2. package/README.md +101 -101
  3. package/assets/svg/addAttachment.svg +3 -3
  4. package/assets/svg/addChat.svg +5 -5
  5. package/assets/svg/addMember.svg +5 -5
  6. package/assets/svg/arrowDown.svg +3 -0
  7. package/assets/svg/arrowLeft.svg +3 -3
  8. package/assets/svg/avatar.svg +5 -5
  9. package/assets/svg/blockChannel.svg +3 -3
  10. package/assets/svg/bold.svg +5 -5
  11. package/assets/svg/bottom.svg +3 -3
  12. package/assets/svg/cameraIcon.svg +3 -3
  13. package/assets/svg/cancel.svg +3 -3
  14. package/assets/svg/chat.svg +3 -3
  15. package/assets/svg/chatLogo.svg +13 -13
  16. package/assets/svg/check.svg +3 -3
  17. package/assets/svg/checkCircle.svg +5 -5
  18. package/assets/svg/chevronBottom.svg +3 -3
  19. package/assets/svg/chevron_down.svg +3 -3
  20. package/assets/svg/choseFile.svg +3 -3
  21. package/assets/svg/choseMedia.svg +3 -3
  22. package/assets/svg/clear.svg +3 -3
  23. package/assets/svg/clearHistory.svg +6 -6
  24. package/assets/svg/close.svg +4 -4
  25. package/assets/svg/contact.svg +3 -3
  26. package/assets/svg/copy.svg +3 -3
  27. package/assets/svg/copyIcon.svg +3 -3
  28. package/assets/svg/createChannel.svg +3 -3
  29. package/assets/svg/createChat.svg +3 -3
  30. package/assets/svg/createGroup.svg +3 -3
  31. package/assets/svg/cross.svg +3 -3
  32. package/assets/svg/deleteChannel.svg +3 -3
  33. package/assets/svg/deleteFailed.svg +4 -4
  34. package/assets/svg/deleteIcon.svg +3 -3
  35. package/assets/svg/deleteUpload.svg +5 -5
  36. package/assets/svg/deletedUserAvatar.svg +5 -5
  37. package/assets/svg/download.svg +4 -4
  38. package/assets/svg/downloadFile.svg +3 -3
  39. package/assets/svg/downloadIcon.svg +5 -5
  40. package/assets/svg/editIcon.svg +3 -3
  41. package/assets/svg/emojiAnimalIcon.svg +3 -3
  42. package/assets/svg/emojiFlagicon.svg +3 -3
  43. package/assets/svg/emojiFoodIcon.svg +5 -5
  44. package/assets/svg/emojiObjectIcon.svg +10 -10
  45. package/assets/svg/emojiSmileIcon.svg +4 -4
  46. package/assets/svg/emojiSymbolsIcon.svg +3 -3
  47. package/assets/svg/emojiTravelIcon.svg +3 -3
  48. package/assets/svg/errorIcon.svg +5 -5
  49. package/assets/svg/error_circle.svg +3 -3
  50. package/assets/svg/eye.svg +3 -3
  51. package/assets/svg/fileIcon.svg +4 -4
  52. package/assets/svg/file_icon.svg +3 -3
  53. package/assets/svg/forward.svg +4 -4
  54. package/assets/svg/fullscreen.svg +4 -4
  55. package/assets/svg/fullscreenExit.svg +4 -4
  56. package/assets/svg/info.svg +5 -5
  57. package/assets/svg/italic.svg +5 -5
  58. package/assets/svg/leave.svg +3 -3
  59. package/assets/svg/linkIcon.svg +3 -3
  60. package/assets/svg/lock.svg +3 -3
  61. package/assets/svg/markAsRead.svg +3 -3
  62. package/assets/svg/markAsUnread.svg +6 -6
  63. package/assets/svg/mention.svg +4 -4
  64. package/assets/svg/message.svg +5 -5
  65. package/assets/svg/mono.svg +5 -5
  66. package/assets/svg/more_vert.svg +3 -3
  67. package/assets/svg/noAvatar.svg +16 -16
  68. package/assets/svg/noMessagesIcon.svg +9 -9
  69. package/assets/svg/notifications.svg +3 -3
  70. package/assets/svg/notificationsOff (5).svg +10 -10
  71. package/assets/svg/notificationsOff.svg +10 -10
  72. package/assets/svg/notificationsOff3.svg +10 -10
  73. package/assets/svg/pause.svg +4 -4
  74. package/assets/svg/pauseRecord.svg +5 -5
  75. package/assets/svg/pending_icon.svg +3 -3
  76. package/assets/svg/picture.svg +3 -3
  77. package/assets/svg/pin.svg +3 -3
  78. package/assets/svg/play.svg +4 -4
  79. package/assets/svg/playRecord.svg +3 -3
  80. package/assets/svg/playVideo.svg +4 -4
  81. package/assets/svg/plus.svg +2 -2
  82. package/assets/svg/profile.svg +3 -3
  83. package/assets/svg/react2.svg +8 -8
  84. package/assets/svg/recordButton.svg +8 -8
  85. package/assets/svg/refresh.svg +3 -3
  86. package/assets/svg/replyIcon.svg +3 -3
  87. package/assets/svg/replyInThreadIcon.svg +3 -3
  88. package/assets/svg/report.svg +5 -5
  89. package/assets/svg/report_icon.svg +3 -3
  90. package/assets/svg/resend.svg +3 -3
  91. package/assets/svg/search.svg +3 -3
  92. package/assets/svg/selectionIcon.svg +5 -5
  93. package/assets/svg/send.svg +4 -4
  94. package/assets/svg/sliderButtonLeft.svg +3 -3
  95. package/assets/svg/sliderButtonRight.svg +3 -3
  96. package/assets/svg/star.svg +3 -3
  97. package/assets/svg/stopRecord.svg +3 -3
  98. package/assets/svg/strikethrough.svg +8 -8
  99. package/assets/svg/tick.svg +3 -3
  100. package/assets/svg/ticksLogin.svg +3 -3
  101. package/assets/svg/ticks_delivered.svg +4 -4
  102. package/assets/svg/ticks_read.svg +4 -4
  103. package/assets/svg/ticks_sent.svg +3 -3
  104. package/assets/svg/underline.svg +8 -8
  105. package/assets/svg/unmuteNotifications.svg +4 -4
  106. package/assets/svg/unpin.svg +3 -3
  107. package/assets/svg/unreadMention.svg +4 -4
  108. package/assets/svg/upload.svg +3 -3
  109. package/assets/svg/video-call.svg +4 -4
  110. package/assets/svg/videoPlayerPause.svg +3 -3
  111. package/assets/svg/videoPlayerPlay.svg +3 -3
  112. package/assets/svg/voiceIcon.svg +7 -7
  113. package/assets/svg/voicePreview.svg +4 -4
  114. package/assets/svg/voicePreviewPause.svg +4 -4
  115. package/assets/svg/volume.svg +3 -3
  116. package/assets/svg/volumeMute.svg +3 -3
  117. package/components/Attachment/index.d.ts +2 -1
  118. package/components/Avatar/index.d.ts +1 -0
  119. package/components/Channel/index.d.ts +2 -0
  120. package/components/ChannelDetails/DetailsTab/Voices/voiceItem.d.ts +2 -1
  121. package/components/ChannelList/ContactItem/index.d.ts +1 -0
  122. package/components/ChatContainer/index.d.ts +2 -2
  123. package/components/Messages/MessageList/index.d.ts +3 -1
  124. package/components/MessagesScrollToUnreadMentionsButton/index.d.ts +20 -0
  125. package/components/index.d.ts +2 -1
  126. package/index.js +1618 -1168
  127. package/index.modern.js +1619 -1170
  128. package/package.json +101 -101
  129. 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.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
- }
1
+ {
2
+ "name": "sceyt-chat-react-uikit",
3
+ "version": "1.6.8-beta.11",
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>;