stream-chat-react-native-core 5.31.2-beta.2 → 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
2
  "1 Reply": "",
3
- "1 Thread Reply": "",
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": "",
@@ -29,7 +29,7 @@
29
29
  "Flag": "",
30
30
  "Flag Message": "",
31
31
  "Flag action failed either due to a network issue or the message is already flagged": "",
32
- "Hold to start recording.": "Mantén presionado para comenzar a grabar.",
32
+ "Hold to start recording.": "",
33
33
  "How about sending your first message to a friend?": "",
34
34
  "Instant Commands": "",
35
35
  "Let's start chatting!": "",
@@ -45,25 +45,25 @@
45
45
  "Not supported": "",
46
46
  "Nothing yet...": "",
47
47
  "Ok": "",
48
- "Only visible to you": "",
48
+ "Only visible to you": "Solo visible para ti",
49
49
  "Open Settings": "",
50
50
  "Photo": "Foto",
51
51
  "Photos and Videos": "",
52
52
  "Pin to Conversation": "",
53
- "Pinned by": "",
54
- "Please allow Audio permissions in settings.": "Por favor, permita los permisos de audio en la configuración.",
53
+ "Pinned by": "Fijado por",
54
+ "Please allow Audio permissions in settings.": "",
55
55
  "Please enable access to your photos and videos so you can share them.": "",
56
56
  "Please select a channel first": "",
57
57
  "Reconnecting...": "Reconectando...",
58
58
  "Reply": "",
59
59
  "Reply to Message": "",
60
60
  "Resend": "",
61
- "Search GIFs": "",
61
+ "Search GIFs": "Buscar GIFs",
62
62
  "Select More Photos": "",
63
63
  "Send Anyway": "",
64
- "Send a message": "",
64
+ "Send a message": "Enviar un mensaje",
65
65
  "Sending links is not allowed in this conversation": "",
66
- "Slow mode ON": "",
66
+ "Slow mode ON": "Modo lento ACTIVADO",
67
67
  "The message has been reported to a moderator.": "",
68
68
  "Thread Reply": "",
69
69
  "Unblock User": "",
@@ -72,12 +72,12 @@
72
72
  "Unpin from Conversation": "",
73
73
  "Unread Messages": "",
74
74
  "Video": "Video",
75
- "You": "",
75
+ "You": "",
76
76
  "You can't send messages in this channel": "",
77
- "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
77
+ "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} y {{ nonSelfUserLength }} más están escribiendo",
78
78
  "{{ index }} of {{ photoLength }}": "",
79
79
  "{{ replyCount }} Replies": "",
80
- "{{ replyCount }} Thread Replies": "",
81
- "{{ user }} is typing": "",
80
+ "{{ replyCount }} Thread Replies": "{{ replyCount }} respuestas de hilo",
81
+ "{{ user }} is typing": "{{ user }} está escribiendo",
82
82
  "🏙 Attachment...": ""
83
83
  }
package/src/i18n/fr.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "1 Reply": "",
3
- "1 Thread Reply": "",
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": "",
@@ -29,7 +29,7 @@
29
29
  "Flag": "",
30
30
  "Flag Message": "",
31
31
  "Flag action failed either due to a network issue or the message is already flagged": "",
32
- "Hold to start recording.": "Hold to start recording.",
32
+ "Hold to start recording.": "",
33
33
  "How about sending your first message to a friend?": "",
34
34
  "Instant Commands": "",
35
35
  "Let's start chatting!": "",
@@ -45,25 +45,25 @@
45
45
  "Not supported": "",
46
46
  "Nothing yet...": "",
47
47
  "Ok": "",
48
- "Only visible to you": "",
48
+ "Only visible to you": "Seulement visible par vous",
49
49
  "Open Settings": "",
50
50
  "Photo": "Photo",
51
51
  "Photos and Videos": "",
52
52
  "Pin to Conversation": "",
53
- "Pinned by": "",
54
- "Please allow Audio permissions in settings.": "Veuillez autoriser les permissions audio dans les paramètres.",
53
+ "Pinned by": "Épinglé par",
54
+ "Please allow Audio permissions in settings.": "",
55
55
  "Please enable access to your photos and videos so you can share them.": "",
56
56
  "Please select a channel first": "",
57
57
  "Reconnecting...": "Se Reconnecter...",
58
58
  "Reply": "",
59
59
  "Reply to Message": "",
60
60
  "Resend": "",
