stream-chat-react-native-core 5.31.2-beta.3 → 5.32.0-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.
Files changed (220) hide show
  1. package/lib/commonjs/components/Channel/Channel.js +21 -20
  2. package/lib/commonjs/components/Channel/Channel.js.map +1 -1
  3. package/lib/commonjs/components/Chat/hooks/handleEventToSyncDB.js.map +1 -1
  4. package/lib/commonjs/components/Message/Message.js +9 -19
  5. package/lib/commonjs/components/Message/Message.js.map +1 -1
  6. package/lib/commonjs/components/Message/MessageSimple/MessageFooter.js +1 -2
  7. package/lib/commonjs/components/Message/MessageSimple/MessageFooter.js.map +1 -1
  8. package/lib/commonjs/components/Message/MessageSimple/ReactionList.js +54 -37
  9. package/lib/commonjs/components/Message/MessageSimple/ReactionList.js.map +1 -1
  10. package/lib/commonjs/components/Message/hooks/useCreateMessageContext.js +6 -11
  11. package/lib/commonjs/components/Message/hooks/useCreateMessageContext.js.map +1 -1
  12. package/lib/commonjs/components/Message/hooks/useProcessReactions.js +90 -0
  13. package/lib/commonjs/components/Message/hooks/useProcessReactions.js.map +1 -0
  14. package/lib/commonjs/components/MessageOverlay/MessageOverlay.js +3 -12
  15. package/lib/commonjs/components/MessageOverlay/MessageOverlay.js.map +1 -1
  16. package/lib/commonjs/components/MessageOverlay/OverlayReactions.js +47 -143
  17. package/lib/commonjs/components/MessageOverlay/OverlayReactions.js.map +1 -1
  18. package/lib/commonjs/components/MessageOverlay/OverlayReactionsItem.js +166 -0
  19. package/lib/commonjs/components/MessageOverlay/OverlayReactionsItem.js.map +1 -0
  20. package/lib/commonjs/components/MessageOverlay/hooks/useFetchReactions.js +144 -0
  21. package/lib/commonjs/components/MessageOverlay/hooks/useFetchReactions.js.map +1 -0
  22. package/lib/commonjs/contexts/messageContext/MessageContext.js.map +1 -1
  23. package/lib/commonjs/contexts/themeContext/utils/theme.js +0 -1
  24. package/lib/commonjs/contexts/themeContext/utils/theme.js.map +1 -1
  25. package/lib/commonjs/i18n/es.json +13 -13
  26. package/lib/commonjs/i18n/fr.json +13 -13
  27. package/lib/commonjs/i18n/he.json +13 -13
  28. package/lib/commonjs/i18n/hi.json +13 -13
  29. package/lib/commonjs/i18n/it.json +13 -13
  30. package/lib/commonjs/i18n/ja.json +13 -13
  31. package/lib/commonjs/i18n/ko.json +13 -13
  32. package/lib/commonjs/i18n/nl.json +13 -13
  33. package/lib/commonjs/i18n/pt-BR.json +13 -13
  34. package/lib/commonjs/i18n/ru.json +13 -13
  35. package/lib/commonjs/i18n/tr.json +13 -13
  36. package/lib/commonjs/mock-builders/generator/message.js +2 -0
  37. package/lib/commonjs/mock-builders/generator/message.js.map +1 -1
  38. package/lib/commonjs/store/QuickSqliteClient.js +1 -1
  39. package/lib/commonjs/store/apis/getReactions.js +17 -0
  40. package/lib/commonjs/store/apis/getReactions.js.map +1 -0
  41. package/lib/commonjs/store/apis/getReactionsforFilterSort.js +30 -0
  42. package/lib/commonjs/store/apis/getReactionsforFilterSort.js.map +1 -0
  43. package/lib/commonjs/store/apis/insertReaction.js +8 -1
  44. package/lib/commonjs/store/apis/insertReaction.js.map +1 -1
  45. package/lib/commonjs/store/apis/queries/selectReactionsForMessages.js +1 -1
  46. package/lib/commonjs/store/apis/queries/selectReactionsForMessages.js.map +1 -1
  47. package/lib/commonjs/store/apis/updateReaction.js +6 -6
  48. package/lib/commonjs/store/apis/updateReaction.js.map +1 -1
  49. package/lib/commonjs/store/mappers/mapMessageToStorable.js +5 -3
  50. package/lib/commonjs/store/mappers/mapMessageToStorable.js.map +1 -1
  51. package/lib/commonjs/store/mappers/mapStorableToMessage.js +5 -3
  52. package/lib/commonjs/store/mappers/mapStorableToMessage.js.map +1 -1
  53. package/lib/commonjs/store/schema.js +2 -1
  54. package/lib/commonjs/store/schema.js.map +1 -1
  55. package/lib/commonjs/utils/addReactionToLocalState.js +25 -13
  56. package/lib/commonjs/utils/addReactionToLocalState.js.map +1 -1
  57. package/lib/commonjs/utils/removeReactionFromLocalState.js +11 -3
  58. package/lib/commonjs/utils/removeReactionFromLocalState.js.map +1 -1
  59. package/lib/commonjs/utils/removeReservedFields.js +1 -1
  60. package/lib/commonjs/utils/removeReservedFields.js.map +1 -1
  61. package/lib/commonjs/utils/utils.js +19 -5
  62. package/lib/commonjs/utils/utils.js.map +1 -1
  63. package/lib/commonjs/version.json +1 -1
  64. package/lib/module/components/Channel/Channel.js +21 -20
  65. package/lib/module/components/Channel/Channel.js.map +1 -1
  66. package/lib/module/components/Chat/hooks/handleEventToSyncDB.js.map +1 -1
  67. package/lib/module/components/Message/Message.js +9 -19
  68. package/lib/module/components/Message/Message.js.map +1 -1
  69. package/lib/module/components/Message/MessageSimple/MessageFooter.js +1 -2
  70. package/lib/module/components/Message/MessageSimple/MessageFooter.js.map +1 -1
  71. package/lib/module/components/Message/MessageSimple/ReactionList.js +54 -37
  72. package/lib/module/components/Message/MessageSimple/ReactionList.js.map +1 -1
  73. package/lib/module/components/Message/hooks/useCreateMessageContext.js +6 -11
  74. package/lib/module/components/Message/hooks/useCreateMessageContext.js.map +1 -1
  75. package/lib/module/components/Message/hooks/useProcessReactions.js +90 -0
  76. package/lib/module/components/Message/hooks/useProcessReactions.js.map +1 -0
  77. package/lib/module/components/MessageOverlay/MessageOverlay.js +3 -12
  78. package/lib/module/components/MessageOverlay/MessageOverlay.js.map +1 -1
  79. package/lib/module/components/MessageOverlay/OverlayReactions.js +47 -143
  80. package/lib/module/components/MessageOverlay/OverlayReactions.js.map +1 -1
  81. package/lib/module/components/MessageOverlay/OverlayReactionsItem.js +166 -0
  82. package/lib/module/components/MessageOverlay/OverlayReactionsItem.js.map +1 -0
  83. package/lib/module/components/MessageOverlay/hooks/useFetchReactions.js +144 -0
  84. package/lib/module/components/MessageOverlay/hooks/useFetchReactions.js.map +1 -0
  85. package/lib/module/contexts/messageContext/MessageContext.js.map +1 -1
  86. package/lib/module/contexts/themeContext/utils/theme.js +0 -1
  87. package/lib/module/contexts/themeContext/utils/theme.js.map +1 -1
  88. package/lib/module/i18n/es.json +13 -13
  89. package/lib/module/i18n/fr.json +13 -13
  90. package/lib/module/i18n/he.json +13 -13
  91. package/lib/module/i18n/hi.json +13 -13
  92. package/lib/module/i18n/it.json +13 -13
  93. package/lib/module/i18n/ja.json +13 -13
  94. package/lib/module/i18n/ko.json +13 -13
  95. package/lib/module/i18n/nl.json +13 -13
  96. package/lib/module/i18n/pt-BR.json +13 -13
  97. package/lib/module/i18n/ru.json +13 -13
  98. package/lib/module/i18n/tr.json +13 -13
  99. package/lib/module/mock-builders/generator/message.js +2 -0
  100. package/lib/module/mock-builders/generator/message.js.map +1 -1
  101. package/lib/module/store/QuickSqliteClient.js +1 -1
  102. package/lib/module/store/apis/getReactions.js +17 -0
  103. package/lib/module/store/apis/getReactions.js.map +1 -0
  104. package/lib/module/store/apis/getReactionsforFilterSort.js +30 -0
  105. package/lib/module/store/apis/getReactionsforFilterSort.js.map +1 -0
  106. package/lib/module/store/apis/insertReaction.js +8 -1
  107. package/lib/module/store/apis/insertReaction.js.map +1 -1
  108. package/lib/module/store/apis/queries/selectReactionsForMessages.js +1 -1
  109. package/lib/module/store/apis/queries/selectReactionsForMessages.js.map +1 -1
  110. package/lib/module/store/apis/updateReaction.js +6 -6
  111. package/lib/module/store/apis/updateReaction.js.map +1 -1
  112. package/lib/module/store/mappers/mapMessageToStorable.js +5 -3
  113. package/lib/module/store/mappers/mapMessageToStorable.js.map +1 -1
  114. package/lib/module/store/mappers/mapStorableToMessage.js +5 -3
  115. package/lib/module/store/mappers/mapStorableToMessage.js.map +1 -1
  116. package/lib/module/store/schema.js +2 -1
  117. package/lib/module/store/schema.js.map +1 -1
  118. package/lib/module/utils/addReactionToLocalState.js +25 -13
  119. package/lib/module/utils/addReactionToLocalState.js.map +1 -1
  120. package/lib/module/utils/removeReactionFromLocalState.js +11 -3
  121. package/lib/module/utils/removeReactionFromLocalState.js.map +1 -1
  122. package/lib/module/utils/removeReservedFields.js +1 -1
  123. package/lib/module/utils/removeReservedFields.js.map +1 -1
  124. package/lib/module/utils/utils.js +19 -5
  125. package/lib/module/utils/utils.js.map +1 -1
  126. package/lib/module/version.json +1 -1
  127. package/lib/typescript/components/Channel/Channel.d.ts.map +1 -1
  128. package/lib/typescript/components/Channel/hooks/useCreateInputMessageInputContext.d.ts +2 -2
  129. package/lib/typescript/components/Chat/hooks/handleEventToSyncDB.d.ts.map +1 -1
  130. package/lib/typescript/components/Message/Message.d.ts.map +1 -1
  131. package/lib/typescript/components/Message/MessageSimple/ReactionList.d.ts +11 -3
  132. package/lib/typescript/components/Message/MessageSimple/ReactionList.d.ts.map +1 -1
  133. package/lib/typescript/components/Message/hooks/useCreateMessageContext.d.ts.map +1 -1
  134. package/lib/typescript/components/Message/hooks/useMessageActionHandlers.d.ts +1 -1
  135. package/lib/typescript/components/Message/hooks/useMessageActions.d.ts +1 -1
  136. package/lib/typescript/components/Message/hooks/useProcessReactions.d.ts +38 -0
  137. package/lib/typescript/components/Message/hooks/useProcessReactions.d.ts.map +1 -0
  138. package/lib/typescript/components/MessageOverlay/MessageOverlay.d.ts.map +1 -1
  139. package/lib/typescript/components/MessageOverlay/OverlayReactions.d.ts +2 -1
  140. package/lib/typescript/components/MessageOverlay/OverlayReactions.d.ts.map +1 -1
  141. package/lib/typescript/components/MessageOverlay/OverlayReactionsItem.d.ts +11 -0
  142. package/lib/typescript/components/MessageOverlay/OverlayReactionsItem.d.ts.map +1 -0
  143. package/lib/typescript/components/MessageOverlay/hooks/useFetchReactions.d.ts +14 -0
  144. package/lib/typescript/components/MessageOverlay/hooks/useFetchReactions.d.ts.map +1 -0
  145. package/lib/typescript/contexts/messageContext/MessageContext.d.ts +3 -6
  146. package/lib/typescript/contexts/messageContext/MessageContext.d.ts.map +1 -1
  147. package/lib/typescript/contexts/messageInputContext/MessageInputContext.d.ts +1 -1
  148. package/lib/typescript/contexts/themeContext/utils/theme.d.ts +0 -1
  149. package/lib/typescript/contexts/themeContext/utils/theme.d.ts.map +1 -1
  150. package/lib/typescript/i18n/es.json +13 -13
  151. package/lib/typescript/i18n/fr.json +13 -13
  152. package/lib/typescript/i18n/he.json +13 -13
  153. package/lib/typescript/i18n/hi.json +13 -13
  154. package/lib/typescript/i18n/it.json +13 -13
  155. package/lib/typescript/i18n/ja.json +13 -13
  156. package/lib/typescript/i18n/ko.json +13 -13
  157. package/lib/typescript/i18n/nl.json +13 -13
  158. package/lib/typescript/i18n/pt-BR.json +13 -13
  159. package/lib/typescript/i18n/ru.json +13 -13
  160. package/lib/typescript/i18n/tr.json +13 -13
  161. package/lib/typescript/store/apis/getReactions.d.ts +7 -0
  162. package/lib/typescript/store/apis/getReactions.d.ts.map +1 -0
  163. package/lib/typescript/store/apis/getReactionsforFilterSort.d.ts +14 -0
  164. package/lib/typescript/store/apis/getReactionsforFilterSort.d.ts.map +1 -0
  165. package/lib/typescript/store/apis/insertReaction.d.ts +3 -2
  166. package/lib/typescript/store/apis/insertReaction.d.ts.map +1 -1
  167. package/lib/typescript/store/apis/queries/selectReactionsForMessages.d.ts +4 -0
  168. package/lib/typescript/store/apis/queries/selectReactionsForMessages.d.ts.map +1 -1
  169. package/lib/typescript/store/apis/updateReaction.d.ts.map +1 -1
  170. package/lib/typescript/store/mappers/mapMessageToStorable.d.ts.map +1 -1
  171. package/lib/typescript/store/mappers/mapStorableToMessage.d.ts.map +1 -1
  172. package/lib/typescript/store/schema.d.ts +2 -1
  173. package/lib/typescript/store/schema.d.ts.map +1 -1
  174. package/lib/typescript/utils/addReactionToLocalState.d.ts.map +1 -1
  175. package/lib/typescript/utils/removeReactionFromLocalState.d.ts.map +1 -1
  176. package/lib/typescript/utils/removeReservedFields.d.ts.map +1 -1
  177. package/lib/typescript/utils/utils.d.ts +9 -3
  178. package/lib/typescript/utils/utils.d.ts.map +1 -1
  179. package/package.json +1 -1
  180. package/src/components/Channel/Channel.tsx +24 -34
  181. package/src/components/Chat/hooks/handleEventToSyncDB.ts +1 -2
  182. package/src/components/Message/Message.tsx +8 -26
  183. package/src/components/Message/MessageSimple/MessageFooter.tsx +1 -1
  184. package/src/components/Message/MessageSimple/ReactionList.tsx +72 -47
  185. package/src/components/Message/MessageSimple/__tests__/MessageContent.test.js +1 -1
  186. package/src/components/Message/hooks/useCreateMessageContext.ts +5 -10
  187. package/src/components/Message/hooks/useProcessReactions.ts +116 -0
  188. package/src/components/MessageOverlay/MessageOverlay.tsx +4 -17
  189. package/src/components/MessageOverlay/OverlayReactions.tsx +75 -176
  190. package/src/components/MessageOverlay/OverlayReactionsItem.tsx +188 -0
  191. package/src/components/MessageOverlay/hooks/useFetchReactions.ts +85 -0
  192. package/src/components/Thread/__tests__/__snapshots__/Thread.test.js.snap +139 -0
  193. package/src/contexts/messageContext/MessageContext.tsx +2 -6
  194. package/src/contexts/themeContext/utils/theme.ts +0 -2
  195. package/src/i18n/es.json +13 -13
  196. package/src/i18n/fr.json +13 -13
  197. package/src/i18n/he.json +13 -13
  198. package/src/i18n/hi.json +13 -13
  199. package/src/i18n/it.json +13 -13
  200. package/src/i18n/ja.json +13 -13
  201. package/src/i18n/ko.json +13 -13
  202. package/src/i18n/nl.json +13 -13
  203. package/src/i18n/pt-BR.json +13 -13
  204. package/src/i18n/ru.json +13 -13
  205. package/src/i18n/tr.json +13 -13
  206. package/src/mock-builders/generator/message.js +2 -0
  207. package/src/store/QuickSqliteClient.ts +1 -1
  208. package/src/store/apis/getReactions.ts +21 -0
  209. package/src/store/apis/getReactionsforFilterSort.ts +43 -0
  210. package/src/store/apis/insertReaction.ts +15 -5
  211. package/src/store/apis/queries/selectReactionsForMessages.ts +5 -1
  212. package/src/store/apis/updateReaction.ts +6 -18
  213. package/src/store/mappers/mapMessageToStorable.ts +4 -2
  214. package/src/store/mappers/mapStorableToMessage.ts +12 -2
  215. package/src/store/schema.ts +4 -2
  216. package/src/utils/addReactionToLocalState.ts +33 -17
  217. package/src/utils/removeReactionFromLocalState.ts +22 -2
  218. package/src/utils/removeReservedFields.ts +2 -0
  219. package/src/utils/utils.ts +19 -7
  220. package/src/version.json +1 -1
