stream-chat-react-native-core 4.1.4 → 4.2.0-beta.3
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/lib/commonjs/components/Attachment/Attachment.js +16 -10
- package/lib/commonjs/components/Attachment/Attachment.js.map +1 -1
- package/lib/commonjs/components/Attachment/FileIcon.js +20 -20
- package/lib/commonjs/components/Attachment/FileIcon.js.map +1 -1
- package/lib/commonjs/components/Attachment/Giphy.js +61 -40
- package/lib/commonjs/components/Attachment/Giphy.js.map +1 -1
- package/lib/commonjs/components/Channel/Channel.js +16 -13
- package/lib/commonjs/components/Channel/Channel.js.map +1 -1
- package/lib/commonjs/components/Channel/hooks/useCreateMessagesContext.js +2 -0
- package/lib/commonjs/components/Channel/hooks/useCreateMessagesContext.js.map +1 -1
- package/lib/commonjs/components/ChannelList/ChannelListMessenger.js +3 -3
- package/lib/commonjs/components/ChannelList/ChannelListMessenger.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageContent.js +42 -20
- package/lib/commonjs/components/Message/MessageSimple/MessageContent.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/utils/renderText.js +4 -7
- package/lib/commonjs/components/Message/MessageSimple/utils/renderText.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/utils/renderText.test.js +183 -173
- package/lib/commonjs/components/Message/MessageSimple/utils/renderText.test.js.map +1 -1
- package/lib/commonjs/components/MessageInput/MessageInput.js +3 -3
- package/lib/commonjs/components/MessageInput/MessageInput.js.map +1 -1
- package/lib/commonjs/components/MessageList/utils/getLastReceivedMessage.js +3 -3
- package/lib/commonjs/components/MessageList/utils/getLastReceivedMessage.js.map +1 -1
- package/lib/commonjs/components/MessageList/utils/getReadStates.js +8 -8
- package/lib/commonjs/components/MessageList/utils/getReadStates.js.map +1 -1
- package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js +32 -32
- package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js.map +1 -1
- package/lib/commonjs/contexts/messageInputContext/hooks/useMessageDetailsForState.js +9 -9
- package/lib/commonjs/contexts/messageInputContext/hooks/useMessageDetailsForState.js.map +1 -1
- package/lib/commonjs/contexts/messagesContext/MessagesContext.js +2 -2
- package/lib/commonjs/contexts/messagesContext/MessagesContext.js.map +1 -1
- package/lib/commonjs/contexts/themeContext/utils/theme.js +1 -0
- package/lib/commonjs/contexts/themeContext/utils/theme.js.map +1 -1
- package/lib/commonjs/version.json +1 -1
- package/lib/module/components/Attachment/Attachment.js +16 -10
- package/lib/module/components/Attachment/Attachment.js.map +1 -1
- package/lib/module/components/Attachment/FileIcon.js +20 -20
- package/lib/module/components/Attachment/FileIcon.js.map +1 -1
- package/lib/module/components/Attachment/Giphy.js +61 -40
- package/lib/module/components/Attachment/Giphy.js.map +1 -1
- package/lib/module/components/Channel/Channel.js +16 -13
- package/lib/module/components/Channel/Channel.js.map +1 -1
- package/lib/module/components/Channel/hooks/useCreateMessagesContext.js +2 -0
- package/lib/module/components/Channel/hooks/useCreateMessagesContext.js.map +1 -1
- package/lib/module/components/ChannelList/ChannelListMessenger.js +3 -3
- package/lib/module/components/ChannelList/ChannelListMessenger.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageContent.js +42 -20
- package/lib/module/components/Message/MessageSimple/MessageContent.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/utils/renderText.js +4 -7
- package/lib/module/components/Message/MessageSimple/utils/renderText.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/utils/renderText.test.js +183 -173
- package/lib/module/components/Message/MessageSimple/utils/renderText.test.js.map +1 -1
- package/lib/module/components/MessageInput/MessageInput.js +3 -3
- package/lib/module/components/MessageInput/MessageInput.js.map +1 -1
- package/lib/module/components/MessageList/utils/getLastReceivedMessage.js +3 -3
- package/lib/module/components/MessageList/utils/getLastReceivedMessage.js.map +1 -1
- package/lib/module/components/MessageList/utils/getReadStates.js +8 -8
- package/lib/module/components/MessageList/utils/getReadStates.js.map +1 -1
- package/lib/module/contexts/messageInputContext/MessageInputContext.js +32 -32
- package/lib/module/contexts/messageInputContext/MessageInputContext.js.map +1 -1
- package/lib/module/contexts/messageInputContext/hooks/useMessageDetailsForState.js +9 -9
- package/lib/module/contexts/messageInputContext/hooks/useMessageDetailsForState.js.map +1 -1
- package/lib/module/contexts/messagesContext/MessagesContext.js +2 -2
- package/lib/module/contexts/messagesContext/MessagesContext.js.map +1 -1
- package/lib/module/contexts/themeContext/utils/theme.js +1 -0
- package/lib/module/contexts/themeContext/utils/theme.js.map +1 -1
- package/lib/module/version.json +1 -1
- package/lib/typescript/components/Attachment/Attachment.d.ts +2 -2
- package/lib/typescript/components/Attachment/Giphy.d.ts +2 -2
- package/lib/typescript/components/Channel/Channel.d.ts +1 -1
- package/lib/typescript/components/Channel/hooks/useCreateMessagesContext.d.ts +1 -1
- package/lib/typescript/components/MessageOverlay/hooks/useMessageActionAnimation.d.ts +2 -3
- package/lib/typescript/contexts/messagesContext/MessagesContext.d.ts +5 -1
- package/lib/typescript/contexts/themeContext/utils/theme.d.ts +1 -0
- package/package.json +14 -12
- package/src/components/Attachment/Attachment.tsx +29 -4
- package/src/components/Attachment/Giphy.tsx +55 -22
- package/src/components/Attachment/__tests__/Attachment.test.js +41 -0
- package/src/components/Channel/Channel.tsx +3 -0
- package/src/components/Channel/hooks/useCreateMessagesContext.ts +2 -0
- package/src/components/ChannelList/ChannelListMessenger.tsx +0 -1
- package/src/components/ImageGallery/components/__tests__/ImageGalleryHeader.test.tsx +14 -4
- package/src/components/Message/MessageSimple/MessageContent.tsx +20 -13
- package/src/components/Message/MessageSimple/__tests__/__snapshots__/MessageReplies.test.js.snap +1 -0
- package/src/components/Message/MessageSimple/utils/renderText.test.tsx +30 -23
- package/src/components/MessageInput/__tests__/AttachButton.test.js +8 -8
- package/src/components/MessageInput/__tests__/SendButton.test.js +12 -20
- package/src/components/MessageInput/__tests__/__snapshots__/AttachButton.test.js.snap +8 -0
- package/src/components/MessageInput/__tests__/__snapshots__/FileUploadPreview.test.js.snap +24 -68
- package/src/components/MessageInput/__tests__/__snapshots__/ImageUploadPreview.test.js.snap +20 -36
- package/src/components/MessageInput/__tests__/__snapshots__/MessageInput.test.js.snap +16 -10
- package/src/components/MessageInput/__tests__/__snapshots__/SendButton.test.js.snap +16 -0
- package/src/components/MessageInput/__tests__/__snapshots__/UploadProgressIndicator.test.js.snap +1 -3
- package/src/components/MessageList/__tests__/__snapshots__/ScrollToBottomButton.test.js.snap +1 -0
- package/src/components/Thread/__tests__/__snapshots__/Thread.test.js.snap +10 -7
- package/src/contexts/messagesContext/MessagesContext.tsx +5 -2
- package/src/contexts/themeContext/utils/theme.ts +1 -0
- package/src/version.json +1 -1
|
@@ -69,6 +69,9 @@ Array [
|
|
|
69
69
|
>
|
|
70
70
|
<RNGestureHandlerButton
|
|
71
71
|
collapsable={false}
|
|
72
|
+
exclusive={true}
|
|
73
|
+
handlerTag={1}
|
|
74
|
+
handlerType="NativeViewGestureHandler"
|
|
72
75
|
hitSlop={
|
|
73
76
|
Object {
|
|
74
77
|
"bottom": 15,
|
|
@@ -86,6 +89,7 @@ Array [
|
|
|
86
89
|
>
|
|
87
90
|
<View
|
|
88
91
|
accessible={true}
|
|
92
|
+
collapsable={false}
|
|
89
93
|
hitSlop={
|
|
90
94
|
Object {
|
|
91
95
|
"bottom": 15,
|
|
@@ -150,6 +154,9 @@ Array [
|
|
|
150
154
|
>
|
|
151
155
|
<RNGestureHandlerButton
|
|
152
156
|
collapsable={false}
|
|
157
|
+
exclusive={true}
|
|
158
|
+
handlerTag={2}
|
|
159
|
+
handlerType="NativeViewGestureHandler"
|
|
153
160
|
hitSlop={
|
|
154
161
|
Object {
|
|
155
162
|
"bottom": 15,
|
|
@@ -167,6 +174,7 @@ Array [
|
|
|
167
174
|
>
|
|
168
175
|
<View
|
|
169
176
|
accessible={true}
|
|
177
|
+
collapsable={false}
|
|
170
178
|
hitSlop={
|
|
171
179
|
Object {
|
|
172
180
|
"bottom": 15,
|
|
@@ -259,7 +267,6 @@ Array [
|
|
|
259
267
|
}
|
|
260
268
|
>
|
|
261
269
|
<TextInput
|
|
262
|
-
allowFontScaling={true}
|
|
263
270
|
maxLength={5000}
|
|
264
271
|
multiline={true}
|
|
265
272
|
onBlur={[Function]}
|
|
@@ -268,7 +275,6 @@ Array [
|
|
|
268
275
|
onSelectionChange={[Function]}
|
|
269
276
|
placeholder="Send a message"
|
|
270
277
|
placeholderTextColor="#7A7A7A"
|
|
271
|
-
rejectResponderTermination={true}
|
|
272
278
|
style={
|
|
273
279
|
Array [
|
|
274
280
|
Object {
|
|
@@ -287,7 +293,6 @@ Array [
|
|
|
287
293
|
]
|
|
288
294
|
}
|
|
289
295
|
testID="auto-complete-text-input"
|
|
290
|
-
underlineColorAndroid="transparent"
|
|
291
296
|
value=""
|
|
292
297
|
/>
|
|
293
298
|
</View>
|
|
@@ -305,6 +310,9 @@ Array [
|
|
|
305
310
|
>
|
|
306
311
|
<RNGestureHandlerButton
|
|
307
312
|
collapsable={false}
|
|
313
|
+
exclusive={true}
|
|
314
|
+
handlerTag={3}
|
|
315
|
+
handlerType="NativeViewGestureHandler"
|
|
308
316
|
onGestureEvent={[Function]}
|
|
309
317
|
onGestureHandlerEvent={[Function]}
|
|
310
318
|
onGestureHandlerStateChange={[Function]}
|
|
@@ -314,6 +322,7 @@ Array [
|
|
|
314
322
|
>
|
|
315
323
|
<View
|
|
316
324
|
accessible={true}
|
|
325
|
+
collapsable={false}
|
|
317
326
|
style={
|
|
318
327
|
Object {
|
|
319
328
|
"opacity": 1,
|
|
@@ -395,6 +404,7 @@ Array [
|
|
|
395
404
|
>
|
|
396
405
|
<View
|
|
397
406
|
accessible={true}
|
|
407
|
+
collapsable={false}
|
|
398
408
|
focusable={true}
|
|
399
409
|
hitSlop={
|
|
400
410
|
Object {
|
|
@@ -484,6 +494,7 @@ Array [
|
|
|
484
494
|
</View>
|
|
485
495
|
<View
|
|
486
496
|
accessible={true}
|
|
497
|
+
collapsable={false}
|
|
487
498
|
focusable={true}
|
|
488
499
|
hitSlop={
|
|
489
500
|
Object {
|
|
@@ -561,6 +572,7 @@ Array [
|
|
|
561
572
|
</View>
|
|
562
573
|
<View
|
|
563
574
|
accessible={true}
|
|
575
|
+
collapsable={false}
|
|
564
576
|
focusable={true}
|
|
565
577
|
hitSlop={
|
|
566
578
|
Object {
|
|
@@ -714,17 +726,13 @@ Array [
|
|
|
714
726
|
]
|
|
715
727
|
}
|
|
716
728
|
data={Array []}
|
|
717
|
-
disableVirtualization={false}
|
|
718
729
|
getItem={[Function]}
|
|
719
730
|
getItemCount={[Function]}
|
|
720
|
-
horizontal={false}
|
|
721
|
-
initialNumToRender={10}
|
|
722
731
|
keyExtractor={[Function]}
|
|
723
|
-
maxToRenderPerBatch={10}
|
|
724
732
|
onContentSizeChange={[Function]}
|
|
725
733
|
onEndReached={[Function]}
|
|
726
|
-
onEndReachedThreshold={2}
|
|
727
734
|
onLayout={[Function]}
|
|
735
|
+
onMomentumScrollBegin={[Function]}
|
|
728
736
|
onMomentumScrollEnd={[Function]}
|
|
729
737
|
onScroll={[Function]}
|
|
730
738
|
onScrollBeginDrag={[Function]}
|
|
@@ -733,9 +741,7 @@ Array [
|
|
|
733
741
|
renderItem={[Function]}
|
|
734
742
|
scrollEventThrottle={50}
|
|
735
743
|
stickyHeaderIndices={Array []}
|
|
736
|
-
updateCellsBatchingPeriod={50}
|
|
737
744
|
viewabilityConfigCallbackPairs={Array []}
|
|
738
|
-
windowSize={21}
|
|
739
745
|
>
|
|
740
746
|
<View />
|
|
741
747
|
</RCTScrollView>
|
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
exports[`SendButton should render a non-editing disabled SendButton 1`] = `
|
|
4
4
|
<RNGestureHandlerButton
|
|
5
5
|
collapsable={false}
|
|
6
|
+
exclusive={true}
|
|
7
|
+
handlerTag={2}
|
|
8
|
+
handlerType="NativeViewGestureHandler"
|
|
6
9
|
onGestureEvent={[Function]}
|
|
7
10
|
onGestureHandlerEvent={[Function]}
|
|
8
11
|
onGestureHandlerStateChange={[Function]}
|
|
@@ -12,6 +15,7 @@ exports[`SendButton should render a non-editing disabled SendButton 1`] = `
|
|
|
12
15
|
>
|
|
13
16
|
<View
|
|
14
17
|
accessible={true}
|
|
18
|
+
collapsable={false}
|
|
15
19
|
style={
|
|
16
20
|
Object {
|
|
17
21
|
"opacity": 1,
|
|
@@ -67,6 +71,9 @@ exports[`SendButton should render a non-editing disabled SendButton 1`] = `
|
|
|
67
71
|
exports[`SendButton should render a non-editing enabled SendButton 1`] = `
|
|
68
72
|
<RNGestureHandlerButton
|
|
69
73
|
collapsable={false}
|
|
74
|
+
exclusive={true}
|
|
75
|
+
handlerTag={1}
|
|
76
|
+
handlerType="NativeViewGestureHandler"
|
|
70
77
|
onGestureEvent={[Function]}
|
|
71
78
|
onGestureHandlerEvent={[Function]}
|
|
72
79
|
onGestureHandlerStateChange={[Function]}
|
|
@@ -76,6 +83,7 @@ exports[`SendButton should render a non-editing enabled SendButton 1`] = `
|
|
|
76
83
|
>
|
|
77
84
|
<View
|
|
78
85
|
accessible={true}
|
|
86
|
+
collapsable={false}
|
|
79
87
|
style={
|
|
80
88
|
Object {
|
|
81
89
|
"opacity": 1,
|
|
@@ -131,6 +139,9 @@ exports[`SendButton should render a non-editing enabled SendButton 1`] = `
|
|
|
131
139
|
exports[`SendButton should render an editing disabled SendButton 1`] = `
|
|
132
140
|
<RNGestureHandlerButton
|
|
133
141
|
collapsable={false}
|
|
142
|
+
exclusive={true}
|
|
143
|
+
handlerTag={4}
|
|
144
|
+
handlerType="NativeViewGestureHandler"
|
|
134
145
|
onGestureEvent={[Function]}
|
|
135
146
|
onGestureHandlerEvent={[Function]}
|
|
136
147
|
onGestureHandlerStateChange={[Function]}
|
|
@@ -140,6 +151,7 @@ exports[`SendButton should render an editing disabled SendButton 1`] = `
|
|
|
140
151
|
>
|
|
141
152
|
<View
|
|
142
153
|
accessible={true}
|
|
154
|
+
collapsable={false}
|
|
143
155
|
style={
|
|
144
156
|
Object {
|
|
145
157
|
"opacity": 1,
|
|
@@ -195,6 +207,9 @@ exports[`SendButton should render an editing disabled SendButton 1`] = `
|
|
|
195
207
|
exports[`SendButton should render an editing enabled SendButton 1`] = `
|
|
196
208
|
<RNGestureHandlerButton
|
|
197
209
|
collapsable={false}
|
|
210
|
+
exclusive={true}
|
|
211
|
+
handlerTag={3}
|
|
212
|
+
handlerType="NativeViewGestureHandler"
|
|
198
213
|
onGestureEvent={[Function]}
|
|
199
214
|
onGestureHandlerEvent={[Function]}
|
|
200
215
|
onGestureHandlerStateChange={[Function]}
|
|
@@ -204,6 +219,7 @@ exports[`SendButton should render an editing enabled SendButton 1`] = `
|
|
|
204
219
|
>
|
|
205
220
|
<View
|
|
206
221
|
accessible={true}
|
|
222
|
+
collapsable={false}
|
|
207
223
|
style={
|
|
208
224
|
Object {
|
|
209
225
|
"opacity": 1,
|
package/src/components/MessageInput/__tests__/__snapshots__/UploadProgressIndicator.test.js.snap
CHANGED
|
@@ -61,10 +61,7 @@ exports[`UploadProgressIndicator should render an active IN_PROGRESS UploadProgr
|
|
|
61
61
|
}
|
|
62
62
|
>
|
|
63
63
|
<ActivityIndicator
|
|
64
|
-
animating={true}
|
|
65
64
|
color="#F2F2F2"
|
|
66
|
-
hidesWhenStopped={true}
|
|
67
|
-
size="small"
|
|
68
65
|
testID="upload-progress-indicator"
|
|
69
66
|
/>
|
|
70
67
|
</View>
|
|
@@ -121,6 +118,7 @@ exports[`UploadProgressIndicator should render an active RETRY UploadProgressInd
|
|
|
121
118
|
>
|
|
122
119
|
<View
|
|
123
120
|
accessible={true}
|
|
121
|
+
collapsable={false}
|
|
124
122
|
focusable={true}
|
|
125
123
|
onClick={[Function]}
|
|
126
124
|
onResponderGrant={[Function]}
|
|
@@ -134,12 +134,9 @@ exports[`Thread should match thread snapshot 1`] = `
|
|
|
134
134
|
},
|
|
135
135
|
]
|
|
136
136
|
}
|
|
137
|
-
disableVirtualization={false}
|
|
138
137
|
extraData={false}
|
|
139
138
|
getItem={[Function]}
|
|
140
139
|
getItemCount={[Function]}
|
|
141
|
-
horizontal={false}
|
|
142
|
-
initialNumToRender={10}
|
|
143
140
|
invertStickyHeaders={true}
|
|
144
141
|
inverted={true}
|
|
145
142
|
keyExtractor={[Function]}
|
|
@@ -150,10 +147,9 @@ exports[`Thread should match thread snapshot 1`] = `
|
|
|
150
147
|
"minIndexForVisible": 1,
|
|
151
148
|
}
|
|
152
149
|
}
|
|
153
|
-
maxToRenderPerBatch={10}
|
|
154
150
|
onContentSizeChange={[Function]}
|
|
155
|
-
onEndReachedThreshold={2}
|
|
156
151
|
onLayout={[Function]}
|
|
152
|
+
onMomentumScrollBegin={[Function]}
|
|
157
153
|
onMomentumScrollEnd={[Function]}
|
|
158
154
|
onScroll={[Function]}
|
|
159
155
|
onScrollBeginDrag={[Function]}
|
|
@@ -184,7 +180,6 @@ exports[`Thread should match thread snapshot 1`] = `
|
|
|
184
180
|
]
|
|
185
181
|
}
|
|
186
182
|
testID="message-flat-list"
|
|
187
|
-
updateCellsBatchingPeriod={50}
|
|
188
183
|
viewabilityConfig={
|
|
189
184
|
Object {
|
|
190
185
|
"viewAreaCoveragePercentThreshold": 1,
|
|
@@ -200,7 +195,6 @@ exports[`Thread should match thread snapshot 1`] = `
|
|
|
200
195
|
},
|
|
201
196
|
]
|
|
202
197
|
}
|
|
203
|
-
windowSize={21}
|
|
204
198
|
>
|
|
205
199
|
<View>
|
|
206
200
|
<View
|
|
@@ -339,6 +333,7 @@ exports[`Thread should match thread snapshot 1`] = `
|
|
|
339
333
|
</View>
|
|
340
334
|
<View
|
|
341
335
|
accessible={true}
|
|
336
|
+
collapsable={false}
|
|
342
337
|
focusable={true}
|
|
343
338
|
onClick={[Function]}
|
|
344
339
|
onResponderGrant={[Function]}
|
|
@@ -586,6 +581,7 @@ exports[`Thread should match thread snapshot 1`] = `
|
|
|
586
581
|
</View>
|
|
587
582
|
<View
|
|
588
583
|
accessible={true}
|
|
584
|
+
collapsable={false}
|
|
589
585
|
focusable={true}
|
|
590
586
|
onClick={[Function]}
|
|
591
587
|
onResponderGrant={[Function]}
|
|
@@ -833,6 +829,7 @@ exports[`Thread should match thread snapshot 1`] = `
|
|
|
833
829
|
</View>
|
|
834
830
|
<View
|
|
835
831
|
accessible={true}
|
|
832
|
+
collapsable={false}
|
|
836
833
|
focusable={true}
|
|
837
834
|
onClick={[Function]}
|
|
838
835
|
onResponderGrant={[Function]}
|
|
@@ -1122,7 +1119,13 @@ exports[`Thread should match thread snapshot 1`] = `
|
|
|
1122
1119
|
</View>
|
|
1123
1120
|
</View>
|
|
1124
1121
|
<View
|
|
1122
|
+
accessibilityState={
|
|
1123
|
+
Object {
|
|
1124
|
+
"disabled": true,
|
|
1125
|
+
}
|
|
1126
|
+
}
|
|
1125
1127
|
accessible={true}
|
|
1128
|
+
collapsable={false}
|
|
1126
1129
|
focusable={true}
|
|
1127
1130
|
onClick={[Function]}
|
|
1128
1131
|
onResponderGrant={[Function]}
|
|
@@ -4,7 +4,7 @@ import type { TouchableOpacityProps } from 'react-native';
|
|
|
4
4
|
|
|
5
5
|
import type { MessagePinnedHeaderProps } from 'src/components/Message/MessageSimple/MessagePinnedHeader';
|
|
6
6
|
|
|
7
|
-
import type { ChannelState, MessageResponse } from 'stream-chat';
|
|
7
|
+
import type { Attachment, ChannelState, MessageResponse } from 'stream-chat';
|
|
8
8
|
|
|
9
9
|
import type { AttachmentProps } from '../../components/Attachment/Attachment';
|
|
10
10
|
import type { AttachmentActionsProps } from '../../components/Attachment/AttachmentActions';
|
|
@@ -107,7 +107,10 @@ export type MessagesContextValue<
|
|
|
107
107
|
* Defaults to: [Giphy](https://github.com/GetStream/stream-chat-react-native/blob/master/src/components/Attachment/Giphy.tsx)
|
|
108
108
|
*/
|
|
109
109
|
Giphy: React.ComponentType<GiphyProps<StreamChatGenerics>>;
|
|
110
|
-
|
|
110
|
+
/**
|
|
111
|
+
* The giphy version to render - check the keys of the [Image Object](https://developers.giphy.com/docs/api/schema#image-object) for possible values. Uses 'fixed_height' by default
|
|
112
|
+
* */
|
|
113
|
+
giphyVersion: keyof NonNullable<Attachment['giphy']>;
|
|
111
114
|
/**
|
|
112
115
|
* When true, messageList will be scrolled at first unread message, when opened.
|
|
113
116
|
*/
|
|
@@ -20,6 +20,7 @@ export const Colors = {
|
|
|
20
20
|
grey_gainsboro: '#DBDBDB',
|
|
21
21
|
grey_whisper: '#ECEBEB',
|
|
22
22
|
icon_background: '#FFFFFF',
|
|
23
|
+
label_bg_transparent: '#00000033', // 33 = 20% opacity
|
|
23
24
|
modal_shadow: '#00000099', // 99 = 60% opacity; x=0, y= 1, radius=4
|
|
24
25
|
overlay: '#000000CC', // CC = 80% opacity
|
|
25
26
|
shadow_icon: '#00000040', // 40 = 25% opacity; x=0, y=0, radius=4
|
package/src/version.json
CHANGED