61
- "Search GIFs": "",
61
+ "Search GIFs": "Rechercher des GIF",
62
62
  "Select More Photos": "",
63
63
  "Send Anyway": "",
64
- "Send a message": "",
64
+ "Send a message": "Envoyer un message",
65
65
  "Sending links is not allowed in this conversation": "",
66
- "Slow mode ON": "",
66
+ "Slow mode ON": "Mode lent activé",
67
67
  "The message has been reported to a moderator.": "",
68
68
  "Thread Reply": "",
69
69
  "Unblock User": "",
@@ -72,12 +72,12 @@
72
72
  "Unpin from Conversation": "",
73
73
  "Unread Messages": "",
74
74
  "Video": "Vidéo",
75
- "You": "",
75
+ "You": "Toi",
76
76
  "You can't send messages in this channel": "",
77
- "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
77
+ "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} et {{ nonSelfUserLength }} autres sont en train d'écrire",
78
78
  "{{ index }} of {{ photoLength }}": "",
79
79
  "{{ replyCount }} Replies": "",
80
- "{{ replyCount }} Thread Replies": "",
81
- "{{ user }} is typing": "",
80
+ "{{ replyCount }} Thread Replies": "{{replyCount}} Réponses à la discussion",
81
+ "{{ user }} is typing": "{{ user }} est en train d'écrire",
82
82
  "🏙 Attachment...": ""
83
83
  }
package/src/i18n/he.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "1 Reply": "",
3
- "1 Thread Reply": "",
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": "",
@@ -29,7 +29,7 @@
29
29
  "Flag": "",
30
30
  "Flag Message": "",
31
31
  "Flag action failed either due to a network issue or the message is already flagged": "",
32
- "Hold to start recording.": "לחץ והחזק כדי להתחיל להקליט.",
32
+ "Hold to start recording.": "",
33
33
  "How about sending your first message to a friend?": "",
34
34
  "Instant Commands": "",
35
35
  "Let's start chatting!": "",
@@ -45,25 +45,25 @@
45
45
  "Not supported": "",
46
46
  "Nothing yet...": "",
47
47
  "Ok": "",
48
- "Only visible to you": "",
48
+ "Only visible to you": "גלוי רק לך",
49
49
  "Open Settings": "",
50
50
  "Photo": "תמונה",
51
51
  "Photos and Videos": "",
52
52
  "Pin to Conversation": "",
53
- "Pinned by": "",
54
- "Please allow Audio permissions in settings.": "בבקשה, הרשה הרשאות שמע בהגדרות.",
53
+ "Pinned by": " - הוצמד לשיחה",
54
+ "Please allow Audio permissions in settings.": "",
55
55
  "Please enable access to your photos and videos so you can share them.": "",
56
56
  "Please select a channel first": "",
57
57
  "Reconnecting...": "מתחבר מחדש...",
58
58
  "Reply": "",
59
59
  "Reply to Message": "",
60
60
  "Resend": "",
61
- "Search GIFs": "",
61
+ "Search GIFs": "חפש/י GIFs",
62
62
  "Select More Photos": "",
63
63
  "Send Anyway": "",
64
- "Send a message": "",
64
+ "Send a message": "שלח/י הודעה",
65
65
  "Sending links is not allowed in this conversation": "",
66
- "Slow mode ON": "",
66
+ "Slow mode ON": "מצב איטי מופעל",
67
67
  "The message has been reported to a moderator.": "",
68
68
  "Thread Reply": "",
69
69
  "Unblock User": "",
@@ -72,12 +72,12 @@
72
72
  "Unpin from Conversation": "",
73
73
  "Unread Messages": "",
74
74
  "Video": "וִידֵאוֹ",
75
- "You": "",
75
+ "You": "את/ה",
76
76
  "You can't send messages in this channel": "",
77
- "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
77
+ "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} ו-{{ nonSelfUserLength }} משתמש/ים אחר/ים מקלידים",
78
78
  "{{ index }} of {{ photoLength }}": "",
79
79
  "{{ replyCount }} Replies": "",
80
- "{{ replyCount }} Thread Replies": "",
81
- "{{ user }} is typing": "",
80
+ "{{ replyCount }} Thread Replies": "{{ replyCount }} תגובות שרשור",
81
+ "{{ user }} is typing": "{{ user }} מקליד/ה",
82
82
  "🏙 Attachment...": ""
83
83
  }
