@repzo/widget-react-native 1.3.1 → 1.4.0
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/CHANGELOG.md +137 -5
- package/README.md +64 -12
- package/lib/commonjs/api/client.js +96 -23
- package/lib/commonjs/api/client.js.map +1 -1
- package/lib/commonjs/attachments/file-size.js +52 -0
- package/lib/commonjs/attachments/file-size.js.map +1 -0
- package/lib/commonjs/attachments/local-previews.js +40 -0
- package/lib/commonjs/attachments/local-previews.js.map +1 -0
- package/lib/commonjs/attachments/pickers.js +20 -29
- package/lib/commonjs/attachments/pickers.js.map +1 -1
- package/lib/commonjs/i18n.js +22 -3
- package/lib/commonjs/i18n.js.map +1 -1
- package/lib/commonjs/locales.js +12 -3
- package/lib/commonjs/locales.js.map +1 -1
- package/lib/commonjs/state/widget-store.js +277 -30
- package/lib/commonjs/state/widget-store.js.map +1 -1
- package/lib/commonjs/storage.js +3 -1
- package/lib/commonjs/storage.js.map +1 -1
- package/lib/commonjs/types.js.map +1 -1
- package/lib/commonjs/ui/WidgetProvider.js +33 -13
- package/lib/commonjs/ui/WidgetProvider.js.map +1 -1
- package/lib/commonjs/ui/components/AttachmentChips.js +109 -40
- package/lib/commonjs/ui/components/AttachmentChips.js.map +1 -1
- package/lib/commonjs/ui/components/ConversationRow.js +65 -10
- package/lib/commonjs/ui/components/ConversationRow.js.map +1 -1
- package/lib/commonjs/ui/components/ImageViewer.js +229 -24
- package/lib/commonjs/ui/components/ImageViewer.js.map +1 -1
- package/lib/commonjs/ui/components/RatingCard.js +5 -2
- package/lib/commonjs/ui/components/RatingCard.js.map +1 -1
- package/lib/commonjs/ui/components/ZoomableImage.js +58 -10
- package/lib/commonjs/ui/components/ZoomableImage.js.map +1 -1
- package/lib/commonjs/ui/hooks/use-retained-state.js +39 -0
- package/lib/commonjs/ui/hooks/use-retained-state.js.map +1 -0
- package/lib/commonjs/ui/screens/chat/ChatView.js +637 -164
- package/lib/commonjs/ui/screens/chat/ChatView.js.map +1 -1
- package/lib/commonjs/ui/screens/chat/ChatView.styles.js +138 -1
- package/lib/commonjs/ui/screens/chat/ChatView.styles.js.map +1 -1
- package/lib/commonjs/ui/screens/conversations/ConversationsList.js +1 -0
- package/lib/commonjs/ui/screens/conversations/ConversationsList.js.map +1 -1
- package/lib/commonjs/ui/screens/home/HomeView.js +38 -55
- package/lib/commonjs/ui/screens/home/HomeView.js.map +1 -1
- package/lib/commonjs/ui/screens/home/HomeView.styles.js +36 -45
- package/lib/commonjs/ui/screens/home/HomeView.styles.js.map +1 -1
- package/lib/commonjs/ui/utils/html.js +13 -0
- package/lib/commonjs/ui/utils/html.js.map +1 -1
- package/lib/commonjs/ui/utils/image-load-queue.js +114 -0
- package/lib/commonjs/ui/utils/image-load-queue.js.map +1 -0
- package/lib/commonjs/ui/utils/inline-attachments.js +88 -0
- package/lib/commonjs/ui/utils/inline-attachments.js.map +1 -0
- package/lib/module/api/client.js +96 -23
- package/lib/module/api/client.js.map +1 -1
- package/lib/module/attachments/file-size.js +47 -0
- package/lib/module/attachments/file-size.js.map +1 -0
- package/lib/module/attachments/local-previews.js +33 -0
- package/lib/module/attachments/local-previews.js.map +1 -0
- package/lib/module/attachments/pickers.js +15 -25
- package/lib/module/attachments/pickers.js.map +1 -1
- package/lib/module/i18n.js +22 -3
- package/lib/module/i18n.js.map +1 -1
- package/lib/module/locales.js +12 -3
- package/lib/module/locales.js.map +1 -1
- package/lib/module/state/widget-store.js +279 -32
- package/lib/module/state/widget-store.js.map +1 -1
- package/lib/module/storage.js +2 -0
- package/lib/module/storage.js.map +1 -1
- package/lib/module/types.js.map +1 -1
- package/lib/module/ui/WidgetProvider.js +33 -13
- package/lib/module/ui/WidgetProvider.js.map +1 -1
- package/lib/module/ui/components/AttachmentChips.js +111 -42
- package/lib/module/ui/components/AttachmentChips.js.map +1 -1
- package/lib/module/ui/components/ConversationRow.js +65 -10
- package/lib/module/ui/components/ConversationRow.js.map +1 -1
- package/lib/module/ui/components/ImageViewer.js +231 -26
- package/lib/module/ui/components/ImageViewer.js.map +1 -1
- package/lib/module/ui/components/RatingCard.js +5 -2
- package/lib/module/ui/components/RatingCard.js.map +1 -1
- package/lib/module/ui/components/ZoomableImage.js +58 -10
- package/lib/module/ui/components/ZoomableImage.js.map +1 -1
- package/lib/module/ui/hooks/use-retained-state.js +34 -0
- package/lib/module/ui/hooks/use-retained-state.js.map +1 -0
- package/lib/module/ui/screens/chat/ChatView.js +641 -168
- package/lib/module/ui/screens/chat/ChatView.js.map +1 -1
- package/lib/module/ui/screens/chat/ChatView.styles.js +140 -2
- package/lib/module/ui/screens/chat/ChatView.styles.js.map +1 -1
- package/lib/module/ui/screens/conversations/ConversationsList.js +1 -0
- package/lib/module/ui/screens/conversations/ConversationsList.js.map +1 -1
- package/lib/module/ui/screens/home/HomeView.js +40 -57
- package/lib/module/ui/screens/home/HomeView.js.map +1 -1
- package/lib/module/ui/screens/home/HomeView.styles.js +36 -45
- package/lib/module/ui/screens/home/HomeView.styles.js.map +1 -1
- package/lib/module/ui/utils/html.js +12 -0
- package/lib/module/ui/utils/html.js.map +1 -1
- package/lib/module/ui/utils/image-load-queue.js +109 -0
- package/lib/module/ui/utils/image-load-queue.js.map +1 -0
- package/lib/module/ui/utils/inline-attachments.js +85 -0
- package/lib/module/ui/utils/inline-attachments.js.map +1 -0
- package/lib/typescript/commonjs/api/client.d.ts +12 -4
- package/lib/typescript/commonjs/api/client.d.ts.map +1 -1
- package/lib/typescript/commonjs/attachments/file-size.d.ts +15 -0
- package/lib/typescript/commonjs/attachments/file-size.d.ts.map +1 -0
- package/lib/typescript/commonjs/attachments/local-previews.d.ts +14 -0
- package/lib/typescript/commonjs/attachments/local-previews.d.ts.map +1 -0
- package/lib/typescript/commonjs/attachments/pickers.d.ts +15 -2
- package/lib/typescript/commonjs/attachments/pickers.d.ts.map +1 -1
- package/lib/typescript/commonjs/i18n.d.ts +12 -3
- package/lib/typescript/commonjs/i18n.d.ts.map +1 -1
- package/lib/typescript/commonjs/locales.d.ts.map +1 -1
- package/lib/typescript/commonjs/state/widget-store.d.ts +40 -1
- package/lib/typescript/commonjs/state/widget-store.d.ts.map +1 -1
- package/lib/typescript/commonjs/storage.d.ts +2 -0
- package/lib/typescript/commonjs/storage.d.ts.map +1 -1
- package/lib/typescript/commonjs/types.d.ts +41 -0
- package/lib/typescript/commonjs/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/WidgetProvider.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/AttachmentChips.d.ts +13 -3
- package/lib/typescript/commonjs/ui/components/AttachmentChips.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/ConversationRow.d.ts +15 -1
- package/lib/typescript/commonjs/ui/components/ConversationRow.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/ImageViewer.d.ts +26 -6
- package/lib/typescript/commonjs/ui/components/ImageViewer.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/RatingCard.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/ZoomableImage.d.ts +10 -1
- package/lib/typescript/commonjs/ui/components/ZoomableImage.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/use-retained-state.d.ts +11 -0
- package/lib/typescript/commonjs/ui/hooks/use-retained-state.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/chat/ChatView.d.ts +4 -4
- package/lib/typescript/commonjs/ui/screens/chat/ChatView.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/chat/ChatView.styles.d.ts +144 -0
- package/lib/typescript/commonjs/ui/screens/chat/ChatView.styles.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/chat/ChatView.types.d.ts +26 -1
- package/lib/typescript/commonjs/ui/screens/chat/ChatView.types.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/conversations/ConversationsList.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/conversations/ConversationsList.types.d.ts +2 -0
- package/lib/typescript/commonjs/ui/screens/conversations/ConversationsList.types.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/home/HomeView.d.ts +7 -5
- package/lib/typescript/commonjs/ui/screens/home/HomeView.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/home/HomeView.styles.d.ts +30 -35
- package/lib/typescript/commonjs/ui/screens/home/HomeView.styles.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/home/HomeView.types.d.ts +5 -6
- package/lib/typescript/commonjs/ui/screens/home/HomeView.types.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/utils/html.d.ts +5 -0
- package/lib/typescript/commonjs/ui/utils/html.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/utils/image-load-queue.d.ts +44 -0
- package/lib/typescript/commonjs/ui/utils/image-load-queue.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/utils/inline-attachments.d.ts +29 -0
- package/lib/typescript/commonjs/ui/utils/inline-attachments.d.ts.map +1 -0
- package/lib/typescript/module/api/client.d.ts +12 -4
- package/lib/typescript/module/api/client.d.ts.map +1 -1
- package/lib/typescript/module/attachments/file-size.d.ts +15 -0
- package/lib/typescript/module/attachments/file-size.d.ts.map +1 -0
- package/lib/typescript/module/attachments/local-previews.d.ts +14 -0
- package/lib/typescript/module/attachments/local-previews.d.ts.map +1 -0
- package/lib/typescript/module/attachments/pickers.d.ts +15 -2
- package/lib/typescript/module/attachments/pickers.d.ts.map +1 -1
- package/lib/typescript/module/i18n.d.ts +12 -3
- package/lib/typescript/module/i18n.d.ts.map +1 -1
- package/lib/typescript/module/locales.d.ts.map +1 -1
- package/lib/typescript/module/state/widget-store.d.ts +40 -1
- package/lib/typescript/module/state/widget-store.d.ts.map +1 -1
- package/lib/typescript/module/storage.d.ts +2 -0
- package/lib/typescript/module/storage.d.ts.map +1 -1
- package/lib/typescript/module/types.d.ts +41 -0
- package/lib/typescript/module/types.d.ts.map +1 -1
- package/lib/typescript/module/ui/WidgetProvider.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/AttachmentChips.d.ts +13 -3
- package/lib/typescript/module/ui/components/AttachmentChips.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/ConversationRow.d.ts +15 -1
- package/lib/typescript/module/ui/components/ConversationRow.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/ImageViewer.d.ts +26 -6
- package/lib/typescript/module/ui/components/ImageViewer.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/RatingCard.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/ZoomableImage.d.ts +10 -1
- package/lib/typescript/module/ui/components/ZoomableImage.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/use-retained-state.d.ts +11 -0
- package/lib/typescript/module/ui/hooks/use-retained-state.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/chat/ChatView.d.ts +4 -4
- package/lib/typescript/module/ui/screens/chat/ChatView.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/chat/ChatView.styles.d.ts +144 -0
- package/lib/typescript/module/ui/screens/chat/ChatView.styles.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/chat/ChatView.types.d.ts +26 -1
- package/lib/typescript/module/ui/screens/chat/ChatView.types.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/conversations/ConversationsList.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/conversations/ConversationsList.types.d.ts +2 -0
- package/lib/typescript/module/ui/screens/conversations/ConversationsList.types.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/home/HomeView.d.ts +7 -5
- package/lib/typescript/module/ui/screens/home/HomeView.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/home/HomeView.styles.d.ts +30 -35
- package/lib/typescript/module/ui/screens/home/HomeView.styles.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/home/HomeView.types.d.ts +5 -6
- package/lib/typescript/module/ui/screens/home/HomeView.types.d.ts.map +1 -1
- package/lib/typescript/module/ui/utils/html.d.ts +5 -0
- package/lib/typescript/module/ui/utils/html.d.ts.map +1 -1
- package/lib/typescript/module/ui/utils/image-load-queue.d.ts +44 -0
- package/lib/typescript/module/ui/utils/image-load-queue.d.ts.map +1 -0
- package/lib/typescript/module/ui/utils/inline-attachments.d.ts +29 -0
- package/lib/typescript/module/ui/utils/inline-attachments.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/api/client.ts +116 -34
- package/src/attachments/file-size.ts +42 -0
- package/src/attachments/local-previews.ts +32 -0
- package/src/attachments/pickers.ts +23 -25
- package/src/i18n.ts +22 -3
- package/src/locales.ts +12 -3
- package/src/state/widget-store.ts +322 -50
- package/src/storage.ts +2 -0
- package/src/types.ts +41 -0
- package/src/ui/WidgetProvider.tsx +35 -8
- package/src/ui/components/AttachmentChips.tsx +100 -29
- package/src/ui/components/ConversationRow.tsx +90 -9
- package/src/ui/components/ImageViewer.tsx +242 -24
- package/src/ui/components/RatingCard.tsx +5 -2
- package/src/ui/components/ZoomableImage.tsx +58 -5
- package/src/ui/hooks/use-retained-state.ts +35 -0
- package/src/ui/screens/chat/ChatView.styles.ts +139 -1
- package/src/ui/screens/chat/ChatView.tsx +721 -197
- package/src/ui/screens/chat/ChatView.types.ts +26 -1
- package/src/ui/screens/conversations/ConversationsList.tsx +1 -0
- package/src/ui/screens/conversations/ConversationsList.types.ts +2 -0
- package/src/ui/screens/home/HomeView.styles.ts +36 -45
- package/src/ui/screens/home/HomeView.tsx +54 -70
- package/src/ui/screens/home/HomeView.types.ts +5 -6
- package/src/ui/utils/html.ts +26 -0
- package/src/ui/utils/image-load-queue.ts +108 -0
- package/src/ui/utils/inline-attachments.ts +71 -0
|
@@ -2,9 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
import { StyleSheet } from 'react-native';
|
|
4
4
|
|
|
5
|
-
import { fontSize, palette, radius, spacing } from '../../styles/theme';
|
|
5
|
+
import { fontSize, palette, radius, shadows, spacing } from '../../styles/theme';
|
|
6
6
|
import { START_ALIGN } from '../../utils/rtl';
|
|
7
7
|
|
|
8
|
+
/** A message's photo album: one square, fitting the bubble on a 320 pt phone. */
|
|
9
|
+
const ALBUM_SIZE = 216;
|
|
10
|
+
const ALBUM_GAP = 3;
|
|
11
|
+
const ALBUM_TILE = (ALBUM_SIZE - ALBUM_GAP) / 2;
|
|
12
|
+
|
|
8
13
|
export const styles = StyleSheet.create({
|
|
9
14
|
header: {
|
|
10
15
|
flexDirection: 'row',
|
|
@@ -113,6 +118,54 @@ export const styles = StyleSheet.create({
|
|
|
113
118
|
paddingBottom: spacing.sm,
|
|
114
119
|
gap: spacing.sm,
|
|
115
120
|
},
|
|
121
|
+
// The inverted list flips its container: paddingTop shows at the bottom.
|
|
122
|
+
threadContent: {
|
|
123
|
+
paddingHorizontal: spacing.lg,
|
|
124
|
+
paddingTop: spacing.sm,
|
|
125
|
+
paddingBottom: spacing.lg,
|
|
126
|
+
},
|
|
127
|
+
threadRow: {
|
|
128
|
+
gap: spacing.sm,
|
|
129
|
+
},
|
|
130
|
+
threadGap: {
|
|
131
|
+
height: spacing.sm,
|
|
132
|
+
},
|
|
133
|
+
threadTail: {
|
|
134
|
+
gap: spacing.sm,
|
|
135
|
+
},
|
|
136
|
+
threadTailInList: {
|
|
137
|
+
paddingTop: spacing.sm,
|
|
138
|
+
},
|
|
139
|
+
// Floats over the thread's bottom corner, just above the composer.
|
|
140
|
+
jumpToLatest: {
|
|
141
|
+
position: 'absolute',
|
|
142
|
+
bottom: spacing.md,
|
|
143
|
+
end: spacing.lg,
|
|
144
|
+
width: 40,
|
|
145
|
+
height: 40,
|
|
146
|
+
borderRadius: 20,
|
|
147
|
+
alignItems: 'center',
|
|
148
|
+
justifyContent: 'center',
|
|
149
|
+
backgroundColor: palette.white,
|
|
150
|
+
borderWidth: StyleSheet.hairlineWidth,
|
|
151
|
+
borderColor: palette.border,
|
|
152
|
+
...shadows.floating,
|
|
153
|
+
},
|
|
154
|
+
jumpBadge: {
|
|
155
|
+
position: 'absolute',
|
|
156
|
+
top: -6,
|
|
157
|
+
end: -4,
|
|
158
|
+
minWidth: 18,
|
|
159
|
+
height: 18,
|
|
160
|
+
paddingHorizontal: 5,
|
|
161
|
+
borderRadius: radius.pill,
|
|
162
|
+
alignItems: 'center',
|
|
163
|
+
justifyContent: 'center',
|
|
164
|
+
},
|
|
165
|
+
jumpBadgeText: {
|
|
166
|
+
fontSize: fontSize.micro,
|
|
167
|
+
fontWeight: '700',
|
|
168
|
+
},
|
|
116
169
|
loadMore: {
|
|
117
170
|
alignSelf: 'center',
|
|
118
171
|
paddingVertical: spacing.sm,
|
|
@@ -204,6 +257,10 @@ export const styles = StyleSheet.create({
|
|
|
204
257
|
attachments: {
|
|
205
258
|
gap: spacing.xs + 2,
|
|
206
259
|
},
|
|
260
|
+
// A reply's paragraphs and the images between them.
|
|
261
|
+
inlineParts: {
|
|
262
|
+
gap: spacing.sm,
|
|
263
|
+
},
|
|
207
264
|
attachmentsSpaced: {
|
|
208
265
|
marginTop: spacing.sm,
|
|
209
266
|
},
|
|
@@ -211,6 +268,87 @@ export const styles = StyleSheet.create({
|
|
|
211
268
|
width: 180,
|
|
212
269
|
height: 140,
|
|
213
270
|
borderRadius: radius.md,
|
|
271
|
+
// What shows while it loads, like an album tile.
|
|
272
|
+
backgroundColor: 'rgba(0,0,0,0.08)',
|
|
273
|
+
},
|
|
274
|
+
// Over a photo while it loads: a dark disc reads on the brand bubble and the white one alike.
|
|
275
|
+
photoLoader: {
|
|
276
|
+
...StyleSheet.absoluteFillObject,
|
|
277
|
+
alignItems: 'center',
|
|
278
|
+
justifyContent: 'center',
|
|
279
|
+
},
|
|
280
|
+
photoLoaderBadge: {
|
|
281
|
+
width: 36,
|
|
282
|
+
height: 36,
|
|
283
|
+
borderRadius: 18,
|
|
284
|
+
alignItems: 'center',
|
|
285
|
+
justifyContent: 'center',
|
|
286
|
+
backgroundColor: 'rgba(0,0,0,0.4)',
|
|
287
|
+
},
|
|
288
|
+
album: {
|
|
289
|
+
width: ALBUM_SIZE,
|
|
290
|
+
height: ALBUM_SIZE,
|
|
291
|
+
borderRadius: radius.md,
|
|
292
|
+
overflow: 'hidden',
|
|
293
|
+
gap: ALBUM_GAP,
|
|
294
|
+
},
|
|
295
|
+
albumRow: {
|
|
296
|
+
flexDirection: 'row',
|
|
297
|
+
},
|
|
298
|
+
albumGrid: {
|
|
299
|
+
flexDirection: 'row',
|
|
300
|
+
flexWrap: 'wrap',
|
|
301
|
+
},
|
|
302
|
+
albumColumn: {
|
|
303
|
+
flex: 1,
|
|
304
|
+
gap: ALBUM_GAP,
|
|
305
|
+
},
|
|
306
|
+
// Half the square: one of two side by side, or the tall one of three.
|
|
307
|
+
albumHalf: {
|
|
308
|
+
flex: 1,
|
|
309
|
+
},
|
|
310
|
+
albumQuarter: {
|
|
311
|
+
width: ALBUM_TILE,
|
|
312
|
+
height: ALBUM_TILE,
|
|
313
|
+
},
|
|
314
|
+
albumTile: {
|
|
315
|
+
overflow: 'hidden',
|
|
316
|
+
backgroundColor: 'rgba(0,0,0,0.08)',
|
|
317
|
+
},
|
|
318
|
+
albumImage: {
|
|
319
|
+
width: '100%',
|
|
320
|
+
height: '100%',
|
|
321
|
+
},
|
|
322
|
+
// Opaque, so it reads the same in the visitor's colored bubble and a teammate's.
|
|
323
|
+
albumFallback: {
|
|
324
|
+
...StyleSheet.absoluteFillObject,
|
|
325
|
+
alignItems: 'center',
|
|
326
|
+
justifyContent: 'center',
|
|
327
|
+
gap: spacing.xs,
|
|
328
|
+
padding: spacing.sm,
|
|
329
|
+
backgroundColor: palette.surfaceAlt,
|
|
330
|
+
},
|
|
331
|
+
albumFallbackType: {
|
|
332
|
+
color: palette.textMuted,
|
|
333
|
+
fontSize: fontSize.caption,
|
|
334
|
+
fontWeight: '700',
|
|
335
|
+
},
|
|
336
|
+
albumFallbackName: {
|
|
337
|
+
color: palette.text,
|
|
338
|
+
fontSize: fontSize.caption,
|
|
339
|
+
textAlign: 'center',
|
|
340
|
+
},
|
|
341
|
+
// Over the last tile when the album has more photos than it shows.
|
|
342
|
+
albumMore: {
|
|
343
|
+
...StyleSheet.absoluteFillObject,
|
|
344
|
+
alignItems: 'center',
|
|
345
|
+
justifyContent: 'center',
|
|
346
|
+
backgroundColor: 'rgba(0,0,0,0.45)',
|
|
347
|
+
},
|
|
348
|
+
albumMoreText: {
|
|
349
|
+
color: palette.white,
|
|
350
|
+
fontSize: fontSize.heading,
|
|
351
|
+
fontWeight: '700',
|
|
214
352
|
},
|
|
215
353
|
// Follows the bubble's side. Under the visitor's it lines up with
|
|
216
354
|
// `receiptText`, which it replaces on a failed message.
|