@@ -58,6 +58,7 @@ exports[`Thread should match thread snapshot 1`] = `
58
58
  ],
59
59
  "html": "<p>regular</p>",
60
60
  "id": "38ef6f7c-3090-5759-a37f-ab0053aadb96",
61
+ "message_text_updated_at": "2020-05-05T14:50:00.000Z",
61
62
  "parent_id": "b4612a73-fa2b-5787-bf71-1adc8f291a04",
62
63
  "pinned_at": null,
63
64
  "readBy": false,
@@ -86,6 +87,7 @@ exports[`Thread should match thread snapshot 1`] = `
86
87
  ],
87
88
  "html": "<p>regular</p>",
88
89
  "id": "516efa25-5d29-5c9a-ad2d-4cc183e785bd",
90
+ "message_text_updated_at": "2020-05-05T14:50:00.000Z",
89
91
  "parent_id": "b4612a73-fa2b-5787-bf71-1adc8f291a04",
90
92
  "pinned_at": null,
91
93
  "readBy": false,
@@ -114,6 +116,7 @@ exports[`Thread should match thread snapshot 1`] = `
114
116
  ],
115
117
  "html": "<p>regular</p>",
116
118
  "id": "82a83b16-b611-527c-b3ac-765ef6220490",
119
+ "message_text_updated_at": "2020-05-05T14:50:00.000Z",
117
120
  "parent_id": "b4612a73-fa2b-5787-bf71-1adc8f291a04",
118
121
  "pinned_at": null,
119
122
  "readBy": false,
@@ -490,6 +493,40 @@ exports[`Thread should match thread snapshot 1`] = `
490
493
  >