package/src/i18n/hi.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "1 Reply": "",
3
- "1 Thread Reply": "",
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": "",
@@ -29,7 +29,7 @@
29
29
  "Flag": "",
30
30
  "Flag Message": "",
31
31
  "Flag action failed either due to a network issue or the message is already flagged": "",
32
- "Hold to start recording.": "रिकॉर्डिंग शुरू करने के लिए दबाएं।",
32
+ "Hold to start recording.": "",
33
33
  "How about sending your first message to a friend?": "",
34
34
  "Instant Commands": "",
35
35
  "Let's start chatting!": "",
@@ -45,25 +45,25 @@
45
45
  "Not supported": "",
46
46
  "Nothing yet...": "",
47
47
  "Ok": "",
48
- "Only visible to you": "",
48
+ "Only visible to you": "केवल आपको दिखाई दे रहा है",
49
49
  "Open Settings": "",
50
50
  "Photo": "तस्वीर",
51
51
  "Photos and Videos": "",
52
52
  "Pin to Conversation": "",
53
- "Pinned by": "",
54
- "Please allow Audio permissions in settings.": "कृपया सेटिंग्स में ऑडियो की अनुमति दें।",
53
+ "Pinned by": "द्वारा पिन किया गया",
54
+ "Please allow Audio permissions in settings.": "",
55
55
  "Please enable access to your photos and videos so you can share them.": "",
56
56
  "Please select a channel first": "",
57
57
  "Reconnecting...": "पुनः कनेक्ट हो...",
58
58
  "Reply": "",
59
59
  "Reply to Message": "",
60
60
  "Resend": "",
61
- "Search GIFs": "",
61
+ "Search GIFs": "GIF खोजें",
62
62
  "Select More Photos": "",
63
63
  "Send Anyway": "",
64
- "Send a message": "",
64
+ "Send a message": "एक संदेश भेजें",
65
65
  "Sending links is not allowed in this conversation": "",
66
- "Slow mode ON": "",
66
+ "Slow mode ON": "स्लो मोड चालू",
67
67
  "The message has been reported to a moderator.": "",
68
68
  "Thread Reply": "",
69
69
  "Unblock User": "",
@@ -72,12 +72,12 @@
72
72
  "Unpin from Conversation": "",
73
73
  "Unread Messages": "",
74
74
  "Video": "वीडियो",
75
- "You": "",
75
+ "You": "आप",
76
76
  "You can't send messages in this channel": "",
77
- "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
77
+ "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} और {{ nonSelfUserLength }} अधिक टाइप कर रहे हैं",
78
78
  "{{ index }} of {{ photoLength }}": "",
79
79
  "{{ replyCount }} Replies": "",
80
- "{{ replyCount }} Thread Replies": "",
81
- "{{ user }} is typing": "",
80
+ "{{ replyCount }} Thread Replies": "{{ replyCount }}} थ्रेड उत्तर",
81
+ "{{ user }} is typing": "{{ user }} टाइप कर रहा है",
82
82
  "🏙 Attachment...": ""
83
83
  }
package/src/i18n/it.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "1 Reply": "",
3
- "1 Thread Reply": "",
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": "",
@@ -29,7 +29,7 @@
29
29
  "Flag": "",
30
30
  "Flag Message": "",
31
31
  "Flag action failed either due to a network issue or the message is already flagged": "",
32
- "Hold to start recording.": "Tieni premuto per avviare la registrazione.",
32
+ "Hold to start recording.": "",
33
33
  "How about sending your first message to a friend?": "",
34
34
  "Instant Commands": "",
35
35
  "Let's start chatting!": "",
@@ -45,25 +45,25 @@
45
45
  "Not supported": "",
46
46
  "Nothing yet...": "",
47
47
  "Ok": "",
48
- "Only visible to you": "",
48
+ "Only visible to you": "Visibile solo a te",
49
49
  "Open Settings": "",
50
50
  "Photo": "Foto",
51
51
  "Photos and Videos": "",
52
52
  "Pin to Conversation": "",
53
- "Pinned by": "",
54
- "Please allow Audio permissions in settings.": "Si prega di consentire le autorizzazioni audio nelle impostazioni.",
53
+ "Pinned by": "Fissato da",
54
+ "Please allow Audio permissions in settings.": "",
55
55
  "Please enable access to your photos and videos so you can share them.": "",
56
56
  "Please select a channel first": "",
