@hero-design/rn 8.43.1 → 8.44.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 +1 -1
- package/CHANGELOG.md +10 -0
- package/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/es/index.js +366 -359
- package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/lib/index.js +366 -359
- package/package.json +1 -1
- package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +564 -452
- package/src/components/Accordion/__tests__/__snapshots__/StyledAccordion.spec.tsx.snap +76 -20
- package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +790 -706
- package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +848 -652
- package/src/components/Attachment/__tests__/__snapshots__/index.spec.tsx.snap +170 -142
- package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/StyledAvatarStack.spec.tsx.snap +138 -82
- package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/index.spec.tsx.snap +745 -689
- package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +157 -73
- package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +273 -189
- package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +391 -223
- package/src/components/Badge/__tests__/__snapshots__/Status.spec.tsx.snap +119 -63
- package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +306 -278
- package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +317 -233
- package/src/components/Box/__tests__/__snapshots__/index.spec.tsx.snap +1042 -454
- package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/StyledLoadingIndicator.spec.tsx.snap +400 -120
- package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +1090 -810
- package/src/components/Button/UtilityButton/__tests__/__snapshots__/index.spec.tsx.snap +196 -140
- package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +1666 -1218
- package/src/components/Button/__tests__/__snapshots__/IconButton.spec.tsx.snap +70 -42
- package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +1623 -727
- package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +555 -415
- package/src/components/Card/DataCard/__tests__/__snapshots__/StyledDataCard.spec.tsx.snap +265 -69
- package/src/components/Card/DataCard/__tests__/__snapshots__/index.spec.tsx.snap +205 -65
- package/src/components/Card/__tests__/__snapshots__/StyledCard.spec.tsx.snap +36 -8
- package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +292 -124
- package/src/components/Carousel/__tests__/__snapshots__/CardCarousel.spec.tsx.snap +486 -430
- package/src/components/Carousel/__tests__/__snapshots__/StyledCardCarousel.spec.tsx.snap +196 -84
- package/src/components/Carousel/__tests__/__snapshots__/StyledCarousel.spec.tsx.snap +41 -13
- package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +1720 -1636
- package/src/components/Carousel/__tests__/index.spec.tsx +7 -6
- package/src/components/Checkbox/__tests__/__snapshots__/StyledCheckbox.spec.tsx.snap +400 -176
- package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +574 -406
- package/src/components/Chip/__tests__/__snapshots__/index.spec.tsx.snap +1170 -834
- package/src/components/Collapse/__tests__/__snapshots__/StyledCollapse.spec.tsx.snap +73 -17
- package/src/components/Collapse/__tests__/__snapshots__/index.spec.tsx.snap +94 -38
- package/src/components/ContentNavigator/__tests__/__snapshots__/StyledContentNavigator.spec.tsx.snap +37 -9
- package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +421 -337
- package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.spec.tsx.snap +586 -502
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +200 -172
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerCalendar.spec.tsx.snap +192 -164
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +471 -443
- package/src/components/Divider/__tests__/__snapshots__/StyledDivider.spec.tsx.snap +464 -128
- package/src/components/Drawer/DragableDrawer/__tests__/__snapshots__/index.spec.tsx.snap +97 -69
- package/src/components/Drawer/__tests__/__snapshots__/index.spec.tsx.snap +327 -243
- package/src/components/Empty/__tests__/__snapshots__/index.spec.tsx.snap +169 -113
- package/src/components/Error/__tests__/__snapshots__/index.spec.tsx.snap +323 -213
- package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +845 -789
- package/src/components/FAB/__tests__/__snapshots__/AnimatedFABIcon.spec.tsx.snap +98 -42
- package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +197 -113
- package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +290 -206
- package/src/components/HeroDesignProvider/__tests__/__snapshots__/index.spec.tsx.snap +45 -17
- package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
- package/src/components/Icon/IconList.ts +2 -0
- package/src/components/Icon/__tests__/__snapshots__/index.spec.tsx.snap +158 -46
- package/src/components/Image/__tests__/__snapshots__/index.spec.tsx.snap +164 -52
- package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +242 -186
- package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +761 -649
- package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +268 -156
- package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +473 -221
- package/src/components/Modal/__tests__/__snapshots__/index.spec.tsx.snap +60 -8
- package/src/components/PageControl/__tests__/__snapshots__/index.spec.tsx.snap +83 -55
- package/src/components/PinInput/__tests__/StyledPinInput.spec.tsx +9 -4
- package/src/components/PinInput/__tests__/__snapshots__/PinCell.spec.tsx.snap +293 -153
- package/src/components/PinInput/__tests__/__snapshots__/StyledPinInput.spec.tsx.snap +15 -48
- package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +809 -697
- package/src/components/Portal/__tests__/PortalHost.spec.tsx +12 -14
- package/src/components/Portal/__tests__/__snapshots__/index.spec.tsx.snap +43 -15
- package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +743 -603
- package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +188 -132
- package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +256 -228
- package/src/components/Rate/__tests__/__snapshots__/index.spec.tsx.snap +864 -780
- package/src/components/RefreshControl/__tests__/__snapshots__/index.spec.tsx.snap +128 -44
- package/src/components/RichTextEditor/__tests__/EditorToolbar.spec.tsx +5 -2
- package/src/components/RichTextEditor/__tests__/RichTextEditor.spec.tsx +3 -3
- package/src/components/RichTextEditor/__tests__/__snapshots__/EditorToolbar.spec.tsx.snap +406 -378
- package/src/components/RichTextEditor/__tests__/__snapshots__/MentionList.spec.tsx.snap +64 -36
- package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +371 -315
- package/src/components/SectionHeading/__tests__/__snapshots__/StyledHeading.spec.tsx.snap +158 -46
- package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +394 -226
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +93 -65
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +2402 -2290
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +180 -24
- package/src/components/Select/MultiSelect/__tests__/index.spec.tsx +7 -6
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +73 -45
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +2309 -2197
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +150 -20
- package/src/components/Skeleton/__tests__/__snapshots__/index.spec.tsx.snap +490 -294
- package/src/components/Slider/__tests__/__snapshots__/index.spec.tsx.snap +117 -33
- package/src/components/Spinner/__tests__/__snapshots__/AnimatedSpinner.spec.tsx.snap +105 -77
- package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +1308 -636
- package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +121 -93
- package/src/components/Success/__tests__/__snapshots__/index.spec.tsx.snap +323 -213
- package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +210 -126
- package/src/components/Swipeable/__tests__/__snapshots__/index.spec.tsx.snap +58 -30
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/Option.spec.tsx.snap +226 -114
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +145 -117
- package/src/components/Switch/__tests__/__snapshots__/StyledSwitch.spec.tsx.snap +202 -62
- package/src/components/Switch/__tests__/__snapshots__/index.spec.tsx.snap +132 -76
- package/src/components/Tabs/__tests__/SceneView.spec.tsx +7 -7
- package/src/components/Tabs/__tests__/__snapshots__/SceneView.spec.tsx.snap +206 -94
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +2214 -2130
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +523 -495
- package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +121 -65
- package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +1637 -1553
- package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +554 -274
- package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +1542 -646
- package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +3177 -2701
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +390 -334
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +662 -606
- package/src/components/Toast/__tests__/__snapshots__/Toast.spec.tsx.snap +871 -675
- package/src/components/Toast/__tests__/__snapshots__/ToastContainer.spec.tsx.snap +180 -68
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +582 -498
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +683 -459
- package/src/components/Typography/Body/__tests__/__snapshots__/StyledBody.tsx.snap +704 -256
- package/src/components/Typography/Body/__tests__/__snapshots__/index.spec.tsx.snap +855 -323
- package/src/components/Typography/Caption/__tests__/__snapshots__/StyledCaption.spec.tsx.snap +430 -150
- package/src/components/Typography/Caption/__tests__/__snapshots__/index.spec.tsx.snap +572 -208
- package/src/components/Typography/Label/__tests__/__snapshots__/StyledLabel.tsx.snap +328 -104
- package/src/components/Typography/Label/__tests__/__snapshots__/index.spec.tsx.snap +462 -154
- package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +900 -340
- package/src/components/Typography/Title/__tests__/__snapshots__/StyledTitle.tsx.snap +880 -320
- package/src/components/Typography/Title/__tests__/__snapshots__/index.spec.tsx.snap +1035 -391
- package/src/testHelpers/renderWithTheme.tsx +2 -2
- package/types/components/Icon/IconList.d.ts +1 -1
- package/types/components/Icon/index.d.ts +1 -1
- package/types/components/Icon/utils.d.ts +1 -1
|
@@ -3,19 +3,16 @@
|
|
|
3
3
|
exports[`rendering renders correctly 1`] = `
|
|
4
4
|
<View
|
|
5
5
|
style={
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
},
|
|
10
|
-
undefined,
|
|
11
|
-
]
|
|
6
|
+
{
|
|
7
|
+
"flex": 1,
|
|
8
|
+
}
|
|
12
9
|
}
|
|
13
10
|
>
|
|
14
11
|
<View
|
|
15
12
|
style={
|
|
16
13
|
[
|
|
17
14
|
{
|
|
18
|
-
"
|
|
15
|
+
"alignContent": "flex-start",
|
|
19
16
|
},
|
|
20
17
|
undefined,
|
|
21
18
|
]
|
|
@@ -25,203 +22,234 @@ exports[`rendering renders correctly 1`] = `
|
|
|
25
22
|
style={
|
|
26
23
|
[
|
|
27
24
|
{
|
|
28
|
-
"
|
|
29
|
-
"borderColor": "#001f23",
|
|
30
|
-
"borderRadius": 8,
|
|
31
|
-
"borderWidth": 1,
|
|
32
|
-
"height": 48,
|
|
33
|
-
"justifyContent": "center",
|
|
34
|
-
"width": 40,
|
|
25
|
+
"flexDirection": "row",
|
|
35
26
|
},
|
|
36
27
|
undefined,
|
|
37
28
|
]
|
|
38
29
|
}
|
|
39
|
-
themeFocused={false}
|
|
40
|
-
themeState="default"
|
|
41
30
|
>
|
|
42
31
|
<View
|
|
43
32
|
style={
|
|
44
33
|
[
|
|
45
34
|
{
|
|
46
|
-
"
|
|
35
|
+
"alignItems": "center",
|
|
47
36
|
"borderColor": "#001f23",
|
|
48
|
-
"borderRadius":
|
|
37
|
+
"borderRadius": 8,
|
|
49
38
|
"borderWidth": 1,
|
|
50
|
-
"height":
|
|
51
|
-
"
|
|
39
|
+
"height": 48,
|
|
40
|
+
"justifyContent": "center",
|
|
41
|
+
"width": 40,
|
|
52
42
|
},
|
|
53
43
|
undefined,
|
|
54
44
|
]
|
|
55
45
|
}
|
|
56
|
-
|
|
46
|
+
themeFocused={false}
|
|
57
47
|
themeState="default"
|
|
48
|
+
>
|
|
49
|
+
<View
|
|
50
|
+
style={
|
|
51
|
+
[
|
|
52
|
+
{
|
|
53
|
+
"backgroundColor": "#001f23",
|
|
54
|
+
"borderColor": "#001f23",
|
|
55
|
+
"borderRadius": 999,
|
|
56
|
+
"borderWidth": 1,
|
|
57
|
+
"height": 16,
|
|
58
|
+
"width": 16,
|
|
59
|
+
},
|
|
60
|
+
undefined,
|
|
61
|
+
]
|
|
62
|
+
}
|
|
63
|
+
testID="pin-cell-filled-mask"
|
|
64
|
+
themeState="default"
|
|
65
|
+
/>
|
|
66
|
+
</View>
|
|
67
|
+
<View
|
|
68
|
+
style={
|
|
69
|
+
[
|
|
70
|
+
{
|
|
71
|
+
"marginLeft": 16,
|
|
72
|
+
},
|
|
73
|
+
undefined,
|
|
74
|
+
]
|
|
75
|
+
}
|
|
58
76
|
/>
|
|
59
|
-
</View>
|
|
60
|
-
<View
|
|
61
|
-
style={
|
|
62
|
-
[
|
|
63
|
-
{
|
|
64
|
-
"marginLeft": 16,
|
|
65
|
-
},
|
|
66
|
-
undefined,
|
|
67
|
-
]
|
|
68
|
-
}
|
|
69
|
-
/>
|
|
70
|
-
<View
|
|
71
|
-
style={
|
|
72
|
-
[
|
|
73
|
-
{
|
|
74
|
-
"alignItems": "center",
|
|
75
|
-
"borderColor": "#001f23",
|
|
76
|
-
"borderRadius": 8,
|
|
77
|
-
"borderWidth": 1,
|
|
78
|
-
"height": 48,
|
|
79
|
-
"justifyContent": "center",
|
|
80
|
-
"width": 40,
|
|
81
|
-
},
|
|
82
|
-
undefined,
|
|
83
|
-
]
|
|
84
|
-
}
|
|
85
|
-
themeFocused={false}
|
|
86
|
-
themeState="default"
|
|
87
|
-
>
|
|
88
77
|
<View
|
|
89
78
|
style={
|
|
90
79
|
[
|
|
91
80
|
{
|
|
92
|
-
"
|
|
81
|
+
"alignItems": "center",
|
|
93
82
|
"borderColor": "#001f23",
|
|
94
|
-
"borderRadius":
|
|
83
|
+
"borderRadius": 8,
|
|
95
84
|
"borderWidth": 1,
|
|
96
|
-
"height":
|
|
97
|
-
"
|
|
85
|
+
"height": 48,
|
|
86
|
+
"justifyContent": "center",
|
|
87
|
+
"width": 40,
|
|
98
88
|
},
|
|
99
89
|
undefined,
|
|
100
90
|
]
|
|
101
91
|
}
|
|
102
|
-
|
|
92
|
+
themeFocused={false}
|
|
103
93
|
themeState="default"
|
|
94
|
+
>
|
|
95
|
+
<View
|
|
96
|
+
style={
|
|
97
|
+
[
|
|
98
|
+
{
|
|
99
|
+
"backgroundColor": "#001f23",
|
|
100
|
+
"borderColor": "#001f23",
|
|
101
|
+
"borderRadius": 999,
|
|
102
|
+
"borderWidth": 1,
|
|
103
|
+
"height": 16,
|
|
104
|
+
"width": 16,
|
|
105
|
+
},
|
|
106
|
+
undefined,
|
|
107
|
+
]
|
|
108
|
+
}
|
|
109
|
+
testID="pin-cell-filled-mask"
|
|
110
|
+
themeState="default"
|
|
111
|
+
/>
|
|
112
|
+
</View>
|
|
113
|
+
<View
|
|
114
|
+
style={
|
|
115
|
+
[
|
|
116
|
+
{
|
|
117
|
+
"marginLeft": 16,
|
|
118
|
+
},
|
|
119
|
+
undefined,
|
|
120
|
+
]
|
|
121
|
+
}
|
|
104
122
|
/>
|
|
105
|
-
</View>
|
|
106
|
-
<View
|
|
107
|
-
style={
|
|
108
|
-
[
|
|
109
|
-
{
|
|
110
|
-
"marginLeft": 16,
|
|
111
|
-
},
|
|
112
|
-
undefined,
|
|
113
|
-
]
|
|
114
|
-
}
|
|
115
|
-
/>
|
|
116
|
-
<View
|
|
117
|
-
style={
|
|
118
|
-
[
|
|
119
|
-
{
|
|
120
|
-
"alignItems": "center",
|
|
121
|
-
"borderColor": "#001f23",
|
|
122
|
-
"borderRadius": 8,
|
|
123
|
-
"borderWidth": 1,
|
|
124
|
-
"height": 48,
|
|
125
|
-
"justifyContent": "center",
|
|
126
|
-
"width": 40,
|
|
127
|
-
},
|
|
128
|
-
undefined,
|
|
129
|
-
]
|
|
130
|
-
}
|
|
131
|
-
themeFocused={false}
|
|
132
|
-
themeState="default"
|
|
133
|
-
>
|
|
134
123
|
<View
|
|
135
124
|
style={
|
|
136
125
|
[
|
|
137
126
|
{
|
|
127
|
+
"alignItems": "center",
|
|
138
128
|
"borderColor": "#001f23",
|
|
139
|
-
"borderRadius":
|
|
129
|
+
"borderRadius": 8,
|
|
140
130
|
"borderWidth": 1,
|
|
141
|
-
"height":
|
|
142
|
-
"
|
|
131
|
+
"height": 48,
|
|
132
|
+
"justifyContent": "center",
|
|
133
|
+
"width": 40,
|
|
143
134
|
},
|
|
144
135
|
undefined,
|
|
145
136
|
]
|
|
146
137
|
}
|
|
147
|
-
|
|
138
|
+
themeFocused={false}
|
|
148
139
|
themeState="default"
|
|
140
|
+
>
|
|
141
|
+
<View
|
|
142
|
+
style={
|
|
143
|
+
[
|
|
144
|
+
{
|
|
145
|
+
"borderColor": "#001f23",
|
|
146
|
+
"borderRadius": 999,
|
|
147
|
+
"borderWidth": 1,
|
|
148
|
+
"height": 16,
|
|
149
|
+
"width": 16,
|
|
150
|
+
},
|
|
151
|
+
undefined,
|
|
152
|
+
]
|
|
153
|
+
}
|
|
154
|
+
testID="pin-cell-mask"
|
|
155
|
+
themeState="default"
|
|
156
|
+
/>
|
|
157
|
+
</View>
|
|
158
|
+
<View
|
|
159
|
+
style={
|
|
160
|
+
[
|
|
161
|
+
{
|
|
162
|
+
"marginLeft": 16,
|
|
163
|
+
},
|
|
164
|
+
undefined,
|
|
165
|
+
]
|
|
166
|
+
}
|
|
149
167
|
/>
|
|
150
|
-
</View>
|
|
151
|
-
<View
|
|
152
|
-
style={
|
|
153
|
-
[
|
|
154
|
-
{
|
|
155
|
-
"marginLeft": 16,
|
|
156
|
-
},
|
|
157
|
-
undefined,
|
|
158
|
-
]
|
|
159
|
-
}
|
|
160
|
-
/>
|
|
161
|
-
<View
|
|
162
|
-
style={
|
|
163
|
-
[
|
|
164
|
-
{
|
|
165
|
-
"alignItems": "center",
|
|
166
|
-
"borderColor": "#001f23",
|
|
167
|
-
"borderRadius": 8,
|
|
168
|
-
"borderWidth": 1,
|
|
169
|
-
"height": 48,
|
|
170
|
-
"justifyContent": "center",
|
|
171
|
-
"width": 40,
|
|
172
|
-
},
|
|
173
|
-
undefined,
|
|
174
|
-
]
|
|
175
|
-
}
|
|
176
|
-
themeFocused={false}
|
|
177
|
-
themeState="default"
|
|
178
|
-
>
|
|
179
168
|
<View
|
|
180
169
|
style={
|
|
181
170
|
[
|
|
182
171
|
{
|
|
172
|
+
"alignItems": "center",
|
|
183
173
|
"borderColor": "#001f23",
|
|
184
|
-
"borderRadius":
|
|
174
|
+
"borderRadius": 8,
|
|
185
175
|
"borderWidth": 1,
|
|
186
|
-
"height":
|
|
187
|
-
"
|
|
176
|
+
"height": 48,
|
|
177
|
+
"justifyContent": "center",
|
|
178
|
+
"width": 40,
|
|
188
179
|
},
|
|
189
180
|
undefined,
|
|
190
181
|
]
|
|
191
182
|
}
|
|
192
|
-
|
|
183
|
+
themeFocused={false}
|
|
193
184
|
themeState="default"
|
|
194
|
-
|
|
185
|
+
>
|
|
186
|
+
<View
|
|
187
|
+
style={
|
|
188
|
+
[
|
|
189
|
+
{
|
|
190
|
+
"borderColor": "#001f23",
|
|
191
|
+
"borderRadius": 999,
|
|
192
|
+
"borderWidth": 1,
|
|
193
|
+
"height": 16,
|
|
194
|
+
"width": 16,
|
|
195
|
+
},
|
|
196
|
+
undefined,
|
|
197
|
+
]
|
|
198
|
+
}
|
|
199
|
+
testID="pin-cell-mask"
|
|
200
|
+
themeState="default"
|
|
201
|
+
/>
|
|
202
|
+
</View>
|
|
195
203
|
</View>
|
|
204
|
+
<TextInput
|
|
205
|
+
autoFocus={false}
|
|
206
|
+
caretHidden={true}
|
|
207
|
+
contextMenuHidden={true}
|
|
208
|
+
editable={true}
|
|
209
|
+
keyboardType="numeric"
|
|
210
|
+
maxLength={4}
|
|
211
|
+
onBlur={[Function]}
|
|
212
|
+
onChangeText={[Function]}
|
|
213
|
+
onFocus={[Function]}
|
|
214
|
+
pointerEvents="box-only"
|
|
215
|
+
secureTextEntry={true}
|
|
216
|
+
style={
|
|
217
|
+
[
|
|
218
|
+
{
|
|
219
|
+
"height": "100%",
|
|
220
|
+
"left": 0,
|
|
221
|
+
"opacity": 0,
|
|
222
|
+
"position": "absolute",
|
|
223
|
+
"top": 0,
|
|
224
|
+
"width": 208,
|
|
225
|
+
},
|
|
226
|
+
undefined,
|
|
227
|
+
]
|
|
228
|
+
}
|
|
229
|
+
testID="pin-hidden-input"
|
|
230
|
+
themePinLength={4}
|
|
231
|
+
value="12"
|
|
232
|
+
/>
|
|
196
233
|
</View>
|
|
197
|
-
<
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
contextMenuHidden={true}
|
|
201
|
-
editable={true}
|
|
202
|
-
keyboardType="numeric"
|
|
203
|
-
maxLength={4}
|
|
204
|
-
onBlur={[Function]}
|
|
205
|
-
onChangeText={[Function]}
|
|
206
|
-
onFocus={[Function]}
|
|
207
|
-
pointerEvents="box-only"
|
|
208
|
-
secureTextEntry={true}
|
|
234
|
+
<View
|
|
235
|
+
pointerEvents="box-none"
|
|
236
|
+
position="bottom"
|
|
209
237
|
style={
|
|
210
238
|
[
|
|
211
239
|
{
|
|
212
|
-
"
|
|
240
|
+
"bottom": 0,
|
|
241
|
+
"elevation": 9999,
|
|
242
|
+
"flexDirection": "column-reverse",
|
|
213
243
|
"left": 0,
|
|
214
|
-
"
|
|
244
|
+
"paddingHorizontal": 24,
|
|
245
|
+
"paddingVertical": 16,
|
|
215
246
|
"position": "absolute",
|
|
247
|
+
"right": 0,
|
|
216
248
|
"top": 0,
|
|
217
|
-
"width": 208,
|
|
218
249
|
},
|
|
219
250
|
undefined,
|
|
220
251
|
]
|
|
221
252
|
}
|
|
222
|
-
testID="pin-hidden-input"
|
|
223
|
-
themePinLength={4}
|
|
224
|
-
value="12"
|
|
225
253
|
/>
|
|
226
254
|
</View>
|
|
227
255
|
`;
|
|
@@ -229,19 +257,16 @@ exports[`rendering renders correctly 1`] = `
|
|
|
229
257
|
exports[`rendering renders correctly when disabled 1`] = `
|
|
230
258
|
<View
|
|
231
259
|
style={
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
},
|
|
236
|
-
undefined,
|
|
237
|
-
]
|
|
260
|
+
{
|
|
261
|
+
"flex": 1,
|
|
262
|
+
}
|
|
238
263
|
}
|
|
239
264
|
>
|
|
240
265
|
<View
|
|
241
266
|
style={
|
|
242
267
|
[
|
|
243
268
|
{
|
|
244
|
-
"
|
|
269
|
+
"alignContent": "flex-start",
|
|
245
270
|
},
|
|
246
271
|
undefined,
|
|
247
272
|
]
|
|
@@ -251,203 +276,234 @@ exports[`rendering renders correctly when disabled 1`] = `
|
|
|
251
276
|
style={
|
|
252
277
|
[
|
|
253
278
|
{
|
|
254
|
-
"
|
|
255
|
-
"borderColor": "#bfc1c5",
|
|
256
|
-
"borderRadius": 8,
|
|
257
|
-
"borderWidth": 1,
|
|
258
|
-
"height": 48,
|
|
259
|
-
"justifyContent": "center",
|
|
260
|
-
"width": 40,
|
|
279
|
+
"flexDirection": "row",
|
|
261
280
|
},
|
|
262
281
|
undefined,
|
|
263
282
|
]
|
|
264
283
|
}
|
|
265
|
-
themeFocused={false}
|
|
266
|
-
themeState="disabled"
|
|
267
284
|
>
|
|
268
285
|
<View
|
|
269
286
|
style={
|
|
270
287
|
[
|
|
271
288
|
{
|
|
272
|
-
"
|
|
289
|
+
"alignItems": "center",
|
|
273
290
|
"borderColor": "#bfc1c5",
|
|
274
|
-
"borderRadius":
|
|
291
|
+
"borderRadius": 8,
|
|
275
292
|
"borderWidth": 1,
|
|
276
|
-
"height":
|
|
277
|
-
"
|
|
293
|
+
"height": 48,
|
|
294
|
+
"justifyContent": "center",
|
|
295
|
+
"width": 40,
|
|
278
296
|
},
|
|
279
297
|
undefined,
|
|
280
298
|
]
|
|
281
299
|
}
|
|
282
|
-
|
|
300
|
+
themeFocused={false}
|
|
283
301
|
themeState="disabled"
|
|
302
|
+
>
|
|
303
|
+
<View
|
|
304
|
+
style={
|
|
305
|
+
[
|
|
306
|
+
{
|
|
307
|
+
"backgroundColor": "#bfc1c5",
|
|
308
|
+
"borderColor": "#bfc1c5",
|
|
309
|
+
"borderRadius": 999,
|
|
310
|
+
"borderWidth": 1,
|
|
311
|
+
"height": 16,
|
|
312
|
+
"width": 16,
|
|
313
|
+
},
|
|
314
|
+
undefined,
|
|
315
|
+
]
|
|
316
|
+
}
|
|
317
|
+
testID="pin-cell-filled-mask"
|
|
318
|
+
themeState="disabled"
|
|
319
|
+
/>
|
|
320
|
+
</View>
|
|
321
|
+
<View
|
|
322
|
+
style={
|
|
323
|
+
[
|
|
324
|
+
{
|
|
325
|
+
"marginLeft": 16,
|
|
326
|
+
},
|
|
327
|
+
undefined,
|
|
328
|
+
]
|
|
329
|
+
}
|
|
284
330
|
/>
|
|
285
|
-
</View>
|
|
286
|
-
<View
|
|
287
|
-
style={
|
|
288
|
-
[
|
|
289
|
-
{
|
|
290
|
-
"marginLeft": 16,
|
|
291
|
-
},
|
|
292
|
-
undefined,
|
|
293
|
-
]
|
|
294
|
-
}
|
|
295
|
-
/>
|
|
296
|
-
<View
|
|
297
|
-
style={
|
|
298
|
-
[
|
|
299
|
-
{
|
|
300
|
-
"alignItems": "center",
|
|
301
|
-
"borderColor": "#bfc1c5",
|
|
302
|
-
"borderRadius": 8,
|
|
303
|
-
"borderWidth": 1,
|
|
304
|
-
"height": 48,
|
|
305
|
-
"justifyContent": "center",
|
|
306
|
-
"width": 40,
|
|
307
|
-
},
|
|
308
|
-
undefined,
|
|
309
|
-
]
|
|
310
|
-
}
|
|
311
|
-
themeFocused={false}
|
|
312
|
-
themeState="disabled"
|
|
313
|
-
>
|
|
314
331
|
<View
|
|
315
332
|
style={
|
|
316
333
|
[
|
|
317
334
|
{
|
|
318
|
-
"
|
|
335
|
+
"alignItems": "center",
|
|
319
336
|
"borderColor": "#bfc1c5",
|
|
320
|
-
"borderRadius":
|
|
337
|
+
"borderRadius": 8,
|
|
321
338
|
"borderWidth": 1,
|
|
322
|
-
"height":
|
|
323
|
-
"
|
|
339
|
+
"height": 48,
|
|
340
|
+
"justifyContent": "center",
|
|
341
|
+
"width": 40,
|
|
324
342
|
},
|
|
325
343
|
undefined,
|
|
326
344
|
]
|
|
327
345
|
}
|
|
328
|
-
|
|
346
|
+
themeFocused={false}
|
|
329
347
|
themeState="disabled"
|
|
348
|
+
>
|
|
349
|
+
<View
|
|
350
|
+
style={
|
|
351
|
+
[
|
|
352
|
+
{
|
|
353
|
+
"backgroundColor": "#bfc1c5",
|
|
354
|
+
"borderColor": "#bfc1c5",
|
|
355
|
+
"borderRadius": 999,
|
|
356
|
+
"borderWidth": 1,
|
|
357
|
+
"height": 16,
|
|
358
|
+
"width": 16,
|
|
359
|
+
},
|
|
360
|
+
undefined,
|
|
361
|
+
]
|
|
362
|
+
}
|
|
363
|
+
testID="pin-cell-filled-mask"
|
|
364
|
+
themeState="disabled"
|
|
365
|
+
/>
|
|
366
|
+
</View>
|
|
367
|
+
<View
|
|
368
|
+
style={
|
|
369
|
+
[
|
|
370
|
+
{
|
|
371
|
+
"marginLeft": 16,
|
|
372
|
+
},
|
|
373
|
+
undefined,
|
|
374
|
+
]
|
|
375
|
+
}
|
|
330
376
|
/>
|
|
331
|
-
</View>
|
|
332
|
-
<View
|
|
333
|
-
style={
|
|
334
|
-
[
|
|
335
|
-
{
|
|
336
|
-
"marginLeft": 16,
|
|
337
|
-
},
|
|
338
|
-
undefined,
|
|
339
|
-
]
|
|
340
|
-
}
|
|
341
|
-
/>
|
|
342
|
-
<View
|
|
343
|
-
style={
|
|
344
|
-
[
|
|
345
|
-
{
|
|
346
|
-
"alignItems": "center",
|
|
347
|
-
"borderColor": "#bfc1c5",
|
|
348
|
-
"borderRadius": 8,
|
|
349
|
-
"borderWidth": 1,
|
|
350
|
-
"height": 48,
|
|
351
|
-
"justifyContent": "center",
|
|
352
|
-
"width": 40,
|
|
353
|
-
},
|
|
354
|
-
undefined,
|
|
355
|
-
]
|
|
356
|
-
}
|
|
357
|
-
themeFocused={false}
|
|
358
|
-
themeState="disabled"
|
|
359
|
-
>
|
|
360
377
|
<View
|
|
361
378
|
style={
|
|
362
379
|
[
|
|
363
380
|
{
|
|
381
|
+
"alignItems": "center",
|
|
364
382
|
"borderColor": "#bfc1c5",
|
|
365
|
-
"borderRadius":
|
|
383
|
+
"borderRadius": 8,
|
|
366
384
|
"borderWidth": 1,
|
|
367
|
-
"height":
|
|
368
|
-
"
|
|
385
|
+
"height": 48,
|
|
386
|
+
"justifyContent": "center",
|
|
387
|
+
"width": 40,
|
|
369
388
|
},
|
|
370
389
|
undefined,
|
|
371
390
|
]
|
|
372
391
|
}
|
|
373
|
-
|
|
392
|
+
themeFocused={false}
|
|
374
393
|
themeState="disabled"
|
|
394
|
+
>
|
|
395
|
+
<View
|
|
396
|
+
style={
|
|
397
|
+
[
|
|
398
|
+
{
|
|
399
|
+
"borderColor": "#bfc1c5",
|
|
400
|
+
"borderRadius": 999,
|
|
401
|
+
"borderWidth": 1,
|
|
402
|
+
"height": 16,
|
|
403
|
+
"width": 16,
|
|
404
|
+
},
|
|
405
|
+
undefined,
|
|
406
|
+
]
|
|
407
|
+
}
|
|
408
|
+
testID="pin-cell-mask"
|
|
409
|
+
themeState="disabled"
|
|
410
|
+
/>
|
|
411
|
+
</View>
|
|
412
|
+
<View
|
|
413
|
+
style={
|
|
414
|
+
[
|
|
415
|
+
{
|
|
416
|
+
"marginLeft": 16,
|
|
417
|
+
},
|
|
418
|
+
undefined,
|
|
419
|
+
]
|
|
420
|
+
}
|
|
375
421
|
/>
|
|
376
|
-
</View>
|
|
377
|
-
<View
|
|
378
|
-
style={
|
|
379
|
-
[
|
|
380
|
-
{
|
|
381
|
-
"marginLeft": 16,
|
|
382
|
-
},
|
|
383
|
-
undefined,
|
|
384
|
-
]
|
|
385
|
-
}
|
|
386
|
-
/>
|
|
387
|
-
<View
|
|
388
|
-
style={
|
|
389
|
-
[
|
|
390
|
-
{
|
|
391
|
-
"alignItems": "center",
|
|
392
|
-
"borderColor": "#bfc1c5",
|
|
393
|
-
"borderRadius": 8,
|
|
394
|
-
"borderWidth": 1,
|
|
395
|
-
"height": 48,
|
|
396
|
-
"justifyContent": "center",
|
|
397
|
-
"width": 40,
|
|
398
|
-
},
|
|
399
|
-
undefined,
|
|
400
|
-
]
|
|
401
|
-
}
|
|
402
|
-
themeFocused={false}
|
|
403
|
-
themeState="disabled"
|
|
404
|
-
>
|
|
405
422
|
<View
|
|
406
423
|
style={
|
|
407
424
|
[
|
|
408
425
|
{
|
|
426
|
+
"alignItems": "center",
|
|
409
427
|
"borderColor": "#bfc1c5",
|
|
410
|
-
"borderRadius":
|
|
428
|
+
"borderRadius": 8,
|
|
411
429
|
"borderWidth": 1,
|
|
412
|
-
"height":
|
|
413
|
-
"
|
|
430
|
+
"height": 48,
|
|
431
|
+
"justifyContent": "center",
|
|
432
|
+
"width": 40,
|
|
414
433
|
},
|
|
415
434
|
undefined,
|
|
416
435
|
]
|
|
417
436
|
}
|
|
418
|
-
|
|
437
|
+
themeFocused={false}
|
|
419
438
|
themeState="disabled"
|
|
420
|
-
|
|
439
|
+
>
|
|
440
|
+
<View
|
|
441
|
+
style={
|
|
442
|
+
[
|
|
443
|
+
{
|
|
444
|
+
"borderColor": "#bfc1c5",
|
|
445
|
+
"borderRadius": 999,
|
|
446
|
+
"borderWidth": 1,
|
|
447
|
+
"height": 16,
|
|
448
|
+
"width": 16,
|
|
449
|
+
},
|
|
450
|
+
undefined,
|
|
451
|
+
]
|
|
452
|
+
}
|
|
453
|
+
testID="pin-cell-mask"
|
|
454
|
+
themeState="disabled"
|
|
455
|
+
/>
|
|
456
|
+
</View>
|
|
421
457
|
</View>
|
|
458
|
+
<TextInput
|
|
459
|
+
autoFocus={false}
|
|
460
|
+
caretHidden={true}
|
|
461
|
+
contextMenuHidden={true}
|
|
462
|
+
editable={false}
|
|
463
|
+
keyboardType="numeric"
|
|
464
|
+
maxLength={4}
|
|
465
|
+
onBlur={[Function]}
|
|
466
|
+
onChangeText={[Function]}
|
|
467
|
+
onFocus={[Function]}
|
|
468
|
+
pointerEvents="box-only"
|
|
469
|
+
secureTextEntry={true}
|
|
470
|
+
style={
|
|
471
|
+
[
|
|
472
|
+
{
|
|
473
|
+
"height": "100%",
|
|
474
|
+
"left": 0,
|
|
475
|
+
"opacity": 0,
|
|
476
|
+
"position": "absolute",
|
|
477
|
+
"top": 0,
|
|
478
|
+
"width": 208,
|
|
479
|
+
},
|
|
480
|
+
undefined,
|
|
481
|
+
]
|
|
482
|
+
}
|
|
483
|
+
testID="pin-hidden-input"
|
|
484
|
+
themePinLength={4}
|
|
485
|
+
value="12"
|
|
486
|
+
/>
|
|
422
487
|
</View>
|
|
423
|
-
<
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
contextMenuHidden={true}
|
|
427
|
-
editable={false}
|
|
428
|
-
keyboardType="numeric"
|
|
429
|
-
maxLength={4}
|
|
430
|
-
onBlur={[Function]}
|
|
431
|
-
onChangeText={[Function]}
|
|
432
|
-
onFocus={[Function]}
|
|
433
|
-
pointerEvents="box-only"
|
|
434
|
-
secureTextEntry={true}
|
|
488
|
+
<View
|
|
489
|
+
pointerEvents="box-none"
|
|
490
|
+
position="bottom"
|
|
435
491
|
style={
|
|
436
492
|
[
|
|
437
493
|
{
|
|
438
|
-
"
|
|
494
|
+
"bottom": 0,
|
|
495
|
+
"elevation": 9999,
|
|
496
|
+
"flexDirection": "column-reverse",
|
|
439
497
|
"left": 0,
|
|
440
|
-
"
|
|
498
|
+
"paddingHorizontal": 24,
|
|
499
|
+
"paddingVertical": 16,
|
|
441
500
|
"position": "absolute",
|
|
501
|
+
"right": 0,
|
|
442
502
|
"top": 0,
|
|
443
|
-
"width": 208,
|
|
444
503
|
},
|
|
445
504
|
undefined,
|
|
446
505
|
]
|
|
447
506
|
}
|
|
448
|
-
testID="pin-hidden-input"
|
|
449
|
-
themePinLength={4}
|
|
450
|
-
value="12"
|
|
451
507
|
/>
|
|
452
508
|
</View>
|
|
453
509
|
`;
|
|
@@ -455,19 +511,16 @@ exports[`rendering renders correctly when disabled 1`] = `
|
|
|
455
511
|
exports[`rendering renders correctly when length is 6 and secure is false 1`] = `
|
|
456
512
|
<View
|
|
457
513
|
style={
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
},
|
|
462
|
-
undefined,
|
|
463
|
-
]
|
|
514
|
+
{
|
|
515
|
+
"flex": 1,
|
|
516
|
+
}
|
|
464
517
|
}
|
|
465
518
|
>
|
|
466
519
|
<View
|
|
467
520
|
style={
|
|
468
521
|
[
|
|
469
522
|
{
|
|
470
|
-
"
|
|
523
|
+
"alignContent": "flex-start",
|
|
471
524
|
},
|
|
472
525
|
undefined,
|
|
473
526
|
]
|
|
@@ -477,321 +530,352 @@ exports[`rendering renders correctly when length is 6 and secure is false 1`] =
|
|
|
477
530
|
style={
|
|
478
531
|
[
|
|
479
532
|
{
|
|
480
|
-
"
|
|
481
|
-
"borderColor": "#001f23",
|
|
482
|
-
"borderRadius": 8,
|
|
483
|
-
"borderWidth": 1,
|
|
484
|
-
"height": 48,
|
|
485
|
-
"justifyContent": "center",
|
|
486
|
-
"width": 40,
|
|
533
|
+
"flexDirection": "row",
|
|
487
534
|
},
|
|
488
535
|
undefined,
|
|
489
536
|
]
|
|
490
537
|
}
|
|
491
|
-
themeFocused={false}
|
|
492
|
-
themeState="default"
|
|
493
538
|
>
|
|
494
|
-
<
|
|
495
|
-
allowFontScaling={false}
|
|
539
|
+
<View
|
|
496
540
|
style={
|
|
497
541
|
[
|
|
498
542
|
{
|
|
499
|
-
"
|
|
500
|
-
"
|
|
501
|
-
"
|
|
502
|
-
"
|
|
503
|
-
"
|
|
543
|
+
"alignItems": "center",
|
|
544
|
+
"borderColor": "#001f23",
|
|
545
|
+
"borderRadius": 8,
|
|
546
|
+
"borderWidth": 1,
|
|
547
|
+
"height": 48,
|
|
548
|
+
"justifyContent": "center",
|
|
549
|
+
"width": 40,
|
|
504
550
|
},
|
|
551
|
+
undefined,
|
|
552
|
+
]
|
|
553
|
+
}
|
|
554
|
+
themeFocused={false}
|
|
555
|
+
themeState="default"
|
|
556
|
+
>
|
|
557
|
+
<Text
|
|
558
|
+
allowFontScaling={false}
|
|
559
|
+
style={
|
|
505
560
|
[
|
|
506
561
|
{
|
|
507
562
|
"color": "#001f23",
|
|
563
|
+
"fontFamily": "BeVietnamPro-SemiBold",
|
|
564
|
+
"fontSize": 28,
|
|
565
|
+
"letterSpacing": 0.24,
|
|
566
|
+
"lineHeight": 36,
|
|
508
567
|
},
|
|
509
|
-
|
|
510
|
-
|
|
568
|
+
[
|
|
569
|
+
{
|
|
570
|
+
"color": "#001f23",
|
|
571
|
+
},
|
|
572
|
+
undefined,
|
|
573
|
+
],
|
|
574
|
+
]
|
|
575
|
+
}
|
|
576
|
+
themeIntent="body"
|
|
577
|
+
themeLevel="h3"
|
|
578
|
+
themeState="default"
|
|
579
|
+
themeTypeface="neutral"
|
|
580
|
+
>
|
|
581
|
+
1
|
|
582
|
+
</Text>
|
|
583
|
+
</View>
|
|
584
|
+
<View
|
|
585
|
+
style={
|
|
586
|
+
[
|
|
587
|
+
{
|
|
588
|
+
"marginLeft": 16,
|
|
589
|
+
},
|
|
590
|
+
undefined,
|
|
511
591
|
]
|
|
512
592
|
}
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
themeState="default"
|
|
516
|
-
themeTypeface="neutral"
|
|
517
|
-
>
|
|
518
|
-
1
|
|
519
|
-
</Text>
|
|
520
|
-
</View>
|
|
521
|
-
<View
|
|
522
|
-
style={
|
|
523
|
-
[
|
|
524
|
-
{
|
|
525
|
-
"marginLeft": 16,
|
|
526
|
-
},
|
|
527
|
-
undefined,
|
|
528
|
-
]
|
|
529
|
-
}
|
|
530
|
-
/>
|
|
531
|
-
<View
|
|
532
|
-
style={
|
|
533
|
-
[
|
|
534
|
-
{
|
|
535
|
-
"alignItems": "center",
|
|
536
|
-
"borderColor": "#001f23",
|
|
537
|
-
"borderRadius": 8,
|
|
538
|
-
"borderWidth": 1,
|
|
539
|
-
"height": 48,
|
|
540
|
-
"justifyContent": "center",
|
|
541
|
-
"width": 40,
|
|
542
|
-
},
|
|
543
|
-
undefined,
|
|
544
|
-
]
|
|
545
|
-
}
|
|
546
|
-
themeFocused={false}
|
|
547
|
-
themeState="default"
|
|
548
|
-
>
|
|
549
|
-
<Text
|
|
550
|
-
allowFontScaling={false}
|
|
593
|
+
/>
|
|
594
|
+
<View
|
|
551
595
|
style={
|
|
552
596
|
[
|
|
553
597
|
{
|
|
554
|
-
"
|
|
555
|
-
"
|
|
556
|
-
"
|
|
557
|
-
"
|
|
558
|
-
"
|
|
598
|
+
"alignItems": "center",
|
|
599
|
+
"borderColor": "#001f23",
|
|
600
|
+
"borderRadius": 8,
|
|
601
|
+
"borderWidth": 1,
|
|
602
|
+
"height": 48,
|
|
603
|
+
"justifyContent": "center",
|
|
604
|
+
"width": 40,
|
|
559
605
|
},
|
|
606
|
+
undefined,
|
|
607
|
+
]
|
|
608
|
+
}
|
|
609
|
+
themeFocused={false}
|
|
610
|
+
themeState="default"
|
|
611
|
+
>
|
|
612
|
+
<Text
|
|
613
|
+
allowFontScaling={false}
|
|
614
|
+
style={
|
|
560
615
|
[
|
|
561
616
|
{
|
|
562
617
|
"color": "#001f23",
|
|
618
|
+
"fontFamily": "BeVietnamPro-SemiBold",
|
|
619
|
+
"fontSize": 28,
|
|
620
|
+
"letterSpacing": 0.24,
|
|
621
|
+
"lineHeight": 36,
|
|
563
622
|
},
|
|
564
|
-
|
|
565
|
-
|
|
623
|
+
[
|
|
624
|
+
{
|
|
625
|
+
"color": "#001f23",
|
|
626
|
+
},
|
|
627
|
+
undefined,
|
|
628
|
+
],
|
|
629
|
+
]
|
|
630
|
+
}
|
|
631
|
+
themeIntent="body"
|
|
632
|
+
themeLevel="h3"
|
|
633
|
+
themeState="default"
|
|
634
|
+
themeTypeface="neutral"
|
|
635
|
+
>
|
|
636
|
+
2
|
|
637
|
+
</Text>
|
|
638
|
+
</View>
|
|
639
|
+
<View
|
|
640
|
+
style={
|
|
641
|
+
[
|
|
642
|
+
{
|
|
643
|
+
"marginLeft": 16,
|
|
644
|
+
},
|
|
645
|
+
undefined,
|
|
566
646
|
]
|
|
567
647
|
}
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
themeState="default"
|
|
571
|
-
themeTypeface="neutral"
|
|
572
|
-
>
|
|
573
|
-
2
|
|
574
|
-
</Text>
|
|
575
|
-
</View>
|
|
576
|
-
<View
|
|
577
|
-
style={
|
|
578
|
-
[
|
|
579
|
-
{
|
|
580
|
-
"marginLeft": 16,
|
|
581
|
-
},
|
|
582
|
-
undefined,
|
|
583
|
-
]
|
|
584
|
-
}
|
|
585
|
-
/>
|
|
586
|
-
<View
|
|
587
|
-
style={
|
|
588
|
-
[
|
|
589
|
-
{
|
|
590
|
-
"alignItems": "center",
|
|
591
|
-
"borderColor": "#001f23",
|
|
592
|
-
"borderRadius": 8,
|
|
593
|
-
"borderWidth": 1,
|
|
594
|
-
"height": 48,
|
|
595
|
-
"justifyContent": "center",
|
|
596
|
-
"width": 40,
|
|
597
|
-
},
|
|
598
|
-
undefined,
|
|
599
|
-
]
|
|
600
|
-
}
|
|
601
|
-
themeFocused={false}
|
|
602
|
-
themeState="default"
|
|
603
|
-
>
|
|
604
|
-
<Text
|
|
605
|
-
allowFontScaling={false}
|
|
648
|
+
/>
|
|
649
|
+
<View
|
|
606
650
|
style={
|
|
607
651
|
[
|
|
608
652
|
{
|
|
609
|
-
"
|
|
610
|
-
"
|
|
611
|
-
"
|
|
612
|
-
"
|
|
613
|
-
"
|
|
653
|
+
"alignItems": "center",
|
|
654
|
+
"borderColor": "#001f23",
|
|
655
|
+
"borderRadius": 8,
|
|
656
|
+
"borderWidth": 1,
|
|
657
|
+
"height": 48,
|
|
658
|
+
"justifyContent": "center",
|
|
659
|
+
"width": 40,
|
|
614
660
|
},
|
|
661
|
+
undefined,
|
|
662
|
+
]
|
|
663
|
+
}
|
|
664
|
+
themeFocused={false}
|
|
665
|
+
themeState="default"
|
|
666
|
+
>
|
|
667
|
+
<Text
|
|
668
|
+
allowFontScaling={false}
|
|
669
|
+
style={
|
|
615
670
|
[
|
|
616
671
|
{
|
|
617
672
|
"color": "#001f23",
|
|
673
|
+
"fontFamily": "BeVietnamPro-SemiBold",
|
|
674
|
+
"fontSize": 28,
|
|
675
|
+
"letterSpacing": 0.24,
|
|
676
|
+
"lineHeight": 36,
|
|
618
677
|
},
|
|
619
|
-
|
|
620
|
-
|
|
678
|
+
[
|
|
679
|
+
{
|
|
680
|
+
"color": "#001f23",
|
|
681
|
+
},
|
|
682
|
+
undefined,
|
|
683
|
+
],
|
|
684
|
+
]
|
|
685
|
+
}
|
|
686
|
+
themeIntent="body"
|
|
687
|
+
themeLevel="h3"
|
|
688
|
+
themeState="default"
|
|
689
|
+
themeTypeface="neutral"
|
|
690
|
+
>
|
|
691
|
+
3
|
|
692
|
+
</Text>
|
|
693
|
+
</View>
|
|
694
|
+
<View
|
|
695
|
+
style={
|
|
696
|
+
[
|
|
697
|
+
{
|
|
698
|
+
"marginLeft": 16,
|
|
699
|
+
},
|
|
700
|
+
undefined,
|
|
621
701
|
]
|
|
622
702
|
}
|
|
623
|
-
|
|
624
|
-
themeLevel="h3"
|
|
625
|
-
themeState="default"
|
|
626
|
-
themeTypeface="neutral"
|
|
627
|
-
>
|
|
628
|
-
3
|
|
629
|
-
</Text>
|
|
630
|
-
</View>
|
|
631
|
-
<View
|
|
632
|
-
style={
|
|
633
|
-
[
|
|
634
|
-
{
|
|
635
|
-
"marginLeft": 16,
|
|
636
|
-
},
|
|
637
|
-
undefined,
|
|
638
|
-
]
|
|
639
|
-
}
|
|
640
|
-
/>
|
|
641
|
-
<View
|
|
642
|
-
style={
|
|
643
|
-
[
|
|
644
|
-
{
|
|
645
|
-
"alignItems": "center",
|
|
646
|
-
"borderColor": "#001f23",
|
|
647
|
-
"borderRadius": 8,
|
|
648
|
-
"borderWidth": 1,
|
|
649
|
-
"height": 48,
|
|
650
|
-
"justifyContent": "center",
|
|
651
|
-
"width": 40,
|
|
652
|
-
},
|
|
653
|
-
undefined,
|
|
654
|
-
]
|
|
655
|
-
}
|
|
656
|
-
themeFocused={false}
|
|
657
|
-
themeState="default"
|
|
658
|
-
>
|
|
703
|
+
/>
|
|
659
704
|
<View
|
|
660
705
|
style={
|
|
661
706
|
[
|
|
662
707
|
{
|
|
708
|
+
"alignItems": "center",
|
|
663
709
|
"borderColor": "#001f23",
|
|
664
|
-
"borderRadius":
|
|
710
|
+
"borderRadius": 8,
|
|
665
711
|
"borderWidth": 1,
|
|
666
|
-
"height":
|
|
667
|
-
"
|
|
712
|
+
"height": 48,
|
|
713
|
+
"justifyContent": "center",
|
|
714
|
+
"width": 40,
|
|
668
715
|
},
|
|
669
716
|
undefined,
|
|
670
717
|
]
|
|
671
718
|
}
|
|
672
|
-
|
|
719
|
+
themeFocused={false}
|
|
673
720
|
themeState="default"
|
|
721
|
+
>
|
|
722
|
+
<View
|
|
723
|
+
style={
|
|
724
|
+
[
|
|
725
|
+
{
|
|
726
|
+
"borderColor": "#001f23",
|
|
727
|
+
"borderRadius": 999,
|
|
728
|
+
"borderWidth": 1,
|
|
729
|
+
"height": 16,
|
|
730
|
+
"width": 16,
|
|
731
|
+
},
|
|
732
|
+
undefined,
|
|
733
|
+
]
|
|
734
|
+
}
|
|
735
|
+
testID="pin-cell-mask"
|
|
736
|
+
themeState="default"
|
|
737
|
+
/>
|
|
738
|
+
</View>
|
|
739
|
+
<View
|
|
740
|
+
style={
|
|
741
|
+
[
|
|
742
|
+
{
|
|
743
|
+
"marginLeft": 16,
|
|
744
|
+
},
|
|
745
|
+
undefined,
|
|
746
|
+
]
|
|
747
|
+
}
|
|
674
748
|
/>
|
|
675
|
-
</View>
|
|
676
|
-
<View
|
|
677
|
-
style={
|
|
678
|
-
[
|
|
679
|
-
{
|
|
680
|
-
"marginLeft": 16,
|
|
681
|
-
},
|
|
682
|
-
undefined,
|
|
683
|
-
]
|
|
684
|
-
}
|
|
685
|
-
/>
|
|
686
|
-
<View
|
|
687
|
-
style={
|
|
688
|
-
[
|
|
689
|
-
{
|
|
690
|
-
"alignItems": "center",
|
|
691
|
-
"borderColor": "#001f23",
|
|
692
|
-
"borderRadius": 8,
|
|
693
|
-
"borderWidth": 1,
|
|
694
|
-
"height": 48,
|
|
695
|
-
"justifyContent": "center",
|
|
696
|
-
"width": 40,
|
|
697
|
-
},
|
|
698
|
-
undefined,
|
|
699
|
-
]
|
|
700
|
-
}
|
|
701
|
-
themeFocused={false}
|
|
702
|
-
themeState="default"
|
|
703
|
-
>
|
|
704
749
|
<View
|
|
705
750
|
style={
|
|
706
751
|
[
|
|
707
752
|
{
|
|
753
|
+
"alignItems": "center",
|
|
708
754
|
"borderColor": "#001f23",
|
|
709
|
-
"borderRadius":
|
|
755
|
+
"borderRadius": 8,
|
|
710
756
|
"borderWidth": 1,
|
|
711
|
-
"height":
|
|
712
|
-
"
|
|
757
|
+
"height": 48,
|
|
758
|
+
"justifyContent": "center",
|
|
759
|
+
"width": 40,
|
|
713
760
|
},
|
|
714
761
|
undefined,
|
|
715
762
|
]
|
|
716
763
|
}
|
|
717
|
-
|
|
764
|
+
themeFocused={false}
|
|
718
765
|
themeState="default"
|
|
766
|
+
>
|
|
767
|
+
<View
|
|
768
|
+
style={
|
|
769
|
+
[
|
|
770
|
+
{
|
|
771
|
+
"borderColor": "#001f23",
|
|
772
|
+
"borderRadius": 999,
|
|
773
|
+
"borderWidth": 1,
|
|
774
|
+
"height": 16,
|
|
775
|
+
"width": 16,
|
|
776
|
+
},
|
|
777
|
+
undefined,
|
|
778
|
+
]
|
|
779
|
+
}
|
|
780
|
+
testID="pin-cell-mask"
|
|
781
|
+
themeState="default"
|
|
782
|
+
/>
|
|
783
|
+
</View>
|
|
784
|
+
<View
|
|
785
|
+
style={
|
|
786
|
+
[
|
|
787
|
+
{
|
|
788
|
+
"marginLeft": 16,
|
|
789
|
+
},
|
|
790
|
+
undefined,
|
|
791
|
+
]
|
|
792
|
+
}
|
|
719
793
|
/>
|
|
720
|
-
</View>
|
|
721
|
-
<View
|
|
722
|
-
style={
|
|
723
|
-
[
|
|
724
|
-
{
|
|
725
|
-
"marginLeft": 16,
|
|
726
|
-
},
|
|
727
|
-
undefined,
|
|
728
|
-
]
|
|
729
|
-
}
|
|
730
|
-
/>
|
|
731
|
-
<View
|
|
732
|
-
style={
|
|
733
|
-
[
|
|
734
|
-
{
|
|
735
|
-
"alignItems": "center",
|
|
736
|
-
"borderColor": "#001f23",
|
|
737
|
-
"borderRadius": 8,
|
|
738
|
-
"borderWidth": 1,
|
|
739
|
-
"height": 48,
|
|
740
|
-
"justifyContent": "center",
|
|
741
|
-
"width": 40,
|
|
742
|
-
},
|
|
743
|
-
undefined,
|
|
744
|
-
]
|
|
745
|
-
}
|
|
746
|
-
themeFocused={false}
|
|
747
|
-
themeState="default"
|
|
748
|
-
>
|
|
749
794
|
<View
|
|
750
795
|
style={
|
|
751
796
|
[
|
|
752
797
|
{
|
|
798
|
+
"alignItems": "center",
|
|
753
799
|
"borderColor": "#001f23",
|
|
754
|
-
"borderRadius":
|
|
800
|
+
"borderRadius": 8,
|
|
755
801
|
"borderWidth": 1,
|
|
756
|
-
"height":
|
|
757
|
-
"
|
|
802
|
+
"height": 48,
|
|
803
|
+
"justifyContent": "center",
|
|
804
|
+
"width": 40,
|
|
758
805
|
},
|
|
759
806
|
undefined,
|
|
760
807
|
]
|
|
761
808
|
}
|
|
762
|
-
|
|
809
|
+
themeFocused={false}
|
|
763
810
|
themeState="default"
|
|
764
|
-
|
|
811
|
+
>
|
|
812
|
+
<View
|
|
813
|
+
style={
|
|
814
|
+
[
|
|
815
|
+
{
|
|
816
|
+
"borderColor": "#001f23",
|
|
817
|
+
"borderRadius": 999,
|
|
818
|
+
"borderWidth": 1,
|
|
819
|
+
"height": 16,
|
|
820
|
+
"width": 16,
|
|
821
|
+
},
|
|
822
|
+
undefined,
|
|
823
|
+
]
|
|
824
|
+
}
|
|
825
|
+
testID="pin-cell-mask"
|
|
826
|
+
themeState="default"
|
|
827
|
+
/>
|
|
828
|
+
</View>
|
|
765
829
|
</View>
|
|
830
|
+
<TextInput
|
|
831
|
+
autoFocus={false}
|
|
832
|
+
caretHidden={true}
|
|
833
|
+
contextMenuHidden={true}
|
|
834
|
+
editable={true}
|
|
835
|
+
keyboardType="numeric"
|
|
836
|
+
maxLength={6}
|
|
837
|
+
onBlur={[Function]}
|
|
838
|
+
onChangeText={[Function]}
|
|
839
|
+
onFocus={[Function]}
|
|
840
|
+
pointerEvents="box-only"
|
|
841
|
+
secureTextEntry={false}
|
|
842
|
+
style={
|
|
843
|
+
[
|
|
844
|
+
{
|
|
845
|
+
"height": "100%",
|
|
846
|
+
"left": 0,
|
|
847
|
+
"opacity": 0,
|
|
848
|
+
"position": "absolute",
|
|
849
|
+
"top": 0,
|
|
850
|
+
"width": 320,
|
|
851
|
+
},
|
|
852
|
+
undefined,
|
|
853
|
+
]
|
|
854
|
+
}
|
|
855
|
+
testID="pin-hidden-input"
|
|
856
|
+
themePinLength={6}
|
|
857
|
+
value="123"
|
|
858
|
+
/>
|
|
766
859
|
</View>
|
|
767
|
-
<
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
contextMenuHidden={true}
|
|
771
|
-
editable={true}
|
|
772
|
-
keyboardType="numeric"
|
|
773
|
-
maxLength={6}
|
|
774
|
-
onBlur={[Function]}
|
|
775
|
-
onChangeText={[Function]}
|
|
776
|
-
onFocus={[Function]}
|
|
777
|
-
pointerEvents="box-only"
|
|
778
|
-
secureTextEntry={false}
|
|
860
|
+
<View
|
|
861
|
+
pointerEvents="box-none"
|
|
862
|
+
position="bottom"
|
|
779
863
|
style={
|
|
780
864
|
[
|
|
781
865
|
{
|
|
782
|
-
"
|
|
866
|
+
"bottom": 0,
|
|
867
|
+
"elevation": 9999,
|
|
868
|
+
"flexDirection": "column-reverse",
|
|
783
869
|
"left": 0,
|
|
784
|
-
"
|
|
870
|
+
"paddingHorizontal": 24,
|
|
871
|
+
"paddingVertical": 16,
|
|
785
872
|
"position": "absolute",
|
|
873
|
+
"right": 0,
|
|
786
874
|
"top": 0,
|
|
787
|
-
"width": 320,
|
|
788
875
|
},
|
|
789
876
|
undefined,
|
|
790
877
|
]
|
|
791
878
|
}
|
|
792
|
-
testID="pin-hidden-input"
|
|
793
|
-
themePinLength={6}
|
|
794
|
-
value="123"
|
|
795
879
|
/>
|
|
796
880
|
</View>
|
|
797
881
|
`;
|
|
@@ -799,19 +883,16 @@ exports[`rendering renders correctly when length is 6 and secure is false 1`] =
|
|
|
799
883
|
exports[`rendering renders correctly when there is error 1`] = `
|
|
800
884
|
<View
|
|
801
885
|
style={
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
},
|
|
806
|
-
undefined,
|
|
807
|
-
]
|
|
886
|
+
{
|
|
887
|
+
"flex": 1,
|
|
888
|
+
}
|
|
808
889
|
}
|
|
809
890
|
>
|
|
810
891
|
<View
|
|
811
892
|
style={
|
|
812
893
|
[
|
|
813
894
|
{
|
|
814
|
-
"
|
|
895
|
+
"alignContent": "flex-start",
|
|
815
896
|
},
|
|
816
897
|
undefined,
|
|
817
898
|
]
|
|
@@ -821,256 +902,287 @@ exports[`rendering renders correctly when there is error 1`] = `
|
|
|
821
902
|
style={
|
|
822
903
|
[
|
|
823
904
|
{
|
|
824
|
-
"
|
|
825
|
-
"borderColor": "#cb300a",
|
|
826
|
-
"borderRadius": 8,
|
|
827
|
-
"borderWidth": 1,
|
|
828
|
-
"height": 48,
|
|
829
|
-
"justifyContent": "center",
|
|
830
|
-
"width": 40,
|
|
905
|
+
"flexDirection": "row",
|
|
831
906
|
},
|
|
832
907
|
undefined,
|
|
833
908
|
]
|
|
834
909
|
}
|
|
835
|
-
themeFocused={false}
|
|
836
|
-
themeState="error"
|
|
837
910
|
>
|
|
838
911
|
<View
|
|
839
912
|
style={
|
|
840
913
|
[
|
|
841
914
|
{
|
|
842
|
-
"
|
|
915
|
+
"alignItems": "center",
|
|
843
916
|
"borderColor": "#cb300a",
|
|
844
|
-
"borderRadius":
|
|
917
|
+
"borderRadius": 8,
|
|
845
918
|
"borderWidth": 1,
|
|
846
|
-
"height":
|
|
847
|
-
"
|
|
919
|
+
"height": 48,
|
|
920
|
+
"justifyContent": "center",
|
|
921
|
+
"width": 40,
|
|
848
922
|
},
|
|
849
923
|
undefined,
|
|
850
924
|
]
|
|
851
925
|
}
|
|
852
|
-
|
|
926
|
+
themeFocused={false}
|
|
853
927
|
themeState="error"
|
|
928
|
+
>
|
|
929
|
+
<View
|
|
930
|
+
style={
|
|
931
|
+
[
|
|
932
|
+
{
|
|
933
|
+
"backgroundColor": "#cb300a",
|
|
934
|
+
"borderColor": "#cb300a",
|
|
935
|
+
"borderRadius": 999,
|
|
936
|
+
"borderWidth": 1,
|
|
937
|
+
"height": 16,
|
|
938
|
+
"width": 16,
|
|
939
|
+
},
|
|
940
|
+
undefined,
|
|
941
|
+
]
|
|
942
|
+
}
|
|
943
|
+
testID="pin-cell-filled-mask"
|
|
944
|
+
themeState="error"
|
|
945
|
+
/>
|
|
946
|
+
</View>
|
|
947
|
+
<View
|
|
948
|
+
style={
|
|
949
|
+
[
|
|
950
|
+
{
|
|
951
|
+
"marginLeft": 16,
|
|
952
|
+
},
|
|
953
|
+
undefined,
|
|
954
|
+
]
|
|
955
|
+
}
|
|
854
956
|
/>
|
|
855
|
-
</View>
|
|
856
|
-
<View
|
|
857
|
-
style={
|
|
858
|
-
[
|
|
859
|
-
{
|
|
860
|
-
"marginLeft": 16,
|
|
861
|
-
},
|
|
862
|
-
undefined,
|
|
863
|
-
]
|
|
864
|
-
}
|
|
865
|
-
/>
|
|
866
|
-
<View
|
|
867
|
-
style={
|
|
868
|
-
[
|
|
869
|
-
{
|
|
870
|
-
"alignItems": "center",
|
|
871
|
-
"borderColor": "#cb300a",
|
|
872
|
-
"borderRadius": 8,
|
|
873
|
-
"borderWidth": 1,
|
|
874
|
-
"height": 48,
|
|
875
|
-
"justifyContent": "center",
|
|
876
|
-
"width": 40,
|
|
877
|
-
},
|
|
878
|
-
undefined,
|
|
879
|
-
]
|
|
880
|
-
}
|
|
881
|
-
themeFocused={false}
|
|
882
|
-
themeState="error"
|
|
883
|
-
>
|
|
884
957
|
<View
|
|
885
958
|
style={
|
|
886
959
|
[
|
|
887
960
|
{
|
|
888
|
-
"
|
|
961
|
+
"alignItems": "center",
|
|
889
962
|
"borderColor": "#cb300a",
|
|
890
|
-
"borderRadius":
|
|
963
|
+
"borderRadius": 8,
|
|
891
964
|
"borderWidth": 1,
|
|
892
|
-
"height":
|
|
893
|
-
"
|
|
965
|
+
"height": 48,
|
|
966
|
+
"justifyContent": "center",
|
|
967
|
+
"width": 40,
|
|
894
968
|
},
|
|
895
969
|
undefined,
|
|
896
970
|
]
|
|
897
971
|
}
|
|
898
|
-
|
|
972
|
+
themeFocused={false}
|
|
899
973
|
themeState="error"
|
|
974
|
+
>
|
|
975
|
+
<View
|
|
976
|
+
style={
|
|
977
|
+
[
|
|
978
|
+
{
|
|
979
|
+
"backgroundColor": "#cb300a",
|
|
980
|
+
"borderColor": "#cb300a",
|
|
981
|
+
"borderRadius": 999,
|
|
982
|
+
"borderWidth": 1,
|
|
983
|
+
"height": 16,
|
|
984
|
+
"width": 16,
|
|
985
|
+
},
|
|
986
|
+
undefined,
|
|
987
|
+
]
|
|
988
|
+
}
|
|
989
|
+
testID="pin-cell-filled-mask"
|
|
990
|
+
themeState="error"
|
|
991
|
+
/>
|
|
992
|
+
</View>
|
|
993
|
+
<View
|
|
994
|
+
style={
|
|
995
|
+
[
|
|
996
|
+
{
|
|
997
|
+
"marginLeft": 16,
|
|
998
|
+
},
|
|
999
|
+
undefined,
|
|
1000
|
+
]
|
|
1001
|
+
}
|
|
900
1002
|
/>
|
|
901
|
-
</View>
|
|
902
|
-
<View
|
|
903
|
-
style={
|
|
904
|
-
[
|
|
905
|
-
{
|
|
906
|
-
"marginLeft": 16,
|
|
907
|
-
},
|
|
908
|
-
undefined,
|
|
909
|
-
]
|
|
910
|
-
}
|
|
911
|
-
/>
|
|
912
|
-
<View
|
|
913
|
-
style={
|
|
914
|
-
[
|
|
915
|
-
{
|
|
916
|
-
"alignItems": "center",
|
|
917
|
-
"borderColor": "#cb300a",
|
|
918
|
-
"borderRadius": 8,
|
|
919
|
-
"borderWidth": 1,
|
|
920
|
-
"height": 48,
|
|
921
|
-
"justifyContent": "center",
|
|
922
|
-
"width": 40,
|
|
923
|
-
},
|
|
924
|
-
undefined,
|
|
925
|
-
]
|
|
926
|
-
}
|
|
927
|
-
themeFocused={false}
|
|
928
|
-
themeState="error"
|
|
929
|
-
>
|
|
930
1003
|
<View
|
|
931
1004
|
style={
|
|
932
1005
|
[
|
|
933
1006
|
{
|
|
1007
|
+
"alignItems": "center",
|
|
934
1008
|
"borderColor": "#cb300a",
|
|
935
|
-
"borderRadius":
|
|
1009
|
+
"borderRadius": 8,
|
|
936
1010
|
"borderWidth": 1,
|
|
937
|
-
"height":
|
|
938
|
-
"
|
|
1011
|
+
"height": 48,
|
|
1012
|
+
"justifyContent": "center",
|
|
1013
|
+
"width": 40,
|
|
939
1014
|
},
|
|
940
1015
|
undefined,
|
|
941
1016
|
]
|
|
942
1017
|
}
|
|
943
|
-
|
|
1018
|
+
themeFocused={false}
|
|
944
1019
|
themeState="error"
|
|
1020
|
+
>
|
|
1021
|
+
<View
|
|
1022
|
+
style={
|
|
1023
|
+
[
|
|
1024
|
+
{
|
|
1025
|
+
"borderColor": "#cb300a",
|
|
1026
|
+
"borderRadius": 999,
|
|
1027
|
+
"borderWidth": 1,
|
|
1028
|
+
"height": 16,
|
|
1029
|
+
"width": 16,
|
|
1030
|
+
},
|
|
1031
|
+
undefined,
|
|
1032
|
+
]
|
|
1033
|
+
}
|
|
1034
|
+
testID="pin-cell-mask"
|
|
1035
|
+
themeState="error"
|
|
1036
|
+
/>
|
|
1037
|
+
</View>
|
|
1038
|
+
<View
|
|
1039
|
+
style={
|
|
1040
|
+
[
|
|
1041
|
+
{
|
|
1042
|
+
"marginLeft": 16,
|
|
1043
|
+
},
|
|
1044
|
+
undefined,
|
|
1045
|
+
]
|
|
1046
|
+
}
|
|
945
1047
|
/>
|
|
1048
|
+
<View
|
|
1049
|
+
style={
|
|
1050
|
+
[
|
|
1051
|
+
{
|
|
1052
|
+
"alignItems": "center",
|
|
1053
|
+
"borderColor": "#cb300a",
|
|
1054
|
+
"borderRadius": 8,
|
|
1055
|
+
"borderWidth": 1,
|
|
1056
|
+
"height": 48,
|
|
1057
|
+
"justifyContent": "center",
|
|
1058
|
+
"width": 40,
|
|
1059
|
+
},
|
|
1060
|
+
undefined,
|
|
1061
|
+
]
|
|
1062
|
+
}
|
|
1063
|
+
themeFocused={false}
|
|
1064
|
+
themeState="error"
|
|
1065
|
+
>
|
|
1066
|
+
<View
|
|
1067
|
+
style={
|
|
1068
|
+
[
|
|
1069
|
+
{
|
|
1070
|
+
"borderColor": "#cb300a",
|
|
1071
|
+
"borderRadius": 999,
|
|
1072
|
+
"borderWidth": 1,
|
|
1073
|
+
"height": 16,
|
|
1074
|
+
"width": 16,
|
|
1075
|
+
},
|
|
1076
|
+
undefined,
|
|
1077
|
+
]
|
|
1078
|
+
}
|
|
1079
|
+
testID="pin-cell-mask"
|
|
1080
|
+
themeState="error"
|
|
1081
|
+
/>
|
|
1082
|
+
</View>
|
|
946
1083
|
</View>
|
|
947
|
-
<View
|
|
948
|
-
style={
|
|
949
|
-
[
|
|
950
|
-
{
|
|
951
|
-
"marginLeft": 16,
|
|
952
|
-
},
|
|
953
|
-
undefined,
|
|
954
|
-
]
|
|
955
|
-
}
|
|
956
|
-
/>
|
|
957
1084
|
<View
|
|
958
1085
|
style={
|
|
959
1086
|
[
|
|
960
1087
|
{
|
|
961
1088
|
"alignItems": "center",
|
|
962
|
-
"
|
|
963
|
-
"
|
|
964
|
-
"borderWidth": 1,
|
|
965
|
-
"height": 48,
|
|
966
|
-
"justifyContent": "center",
|
|
967
|
-
"width": 40,
|
|
1089
|
+
"flexDirection": "row",
|
|
1090
|
+
"paddingTop": 4,
|
|
968
1091
|
},
|
|
969
1092
|
undefined,
|
|
970
1093
|
]
|
|
971
1094
|
}
|
|
972
|
-
themeFocused={false}
|
|
973
|
-
themeState="error"
|
|
974
1095
|
>
|
|
975
|
-
<
|
|
1096
|
+
<HeroIcon
|
|
1097
|
+
name="circle-info"
|
|
976
1098
|
style={
|
|
977
1099
|
[
|
|
978
1100
|
{
|
|
979
|
-
"
|
|
980
|
-
"
|
|
981
|
-
"borderWidth": 1,
|
|
982
|
-
"height": 16,
|
|
983
|
-
"width": 16,
|
|
1101
|
+
"color": "#cb300a",
|
|
1102
|
+
"fontSize": 16,
|
|
984
1103
|
},
|
|
985
1104
|
undefined,
|
|
986
1105
|
]
|
|
987
1106
|
}
|
|
988
|
-
testID="pin-
|
|
989
|
-
|
|
1107
|
+
testID="pin-error-icon"
|
|
1108
|
+
themeIntent="danger"
|
|
1109
|
+
themeSize="xsmall"
|
|
990
1110
|
/>
|
|
1111
|
+
<Text
|
|
1112
|
+
allowFontScaling={false}
|
|
1113
|
+
style={
|
|
1114
|
+
[
|
|
1115
|
+
{
|
|
1116
|
+
"color": "#001f23",
|
|
1117
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
1118
|
+
"fontSize": 12,
|
|
1119
|
+
"letterSpacing": 0.48,
|
|
1120
|
+
"lineHeight": 16,
|
|
1121
|
+
},
|
|
1122
|
+
[
|
|
1123
|
+
{
|
|
1124
|
+
"color": "#cb300a",
|
|
1125
|
+
"paddingLeft": 4,
|
|
1126
|
+
},
|
|
1127
|
+
undefined,
|
|
1128
|
+
],
|
|
1129
|
+
]
|
|
1130
|
+
}
|
|
1131
|
+
themeFontWeight="regular"
|
|
1132
|
+
themeIntent="body"
|
|
1133
|
+
>
|
|
1134
|
+
PIN is not correct
|
|
1135
|
+
</Text>
|
|
991
1136
|
</View>
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
>
|
|
1005
|
-
<HeroIcon
|
|
1006
|
-
name="circle-info"
|
|
1137
|
+
<TextInput
|
|
1138
|
+
autoFocus={false}
|
|
1139
|
+
caretHidden={true}
|
|
1140
|
+
contextMenuHidden={true}
|
|
1141
|
+
editable={true}
|
|
1142
|
+
keyboardType="numeric"
|
|
1143
|
+
maxLength={4}
|
|
1144
|
+
onBlur={[Function]}
|
|
1145
|
+
onChangeText={[Function]}
|
|
1146
|
+
onFocus={[Function]}
|
|
1147
|
+
pointerEvents="box-only"
|
|
1148
|
+
secureTextEntry={true}
|
|
1007
1149
|
style={
|
|
1008
1150
|
[
|
|
1009
1151
|
{
|
|
1010
|
-
"
|
|
1011
|
-
"
|
|
1152
|
+
"height": "100%",
|
|
1153
|
+
"left": 0,
|
|
1154
|
+
"opacity": 0,
|
|
1155
|
+
"position": "absolute",
|
|
1156
|
+
"top": 0,
|
|
1157
|
+
"width": 208,
|
|
1012
1158
|
},
|
|
1013
1159
|
undefined,
|
|
1014
1160
|
]
|
|
1015
1161
|
}
|
|
1016
|
-
testID="pin-
|
|
1017
|
-
|
|
1018
|
-
|
|
1162
|
+
testID="pin-hidden-input"
|
|
1163
|
+
themePinLength={4}
|
|
1164
|
+
value="12"
|
|
1019
1165
|
/>
|
|
1020
|
-
<Text
|
|
1021
|
-
allowFontScaling={false}
|
|
1022
|
-
style={
|
|
1023
|
-
[
|
|
1024
|
-
{
|
|
1025
|
-
"color": "#001f23",
|
|
1026
|
-
"fontFamily": "BeVietnamPro-Regular",
|
|
1027
|
-
"fontSize": 12,
|
|
1028
|
-
"letterSpacing": 0.48,
|
|
1029
|
-
"lineHeight": 16,
|
|
1030
|
-
},
|
|
1031
|
-
[
|
|
1032
|
-
{
|
|
1033
|
-
"color": "#cb300a",
|
|
1034
|
-
"paddingLeft": 4,
|
|
1035
|
-
},
|
|
1036
|
-
undefined,
|
|
1037
|
-
],
|
|
1038
|
-
]
|
|
1039
|
-
}
|
|
1040
|
-
themeFontWeight="regular"
|
|
1041
|
-
themeIntent="body"
|
|
1042
|
-
>
|
|
1043
|
-
PIN is not correct
|
|
1044
|
-
</Text>
|
|
1045
1166
|
</View>
|
|
1046
|
-
<
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
contextMenuHidden={true}
|
|
1050
|
-
editable={true}
|
|
1051
|
-
keyboardType="numeric"
|
|
1052
|
-
maxLength={4}
|
|
1053
|
-
onBlur={[Function]}
|
|
1054
|
-
onChangeText={[Function]}
|
|
1055
|
-
onFocus={[Function]}
|
|
1056
|
-
pointerEvents="box-only"
|
|
1057
|
-
secureTextEntry={true}
|
|
1167
|
+
<View
|
|
1168
|
+
pointerEvents="box-none"
|
|
1169
|
+
position="bottom"
|
|
1058
1170
|
style={
|
|
1059
1171
|
[
|
|
1060
1172
|
{
|
|
1061
|
-
"
|
|
1173
|
+
"bottom": 0,
|
|
1174
|
+
"elevation": 9999,
|
|
1175
|
+
"flexDirection": "column-reverse",
|
|
1062
1176
|
"left": 0,
|
|
1063
|
-
"
|
|
1177
|
+
"paddingHorizontal": 24,
|
|
1178
|
+
"paddingVertical": 16,
|
|
1064
1179
|
"position": "absolute",
|
|
1180
|
+
"right": 0,
|
|
1065
1181
|
"top": 0,
|
|
1066
|
-
"width": 208,
|
|
1067
1182
|
},
|
|
1068
1183
|
undefined,
|
|
1069
1184
|
]
|
|
1070
1185
|
}
|
|
1071
|
-
testID="pin-hidden-input"
|
|
1072
|
-
themePinLength={4}
|
|
1073
|
-
value="12"
|
|
1074
1186
|
/>
|
|
1075
1187
|
</View>
|
|
1076
1188
|
`;
|