491
494
  2:50 PM
492
495
  </Text>
496
+ <Text
497
+ style={
498
+ [
499
+ {
500
+ "paddingHorizontal": 4,
501
+ },
502
+ {
503
+ "color": "#7A7A7A",
504
+ "textAlign": "left",
505
+ },
506
+ {
507
+ "fontSize": 12,
508
+ },
509
+ ]
510
+ }
511
+ >
512
+
513
+ </Text>
514
+ <Text
515
+ style={
516
+ [
517
+ {
518
+ "fontSize": 12,
519
+ },
520
+ {
521
+ "color": "#7A7A7A",
522
+ "textAlign": "left",
523
+ },
524
+ {},
525
+ ]
526
+ }
527
+ >
528
+ Edited
529
+ </Text>
493
530
  </View>
494
531
  </View>
495
532
  </View>
@@ -770,6 +807,40 @@ exports[`Thread should match thread snapshot 1`] = `
770
807
  >
771
808
  2:50 PM
772
809
  </Text>
810
+ <Text
811
+ style={
812
+ [
813
+ {
814
+ "paddingHorizontal": 4,
815
+ },
816
+ {
817
+ "color": "#7A7A7A",
818
+ "textAlign": "left",
819
+ },
820
+ {
821
+ "fontSize": 12,
822
+ },
823
+ ]
824
+ }
825
+ >
826
+
827
+ </Text>
828
+ <Text
829
+ style={
830
+ [
831
+ {
832
+ "fontSize": 12,
833
+ },
834
+ {
835
+ "color": "#7A7A7A",
836
+ "textAlign": "left",
837
+ },
838
+ {},
839
+ ]
840
+ }
841
+ >
842
+ Edited
843
+ </Text>
773
844
  </View>
774
845
  </View>
775
846
  </View>
@@ -1050,6 +1121,40 @@ exports[`Thread should match thread snapshot 1`] = `
1050
1121
  >