57
57
  "Reconnecting...": "Ricollegarsi...",
58
58
  "Reply": "",
59
59
  "Reply to Message": "",
60
60
  "Resend": "",
61
- "Search GIFs": "",
61
+ "Search GIFs": "Cerca GIF",
62
62
  "Select More Photos": "",
63
63
  "Send Anyway": "",
64
- "Send a message": "",
64
+ "Send a message": "Mandare un messaggio",
65
65
  "Sending links is not allowed in this conversation": "",
66
- "Slow mode ON": "",
66
+ "Slow mode ON": "Slowmode attiva",
67
67
  "The message has been reported to a moderator.": "",
68
68
  "Thread Reply": "",
69
69
  "Unblock User": "",
@@ -72,12 +72,12 @@
72
72
  "Unpin from Conversation": "",
73
73
  "Unread Messages": "",
74
74
  "Video": "Video",
75
- "You": "",
75
+ "You": "Tu",
76
76
  "You can't send messages in this channel": "",
77
- "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
77
+ "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} e altri {{ nonSelfUserLength }} stanno scrivendo",
78
78
  "{{ index }} of {{ photoLength }}": "",
79
79
  "{{ replyCount }} Replies": "",
80
- "{{ replyCount }} Thread Replies": "",
81
- "{{ user }} is typing": "",
80
+ "{{ replyCount }} Thread Replies": "{{replyCount}} Risposte alle Conversazione",
81
+ "{{ user }} is typing": "{{ user }} sta scrivendo",
82
82
  "🏙 Attachment...": ""
83
83
  }
package/src/i18n/ja.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "1 Reply": "",
3
- "1 Thread Reply": "",
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": "",
@@ -29,7 +29,7 @@
29
29
  "Flag": "",
30
30
  "Flag Message": "",
31
31
  "Flag action failed either due to a network issue or the message is already flagged": "",
32
- "Hold to start recording.": "録音を開始するには押し続けてください。",
32
+ "Hold to start recording.": "",
33
33
  "How about sending your first message to a friend?": "",
34
34
  "Instant Commands": "",
35
35
  "Let's start chatting!": "",
@@ -45,25 +45,25 @@
45
45
  "Not supported": "",
46
46
  "Nothing yet...": "",
47
47
  "Ok": "",
48
- "Only visible to you": "",
48
+ "Only visible to you": "あなただけに見える",
49
49
  "Open Settings": "",
50
50
  "Photo": "写真",
51
51
  "Photos and Videos": "",
52
52
  "Pin to Conversation": "",
53
- "Pinned by": "",
54
- "Please allow Audio permissions in settings.": "設定でオーディオの権限を許可してください。",
53
+ "Pinned by": "ピン留めしたユーザー",
54
+ "Please allow Audio permissions in settings.": "",
55
55
  "Please enable access to your photos and videos so you can share them.": "",
56
56
  "Please select a channel first": "",
57
57
  "Reconnecting...": "再接続中。。。",
58
58
  "Reply": "",
59
59
  "Reply to Message": "",
60
60
  "Resend": "",
61
- "Search GIFs": "",
61
+ "Search GIFs": "GIFの探索",
62
62
  "Select More Photos": "",
63
63
  "Send Anyway": "",
64
- "Send a message": "",
64
+ "Send a message": "メッセージを送る",
65
65
  "Sending links is not allowed in this conversation": "",
66
- "Slow mode ON": "",
66
+ "Slow mode ON": "スローモードオン",
67
67
  "The message has been reported to a moderator.": "",
68
68
  "Thread Reply": "",
69
69
  "Unblock User": "",
@@ -72,12 +72,12 @@
72
72
  "Unpin from Conversation": "",
73
73
  "Unread Messages": "",
74
74
  "Video": "ビデオ",
75
- "You": "",
75
+ "You": "あなた",
76
76
  "You can't send messages in this channel": "",
77
- "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
77
+ "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }}と{{ nonSelfUserLength }}人がタイピングしています",
78
78
  "{{ index }} of {{ photoLength }}": "",
79
79
  "{{ replyCount }} Replies": "",
80
- "{{ replyCount }} Thread Replies": "",
81
- "{{ user }} is typing": "",
80
+ "{{ replyCount }} Thread Replies": "{{ replyCount }}件のスレッド返信",
81
+ "{{ user }} is typing": "{{ user }}はタイピング中",
82
82
  "🏙 Attachment...": ""
83
83
  }