Skip to content

Commit 07092a2

Browse files
committed
Merge branch 'master' into release
2 parents 8d3d957 + 9e36684 commit 07092a2

File tree

19 files changed

+214
-74
lines changed

19 files changed

+214
-74
lines changed

android/app/src/main/java/com/rnuilib/MainApplication.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class MainApplication : NavigationApplication() {
2626
// add(MyReactNativePackage())
2727
}
2828

29-
override fun getJSMainModuleName(): String = "demo"
29+
override fun getJSMainModuleName(): String = "index"
3030

3131
override fun getUseDeveloperSupport(): Boolean = BuildConfig.DEBUG
3232

demo/src/screens/__tests__/__snapshots__/AvatarScreen.spec.js.snap

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ exports[`AvatarScreen renders screen 1`] = `
8383
accessible={true}
8484
collapsable={false}
8585
focusable={true}
86+
hitSlop={0}
8687
onClick={[Function]}
8788
onResponderGrant={[Function]}
8889
onResponderMove={[Function]}
@@ -208,6 +209,7 @@ exports[`AvatarScreen renders screen 1`] = `
208209
accessible={true}
209210
collapsable={false}
210211
focusable={true}
212+
hitSlop={0}
211213
onClick={[Function]}
212214
onResponderGrant={[Function]}
213215
onResponderMove={[Function]}
@@ -394,6 +396,7 @@ exports[`AvatarScreen renders screen 1`] = `
394396
accessible={true}
395397
collapsable={false}
396398
focusable={true}
399+
hitSlop={0}
397400
onClick={[Function]}
398401
onResponderGrant={[Function]}
399402
onResponderMove={[Function]}
@@ -622,6 +625,7 @@ exports[`AvatarScreen renders screen 1`] = `
622625
accessible={true}
623626
collapsable={false}
624627
focusable={true}
628+
hitSlop={0}
625629
onClick={[Function]}
626630
onResponderGrant={[Function]}
627631
onResponderMove={[Function]}
@@ -856,6 +860,7 @@ exports[`AvatarScreen renders screen 1`] = `
856860
accessible={true}
857861
collapsable={false}
858862
focusable={true}
863+
hitSlop={0}
859864
onClick={[Function]}
860865
onResponderGrant={[Function]}
861866
onResponderMove={[Function]}
@@ -1112,6 +1117,7 @@ exports[`AvatarScreen renders screen 1`] = `
11121117
accessible={true}
11131118
collapsable={false}
11141119
focusable={true}
1120+
hitSlop={4}
11151121
onClick={[Function]}
11161122
onResponderGrant={[Function]}
11171123
onResponderMove={[Function]}
@@ -1368,6 +1374,7 @@ exports[`AvatarScreen renders screen 1`] = `
13681374
accessible={true}
13691375
collapsable={false}
13701376
focusable={true}
1377+
hitSlop={0}
13711378
onClick={[Function]}
13721379
onResponderGrant={[Function]}
13731380
onResponderMove={[Function]}
@@ -1575,6 +1582,7 @@ exports[`AvatarScreen renders screen 1`] = `
15751582
accessible={true}
15761583
collapsable={false}
15771584
focusable={true}
1585+
hitSlop={0}
15781586
onClick={[Function]}
15791587
onResponderGrant={[Function]}
15801588
onResponderMove={[Function]}
@@ -1831,6 +1839,7 @@ exports[`AvatarScreen renders screen 1`] = `
18311839
accessible={true}
18321840
collapsable={false}
18331841
focusable={true}
1842+
hitSlop={0}
18341843
onClick={[Function]}
18351844
onResponderGrant={[Function]}
18361845
onResponderMove={[Function]}
@@ -2132,6 +2141,7 @@ exports[`AvatarScreen renders screen 1`] = `
21322141
accessible={true}
21332142
collapsable={false}
21342143
focusable={true}
2144+
hitSlop={0}
21352145
onClick={[Function]}
21362146
onResponderGrant={[Function]}
21372147
onResponderMove={[Function]}
@@ -2319,6 +2329,7 @@ exports[`AvatarScreen renders screen 1`] = `
23192329
accessible={true}
23202330
collapsable={false}
23212331
focusable={true}
2332+
hitSlop={0}
23222333
onClick={[Function]}
23232334
onResponderGrant={[Function]}
23242335
onResponderMove={[Function]}
@@ -2548,6 +2559,7 @@ exports[`AvatarScreen renders screen 1`] = `
25482559
accessible={true}
25492560
collapsable={false}
25502561
focusable={true}
2562+
hitSlop={0}
25512563
onClick={[Function]}
25522564
onResponderGrant={[Function]}
25532565
onResponderMove={[Function]}
@@ -2777,6 +2789,7 @@ exports[`AvatarScreen renders screen 1`] = `
27772789
accessible={true}
27782790
collapsable={false}
27792791
focusable={true}
2792+
hitSlop={0}
27802793
onClick={[Function]}
27812794
onResponderGrant={[Function]}
27822795
onResponderMove={[Function]}
@@ -2964,6 +2977,7 @@ exports[`AvatarScreen renders screen 1`] = `
29642977
accessible={true}
29652978
collapsable={false}
29662979
focusable={true}
2980+
hitSlop={0}
29672981
onClick={[Function]}
29682982
onResponderGrant={[Function]}
29692983
onResponderMove={[Function]}