1051
1122
  2:50 PM
1052
1123
  </Text>
1124
+ <Text
1125
+ style={
1126
+ [
1127
+ {
1128
+ "paddingHorizontal": 4,
1129
+ },
1130
+ {
1131
+ "color": "#7A7A7A",
1132
+ "textAlign": "left",
1133
+ },
1134
+ {
1135
+ "fontSize": 12,
1136
+ },
1137
+ ]
1138
+ }
1139
+ >
1140
+
1141
+ </Text>
1142
+ <Text
1143
+ style={
1144
+ [
1145
+ {
1146
+ "fontSize": 12,
1147
+ },
1148
+ {
1149
+ "color": "#7A7A7A",
1150
+ "textAlign": "left",
1151
+ },
1152
+ {},
1153
+ ]
1154
+ }
1155
+ >
1156
+ Edited
1157
+ </Text>
1053
1158
  </View>
1054
1159
  </View>
1055
1160
  </View>
@@ -1370,6 +1475,40 @@ exports[`Thread should match thread snapshot 1`] = `
1370
1475
  >
1371
1476
  2:50 PM
1372
1477
  </Text>
1478
+ <Text
1479
+ style={
1480
+ [
1481
+ {
1482
+ "paddingHorizontal": 4,
1483
+ },
1484
+ {
1485
+ "color": "#7A7A7A",
1486
+ "textAlign": "left",
1487
+ },
1488
+ {
1489
+ "fontSize": 12,
1490
+ },
1491
+ ]
1492
+ }
1493
+ >
1494
+
1495
+ </Text>
1496
+ <Text
1497
+ style={
1498
+ [
1499
+ {
1500
+ "fontSize": 12,
1501
+ },
1502
+ {
1503
+ "color": "#7A7A7A",
1504
+ "textAlign": "left",
1505
+ },
1506
+ {},
1507
+ ]
1508
+ }
1509
+ >
1510
+ Edited
1511
+ </Text>
1373
1512
  </View>
1374
1513
  </View>
1375
1514
  </View>
@@ -3,6 +3,7 @@ import React, { PropsWithChildren, useContext } from 'react';
3
3
  import type { Attachment } from 'stream-chat';
4
4
 
5
5
  import type { ActionHandler } from '../../components/Attachment/Attachment';
6
+ import { ReactionSummary } from '../../components/Message/hooks/useProcessReactions';
6
7
  import type {
7
8
  MessageTouchableHandlerPayload,
8
9
  TouchableHandlerPayload,
@@ -19,11 +20,6 @@ import { getDisplayName } from '../utils/getDisplayName';
19
20
 
20
21
  export type Alignment = 'right' | 'left';
21
22
 
22
- export type Reactions = {
23
- own: boolean;
24
- type: string;
25
- }[];
26
-
27
23
  export type MessageContextValue<
28
24
  StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,
29
25
  > = {
@@ -92,7 +88,7 @@ export type MessageContextValue<
92
88
  onPressIn: ((payload: TouchableHandlerPayload) => void) | null;
93
89
  /** The images attached to a message */
94
90
  otherAttachments: Attachment<StreamChatGenerics>[];
95
- reactions: Reactions;
91
+ reactions: ReactionSummary[];
96
92
  /** React set state function to set the state of `isEditedMessageOpen` */
97
93
  setIsEditedMessageOpen: React.Dispatch<React.SetStateAction<boolean>>;
98
94
  showMessageOverlay: (messageReactions?: boolean, error?: boolean) => void;
@@ -533,7 +533,6 @@ export type Theme = {
533
533
  middleIcon: ViewStyle;
534
534
  radius: number;
535
535
  reactionBubble: ViewStyle;
536
- reactionBubbleBackground: ViewStyle;
537
536
  reactionSize: number;
538
537
  strokeSize: number;
539
538
  };
@@ -1120,7 +1119,6 @@ export const defaultTheme: Theme = {
1120
1119
  middleIcon: {},
1121
1120
  radius: 2, // not recommended to change this
1122
1121
  reactionBubble: {},
1123
- reactionBubbleBackground: {},
1124
1122
  reactionSize: 24,
1125
1123
  strokeSize: 1, // not recommended to change this
1126
1124
  },
package/src/i18n/es.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
- "1 Reply": "1 respuesta",
2
+ "1 Reply": "",
3
3
  "1 Thread Reply": "1 respuesta de hilo",
4
4
  "Allow access to your Gallery": "",
5
5
  "Allow camera access in device settings": "",
6
- "Also send to channel": "También enviar al canal",
6
+ "Also send to channel": "",
7
7
  "Are you sure you want to permanently delete this message?": "",
8
8
  "Are you sure?": "",
9
9
  "Block User": "",
@@ -19,13 +19,13 @@
19
19
  "Edited": "",
20
20
  "Editing Message": "Editando mensaje",
21
21
  "Emoji matching": "",
22
- "Empty message...": "Mensaje vacío...",
22
+ "Empty message...": "",
23
23
  "Error loading": "",
24
24
  "Error loading channel list...": "",
25
25
  "Error loading messages for this channel...": "",
26
- "Error while loading, please reload/refresh": "Error al cargar, por favor recarga/actualiza",
26
+ "Error while loading, please reload/refresh": "",
27
27
  "File is too large: {{ size }}, maximum upload size is {{ limit }}": "",
28
- "File type not supported": "Tipo de archivo no admitido",
28
+ "File type not supported": "",
29
29
  "Flag": "",
30
30
  "Flag Message": "",
31
31
  "Flag action failed either due to a network issue or the message is already flagged": "",
@@ -42,12 +42,12 @@
42
42
  "Message flagged": "",
43
43
  "Mute User": "",
44
44
  "No chats here yet…": "",
45
- "Not supported": "No admitido",
46
- "Nothing yet...": "Aún no hay nada...",
45
+ "Not supported": "",
46
+ "Nothing yet...": "",
47
47
  "Ok": "",
48
48
  "Only visible to you": "Solo visible para ti",
49
49
  "Open Settings": "",
50
- "Photo": "",
50
+ "Photo": "Foto",
51
51
  "Photos and Videos": "",
52
52
  "Pin to Conversation": "",
53
53
  "Pinned by": "Fijado por",
@@ -56,7 +56,7 @@
56
56
  "Please select a channel first": "",
57
57
  "Reconnecting...": "Reconectando...",
58
58
  "Reply": "",
59
- "Reply to Message": "Responder al mensaje",
59
+ "Reply to Message": "",
60
60
  "Resend": "",
61
61
  "Search GIFs": "Buscar GIFs",
62
62
  "Select More Photos": "",
@@ -71,13 +71,13 @@
71
71
  "Unmute User": "",
72
72
  "Unpin from Conversation": "",
73
73
  "Unread Messages": "",
74
- "Video": "",
74
+ "Video": "Video",
75
75
  "You": "Tú",
76
- "You can't send messages in this channel": "No puedes enviar mensajes en este canal",
76
+ "You can't send messages in this channel": "",
77
77
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} y {{ nonSelfUserLength }} más están escribiendo",
78
78
  "{{ index }} of {{ photoLength }}": "",
79
- "{{ replyCount }} Replies": "{{ replyCount }} Respuestas",
79
+ "{{ replyCount }} Replies": "",
80
80
  "{{ replyCount }} Thread Replies": "{{ replyCount }} respuestas de hilo",
81
81
  "{{ user }} is typing": "{{ user }} está escribiendo",
82
- "🏙 Attachment...": "🏙 Adjunto..."
82
+ "🏙 Attachment...": ""
83
83
  }
package/src/i18n/fr.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
- "1 Reply": "1 Réponse",
2
+ "1 Reply": "",
3
3
  "1 Thread Reply": "Réponse à 1 fil",
4
4
  "Allow access to your Gallery": "",
5
5
  "Allow camera access in device settings": "",
6
- "Also send to channel": "Envoyer également à la chaîne",
6
+ "Also send to channel": "",
7
7
  "Are you sure you want to permanently delete this message?": "",
8
8
  "Are you sure?": "",
9
9
  "Block User": "",
@@ -19,13 +19,13 @@
19
19
  "Edited": "",
20
20
  "Editing Message": "Édite un message",
21
21
  "Emoji matching": "",
22
- "Empty message...": "Message vide...",
22
+ "Empty message...": "",
23
23
  "Error loading": "",
24
24
  "Error loading channel list...": "",
25
25
  "Error loading messages for this channel...": "",
26
- "Error while loading, please reload/refresh": "Erreur lors du chargement, veuillez recharger/rafraîchir",
26
+ "Error while loading, please reload/refresh": "",
27
27
  "File is too large: {{ size }}, maximum upload size is {{ limit }}": "",
28
- "File type not supported": "Le type de fichier n'est pas pris en charge",
28
+ "File type not supported": "",
29
29
  "Flag": "",
30
30
  "Flag Message": "",
31
31
  "Flag action failed either due to a network issue or the message is already flagged": "",
@@ -42,12 +42,12 @@
42
42
  "Message flagged": "",
43
43
  "Mute User": "",
44
44
  "No chats here yet…": "",
45
- "Not supported": "Non pris en charge",
46
- "Nothing yet...": "Aucun message...",
45
+ "Not supported": "",
46
+ "Nothing yet...": "",
47
47
  "Ok": "",
48
48
  "Only visible to you": "Seulement visible par vous",
49
49
  "Open Settings": "",
50
- "Photo": "",
50
+ "Photo": "Photo",
51
51
  "Photos and Videos": "",
52
52
  "Pin to Conversation": "",
53
53
  "Pinned by": "Épinglé par",
@@ -56,7 +56,7 @@
56
56
  "Please select a channel first": "",
57
57
  "Reconnecting...": "Se Reconnecter...",
58
58
  "Reply": "",
59
- "Reply to Message": "Répondre au message",
59
+ "Reply to Message": "",
60
60
  "Resend": "",
61
61
  "Search GIFs": "Rechercher des GIF",
62
62
  "Select More Photos": "",
@@ -71,13 +71,13 @@
71
71
  "Unmute User": "",
72
72
  "Unpin from Conversation": "",
73
73
  "Unread Messages": "",
74
- "Video": "",
74
+ "Video": "Vidéo",
75
75
  "You": "Toi",
76
- "You can't send messages in this channel": "You can't send messages in this channel",
76
+ "You can't send messages in this channel": "",
77
77
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} et {{ nonSelfUserLength }} autres sont en train d'écrire",
78
78
  "{{ index }} of {{ photoLength }}": "",
79
- "{{ replyCount }} Replies": "{{ replyCount }} Réponses",
79
+ "{{ replyCount }} Replies": "",
80
80
  "{{ replyCount }} Thread Replies": "{{replyCount}} Réponses à la discussion",
81
81
  "{{ user }} is typing": "{{ user }} est en train d'écrire",
82
- "🏙 Attachment...": "🏙 Pièce jointe..."
82
+ "🏙 Attachment...": ""
83
83
  }
package/src/i18n/he.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
- "1 Reply": "תגובה אחת",
2
+ "1 Reply": "",
3
3
  "1 Thread Reply": "תגובה אחת לשרשור",
4
4
  "Allow access to your Gallery": "",
5
5
  "Allow camera access in device settings": "",
6
- "Also send to channel": "שלח/י הודעה לשיחה",
6
+ "Also send to channel": "",
7
7
  "Are you sure you want to permanently delete this message?": "",
8
8
  "Are you sure?": "",
9
9
  "Block User": "",
@@ -19,13 +19,13 @@
19
19
  "Edited": "",
20
20
  "Editing Message": "הודעה בעריכה",
21
21
  "Emoji matching": "",
22
- "Empty message...": "הודעה ריקה...",
22
+ "Empty message...": "",
23
23
  "Error loading": "",
24
24
  "Error loading channel list...": "",
25
25
  "Error loading messages for this channel...": "",
26
- "Error while loading, please reload/refresh": "שגיאה ארעה בזמן הטעינה, אנא טען מחדש/רענן",
26
+ "Error while loading, please reload/refresh": "",
27
27
  "File is too large: {{ size }}, maximum upload size is {{ limit }}": "",
28
- "File type not supported": "סוג הקובץ אינו נתמך",
28
+ "File type not supported": "",
29
29
  "Flag": "",
30
30
  "Flag Message": "",
31
31
  "Flag action failed either due to a network issue or the message is already flagged": "",
@@ -42,12 +42,12 @@
42
42
  "Message flagged": "",
43
43
  "Mute User": "",
44
44
  "No chats here yet…": "",
45
- "Not supported": "לא נתמך",
46
- "Nothing yet...": "אינפורמציה תתקבל בהמשך...",
45
+ "Not supported": "",
46
+ "Nothing yet...": "",
47
47
  "Ok": "",
48
48
  "Only visible to you": "גלוי רק לך",
49
49
  "Open Settings": "",
50
- "Photo": "",
50
+ "Photo": "תמונה",
51
51
  "Photos and Videos": "",
52
52
  "Pin to Conversation": "",
53
53
  "Pinned by": " - הוצמד לשיחה",
@@ -56,7 +56,7 @@
56
56
  "Please select a channel first": "",
57
57
  "Reconnecting...": "מתחבר מחדש...",
58
58
  "Reply": "",
59
- "Reply to Message": "השב/י להודעה",
59
+ "Reply to Message": "",
60
60
  "Resend": "",
61
61
  "Search GIFs": "חפש/י GIFs",
62
62
  "Select More Photos": "",
@@ -71,13 +71,13 @@
71
71
  "Unmute User": "",
72
72
  "Unpin from Conversation": "",
73
73
  "Unread Messages": "",
74
- "Video": "",
74
+ "Video": "וִידֵאוֹ",
75
75
  "You": "את/ה",
76
- "You can't send messages in this channel": "את/ב לא יכול/ה לשלוח הודעות בשיחה זו",
76
+ "You can't send messages in this channel": "",
77
77
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} ו-{{ nonSelfUserLength }} משתמש/ים אחר/ים מקלידים",
78
78
  "{{ index }} of {{ photoLength }}": "",
79
- "{{ replyCount }} Replies": "{{ replyCount }} תגובות",
79
+ "{{ replyCount }} Replies": "",
80
80
  "{{ replyCount }} Thread Replies": "{{ replyCount }} תגובות שרשור",
81
81
  "{{ user }} is typing": "{{ user }} מקליד/ה",
82
- "🏙 Attachment...": "🏙 קובץ מצורף..."
82
+ "🏙 Attachment...": ""
83
83
  }
package/src/i18n/hi.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
- "1 Reply": "1 रिप्लाई",
2
+ "1 Reply": "",
3
3
  "1 Thread Reply": "1 धागा उत्तर",
4
4
  "Allow access to your Gallery": "",
5
5
  "Allow camera access in device settings": "",
6
- "Also send to channel": "चैनल को भी भेजें",
6
+ "Also send to channel": "",
7
7
  "Are you sure you want to permanently delete this message?": "",
8
8
  "Are you sure?": "",
9
9
  "Block User": "",
@@ -19,13 +19,13 @@
19
19
  "Edited": "",
20
20
  "Editing Message": "मैसेज बदला जा रहा है",
21
21
  "Emoji matching": "",
22
- "Empty message...": "खाली संदेश...",
22
+ "Empty message...": "",
23
23
  "Error loading": "",
24
24
  "Error loading channel list...": "",
25
25
  "Error loading messages for this channel...": "",
26
- "Error while loading, please reload/refresh": "एरर, रिफ्रेश करे",
26
+ "Error while loading, please reload/refresh": "",
27
27
  "File is too large: {{ size }}, maximum upload size is {{ limit }}": "",
28
- "File type not supported": "फ़ाइल प्रकार समर्थित नहीं है",
28
+ "File type not supported": "",
29
29
  "Flag": "",
30
30
  "Flag Message": "",
31
31
  "Flag action failed either due to a network issue or the message is already flagged": "",
@@ -42,12 +42,12 @@
42
42
  "Message flagged": "",
43
43
  "Mute User": "",
44
44
  "No chats here yet…": "",
45
- "Not supported": "समर्थित नहीं",
46
- "Nothing yet...": "कोई मैसेज नहीं है...",
45
+ "Not supported": "",
46
+ "Nothing yet...": "",
47
47
  "Ok": "",
48
48
  "Only visible to you": "केवल आपको दिखाई दे रहा है",
49
49
  "Open Settings": "",
50
- "Photo": "",
50
+ "Photo": "तस्वीर",
51
51
  "Photos and Videos": "",
52
52
  "Pin to Conversation": "",
53
53
  "Pinned by": "द्वारा पिन किया गया",
@@ -56,7 +56,7 @@
56
56
  "Please select a channel first": "",
57
57
  "Reconnecting...": "पुनः कनेक्ट हो...",
58
58
  "Reply": "",
59
- "Reply to Message": "संदेश का जवाब दें",
59
+ "Reply to Message": "",
60
60
  "Resend": "",
61
61
  "Search GIFs": "GIF खोजें",
62
62
  "Select More Photos": "",
@@ -71,13 +71,13 @@
71
71
  "Unmute User": "",
72
72
  "Unpin from Conversation": "",
73
73
  "Unread Messages": "",
74
- "Video": "",
74
+ "Video": "वीडियो",
75
75
  "You": "आप",
76
- "You can't send messages in this channel": "आप इस चैनल में संदेश नहीं भेज सकते",
76
+ "You can't send messages in this channel": "",
77
77
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} और {{ nonSelfUserLength }} अधिक टाइप कर रहे हैं",
78
78
  "{{ index }} of {{ photoLength }}": "",
79
- "{{ replyCount }} Replies": "{{ replyCount }} रिप्लाई",
79
+ "{{ replyCount }} Replies": "",
80
80
  "{{ replyCount }} Thread Replies": "{{ replyCount }}} थ्रेड उत्तर",
81
81
  "{{ user }} is typing": "{{ user }} टाइप कर रहा है",
82
- "🏙 Attachment...": "🏙 अटैचमेंट..."
82
+ "🏙 Attachment...": ""
83
83
  }
package/src/i18n/it.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
- "1 Reply": "1 Risposta",
2
+ "1 Reply": "",
3
3
  "1 Thread Reply": "1 Risposta alla Discussione",
4
4
  "Allow access to your Gallery": "",
5
5
  "Allow camera access in device settings": "",
6
- "Also send to channel": "Invia anche al canale",
6
+ "Also send to channel": "",
7
7
  "Are you sure you want to permanently delete this message?": "",
8
8
  "Are you sure?": "",
9
9
  "Block User": "",
@@ -19,13 +19,13 @@
19
19
  "Edited": "",
20
20
  "Editing Message": "Modificando il Messaggio",
21
21
  "Emoji matching": "",
22
- "Empty message...": "Message vuoto...",
22
+ "Empty message...": "",
23
23
  "Error loading": "",
24
24
  "Error loading channel list...": "",
25
25
  "Error loading messages for this channel...": "",
26
- "Error while loading, please reload/refresh": "Errore durante il caricamento, per favore ricarica la pagina",
26
+ "Error while loading, please reload/refresh": "",
27
27
  "File is too large: {{ size }}, maximum upload size is {{ limit }}": "",
28
- "File type not supported": "Tipo di file non supportato",
28
+ "File type not supported": "",
29
29
  "Flag": "",
30
30
  "Flag Message": "",
31
31
  "Flag action failed either due to a network issue or the message is already flagged": "",
@@ -42,12 +42,12 @@
42
42
  "Message flagged": "",
43
43
  "Mute User": "",
44
44
  "No chats here yet…": "",
45
- "Not supported": "non supportato",
46
- "Nothing yet...": "Ancora niente...",
45
+ "Not supported": "",
46
+ "Nothing yet...": "",
47
47
  "Ok": "",
48
48
  "Only visible to you": "Visibile solo a te",
49
49
  "Open Settings": "",
50
- "Photo": "",
50
+ "Photo": "Foto",
51
51
  "Photos and Videos": "",
52
52
  "Pin to Conversation": "",
53
53
  "Pinned by": "Fissato da",
@@ -56,7 +56,7 @@
56
56
  "Please select a channel first": "",
57
57
  "Reconnecting...": "Ricollegarsi...",
58
58
  "Reply": "",
59
- "Reply to Message": "Rispondi al messaggio",
59
+ "Reply to Message": "",
60
60
  "Resend": "",
61
61
  "Search GIFs": "Cerca GIF",
62
62
  "Select More Photos": "",
@@ -71,13 +71,13 @@
71
71
  "Unmute User": "",
72
72
  "Unpin from Conversation": "",
73
73
  "Unread Messages": "",
74
- "Video": "",
74
+ "Video": "Video",
75
75
  "You": "Tu",
76
- "You can't send messages in this channel": "Non puoi inviare messaggi in questo canale",
76
+ "You can't send messages in this channel": "",
77
77
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} e altri {{ nonSelfUserLength }} stanno scrivendo",
78
78
  "{{ index }} of {{ photoLength }}": "",
79
- "{{ replyCount }} Replies": "{{ replyCount }} Risposte",
79
+ "{{ replyCount }} Replies": "",
80
80
  "{{ replyCount }} Thread Replies": "{{replyCount}} Risposte alle Conversazione",
81
81
  "{{ user }} is typing": "{{ user }} sta scrivendo",
82
- "🏙 Attachment...": "🏙 Allegato..."
82
+ "🏙 Attachment...": ""
83
83
  }
package/src/i18n/ja.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
- "1 Reply": "1件の返信",
2
+ "1 Reply": "",
3
3
  "1 Thread Reply": "1件のスレッド返信",
4
4
  "Allow access to your Gallery": "",
5
5
  "Allow camera access in device settings": "",
6
- "Also send to channel": "チャンネルにも送信",
6
+ "Also send to channel": "",
7
7
  "Are you sure you want to permanently delete this message?": "",
8
8
  "Are you sure?": "",
9
9
  "Block User": "",
@@ -19,13 +19,13 @@
19
19
  "Edited": "",
20
20
  "Editing Message": "メッセージを編集中",
21
21
  "Emoji matching": "",
22
- "Empty message...": "空のメッセージ...",
22
+ "Empty message...": "",
23
23
  "Error loading": "",
24
24
  "Error loading channel list...": "",
25
25
  "Error loading messages for this channel...": "",
26
- "Error while loading, please reload/refresh": "ロード中にエラーが発生しました。更新してください",
26
+ "Error while loading, please reload/refresh": "",
27
27
  "File is too large: {{ size }}, maximum upload size is {{ limit }}": "",
28
- "File type not supported": "サポートされていないファイルです",
28
+ "File type not supported": "",
29
29
  "Flag": "",
30
30
  "Flag Message": "",
31
31
  "Flag action failed either due to a network issue or the message is already flagged": "",
@@ -42,12 +42,12 @@
42
42
  "Message flagged": "",
43
43
  "Mute User": "",
44
44
  "No chats here yet…": "",
45
- "Not supported": "サポートしていません",
46
- "Nothing yet...": "まだ何もありません...",
45
+ "Not supported": "",
46
+ "Nothing yet...": "",
47
47
  "Ok": "",
48
48
  "Only visible to you": "あなただけに見える",
49
49
  "Open Settings": "",
50
- "Photo": "",
50
+ "Photo": "写真",
51
51
  "Photos and Videos": "",
52
52
  "Pin to Conversation": "",
53
53
  "Pinned by": "ピン留めしたユーザー",
@@ -56,7 +56,7 @@
56
56
  "Please select a channel first": "",
57
57
  "Reconnecting...": "再接続中。。。",
58
58
  "Reply": "",
59
- "Reply to Message": "メッセージに返信",
59
+ "Reply to Message": "",
60
60
  "Resend": "",
61
61
  "Search GIFs": "GIFの探索",
62
62
  "Select More Photos": "",
@@ -71,13 +71,13 @@
71
71
  "Unmute User": "",
72
72
  "Unpin from Conversation": "",
73
73
  "Unread Messages": "",
74
- "Video": "",
74
+ "Video": "ビデオ",
75
75
  "You": "あなた",
76
- "You can't send messages in this channel": "このチャンネルではメッセージを送信できません",
76
+ "You can't send messages in this channel": "",
77
77
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }}と{{ nonSelfUserLength }}人がタイピングしています",
78
78
  "{{ index }} of {{ photoLength }}": "",
79
- "{{ replyCount }} Replies": "{{ replyCount }}件の返信",
79
+ "{{ replyCount }} Replies": "",
80
80
  "{{ replyCount }} Thread Replies": "{{ replyCount }}件のスレッド返信",
81
81
  "{{ user }} is typing": "{{ user }}はタイピング中",
82
- "🏙 Attachment...": "🏙 アタッチメント..."
82
+ "🏙 Attachment...": ""
83
83
  }