@hero-design/rn 8.1.0 → 8.2.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/.turbo/turbo-build.log +9 -9
- package/es/index.js +6 -1
- package/jest.config.js +1 -1
- package/lib/index.js +6 -1
- package/package.json +10 -11
- package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +0 -8
- package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +0 -12
- package/src/components/Alert/StyledAlert.tsx +4 -2
- package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +120 -5
- package/src/components/Alert/__tests__/index.spec.tsx +14 -0
- package/src/components/Alert/index.tsx +13 -3
- package/src/components/Attachment/__tests__/__snapshots__/index.spec.tsx.snap +0 -2
- package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/StyledAvatarStack.spec.tsx.snap +5 -1
- package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/index.spec.tsx.snap +45 -9
- package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +0 -1
- package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +16 -2
- package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +0 -6
- package/src/components/Badge/__tests__/__snapshots__/Status.spec.tsx.snap +0 -2
- package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +1 -278
- package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +0 -70
- package/src/components/Button/UtilityButton/__tests__/__snapshots__/index.spec.tsx.snap +0 -2
- package/src/components/Button/__tests__/__snapshots__/IconButton.spec.tsx.snap +0 -1
- package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +5 -10
- package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +0 -5
- package/src/components/Checkbox/__tests__/__snapshots__/StyledCheckbox.spec.tsx.snap +0 -3
- package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +30 -6
- package/src/components/Collapse/__tests__/__snapshots__/StyledCollapse.spec.tsx.snap +0 -1
- package/src/components/Collapse/__tests__/__snapshots__/index.spec.tsx.snap +0 -2
- package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +20 -4
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +6 -0
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +13 -4
- package/src/components/Drawer/DragableDrawer/__tests__/__snapshots__/index.spec.tsx.snap +0 -1
- package/src/components/Drawer/__tests__/__snapshots__/index.spec.tsx.snap +0 -6
- package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +0 -14
- package/src/components/FAB/__tests__/__snapshots__/AnimatedFABIcon.spec.tsx.snap +0 -2
- package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +0 -1
- package/src/components/Icon/__tests__/__snapshots__/index.spec.tsx.snap +0 -1
- package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +10 -2
- package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +30 -7
- package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +0 -4
- package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +0 -4
- package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +0 -11
- package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +10 -2
- package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +15 -3
- package/src/components/RichTextEditor/__tests__/__snapshots__/EditorToolbar.spec.tsx.snap +0 -7
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +5 -1
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +60 -19
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +533 -3057
- package/src/components/Select/MultiSelect/__tests__/index.spec.tsx +7 -2
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +5 -1
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +60 -19
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +485 -2745
- package/src/components/Select/SingleSelect/__tests__/index.spec.tsx +1 -1
- package/src/components/Spinner/__tests__/__snapshots__/AnimatedSpinner.spec.tsx.snap +0 -7
- package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +0 -28
- package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +0 -7
- package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +0 -3
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/Option.spec.tsx.snap +0 -3
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +0 -1
- package/src/components/Switch/__tests__/__snapshots__/StyledSwitch.spec.tsx.snap +0 -1
- package/src/components/Switch/__tests__/__snapshots__/index.spec.tsx.snap +0 -2
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +0 -11
- package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +0 -2
- package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +0 -4
- package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +0 -1
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +11 -1
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +18 -5
- package/src/components/Toast/__tests__/__snapshots__/Toast.spec.tsx.snap +0 -13
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +30 -6
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +30 -6
- package/types/components/Alert/StyledAlert.d.ts +1 -0
- package/types/components/Alert/index.d.ts +5 -1
|
@@ -17,10 +17,14 @@ exports[`AvatarStack renders correctly by default 1`] = `
|
|
|
17
17
|
themeSize="small"
|
|
18
18
|
>
|
|
19
19
|
<View
|
|
20
|
+
accessibilityState={
|
|
21
|
+
Object {
|
|
22
|
+
"disabled": true,
|
|
23
|
+
}
|
|
24
|
+
}
|
|
20
25
|
accessible={true}
|
|
21
26
|
collapsable={false}
|
|
22
27
|
focusable={false}
|
|
23
|
-
nativeID="animatedComponent"
|
|
24
28
|
onClick={[Function]}
|
|
25
29
|
onResponderGrant={[Function]}
|
|
26
30
|
onResponderMove={[Function]}
|
|
@@ -74,10 +78,14 @@ exports[`AvatarStack renders correctly by default 1`] = `
|
|
|
74
78
|
</View>
|
|
75
79
|
</View>
|
|
76
80
|
<View
|
|
81
|
+
accessibilityState={
|
|
82
|
+
Object {
|
|
83
|
+
"disabled": true,
|
|
84
|
+
}
|
|
85
|
+
}
|
|
77
86
|
accessible={true}
|
|
78
87
|
collapsable={false}
|
|
79
88
|
focusable={false}
|
|
80
|
-
nativeID="animatedComponent"
|
|
81
89
|
onClick={[Function]}
|
|
82
90
|
onResponderGrant={[Function]}
|
|
83
91
|
onResponderMove={[Function]}
|
|
@@ -131,10 +139,14 @@ exports[`AvatarStack renders correctly by default 1`] = `
|
|
|
131
139
|
</View>
|
|
132
140
|
</View>
|
|
133
141
|
<View
|
|
142
|
+
accessibilityState={
|
|
143
|
+
Object {
|
|
144
|
+
"disabled": true,
|
|
145
|
+
}
|
|
146
|
+
}
|
|
134
147
|
accessible={true}
|
|
135
148
|
collapsable={false}
|
|
136
149
|
focusable={false}
|
|
137
|
-
nativeID="animatedComponent"
|
|
138
150
|
onClick={[Function]}
|
|
139
151
|
onResponderGrant={[Function]}
|
|
140
152
|
onResponderMove={[Function]}
|
|
@@ -188,10 +200,14 @@ exports[`AvatarStack renders correctly by default 1`] = `
|
|
|
188
200
|
</View>
|
|
189
201
|
</View>
|
|
190
202
|
<View
|
|
203
|
+
accessibilityState={
|
|
204
|
+
Object {
|
|
205
|
+
"disabled": true,
|
|
206
|
+
}
|
|
207
|
+
}
|
|
191
208
|
accessible={true}
|
|
192
209
|
collapsable={false}
|
|
193
210
|
focusable={false}
|
|
194
|
-
nativeID="animatedComponent"
|
|
195
211
|
onClick={[Function]}
|
|
196
212
|
onResponderGrant={[Function]}
|
|
197
213
|
onResponderMove={[Function]}
|
|
@@ -245,10 +261,14 @@ exports[`AvatarStack renders correctly by default 1`] = `
|
|
|
245
261
|
</View>
|
|
246
262
|
</View>
|
|
247
263
|
<View
|
|
264
|
+
accessibilityState={
|
|
265
|
+
Object {
|
|
266
|
+
"disabled": true,
|
|
267
|
+
}
|
|
268
|
+
}
|
|
248
269
|
accessible={true}
|
|
249
270
|
collapsable={false}
|
|
250
271
|
focusable={false}
|
|
251
|
-
nativeID="animatedComponent"
|
|
252
272
|
onClick={[Function]}
|
|
253
273
|
onResponderGrant={[Function]}
|
|
254
274
|
onResponderMove={[Function]}
|
|
@@ -321,10 +341,14 @@ exports[`AvatarStack renders correctly with custom props 1`] = `
|
|
|
321
341
|
themeSize="medium"
|
|
322
342
|
>
|
|
323
343
|
<View
|
|
344
|
+
accessibilityState={
|
|
345
|
+
Object {
|
|
346
|
+
"disabled": true,
|
|
347
|
+
}
|
|
348
|
+
}
|
|
324
349
|
accessible={true}
|
|
325
350
|
collapsable={false}
|
|
326
351
|
focusable={false}
|
|
327
|
-
nativeID="animatedComponent"
|
|
328
352
|
onClick={[Function]}
|
|
329
353
|
onResponderGrant={[Function]}
|
|
330
354
|
onResponderMove={[Function]}
|
|
@@ -378,10 +402,14 @@ exports[`AvatarStack renders correctly with custom props 1`] = `
|
|
|
378
402
|
</View>
|
|
379
403
|
</View>
|
|
380
404
|
<View
|
|
405
|
+
accessibilityState={
|
|
406
|
+
Object {
|
|
407
|
+
"disabled": true,
|
|
408
|
+
}
|
|
409
|
+
}
|
|
381
410
|
accessible={true}
|
|
382
411
|
collapsable={false}
|
|
383
412
|
focusable={false}
|
|
384
|
-
nativeID="animatedComponent"
|
|
385
413
|
onClick={[Function]}
|
|
386
414
|
onResponderGrant={[Function]}
|
|
387
415
|
onResponderMove={[Function]}
|
|
@@ -435,10 +463,14 @@ exports[`AvatarStack renders correctly with custom props 1`] = `
|
|
|
435
463
|
</View>
|
|
436
464
|
</View>
|
|
437
465
|
<View
|
|
466
|
+
accessibilityState={
|
|
467
|
+
Object {
|
|
468
|
+
"disabled": true,
|
|
469
|
+
}
|
|
470
|
+
}
|
|
438
471
|
accessible={true}
|
|
439
472
|
collapsable={false}
|
|
440
473
|
focusable={false}
|
|
441
|
-
nativeID="animatedComponent"
|
|
442
474
|
onClick={[Function]}
|
|
443
475
|
onResponderGrant={[Function]}
|
|
444
476
|
onResponderMove={[Function]}
|
|
@@ -492,10 +524,14 @@ exports[`AvatarStack renders correctly with custom props 1`] = `
|
|
|
492
524
|
</View>
|
|
493
525
|
</View>
|
|
494
526
|
<View
|
|
527
|
+
accessibilityState={
|
|
528
|
+
Object {
|
|
529
|
+
"disabled": true,
|
|
530
|
+
}
|
|
531
|
+
}
|
|
495
532
|
accessible={true}
|
|
496
533
|
collapsable={false}
|
|
497
534
|
focusable={false}
|
|
498
|
-
nativeID="animatedComponent"
|
|
499
535
|
onClick={[Function]}
|
|
500
536
|
onResponderGrant={[Function]}
|
|
501
537
|
onResponderMove={[Function]}
|
|
@@ -2,7 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
exports[`Avatar fallbacks to title when there image failed to load 1`] = `
|
|
4
4
|
<View
|
|
5
|
+
accessibilityState={
|
|
6
|
+
Object {
|
|
7
|
+
"disabled": true,
|
|
8
|
+
}
|
|
9
|
+
}
|
|
5
10
|
accessible={true}
|
|
11
|
+
collapsable={false}
|
|
6
12
|
focusable={false}
|
|
7
13
|
onClick={[Function]}
|
|
8
14
|
onResponderGrant={[Function]}
|
|
@@ -79,10 +85,14 @@ exports[`Avatar fallbacks to title when there image failed to load 1`] = `
|
|
|
79
85
|
|
|
80
86
|
exports[`Avatar prioritizes source over title 1`] = `
|
|
81
87
|
<View
|
|
88
|
+
accessibilityState={
|
|
89
|
+
Object {
|
|
90
|
+
"disabled": true,
|
|
91
|
+
}
|
|
92
|
+
}
|
|
82
93
|
accessible={true}
|
|
83
94
|
collapsable={false}
|
|
84
95
|
focusable={false}
|
|
85
|
-
nativeID="animatedComponent"
|
|
86
96
|
onClick={[Function]}
|
|
87
97
|
onResponderGrant={[Function]}
|
|
88
98
|
onResponderMove={[Function]}
|
|
@@ -128,10 +138,14 @@ exports[`Avatar prioritizes source over title 1`] = `
|
|
|
128
138
|
|
|
129
139
|
exports[`Avatar shows title when there is no source 1`] = `
|
|
130
140
|
<View
|
|
141
|
+
accessibilityState={
|
|
142
|
+
Object {
|
|
143
|
+
"disabled": true,
|
|
144
|
+
}
|
|
145
|
+
}
|
|
131
146
|
accessible={true}
|
|
132
147
|
collapsable={false}
|
|
133
148
|
focusable={false}
|
|
134
|
-
nativeID="animatedComponent"
|
|
135
149
|
onClick={[Function]}
|
|
136
150
|
onResponderGrant={[Function]}
|
|
137
151
|
onResponderMove={[Function]}
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
exports[`Badge has danger style when intent is danger 1`] = `
|
|
4
4
|
<View
|
|
5
5
|
collapsable={false}
|
|
6
|
-
nativeID="animatedComponent"
|
|
7
6
|
style={
|
|
8
7
|
Object {
|
|
9
8
|
"alignItems": "center",
|
|
@@ -47,7 +46,6 @@ exports[`Badge has danger style when intent is danger 1`] = `
|
|
|
47
46
|
exports[`Badge has info style when intent is info 1`] = `
|
|
48
47
|
<View
|
|
49
48
|
collapsable={false}
|
|
50
|
-
nativeID="animatedComponent"
|
|
51
49
|
style={
|
|
52
50
|
Object {
|
|
53
51
|
"alignItems": "center",
|
|
@@ -91,7 +89,6 @@ exports[`Badge has info style when intent is info 1`] = `
|
|
|
91
89
|
exports[`Badge has info style when intent is primary 1`] = `
|
|
92
90
|
<View
|
|
93
91
|
collapsable={false}
|
|
94
|
-
nativeID="animatedComponent"
|
|
95
92
|
style={
|
|
96
93
|
Object {
|
|
97
94
|
"alignItems": "center",
|
|
@@ -135,7 +132,6 @@ exports[`Badge has info style when intent is primary 1`] = `
|
|
|
135
132
|
exports[`Badge has success style when intent is success 1`] = `
|
|
136
133
|
<View
|
|
137
134
|
collapsable={false}
|
|
138
|
-
nativeID="animatedComponent"
|
|
139
135
|
style={
|
|
140
136
|
Object {
|
|
141
137
|
"alignItems": "center",
|
|
@@ -179,7 +175,6 @@ exports[`Badge has success style when intent is success 1`] = `
|
|
|
179
175
|
exports[`Badge has warning style when intent is warning 1`] = `
|
|
180
176
|
<View
|
|
181
177
|
collapsable={false}
|
|
182
|
-
nativeID="animatedComponent"
|
|
183
178
|
style={
|
|
184
179
|
Object {
|
|
185
180
|
"alignItems": "center",
|
|
@@ -223,7 +218,6 @@ exports[`Badge has warning style when intent is warning 1`] = `
|
|
|
223
218
|
exports[`Badge renders correctly with custom props 1`] = `
|
|
224
219
|
<View
|
|
225
220
|
collapsable={false}
|
|
226
|
-
nativeID="animatedComponent"
|
|
227
221
|
style={
|
|
228
222
|
Object {
|
|
229
223
|
"alignItems": "center",
|
|
@@ -19,7 +19,6 @@ exports[`Status Badge renders correctly 1`] = `
|
|
|
19
19
|
/>
|
|
20
20
|
<View
|
|
21
21
|
collapsable={false}
|
|
22
|
-
nativeID="animatedComponent"
|
|
23
22
|
style={
|
|
24
23
|
Object {
|
|
25
24
|
"backgroundColor": "#de350b",
|
|
@@ -66,7 +65,6 @@ exports[`Status Badge renders correctly with intent 1`] = `
|
|
|
66
65
|
</Text>
|
|
67
66
|
<View
|
|
68
67
|
collapsable={false}
|
|
69
|
-
nativeID="animatedComponent"
|
|
70
68
|
style={
|
|
71
69
|
Object {
|
|
72
70
|
"backgroundColor": "#017d6d",
|
|
@@ -6,280 +6,7 @@ exports[`BottomSheet renders correctly with close state 1`] = `
|
|
|
6
6
|
onRequestClose={[MockFunction]}
|
|
7
7
|
transparent={true}
|
|
8
8
|
visible={false}
|
|
9
|
-
|
|
10
|
-
<View
|
|
11
|
-
pointerEvents="box-none"
|
|
12
|
-
style={
|
|
13
|
-
Array [
|
|
14
|
-
Object {
|
|
15
|
-
"bottom": 0,
|
|
16
|
-
"flexDirection": "column-reverse",
|
|
17
|
-
"left": 0,
|
|
18
|
-
"position": "absolute",
|
|
19
|
-
"right": 0,
|
|
20
|
-
"top": 0,
|
|
21
|
-
},
|
|
22
|
-
undefined,
|
|
23
|
-
]
|
|
24
|
-
}
|
|
25
|
-
>
|
|
26
|
-
<View
|
|
27
|
-
onLayout={[Function]}
|
|
28
|
-
style={
|
|
29
|
-
Array [
|
|
30
|
-
Array [
|
|
31
|
-
Object {
|
|
32
|
-
"flex": 1,
|
|
33
|
-
"flexDirection": "column-reverse",
|
|
34
|
-
},
|
|
35
|
-
undefined,
|
|
36
|
-
],
|
|
37
|
-
Object {
|
|
38
|
-
"paddingBottom": 0,
|
|
39
|
-
},
|
|
40
|
-
]
|
|
41
|
-
}
|
|
42
|
-
>
|
|
43
|
-
<View
|
|
44
|
-
accessible={true}
|
|
45
|
-
collapsable={false}
|
|
46
|
-
focusable={true}
|
|
47
|
-
nativeID="animatedComponent"
|
|
48
|
-
onBlur={[Function]}
|
|
49
|
-
onClick={[Function]}
|
|
50
|
-
onFocus={[Function]}
|
|
51
|
-
onResponderGrant={[Function]}
|
|
52
|
-
onResponderMove={[Function]}
|
|
53
|
-
onResponderRelease={[Function]}
|
|
54
|
-
onResponderTerminate={[Function]}
|
|
55
|
-
onResponderTerminationRequest={[Function]}
|
|
56
|
-
onStartShouldSetResponder={[Function]}
|
|
57
|
-
style={
|
|
58
|
-
Object {
|
|
59
|
-
"backgroundColor": "#000000",
|
|
60
|
-
"bottom": 0,
|
|
61
|
-
"left": 0,
|
|
62
|
-
"opacity": 0.48,
|
|
63
|
-
"position": "absolute",
|
|
64
|
-
"right": 0,
|
|
65
|
-
"top": 0,
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
/>
|
|
69
|
-
<RCTSafeAreaView
|
|
70
|
-
collapsable={false}
|
|
71
|
-
emulateUnlessSupported={true}
|
|
72
|
-
nativeID="animatedComponent"
|
|
73
|
-
style={
|
|
74
|
-
Object {
|
|
75
|
-
"backgroundColor": "#ffffff",
|
|
76
|
-
"borderTopLeftRadius": 16,
|
|
77
|
-
"borderTopRightRadius": 16,
|
|
78
|
-
"elevation": 10,
|
|
79
|
-
"maxHeight": "94%",
|
|
80
|
-
"shadowColor": "#001f23",
|
|
81
|
-
"shadowOffset": Object {
|
|
82
|
-
"height": 3,
|
|
83
|
-
"width": 0,
|
|
84
|
-
},
|
|
85
|
-
"shadowOpacity": 0.4,
|
|
86
|
-
"shadowRadius": 16,
|
|
87
|
-
"transform": Array [
|
|
88
|
-
Object {
|
|
89
|
-
"scaleY": 1,
|
|
90
|
-
},
|
|
91
|
-
Object {
|
|
92
|
-
"translateY": 0,
|
|
93
|
-
},
|
|
94
|
-
],
|
|
95
|
-
"width": "100%",
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
>
|
|
99
|
-
<View
|
|
100
|
-
style={
|
|
101
|
-
Array [
|
|
102
|
-
Object {
|
|
103
|
-
"flexDirection": "row",
|
|
104
|
-
"paddingHorizontal": 16,
|
|
105
|
-
"paddingVertical": 8,
|
|
106
|
-
},
|
|
107
|
-
undefined,
|
|
108
|
-
]
|
|
109
|
-
}
|
|
110
|
-
>
|
|
111
|
-
<View
|
|
112
|
-
style={
|
|
113
|
-
Array [
|
|
114
|
-
Object {
|
|
115
|
-
"flex": 1,
|
|
116
|
-
"justifyContent": "center",
|
|
117
|
-
},
|
|
118
|
-
undefined,
|
|
119
|
-
]
|
|
120
|
-
}
|
|
121
|
-
>
|
|
122
|
-
<Text
|
|
123
|
-
style={
|
|
124
|
-
Array [
|
|
125
|
-
Object {
|
|
126
|
-
"color": "#001f23",
|
|
127
|
-
"fontFamily": "BeVietnamPro-SemiBold",
|
|
128
|
-
"fontSize": 16,
|
|
129
|
-
"letterSpacing": 0.48,
|
|
130
|
-
"lineHeight": 24,
|
|
131
|
-
},
|
|
132
|
-
undefined,
|
|
133
|
-
]
|
|
134
|
-
}
|
|
135
|
-
themeFontSize="large"
|
|
136
|
-
themeFontWeight="semi-bold"
|
|
137
|
-
themeIntent="body"
|
|
138
|
-
themeTypeface="neutral"
|
|
139
|
-
>
|
|
140
|
-
Title
|
|
141
|
-
</Text>
|
|
142
|
-
</View>
|
|
143
|
-
<View
|
|
144
|
-
style={
|
|
145
|
-
Array [
|
|
146
|
-
Object {
|
|
147
|
-
"alignItems": "center",
|
|
148
|
-
"height": 48,
|
|
149
|
-
"justifyContent": "center",
|
|
150
|
-
"marginLeft": 12,
|
|
151
|
-
"width": 48,
|
|
152
|
-
},
|
|
153
|
-
undefined,
|
|
154
|
-
]
|
|
155
|
-
}
|
|
156
|
-
>
|
|
157
|
-
<View
|
|
158
|
-
accessible={true}
|
|
159
|
-
collapsable={false}
|
|
160
|
-
focusable={true}
|
|
161
|
-
nativeID="animatedComponent"
|
|
162
|
-
onClick={[Function]}
|
|
163
|
-
onResponderGrant={[Function]}
|
|
164
|
-
onResponderMove={[Function]}
|
|
165
|
-
onResponderRelease={[Function]}
|
|
166
|
-
onResponderTerminate={[Function]}
|
|
167
|
-
onResponderTerminationRequest={[Function]}
|
|
168
|
-
onStartShouldSetResponder={[Function]}
|
|
169
|
-
style={
|
|
170
|
-
Object {
|
|
171
|
-
"opacity": 1,
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
testID="bottom-sheet-close-icon"
|
|
175
|
-
>
|
|
176
|
-
<HeroIcon
|
|
177
|
-
name="cancel"
|
|
178
|
-
style={
|
|
179
|
-
Array [
|
|
180
|
-
Object {
|
|
181
|
-
"color": "#001f23",
|
|
182
|
-
"fontSize": 16,
|
|
183
|
-
},
|
|
184
|
-
undefined,
|
|
185
|
-
]
|
|
186
|
-
}
|
|
187
|
-
themeIntent="text"
|
|
188
|
-
themeSize="xsmall"
|
|
189
|
-
/>
|
|
190
|
-
</View>
|
|
191
|
-
</View>
|
|
192
|
-
</View>
|
|
193
|
-
<View
|
|
194
|
-
style={
|
|
195
|
-
Array [
|
|
196
|
-
Object {
|
|
197
|
-
"borderBottomColor": "#e8e9ea",
|
|
198
|
-
"borderBottomWidth": 1,
|
|
199
|
-
"maxWidth": "100%",
|
|
200
|
-
},
|
|
201
|
-
undefined,
|
|
202
|
-
]
|
|
203
|
-
}
|
|
204
|
-
/>
|
|
205
|
-
<Text>
|
|
206
|
-
Content
|
|
207
|
-
</Text>
|
|
208
|
-
<View>
|
|
209
|
-
<View
|
|
210
|
-
style={
|
|
211
|
-
Array [
|
|
212
|
-
Object {
|
|
213
|
-
"borderBottomColor": "#e8e9ea",
|
|
214
|
-
"borderBottomWidth": 1,
|
|
215
|
-
"maxWidth": "100%",
|
|
216
|
-
},
|
|
217
|
-
undefined,
|
|
218
|
-
]
|
|
219
|
-
}
|
|
220
|
-
/>
|
|
221
|
-
<View
|
|
222
|
-
style={
|
|
223
|
-
Array [
|
|
224
|
-
Object {
|
|
225
|
-
"alignItems": "center",
|
|
226
|
-
"flexDirection": "row",
|
|
227
|
-
"justifyContent": "flex-end",
|
|
228
|
-
"paddingHorizontal": 12,
|
|
229
|
-
"paddingVertical": 2,
|
|
230
|
-
},
|
|
231
|
-
undefined,
|
|
232
|
-
]
|
|
233
|
-
}
|
|
234
|
-
>
|
|
235
|
-
<View
|
|
236
|
-
accessibilityRole="button"
|
|
237
|
-
accessible={true}
|
|
238
|
-
collapsable={false}
|
|
239
|
-
focusable={false}
|
|
240
|
-
nativeID="animatedComponent"
|
|
241
|
-
onClick={[Function]}
|
|
242
|
-
onResponderGrant={[Function]}
|
|
243
|
-
onResponderMove={[Function]}
|
|
244
|
-
onResponderRelease={[Function]}
|
|
245
|
-
onResponderTerminate={[Function]}
|
|
246
|
-
onResponderTerminationRequest={[Function]}
|
|
247
|
-
onStartShouldSetResponder={[Function]}
|
|
248
|
-
style={
|
|
249
|
-
Object {
|
|
250
|
-
"opacity": 1,
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
>
|
|
254
|
-
<View
|
|
255
|
-
style={
|
|
256
|
-
Array [
|
|
257
|
-
Object {},
|
|
258
|
-
]
|
|
259
|
-
}
|
|
260
|
-
>
|
|
261
|
-
<Text
|
|
262
|
-
style={
|
|
263
|
-
Array [
|
|
264
|
-
Object {
|
|
265
|
-
"color": "#007AFF",
|
|
266
|
-
"fontSize": 18,
|
|
267
|
-
"margin": 8,
|
|
268
|
-
"textAlign": "center",
|
|
269
|
-
},
|
|
270
|
-
]
|
|
271
|
-
}
|
|
272
|
-
>
|
|
273
|
-
Footer CTA
|
|
274
|
-
</Text>
|
|
275
|
-
</View>
|
|
276
|
-
</View>
|
|
277
|
-
</View>
|
|
278
|
-
</View>
|
|
279
|
-
</RCTSafeAreaView>
|
|
280
|
-
</View>
|
|
281
|
-
</View>
|
|
282
|
-
</Modal>
|
|
9
|
+
/>
|
|
283
10
|
`;
|
|
284
11
|
|
|
285
12
|
exports[`BottomSheet renders correctly with open state 1`] = `
|
|
@@ -326,7 +53,6 @@ exports[`BottomSheet renders correctly with open state 1`] = `
|
|
|
326
53
|
accessible={true}
|
|
327
54
|
collapsable={false}
|
|
328
55
|
focusable={true}
|
|
329
|
-
nativeID="animatedComponent"
|
|
330
56
|
onBlur={[Function]}
|
|
331
57
|
onClick={[Function]}
|
|
332
58
|
onFocus={[Function]}
|
|
@@ -351,7 +77,6 @@ exports[`BottomSheet renders correctly with open state 1`] = `
|
|
|
351
77
|
<RCTSafeAreaView
|
|
352
78
|
collapsable={false}
|
|
353
79
|
emulateUnlessSupported={true}
|
|
354
|
-
nativeID="animatedComponent"
|
|
355
80
|
style={
|
|
356
81
|
Object {
|
|
357
82
|
"backgroundColor": "#ffffff",
|
|
@@ -440,7 +165,6 @@ exports[`BottomSheet renders correctly with open state 1`] = `
|
|
|
440
165
|
accessible={true}
|
|
441
166
|
collapsable={false}
|
|
442
167
|
focusable={true}
|
|
443
|
-
nativeID="animatedComponent"
|
|
444
168
|
onClick={[Function]}
|
|
445
169
|
onResponderGrant={[Function]}
|
|
446
170
|
onResponderMove={[Function]}
|
|
@@ -519,7 +243,6 @@ exports[`BottomSheet renders correctly with open state 1`] = `
|
|
|
519
243
|
accessible={true}
|
|
520
244
|
collapsable={false}
|
|
521
245
|
focusable={false}
|
|
522
|
-
nativeID="animatedComponent"
|
|
523
246
|
onClick={[Function]}
|
|
524
247
|
onResponderGrant={[Function]}
|
|
525
248
|
onResponderMove={[Function]}
|