@tactics/toddle-styleguide 1.3.0 → 1.3.2
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/App.tsx +3 -1
- package/package.json +1 -1
- package/src/components/atoms/calendar/__snapshots__/calendar.test.js.snap +18 -18
- package/src/components/molecules/failed-to-send/__snapshots__/failed-bubble.test.js.snap +27 -36
- package/src/components/molecules/failed-to-send/failed-bubble.component.tsx +3 -3
- package/src/components/molecules/failed-to-send/failed-bubble.styles.d.ts +9 -10
- package/src/components/molecules/failed-to-send/failed-bubble.styles.js +9 -6
- package/src/components/molecules/message-input/__snapshots__/message-input.test.js.snap +64 -388
- package/src/components/molecules/message-input/message-input.component.d.ts +0 -1
- package/src/components/molecules/message-input/message-input.component.tsx +9 -9
- package/src/components/molecules/message-input/message-input.preview.tsx +2 -2
- package/src/components/molecules/message-input/message-input.styles.d.ts +13 -6
- package/src/components/molecules/message-input/message-input.styles.js +14 -6
- package/src/components/molecules/message-input/message-input.test.js +0 -4
- package/src/components/molecules/search-input/search.styles.js +0 -3
- package/src/components/molecules/send-bubble/__snapshots__/send-text-bubble.test.js.snap +228 -210
- package/src/components/molecules/send-bubble/send-text-bubble.component.d.ts +0 -3
- package/src/components/molecules/send-bubble/send-text-bubble.component.tsx +3 -12
- package/src/components/molecules/send-bubble/send-text-bubble.styles.d.ts +7 -19
- package/src/components/molecules/send-bubble/send-text-bubble.styles.js +5 -11
- package/src/components/molecules/send-bubble/send-text-bubble.test.js +6 -17
- package/src/components/molecules/time-picker/time-picker.preview.tsx +0 -1
- package/src/components/organisms/journal-entry/components/entry-type-indicator/{entry-type-indicator.tsx → entry-type-indicator.component.tsx} +3 -5
- package/src/components/organisms/journal-entry/components/entry-type-indicator/entry-type-indicator.test.js +8 -4
- package/src/components/organisms/journal-entry/components/index.d.ts +1 -1
- package/src/components/organisms/journal-entry/components/index.ts +1 -1
- package/src/components/organisms/journal-entry/components/journal-entry-type/__snapshots__/journal-entry-type.test.js.snap +3 -3
- package/src/components/organisms/journal-entry/components/journal-entry-type/journal-entry-type.component.tsx +1 -1
- package/src/components/organisms/journal-entry/components/journal-entry-type/journal-entry-type.test.js +3 -0
- package/src/components/organisms/journal-entry/journal-entry.component.d.ts +0 -5
- package/src/components/organisms/journal-entry/journal-entry.component.tsx +2 -9
- package/src/components/organisms/journal-entry/journal-entry.preview.tsx +12 -11
- package/src/components/organisms/journal-entry/journal-entry.styles.d.ts +23 -39
- package/src/components/organisms/journal-entry/journal-entry.styles.js +10 -18
- package/src/components/organisms/my-child-list-item/my-child-list-item.component.tsx +1 -2
- package/src/components/organisms/text-bubble/__snapshots__/text-bubble.test.js.snap +849 -642
- package/src/components/organisms/text-bubble/text-bubble.component.d.ts +0 -5
- package/src/components/organisms/text-bubble/text-bubble.component.tsx +10 -18
- package/src/components/organisms/text-bubble/text-bubble.preview.tsx +66 -64
- package/src/components/organisms/text-bubble/text-bubble.styles.d.ts +16 -56
- package/src/components/organisms/text-bubble/text-bubble.styles.js +15 -38
- package/src/components/templates/modal/components/fade-panel.component.d.ts +0 -2
- package/src/components/templates/modal/components/fade-panel.component.tsx +2 -8
- package/src/components/templates/modal/components/fade-panel.styles.d.ts +2 -0
- package/src/components/templates/modal/components/fade-panel.styles.js +2 -0
- package/src/components/templates/modal/modal.component.d.ts +0 -2
- package/src/components/templates/modal/modal.component.tsx +0 -3
- package/src/components/templates/modal/modal.preview.tsx +13 -38
- package/src/components/templates/modal/modal.styles.d.ts +5 -0
- package/src/components/templates/modal/modal.styles.js +5 -0
- package/src/components/templates/popover/components/foreground/foreground.component.tsx +1 -5
- package/src/components/templates/popover/components/foreground/foreground.styles.d.ts +2 -2
- package/src/components/templates/popover/components/foreground/foreground.styles.js +4 -4
- package/src/components/templates/popover/popover.component.tsx +1 -2
- package/src/components/templates/popover/popover.styles.d.ts +3 -0
- package/src/components/templates/popover/popover.styles.js +1 -0
- package/src/components/templates/popover-action/popover-action.component.tsx +6 -1
- package/src/components/templates/popover-action/popover-action.styles.d.ts +4 -2
- package/src/components/templates/popover-action/popover-action.styles.js +4 -2
- /package/src/components/organisms/journal-entry/components/entry-type-indicator/{entry-type-indicator.d.ts → entry-type-indicator.component.d.ts} +0 -0
package/App.tsx
CHANGED
|
@@ -392,7 +392,9 @@ function App() {
|
|
|
392
392
|
<Stack.Screen name="message-input">
|
|
393
393
|
{() => <MessageInputPreview />}
|
|
394
394
|
</Stack.Screen>
|
|
395
|
-
<Stack.Screen name="modal"
|
|
395
|
+
<Stack.Screen name="modal" options={{headerShown: false}}>
|
|
396
|
+
{() => <ModalPreview />}
|
|
397
|
+
</Stack.Screen>
|
|
396
398
|
<Stack.Screen name="more-info-button">
|
|
397
399
|
{() => <MoreInfoButtonPreview />}
|
|
398
400
|
</Stack.Screen>
|
package/package.json
CHANGED
|
@@ -1300,7 +1300,7 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
1300
1300
|
}
|
|
1301
1301
|
>
|
|
1302
1302
|
<View
|
|
1303
|
-
accessibilityLabel="
|
|
1303
|
+
accessibilityLabel=" Donderdag 10 Augustus 2023 "
|
|
1304
1304
|
accessibilityRole="button"
|
|
1305
1305
|
accessibilityState={
|
|
1306
1306
|
{
|
|
@@ -1332,10 +1332,6 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
1332
1332
|
style={
|
|
1333
1333
|
{
|
|
1334
1334
|
"alignItems": "center",
|
|
1335
|
-
"borderColor": "#7B93DB",
|
|
1336
|
-
"borderRadius": 21,
|
|
1337
|
-
"borderStyle": "solid",
|
|
1338
|
-
"borderWidth": 1,
|
|
1339
1335
|
"height": 42,
|
|
1340
1336
|
"justifyContent": "center",
|
|
1341
1337
|
"opacity": 1,
|
|
@@ -1355,9 +1351,6 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
1355
1351
|
"lineHeight": 22.4,
|
|
1356
1352
|
"marginTop": 4,
|
|
1357
1353
|
},
|
|
1358
|
-
{
|
|
1359
|
-
"color": "#7B93DB",
|
|
1360
|
-
},
|
|
1361
1354
|
]
|
|
1362
1355
|
}
|
|
1363
1356
|
>
|
|
@@ -1388,7 +1381,7 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
1388
1381
|
}
|
|
1389
1382
|
>
|
|
1390
1383
|
<View
|
|
1391
|
-
accessibilityLabel=" Vrijdag 11 Augustus 2023 "
|
|
1384
|
+
accessibilityLabel="today Vrijdag 11 Augustus 2023 "
|
|
1392
1385
|
accessibilityRole="button"
|
|
1393
1386
|
accessibilityState={
|
|
1394
1387
|
{
|
|
@@ -1420,6 +1413,10 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
1420
1413
|
style={
|
|
1421
1414
|
{
|
|
1422
1415
|
"alignItems": "center",
|
|
1416
|
+
"borderColor": "#7B93DB",
|
|
1417
|
+
"borderRadius": 21,
|
|
1418
|
+
"borderStyle": "solid",
|
|
1419
|
+
"borderWidth": 1,
|
|
1423
1420
|
"height": 42,
|
|
1424
1421
|
"justifyContent": "center",
|
|
1425
1422
|
"opacity": 1,
|
|
@@ -1439,6 +1436,9 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
1439
1436
|
"lineHeight": 22.4,
|
|
1440
1437
|
"marginTop": 4,
|
|
1441
1438
|
},
|
|
1439
|
+
{
|
|
1440
|
+
"color": "#7B93DB",
|
|
1441
|
+
},
|
|
1442
1442
|
]
|
|
1443
1443
|
}
|
|
1444
1444
|
>
|
|
@@ -4683,8 +4683,7 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
4683
4683
|
}
|
|
4684
4684
|
>
|
|
4685
4685
|
<View
|
|
4686
|
-
accessibilityLabel="
|
|
4687
|
-
accessibilityRole="button"
|
|
4686
|
+
accessibilityLabel=" Donderdag 10 Augustus 2023 "
|
|
4688
4687
|
accessibilityState={
|
|
4689
4688
|
{
|
|
4690
4689
|
"busy": undefined,
|
|
@@ -4715,10 +4714,6 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
4715
4714
|
style={
|
|
4716
4715
|
{
|
|
4717
4716
|
"alignItems": "center",
|
|
4718
|
-
"borderColor": "#7B93DB",
|
|
4719
|
-
"borderRadius": 21,
|
|
4720
|
-
"borderStyle": "solid",
|
|
4721
|
-
"borderWidth": 1,
|
|
4722
4717
|
"height": 42,
|
|
4723
4718
|
"justifyContent": "center",
|
|
4724
4719
|
"opacity": 1,
|
|
@@ -4739,7 +4734,7 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
4739
4734
|
"marginTop": 4,
|
|
4740
4735
|
},
|
|
4741
4736
|
{
|
|
4742
|
-
"color": "#
|
|
4737
|
+
"color": "#9AA5B1",
|
|
4743
4738
|
},
|
|
4744
4739
|
]
|
|
4745
4740
|
}
|
|
@@ -4771,7 +4766,8 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
4771
4766
|
}
|
|
4772
4767
|
>
|
|
4773
4768
|
<View
|
|
4774
|
-
accessibilityLabel=" Vrijdag 11 Augustus 2023 "
|
|
4769
|
+
accessibilityLabel="today Vrijdag 11 Augustus 2023 "
|
|
4770
|
+
accessibilityRole="button"
|
|
4775
4771
|
accessibilityState={
|
|
4776
4772
|
{
|
|
4777
4773
|
"busy": undefined,
|
|
@@ -4802,6 +4798,10 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
4802
4798
|
style={
|
|
4803
4799
|
{
|
|
4804
4800
|
"alignItems": "center",
|
|
4801
|
+
"borderColor": "#7B93DB",
|
|
4802
|
+
"borderRadius": 21,
|
|
4803
|
+
"borderStyle": "solid",
|
|
4804
|
+
"borderWidth": 1,
|
|
4805
4805
|
"height": 42,
|
|
4806
4806
|
"justifyContent": "center",
|
|
4807
4807
|
"opacity": 1,
|
|
@@ -4822,7 +4822,7 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
4822
4822
|
"marginTop": 4,
|
|
4823
4823
|
},
|
|
4824
4824
|
{
|
|
4825
|
-
"color": "#
|
|
4825
|
+
"color": "#7B93DB",
|
|
4826
4826
|
},
|
|
4827
4827
|
]
|
|
4828
4828
|
}
|
|
@@ -5,6 +5,7 @@ exports[`Failed text bubble test shows a failed to send text bubble that is swip
|
|
|
5
5
|
style={
|
|
6
6
|
{
|
|
7
7
|
"flexDirection": "row",
|
|
8
|
+
"gap": 12,
|
|
8
9
|
}
|
|
9
10
|
}
|
|
10
11
|
>
|
|
@@ -13,7 +14,6 @@ exports[`Failed text bubble test shows a failed to send text bubble that is swip
|
|
|
13
14
|
{
|
|
14
15
|
"justifyContent": "center",
|
|
15
16
|
"padding": 2,
|
|
16
|
-
"width": "14%",
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
>
|
|
@@ -79,16 +79,16 @@ exports[`Failed text bubble test shows a failed to send text bubble that is swip
|
|
|
79
79
|
style={
|
|
80
80
|
{
|
|
81
81
|
"backgroundColor": "#F16868",
|
|
82
|
-
"borderBottomLeftRadius":
|
|
83
|
-
"borderBottomRightRadius":
|
|
84
|
-
"
|
|
82
|
+
"borderBottomLeftRadius": 8,
|
|
83
|
+
"borderBottomRightRadius": 32,
|
|
84
|
+
"borderTopLeftRadius": 24,
|
|
85
|
+
"borderTopRightRadius": 24,
|
|
86
|
+
"flex": 1,
|
|
85
87
|
"justifyContent": "center",
|
|
86
|
-
"overflow": "hidden",
|
|
87
88
|
"paddingBottom": 16,
|
|
88
89
|
"paddingLeft": 24,
|
|
89
90
|
"paddingRight": 24,
|
|
90
91
|
"paddingTop": 16,
|
|
91
|
-
"width": "86%",
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
>
|
|
@@ -199,8 +199,8 @@ exports[`Failed text bubble test shows a failed to send text bubble that is swip
|
|
|
199
199
|
},
|
|
200
200
|
]
|
|
201
201
|
}
|
|
202
|
-
vbHeight={
|
|
203
|
-
vbWidth={
|
|
202
|
+
vbHeight={18}
|
|
203
|
+
vbWidth={16}
|
|
204
204
|
width={24}
|
|
205
205
|
>
|
|
206
206
|
<RNSVGGroup
|
|
@@ -212,24 +212,18 @@ exports[`Failed text bubble test shows a failed to send text bubble that is swip
|
|
|
212
212
|
}
|
|
213
213
|
>
|
|
214
214
|
<RNSVGPath
|
|
215
|
-
d="M1.
|
|
216
|
-
|
|
217
|
-
[
|
|
218
|
-
"stroke",
|
|
219
|
-
"strokeWidth",
|
|
220
|
-
"strokeLinecap",
|
|
221
|
-
"strokeLinejoin",
|
|
222
|
-
]
|
|
223
|
-
}
|
|
224
|
-
stroke={
|
|
215
|
+
d="M1.40005 0.200012C2.00756 0.200012 2.50005 0.692499 2.50005 1.30001V3.61139C3.89715 2.18539 5.84462 1.30001 8.00005 1.30001C11.3544 1.30001 14.2051 3.44426 15.2616 6.43344C15.4641 7.00623 15.1639 7.63468 14.5911 7.83714C14.0183 8.03959 13.3898 7.73937 13.1874 7.16658C12.4318 5.02891 10.3931 3.50001 8.00005 3.50001C6.20162 3.50001 4.60329 4.36353 3.59934 5.70001H6.90005C7.50756 5.70001 8.00005 6.1925 8.00005 6.80001C8.00005 7.40752 7.50756 7.90001 6.90005 7.90001H1.40005C0.792536 7.90001 0.300049 7.40752 0.300049 6.80001V1.30001C0.300049 0.692499 0.792536 0.200012 1.40005 0.200012ZM1.40903 10.1629C1.98182 9.96044 2.61027 10.2607 2.81273 10.8334C3.56828 12.9711 5.60703 14.5 8.00005 14.5C9.79847 14.5 11.3968 13.6365 12.4008 12.3L9.10005 12.3C8.49254 12.3 8.00005 11.8075 8.00005 11.2C8.00005 10.5925 8.49254 10.1 9.10005 10.1H14.6C14.8918 10.1 15.1716 10.2159 15.3779 10.4222C15.5842 10.6285 15.7 10.9083 15.7 11.2V16.7C15.7 17.3075 15.2076 17.8 14.6 17.8C13.9925 17.8 13.5 17.3075 13.5 16.7V14.3886C12.1029 15.8146 10.1555 16.7 8.00005 16.7C4.6457 16.7 1.795 14.5558 0.738478 11.5666C0.536026 10.9938 0.836243 10.3653 1.40903 10.1629Z"
|
|
216
|
+
fill={
|
|
225
217
|
{
|
|
226
218
|
"payload": 4294695385,
|
|
227
219
|
"type": 0,
|
|
228
220
|
}
|
|
229
221
|
}
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
222
|
+
propList={
|
|
223
|
+
[
|
|
224
|
+
"fill",
|
|
225
|
+
]
|
|
226
|
+
}
|
|
233
227
|
/>
|
|
234
228
|
</RNSVGGroup>
|
|
235
229
|
</RNSVGSvgView>
|
|
@@ -300,8 +294,8 @@ exports[`Failed text bubble test shows a failed to send text bubble that is swip
|
|
|
300
294
|
},
|
|
301
295
|
]
|
|
302
296
|
}
|
|
303
|
-
vbHeight={
|
|
304
|
-
vbWidth={
|
|
297
|
+
vbHeight={18}
|
|
298
|
+
vbWidth={17}
|
|
305
299
|
width={24}
|
|
306
300
|
>
|
|
307
301
|
<RNSVGGroup
|
|
@@ -313,24 +307,21 @@ exports[`Failed text bubble test shows a failed to send text bubble that is swip
|
|
|
313
307
|
}
|
|
314
308
|
>
|
|
315
309
|
<RNSVGPath
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
"stroke",
|
|
320
|
-
"strokeWidth",
|
|
321
|
-
"strokeLinecap",
|
|
322
|
-
"strokeLinejoin",
|
|
323
|
-
]
|
|
324
|
-
}
|
|
325
|
-
stroke={
|
|
310
|
+
clipRule={0}
|
|
311
|
+
d="M7.34995 0.200012C6.91436 0.200012 6.51616 0.435415 6.32136 0.808077L5.48921 2.40001H1.59995C0.964824 2.40001 0.449951 2.8925 0.449951 3.50001C0.449951 4.10753 0.964824 4.60001 1.59995 4.60001L1.59995 15.6C1.59995 16.815 2.6297 17.8 3.89995 17.8H13.1C14.3702 17.8 15.4 16.815 15.4 15.6V4.60001C16.0351 4.60001 16.55 4.10753 16.55 3.50001C16.55 2.8925 16.0351 2.40001 15.4 2.40001H11.5107L10.6785 0.808077C10.4837 0.435415 10.0855 0.200012 9.64995 0.200012H7.34995ZM5.04995 6.80001C5.04995 6.1925 5.56482 5.70001 6.19995 5.70001C6.83508 5.70001 7.34995 6.1925 7.34995 6.80001V13.4C7.34995 14.0075 6.83508 14.5 6.19995 14.5C5.56482 14.5 5.04995 14.0075 5.04995 13.4V6.80001ZM10.8 5.70001C10.1648 5.70001 9.64995 6.1925 9.64995 6.80001V13.4C9.64995 14.0075 10.1648 14.5 10.8 14.5C11.4351 14.5 11.95 14.0075 11.95 13.4V6.80001C11.95 6.1925 11.4351 5.70001 10.8 5.70001Z"
|
|
312
|
+
fill={
|
|
326
313
|
{
|
|
327
314
|
"payload": 4294695385,
|
|
328
315
|
"type": 0,
|
|
329
316
|
}
|
|
330
317
|
}
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
318
|
+
fillRule={0}
|
|
319
|
+
propList={
|
|
320
|
+
[
|
|
321
|
+
"fill",
|
|
322
|
+
"fillRule",
|
|
323
|
+
]
|
|
324
|
+
}
|
|
334
325
|
/>
|
|
335
326
|
</RNSVGGroup>
|
|
336
327
|
</RNSVGSvgView>
|
|
@@ -44,7 +44,7 @@ const FailedTextBubble = ({
|
|
|
44
44
|
testID="refresh-button"
|
|
45
45
|
>
|
|
46
46
|
<Icon
|
|
47
|
-
style={'
|
|
47
|
+
style={'solid'}
|
|
48
48
|
name={'refresh'}
|
|
49
49
|
color={context.colors.ui.error.xlight}
|
|
50
50
|
/>
|
|
@@ -56,7 +56,7 @@ const FailedTextBubble = ({
|
|
|
56
56
|
<Animated.View style={[styles.swipedIcon, {opacity}]}>
|
|
57
57
|
<Pressable onPress={() => onPressDelete(id)} testID="delete-button">
|
|
58
58
|
<Icon
|
|
59
|
-
style={'
|
|
59
|
+
style={'solid'}
|
|
60
60
|
name={'trash'}
|
|
61
61
|
color={context.colors.ui.error.xlight}
|
|
62
62
|
/>
|
|
@@ -68,7 +68,7 @@ const FailedTextBubble = ({
|
|
|
68
68
|
};
|
|
69
69
|
|
|
70
70
|
return (
|
|
71
|
-
<GestureHandlerRootView style={
|
|
71
|
+
<GestureHandlerRootView style={styles.rootContainer}>
|
|
72
72
|
<View style={styles.iconContainer}>
|
|
73
73
|
<Icon
|
|
74
74
|
style={'regular'}
|
|
@@ -1,30 +1,29 @@
|
|
|
1
1
|
export function Stylesheet(context: any): {
|
|
2
|
+
rootContainer: {
|
|
3
|
+
flexDirection: 'row';
|
|
4
|
+
gap: number;
|
|
5
|
+
};
|
|
2
6
|
iconContainer: {
|
|
3
|
-
width: string;
|
|
4
7
|
padding: number;
|
|
5
8
|
justifyContent: 'center';
|
|
6
9
|
};
|
|
7
10
|
textBubbleContainer: {
|
|
8
|
-
|
|
11
|
+
flex: number;
|
|
9
12
|
paddingLeft: number;
|
|
10
13
|
paddingTop: number;
|
|
11
14
|
paddingRight: number;
|
|
12
15
|
paddingBottom: number;
|
|
13
|
-
borderRadius: number;
|
|
14
|
-
overflow: 'hidden';
|
|
15
16
|
justifyContent: 'center';
|
|
16
17
|
backgroundColor: any;
|
|
17
|
-
|
|
18
|
+
borderTopLeftRadius: number;
|
|
19
|
+
borderTopRightRadius: number;
|
|
18
20
|
borderBottomLeftRadius: number;
|
|
21
|
+
borderBottomRightRadius: number;
|
|
19
22
|
};
|
|
20
23
|
text: {
|
|
24
|
+
minHeight: number;
|
|
21
25
|
textAlignVertical: 'center';
|
|
22
26
|
backgroundColor: any;
|
|
23
|
-
color: any;
|
|
24
|
-
fontFamily: string;
|
|
25
|
-
fontSize: number;
|
|
26
|
-
lineHeight: number;
|
|
27
|
-
minHeight: number;
|
|
28
27
|
};
|
|
29
28
|
swipedIcon: {
|
|
30
29
|
alignItems: 'center';
|
|
@@ -3,23 +3,26 @@ import {Scale} from '../../../theme/scale/index';
|
|
|
3
3
|
|
|
4
4
|
export const Stylesheet = (context) =>
|
|
5
5
|
StyleSheet.create({
|
|
6
|
+
rootContainer: {
|
|
7
|
+
flexDirection: 'row',
|
|
8
|
+
gap: Scale.s,
|
|
9
|
+
},
|
|
6
10
|
iconContainer: {
|
|
7
|
-
width: '14%',
|
|
8
11
|
padding: Scale.xxxs,
|
|
9
12
|
justifyContent: 'center',
|
|
10
13
|
},
|
|
11
14
|
textBubbleContainer: {
|
|
12
|
-
|
|
15
|
+
flex: 1,
|
|
13
16
|
paddingLeft: Scale.l,
|
|
14
17
|
paddingTop: Scale.m,
|
|
15
18
|
paddingRight: Scale.l,
|
|
16
19
|
paddingBottom: Scale.m,
|
|
17
|
-
borderRadius: Scale.l,
|
|
18
|
-
overflow: 'hidden',
|
|
19
20
|
justifyContent: 'center',
|
|
20
21
|
backgroundColor: context.colors.ui.error.default,
|
|
21
|
-
|
|
22
|
-
|
|
22
|
+
borderTopLeftRadius: Scale.l,
|
|
23
|
+
borderTopRightRadius: Scale.l,
|
|
24
|
+
borderBottomLeftRadius: Scale.xs,
|
|
25
|
+
borderBottomRightRadius: Scale.xl,
|
|
23
26
|
},
|
|
24
27
|
text: {
|
|
25
28
|
minHeight: 30,
|