demo/src/screens/__tests__/__snapshots__/TextFieldScreen.spec.js.snap

Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,12 @@ exports[`TextField Screen renders screen 1`] = `
177177
}
178178
}
179179
editable={true}
180+
hitSlop={
181+
{
182+
"bottom": 20,
183+
"top": 20,
184+
}
185+
}
180186
onBlur={[Function]}
181187
onChangeText={[Function]}
182188
onFocus={[Function]}
@@ -632,6 +638,12 @@ exports[`TextField Screen renders screen 1`] = `
632638
}
633639
}
634640
editable={true}
641+
hitSlop={
642+
{
643+
"bottom": 20,
644+
"top": 20,
645+
}
646+
}
635647
onBlur={[Function]}
636648
onChangeText={[Function]}
637649
onFocus={[Function]}
@@ -1166,6 +1178,12 @@ exports[`TextField Screen renders screen 1`] = `
11661178
}
11671179
}
11681180
editable={false}
1181+
hitSlop={
1182+
{
1183+
"bottom": 20,
1184+
"top": 20,
1185+
}
1186+
}
11691187
onBlur={[Function]}
11701188
onChangeText={[Function]}
11711189
onFocus={[Function]}
@@ -1527,6 +1545,12 @@ exports[`TextField Screen renders screen 1`] = `
15271545
}
15281546
}
15291547
editable={true}
1548+
hitSlop={
1549+
{
1550+
"bottom": 20,
1551+
"top": 20,
1552+
}
1553+
}
15301554
onBlur={[Function]}
15311555
onChangeText={[Function]}
15321556
onFocus={[Function]}
@@ -1752,6 +1776,12 @@ exports[`TextField Screen renders screen 1`] = `
17521776
}
17531777
}
17541778
editable={true}
1779+
hitSlop={
1780+
{
1781+
"bottom": 20,
1782+
"top": 20,
1783+
}
1784+
}
17551785
onBlur={[Function]}
17561786
onChangeText={[Function]}
17571787
onFocus={[Function]}
@@ -2111,6 +2141,12 @@ exports[`TextField Screen renders screen 1`] = `
21112141
}
21122142
}
21132143
editable={true}
2144+
hitSlop={
2145+
{
2146+
"bottom": 20,
2147+
"top": 20,
2148+
}
2149+
}
21142150
onBlur={[Function]}
21152151
onChangeText={[Function]}
21162152
onFocus={[Function]}
@@ -2420,6 +2456,12 @@ exports[`TextField Screen renders screen 1`] = `
24202456
}
24212457
}
24222458
editable={true}
2459+
hitSlop={
2460+
{
2461+
"bottom": 20,
2462+
"top": 20,
2463+
}
2464+
}
24232465
onBlur={[Function]}
24242466
onChangeText={[Function]}
24252467
onFocus={[Function]}
@@ -2979,6 +3021,12 @@ exports[`TextField Screen renders screen 1`] = `
29793021
}
29803022
}
29813023
editable={true}
3024+
hitSlop={
3025+
{
3026+
"bottom": 20,
3027+
"top": 20,
3028+
}
3029+
}
29823030
onBlur={[Function]}
29833031
onChangeText={[Function]}
29843032
onChangeValidity={[Function]}
@@ -3317,6 +3365,12 @@ exports[`TextField Screen renders screen 1`] = `
33173365
}
33183366
}
33193367
editable={true}
3368+
hitSlop={
3369+
{
3370+
"bottom": 20,
3371+
"top": 20,
3372+
}
3373+
}
33203374
maxLength={20}
33213375
onBlur={[Function]}
33223376
onChangeText={[Function]}
@@ -3739,6 +3793,12 @@ exports[`TextField Screen renders screen 1`] = `
37393793
}
37403794
}
37413795
editable={true}
3796+
hitSlop={
3797+
{
3798+
"bottom": 20,
3799+
"top": 20,
3800+
}
3801+
}
37423802
onBlur={[Function]}
37433803
onChangeText={[Function]}
37443804
onFocus={[Function]}
@@ -4161,6 +4221,12 @@ exports[`TextField Screen renders screen 1`] = `
41614221
}
41624222
}
41634223
editable={true}
4224+
hitSlop={
4225+
{
4226+
"bottom": 20,
4227+
"top": 20,
4228+
}
4229+
}
41644230
maxLength={20}
41654231
multiline={true}
41664232
onBlur={[Function]}
@@ -4484,6 +4550,12 @@ exports[`TextField Screen renders screen 1`] = `
44844550
}
44854551
}
44864552
editable={true}
4553+
hitSlop={
4554+
{
4555+
"bottom": 20,
4556+
"top": 20,
4557+
}
4558+
}
44874559
onBlur={[Function]}
44884560
onChangeText={[Function]}
44894561
onFocus={[Function]}
@@ -4776,6 +4848,12 @@ exports[`TextField Screen renders screen 1`] = `
47764848
}
47774849
}
47784850
editable={true}
4851+
hitSlop={
4852+
{
4853+
"bottom": 20,
4854+
"top": 20,
4855+
}
4856+
}
47794857
keyboardType="numeric"
47804858
onBlur={[Function]}
47814859
onChangeText={[Function]}
@@ -5092,6 +5170,12 @@ exports[`TextField Screen renders screen 1`] = `
50925170
}
50935171
}
50945172
editable={true}
5173+
hitSlop={
5174+
{
5175+
"bottom": 20,
5176+
"top": 20,
5177+
}
5178+
}
50955179
onBlur={[Function]}
50965180
onChangeText={[Function]}
50975181
onFocus={[Function]}
@@ -5825,6 +5909,12 @@ exports[`TextField Screen renders screen 1`] = `
58255909
}
58265910
}
58275911
editable={true}
5912+
hitSlop={
5913+
{
5914+
"bottom": 20,
5915+
"top": 20,
5916+
}
5917+
}
58285918
onBlur={[Function]}
58295919
onChangeText={[Function]}
58305920
onFocus={[Function]}
@@ -6119,6 +6209,12 @@ exports[`TextField Screen renders screen 1`] = `
61196209
}
61206210
}
61216211
editable={true}
6212+
hitSlop={
6213+
{
6214+
"bottom": 20,
6215+
"top": 20,
6216+
}
6217+
}
61226218
onBlur={[Function]}
61236219
onChangeText={[Function]}
61246220
onFocus={[Function]}
@@ -6442,6 +6538,12 @@ exports[`TextField Screen renders screen 1`] = `
64426538
}
64436539
}
64446540
editable={true}
6541+
hitSlop={
6542+
{
6543+
"bottom": 20,
6544+
"top": 20,
6545+
}
6546+
}
64456547
onBlur={[Function]}
64466548
onChangeText={[Function]}
64476549
onFocus={[Function]}
@@ -6811,6 +6913,12 @@ exports[`TextField Screen renders screen 1`] = `
68116913
}
68126914
}
68136915
editable={true}
6916+
hitSlop={
6917+
{
6918+
"bottom": 20,
6919+
"top": 20,
6920+
}
6921+
}
68146922
onBlur={[Function]}
68156923
onChangeText={[Function]}
68166924
onFocus={[Function]}
@@ -7085,6 +7193,12 @@ exports[`TextField Screen renders screen 1`] = `
70857193
}
70867194
}
70877195
editable={true}
7196+
hitSlop={
7197+
{
7198+
"bottom": 20,
7199+
"top": 20,
7200+
}
7201+
}
70887202
onBlur={[Function]}
70897203
onChangeText={[Function]}
70907204
onFocus={[Function]}
@@ -7334,6 +7448,12 @@ exports[`TextField Screen renders screen 1`] = `
73347448
}
73357449
}
73367450
editable={true}
7451+
hitSlop={
7452+
{
7453+
"bottom": 20,
7454+
"top": 20,
7455+
}
7456+
}
73377457
onBlur={[Function]}
73387458
onChangeText={[Function]}
73397459
onFocus={[Function]}
@@ -7599,6 +7719,12 @@ exports[`TextField Screen renders screen 1`] = `
75997719
}
76007720
}
76017721
editable={true}
7722+
hitSlop={
7723+
{
7724+
"bottom": 20,
7725+
"top": 20,
7726+
}
7727+
}
76027728
onBlur={[Function]}
76037729
onChangeText={[Function]}
76047730
onFocus={[Function]}

0 commit comments

Comments
 (0)