@hero-design/rn-work-uikit 1.2.0-alpha.1 → 1.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/CHANGELOG.md +8 -8
- package/lib/index.js +2102 -186
- package/package.json +2 -2
- package/rollup.config.mjs +0 -1
- package/src/__tests__/__snapshots__/index.spec.tsx.snap +10 -29
- package/src/components/TextInput/FloatingLabel.tsx +8 -2
- package/src/components/TextInput/Group/__tests__/__snapshots__/index.spec.tsx.snap +883 -0
- package/src/components/TextInput/Group/__tests__/index.spec.tsx +179 -0
- package/src/components/TextInput/Group/__tests__/utils.spec.ts +73 -0
- package/src/components/TextInput/Group/index.tsx +102 -0
- package/src/components/TextInput/Group/utils.ts +67 -0
- package/src/components/TextInput/InputRow.tsx +47 -29
- package/src/components/TextInput/MIGRATION.md +133 -0
- package/src/components/TextInput/StyledTextInput.tsx +36 -8
- package/src/components/TextInput/__tests__/FloatingLabel.spec.tsx +36 -46
- package/src/components/TextInput/__tests__/InputRow.spec.tsx +50 -95
- package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +559 -544
- package/src/components/TextInput/__tests__/index.spec.tsx +241 -262
- package/src/components/TextInput/index.tsx +39 -17
- package/src/components/TextInput/types.ts +7 -0
|
@@ -23,6 +23,9 @@ exports[`TextInput when user applies custom styling should respect user-provided
|
|
|
23
23
|
{},
|
|
24
24
|
]
|
|
25
25
|
}
|
|
26
|
+
themeFocused={false}
|
|
27
|
+
themeHasError={false}
|
|
28
|
+
themeUseGroupStyleEnabled={false}
|
|
26
29
|
>
|
|
27
30
|
<View
|
|
28
31
|
pointerEvents="none"
|
|
@@ -103,7 +106,13 @@ exports[`TextInput when user applies custom styling should respect user-provided
|
|
|
103
106
|
}
|
|
104
107
|
themeVariant="text"
|
|
105
108
|
>
|
|
106
|
-
<AnimatedView
|
|
109
|
+
<AnimatedView
|
|
110
|
+
style={
|
|
111
|
+
{
|
|
112
|
+
"flexDirection": "row",
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
>
|
|
107
116
|
<Text
|
|
108
117
|
allowFontScaling={false}
|
|
109
118
|
numberOfLines={1}
|
|
@@ -139,7 +148,7 @@ exports[`TextInput when user applies custom styling should respect user-provided
|
|
|
139
148
|
</Text>
|
|
140
149
|
</AnimatedView>
|
|
141
150
|
</AnimatedView>
|
|
142
|
-
<
|
|
151
|
+
<Pressable
|
|
143
152
|
style={
|
|
144
153
|
[
|
|
145
154
|
[
|
|
@@ -149,29 +158,16 @@ exports[`TextInput when user applies custom styling should respect user-provided
|
|
|
149
158
|
"flexGrow": 2,
|
|
150
159
|
"flexShrink": 1,
|
|
151
160
|
"gap": 3.9230769230769234,
|
|
161
|
+
"opacity": 1,
|
|
152
162
|
},
|
|
153
163
|
],
|
|
154
164
|
undefined,
|
|
155
165
|
]
|
|
156
166
|
}
|
|
167
|
+
themeOpacity={1}
|
|
157
168
|
>
|
|
158
|
-
<
|
|
159
|
-
style={
|
|
160
|
-
{
|
|
161
|
-
"opacity": {
|
|
162
|
-
"_offset": 0,
|
|
163
|
-
"_value": 0,
|
|
164
|
-
"addListener": [MockFunction],
|
|
165
|
-
"interpolate": [MockFunction],
|
|
166
|
-
"removeAllListeners": [MockFunction],
|
|
167
|
-
"removeListener": [MockFunction],
|
|
168
|
-
"setValue": [MockFunction],
|
|
169
|
-
},
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
>
|
|
169
|
+
<View>
|
|
173
170
|
<View
|
|
174
|
-
accessibilityElementsHidden={false}
|
|
175
171
|
testID="input-prefix"
|
|
176
172
|
>
|
|
177
173
|
<Text
|
|
@@ -209,22 +205,12 @@ exports[`TextInput when user applies custom styling should respect user-provided
|
|
|
209
205
|
|
|
210
206
|
</Text>
|
|
211
207
|
</View>
|
|
212
|
-
</
|
|
213
|
-
<
|
|
214
|
-
accessibilityElementsHidden={false}
|
|
208
|
+
</View>
|
|
209
|
+
<View
|
|
215
210
|
accessibilityLabel="Text input field"
|
|
216
211
|
style={
|
|
217
212
|
{
|
|
218
213
|
"flex": 1,
|
|
219
|
-
"opacity": {
|
|
220
|
-
"_offset": 0,
|
|
221
|
-
"_value": 0,
|
|
222
|
-
"addListener": [MockFunction],
|
|
223
|
-
"interpolate": [MockFunction],
|
|
224
|
-
"removeAllListeners": [MockFunction],
|
|
225
|
-
"removeListener": [MockFunction],
|
|
226
|
-
"setValue": [MockFunction],
|
|
227
|
-
},
|
|
228
214
|
}
|
|
229
215
|
}
|
|
230
216
|
testID="input-row-input-wrapper"
|
|
@@ -271,8 +257,8 @@ exports[`TextInput when user applies custom styling should respect user-provided
|
|
|
271
257
|
themeVariant="text"
|
|
272
258
|
value="2000"
|
|
273
259
|
/>
|
|
274
|
-
</
|
|
275
|
-
</
|
|
260
|
+
</View>
|
|
261
|
+
</Pressable>
|
|
276
262
|
<View
|
|
277
263
|
style={
|
|
278
264
|
[
|
|
@@ -384,6 +370,9 @@ exports[`TextInput when user chooses textarea variant should provide multiline t
|
|
|
384
370
|
{},
|
|
385
371
|
]
|
|
386
372
|
}
|
|
373
|
+
themeFocused={false}
|
|
374
|
+
themeHasError={false}
|
|
375
|
+
themeUseGroupStyleEnabled={false}
|
|
387
376
|
>
|
|
388
377
|
<View
|
|
389
378
|
pointerEvents="none"
|
|
@@ -464,7 +453,13 @@ exports[`TextInput when user chooses textarea variant should provide multiline t
|
|
|
464
453
|
}
|
|
465
454
|
themeVariant="textarea"
|
|
466
455
|
>
|
|
467
|
-
<AnimatedView
|
|
456
|
+
<AnimatedView
|
|
457
|
+
style={
|
|
458
|
+
{
|
|
459
|
+
"flexDirection": "row",
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
>
|
|
468
463
|
<Text
|
|
469
464
|
allowFontScaling={false}
|
|
470
465
|
numberOfLines={1}
|
|
@@ -497,11 +492,39 @@ exports[`TextInput when user chooses textarea variant should provide multiline t
|
|
|
497
492
|
themeState="filled"
|
|
498
493
|
>
|
|
499
494
|
Amount (AUD)
|
|
495
|
+
</Text>
|
|
496
|
+
<Text
|
|
497
|
+
allowFontScaling={false}
|
|
498
|
+
style={
|
|
499
|
+
[
|
|
500
|
+
[
|
|
501
|
+
{
|
|
502
|
+
"color": "#001f23",
|
|
503
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
504
|
+
"fontSize": 11.76923076923077,
|
|
505
|
+
"letterSpacing": 0.36,
|
|
506
|
+
"lineHeight": 15.76923076923077,
|
|
507
|
+
},
|
|
508
|
+
],
|
|
509
|
+
[
|
|
510
|
+
[
|
|
511
|
+
{
|
|
512
|
+
"color": "#808f91",
|
|
513
|
+
},
|
|
514
|
+
],
|
|
515
|
+
undefined,
|
|
516
|
+
],
|
|
517
|
+
]
|
|
518
|
+
}
|
|
519
|
+
themeFontWeight="regular"
|
|
520
|
+
themeIntent="body"
|
|
521
|
+
themeState="filled"
|
|
522
|
+
>
|
|
500
523
|
(Optional)
|
|
501
524
|
</Text>
|
|
502
525
|
</AnimatedView>
|
|
503
526
|
</AnimatedView>
|
|
504
|
-
<
|
|
527
|
+
<Pressable
|
|
505
528
|
style={
|
|
506
529
|
[
|
|
507
530
|
[
|
|
@@ -511,42 +534,20 @@ exports[`TextInput when user chooses textarea variant should provide multiline t
|
|
|
511
534
|
"flexGrow": 2,
|
|
512
535
|
"flexShrink": 1,
|
|
513
536
|
"gap": 3.9230769230769234,
|
|
537
|
+
"opacity": 1,
|
|
514
538
|
},
|
|
515
539
|
],
|
|
516
540
|
undefined,
|
|
517
541
|
]
|
|
518
542
|
}
|
|
543
|
+
themeOpacity={1}
|
|
519
544
|
>
|
|
520
|
-
<
|
|
521
|
-
|
|
522
|
-
{
|
|
523
|
-
"opacity": {
|
|
524
|
-
"_offset": 0,
|
|
525
|
-
"_value": 0,
|
|
526
|
-
"addListener": [MockFunction],
|
|
527
|
-
"interpolate": [MockFunction],
|
|
528
|
-
"removeAllListeners": [MockFunction],
|
|
529
|
-
"removeListener": [MockFunction],
|
|
530
|
-
"setValue": [MockFunction],
|
|
531
|
-
},
|
|
532
|
-
}
|
|
533
|
-
}
|
|
534
|
-
/>
|
|
535
|
-
<AnimatedView
|
|
536
|
-
accessibilityElementsHidden={false}
|
|
545
|
+
<View />
|
|
546
|
+
<View
|
|
537
547
|
accessibilityLabel="Text input field"
|
|
538
548
|
style={
|
|
539
549
|
{
|
|
540
550
|
"flex": 1,
|
|
541
|
-
"opacity": {
|
|
542
|
-
"_offset": 0,
|
|
543
|
-
"_value": 0,
|
|
544
|
-
"addListener": [MockFunction],
|
|
545
|
-
"interpolate": [MockFunction],
|
|
546
|
-
"removeAllListeners": [MockFunction],
|
|
547
|
-
"removeListener": [MockFunction],
|
|
548
|
-
"setValue": [MockFunction],
|
|
549
|
-
},
|
|
550
551
|
}
|
|
551
552
|
}
|
|
552
553
|
testID="input-row-input-wrapper"
|
|
@@ -592,8 +593,8 @@ exports[`TextInput when user chooses textarea variant should provide multiline t
|
|
|
592
593
|
themeVariant="textarea"
|
|
593
594
|
value="2000"
|
|
594
595
|
/>
|
|
595
|
-
</
|
|
596
|
-
</
|
|
596
|
+
</View>
|
|
597
|
+
</Pressable>
|
|
597
598
|
<View
|
|
598
599
|
style={
|
|
599
600
|
[
|
|
@@ -649,7 +650,9 @@ exports[`TextInput when user encounters a disabled field should display content
|
|
|
649
650
|
{},
|
|
650
651
|
]
|
|
651
652
|
}
|
|
652
|
-
|
|
653
|
+
themeFocused={false}
|
|
654
|
+
themeHasError={false}
|
|
655
|
+
themeUseGroupStyleEnabled={false}
|
|
653
656
|
>
|
|
654
657
|
<View
|
|
655
658
|
pointerEvents="none"
|
|
@@ -730,7 +733,13 @@ exports[`TextInput when user encounters a disabled field should display content
|
|
|
730
733
|
}
|
|
731
734
|
themeVariant="text"
|
|
732
735
|
>
|
|
733
|
-
<AnimatedView
|
|
736
|
+
<AnimatedView
|
|
737
|
+
style={
|
|
738
|
+
{
|
|
739
|
+
"flexDirection": "row",
|
|
740
|
+
}
|
|
741
|
+
}
|
|
742
|
+
>
|
|
734
743
|
<Text
|
|
735
744
|
allowFontScaling={false}
|
|
736
745
|
numberOfLines={1}
|
|
@@ -764,9 +773,38 @@ exports[`TextInput when user encounters a disabled field should display content
|
|
|
764
773
|
>
|
|
765
774
|
Amount (AUD)
|
|
766
775
|
</Text>
|
|
776
|
+
<Text
|
|
777
|
+
allowFontScaling={false}
|
|
778
|
+
style={
|
|
779
|
+
[
|
|
780
|
+
[
|
|
781
|
+
{
|
|
782
|
+
"color": "#001f23",
|
|
783
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
784
|
+
"fontSize": 11.76923076923077,
|
|
785
|
+
"letterSpacing": 0.36,
|
|
786
|
+
"lineHeight": 15.76923076923077,
|
|
787
|
+
},
|
|
788
|
+
],
|
|
789
|
+
[
|
|
790
|
+
[
|
|
791
|
+
{
|
|
792
|
+
"color": "#bfc1c5",
|
|
793
|
+
},
|
|
794
|
+
],
|
|
795
|
+
undefined,
|
|
796
|
+
],
|
|
797
|
+
]
|
|
798
|
+
}
|
|
799
|
+
themeFontWeight="regular"
|
|
800
|
+
themeIntent="body"
|
|
801
|
+
themeState="disabled"
|
|
802
|
+
>
|
|
803
|
+
(Optional)
|
|
804
|
+
</Text>
|
|
767
805
|
</AnimatedView>
|
|
768
806
|
</AnimatedView>
|
|
769
|
-
<
|
|
807
|
+
<Pressable
|
|
770
808
|
style={
|
|
771
809
|
[
|
|
772
810
|
[
|
|
@@ -776,42 +814,20 @@ exports[`TextInput when user encounters a disabled field should display content
|
|
|
776
814
|
"flexGrow": 2,
|
|
777
815
|
"flexShrink": 1,
|
|
778
816
|
"gap": 3.9230769230769234,
|
|
817
|
+
"opacity": 1,
|
|
779
818
|
},
|
|
780
819
|
],
|
|
781
820
|
undefined,
|
|
782
821
|
]
|
|
783
822
|
}
|
|
823
|
+
themeOpacity={1}
|
|
784
824
|
>
|
|
785
|
-
<
|
|
786
|
-
|
|
787
|
-
{
|
|
788
|
-
"opacity": {
|
|
789
|
-
"_offset": 0,
|
|
790
|
-
"_value": 0,
|
|
791
|
-
"addListener": [MockFunction],
|
|
792
|
-
"interpolate": [MockFunction],
|
|
793
|
-
"removeAllListeners": [MockFunction],
|
|
794
|
-
"removeListener": [MockFunction],
|
|
795
|
-
"setValue": [MockFunction],
|
|
796
|
-
},
|
|
797
|
-
}
|
|
798
|
-
}
|
|
799
|
-
/>
|
|
800
|
-
<AnimatedView
|
|
801
|
-
accessibilityElementsHidden={false}
|
|
825
|
+
<View />
|
|
826
|
+
<View
|
|
802
827
|
accessibilityLabel="Text input field"
|
|
803
828
|
style={
|
|
804
829
|
{
|
|
805
830
|
"flex": 1,
|
|
806
|
-
"opacity": {
|
|
807
|
-
"_offset": 0,
|
|
808
|
-
"_value": 0,
|
|
809
|
-
"addListener": [MockFunction],
|
|
810
|
-
"interpolate": [MockFunction],
|
|
811
|
-
"removeAllListeners": [MockFunction],
|
|
812
|
-
"removeListener": [MockFunction],
|
|
813
|
-
"setValue": [MockFunction],
|
|
814
|
-
},
|
|
815
831
|
}
|
|
816
832
|
}
|
|
817
833
|
testID="input-row-input-wrapper"
|
|
@@ -856,8 +872,8 @@ exports[`TextInput when user encounters a disabled field should display content
|
|
|
856
872
|
themeVariant="text"
|
|
857
873
|
value="100"
|
|
858
874
|
/>
|
|
859
|
-
</
|
|
860
|
-
</
|
|
875
|
+
</View>
|
|
876
|
+
</Pressable>
|
|
861
877
|
<View
|
|
862
878
|
style={
|
|
863
879
|
[
|
|
@@ -913,7 +929,9 @@ exports[`TextInput when user encounters a read-only field should display content
|
|
|
913
929
|
{},
|
|
914
930
|
]
|
|
915
931
|
}
|
|
916
|
-
|
|
932
|
+
themeFocused={false}
|
|
933
|
+
themeHasError={false}
|
|
934
|
+
themeUseGroupStyleEnabled={false}
|
|
917
935
|
>
|
|
918
936
|
<View
|
|
919
937
|
pointerEvents="none"
|
|
@@ -994,7 +1012,13 @@ exports[`TextInput when user encounters a read-only field should display content
|
|
|
994
1012
|
}
|
|
995
1013
|
themeVariant="text"
|
|
996
1014
|
>
|
|
997
|
-
<AnimatedView
|
|
1015
|
+
<AnimatedView
|
|
1016
|
+
style={
|
|
1017
|
+
{
|
|
1018
|
+
"flexDirection": "row",
|
|
1019
|
+
}
|
|
1020
|
+
}
|
|
1021
|
+
>
|
|
998
1022
|
<Text
|
|
999
1023
|
allowFontScaling={false}
|
|
1000
1024
|
numberOfLines={1}
|
|
@@ -1027,11 +1051,39 @@ exports[`TextInput when user encounters a read-only field should display content
|
|
|
1027
1051
|
themeState="readonly"
|
|
1028
1052
|
>
|
|
1029
1053
|
Amount (AUD)
|
|
1054
|
+
</Text>
|
|
1055
|
+
<Text
|
|
1056
|
+
allowFontScaling={false}
|
|
1057
|
+
style={
|
|
1058
|
+
[
|
|
1059
|
+
[
|
|
1060
|
+
{
|
|
1061
|
+
"color": "#001f23",
|
|
1062
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
1063
|
+
"fontSize": 11.76923076923077,
|
|
1064
|
+
"letterSpacing": 0.36,
|
|
1065
|
+
"lineHeight": 15.76923076923077,
|
|
1066
|
+
},
|
|
1067
|
+
],
|
|
1068
|
+
[
|
|
1069
|
+
[
|
|
1070
|
+
{
|
|
1071
|
+
"color": "#808f91",
|
|
1072
|
+
},
|
|
1073
|
+
],
|
|
1074
|
+
undefined,
|
|
1075
|
+
],
|
|
1076
|
+
]
|
|
1077
|
+
}
|
|
1078
|
+
themeFontWeight="regular"
|
|
1079
|
+
themeIntent="body"
|
|
1080
|
+
themeState="readonly"
|
|
1081
|
+
>
|
|
1030
1082
|
(Optional)
|
|
1031
1083
|
</Text>
|
|
1032
1084
|
</AnimatedView>
|
|
1033
1085
|
</AnimatedView>
|
|
1034
|
-
<
|
|
1086
|
+
<Pressable
|
|
1035
1087
|
style={
|
|
1036
1088
|
[
|
|
1037
1089
|
[
|
|
@@ -1041,29 +1093,16 @@ exports[`TextInput when user encounters a read-only field should display content
|
|
|
1041
1093
|
"flexGrow": 2,
|
|
1042
1094
|
"flexShrink": 1,
|
|
1043
1095
|
"gap": 3.9230769230769234,
|
|
1096
|
+
"opacity": 1,
|
|
1044
1097
|
},
|
|
1045
1098
|
],
|
|
1046
1099
|
undefined,
|
|
1047
1100
|
]
|
|
1048
1101
|
}
|
|
1102
|
+
themeOpacity={1}
|
|
1049
1103
|
>
|
|
1050
|
-
<
|
|
1051
|
-
style={
|
|
1052
|
-
{
|
|
1053
|
-
"opacity": {
|
|
1054
|
-
"_offset": 0,
|
|
1055
|
-
"_value": 0,
|
|
1056
|
-
"addListener": [MockFunction],
|
|
1057
|
-
"interpolate": [MockFunction],
|
|
1058
|
-
"removeAllListeners": [MockFunction],
|
|
1059
|
-
"removeListener": [MockFunction],
|
|
1060
|
-
"setValue": [MockFunction],
|
|
1061
|
-
},
|
|
1062
|
-
}
|
|
1063
|
-
}
|
|
1064
|
-
>
|
|
1104
|
+
<View>
|
|
1065
1105
|
<View
|
|
1066
|
-
accessibilityElementsHidden={false}
|
|
1067
1106
|
testID="input-prefix"
|
|
1068
1107
|
>
|
|
1069
1108
|
<Text
|
|
@@ -1101,22 +1140,12 @@ exports[`TextInput when user encounters a read-only field should display content
|
|
|
1101
1140
|
|
|
1102
1141
|
</Text>
|
|
1103
1142
|
</View>
|
|
1104
|
-
</
|
|
1105
|
-
<
|
|
1106
|
-
accessibilityElementsHidden={false}
|
|
1143
|
+
</View>
|
|
1144
|
+
<View
|
|
1107
1145
|
accessibilityLabel="Text input field"
|
|
1108
1146
|
style={
|
|
1109
1147
|
{
|
|
1110
1148
|
"flex": 1,
|
|
1111
|
-
"opacity": {
|
|
1112
|
-
"_offset": 0,
|
|
1113
|
-
"_value": 0,
|
|
1114
|
-
"addListener": [MockFunction],
|
|
1115
|
-
"interpolate": [MockFunction],
|
|
1116
|
-
"removeAllListeners": [MockFunction],
|
|
1117
|
-
"removeListener": [MockFunction],
|
|
1118
|
-
"setValue": [MockFunction],
|
|
1119
|
-
},
|
|
1120
1149
|
}
|
|
1121
1150
|
}
|
|
1122
1151
|
testID="input-row-input-wrapper"
|
|
@@ -1161,8 +1190,8 @@ exports[`TextInput when user encounters a read-only field should display content
|
|
|
1161
1190
|
themeVariant="text"
|
|
1162
1191
|
value="Read-only value"
|
|
1163
1192
|
/>
|
|
1164
|
-
</
|
|
1165
|
-
</
|
|
1193
|
+
</View>
|
|
1194
|
+
</Pressable>
|
|
1166
1195
|
<View
|
|
1167
1196
|
style={
|
|
1168
1197
|
[
|
|
@@ -1253,6 +1282,9 @@ exports[`TextInput when user has entered text should show the input content and
|
|
|
1253
1282
|
{},
|
|
1254
1283
|
]
|
|
1255
1284
|
}
|
|
1285
|
+
themeFocused={false}
|
|
1286
|
+
themeHasError={false}
|
|
1287
|
+
themeUseGroupStyleEnabled={false}
|
|
1256
1288
|
>
|
|
1257
1289
|
<View
|
|
1258
1290
|
pointerEvents="none"
|
|
@@ -1333,7 +1365,13 @@ exports[`TextInput when user has entered text should show the input content and
|
|
|
1333
1365
|
}
|
|
1334
1366
|
themeVariant="text"
|
|
1335
1367
|
>
|
|
1336
|
-
<AnimatedView
|
|
1368
|
+
<AnimatedView
|
|
1369
|
+
style={
|
|
1370
|
+
{
|
|
1371
|
+
"flexDirection": "row",
|
|
1372
|
+
}
|
|
1373
|
+
}
|
|
1374
|
+
>
|
|
1337
1375
|
<Text
|
|
1338
1376
|
allowFontScaling={false}
|
|
1339
1377
|
numberOfLines={1}
|
|
@@ -1366,11 +1404,39 @@ exports[`TextInput when user has entered text should show the input content and
|
|
|
1366
1404
|
themeState="filled"
|
|
1367
1405
|
>
|
|
1368
1406
|
Amount (AUD)
|
|
1407
|
+
</Text>
|
|
1408
|
+
<Text
|
|
1409
|
+
allowFontScaling={false}
|
|
1410
|
+
style={
|
|
1411
|
+
[
|
|
1412
|
+
[
|
|
1413
|
+
{
|
|
1414
|
+
"color": "#001f23",
|
|
1415
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
1416
|
+
"fontSize": 11.76923076923077,
|
|
1417
|
+
"letterSpacing": 0.36,
|
|
1418
|
+
"lineHeight": 15.76923076923077,
|
|
1419
|
+
},
|
|
1420
|
+
],
|
|
1421
|
+
[
|
|
1422
|
+
[
|
|
1423
|
+
{
|
|
1424
|
+
"color": "#808f91",
|
|
1425
|
+
},
|
|
1426
|
+
],
|
|
1427
|
+
undefined,
|
|
1428
|
+
],
|
|
1429
|
+
]
|
|
1430
|
+
}
|
|
1431
|
+
themeFontWeight="regular"
|
|
1432
|
+
themeIntent="body"
|
|
1433
|
+
themeState="filled"
|
|
1434
|
+
>
|
|
1369
1435
|
(Optional)
|
|
1370
1436
|
</Text>
|
|
1371
1437
|
</AnimatedView>
|
|
1372
1438
|
</AnimatedView>
|
|
1373
|
-
<
|
|
1439
|
+
<Pressable
|
|
1374
1440
|
style={
|
|
1375
1441
|
[
|
|
1376
1442
|
[
|
|
@@ -1380,29 +1446,16 @@ exports[`TextInput when user has entered text should show the input content and
|
|
|
1380
1446
|
"flexGrow": 2,
|
|
1381
1447
|
"flexShrink": 1,
|
|
1382
1448
|
"gap": 3.9230769230769234,
|
|
1449
|
+
"opacity": 1,
|
|
1383
1450
|
},
|
|
1384
1451
|
],
|
|
1385
1452
|
undefined,
|
|
1386
1453
|
]
|
|
1387
1454
|
}
|
|
1455
|
+
themeOpacity={1}
|
|
1388
1456
|
>
|
|
1389
|
-
<
|
|
1390
|
-
style={
|
|
1391
|
-
{
|
|
1392
|
-
"opacity": {
|
|
1393
|
-
"_offset": 0,
|
|
1394
|
-
"_value": 0,
|
|
1395
|
-
"addListener": [MockFunction],
|
|
1396
|
-
"interpolate": [MockFunction],
|
|
1397
|
-
"removeAllListeners": [MockFunction],
|
|
1398
|
-
"removeListener": [MockFunction],
|
|
1399
|
-
"setValue": [MockFunction],
|
|
1400
|
-
},
|
|
1401
|
-
}
|
|
1402
|
-
}
|
|
1403
|
-
>
|
|
1457
|
+
<View>
|
|
1404
1458
|
<View
|
|
1405
|
-
accessibilityElementsHidden={false}
|
|
1406
1459
|
testID="input-prefix"
|
|
1407
1460
|
>
|
|
1408
1461
|
<Text
|
|
@@ -1440,22 +1493,12 @@ exports[`TextInput when user has entered text should show the input content and
|
|
|
1440
1493
|
|
|
1441
1494
|
</Text>
|
|
1442
1495
|
</View>
|
|
1443
|
-
</
|
|
1444
|
-
<
|
|
1445
|
-
accessibilityElementsHidden={false}
|
|
1496
|
+
</View>
|
|
1497
|
+
<View
|
|
1446
1498
|
accessibilityLabel="Text input field"
|
|
1447
1499
|
style={
|
|
1448
1500
|
{
|
|
1449
1501
|
"flex": 1,
|
|
1450
|
-
"opacity": {
|
|
1451
|
-
"_offset": 0,
|
|
1452
|
-
"_value": 0,
|
|
1453
|
-
"addListener": [MockFunction],
|
|
1454
|
-
"interpolate": [MockFunction],
|
|
1455
|
-
"removeAllListeners": [MockFunction],
|
|
1456
|
-
"removeListener": [MockFunction],
|
|
1457
|
-
"setValue": [MockFunction],
|
|
1458
|
-
},
|
|
1459
1502
|
}
|
|
1460
1503
|
}
|
|
1461
1504
|
testID="input-row-input-wrapper"
|
|
@@ -1500,8 +1543,8 @@ exports[`TextInput when user has entered text should show the input content and
|
|
|
1500
1543
|
themeVariant="text"
|
|
1501
1544
|
value="100"
|
|
1502
1545
|
/>
|
|
1503
|
-
</
|
|
1504
|
-
</
|
|
1546
|
+
</View>
|
|
1547
|
+
</Pressable>
|
|
1505
1548
|
<View
|
|
1506
1549
|
style={
|
|
1507
1550
|
[
|
|
@@ -1592,6 +1635,9 @@ exports[`TextInput when user interacts with placeholder text starting from empty
|
|
|
1592
1635
|
{},
|
|
1593
1636
|
]
|
|
1594
1637
|
}
|
|
1638
|
+
themeFocused={false}
|
|
1639
|
+
themeHasError={false}
|
|
1640
|
+
themeUseGroupStyleEnabled={false}
|
|
1595
1641
|
>
|
|
1596
1642
|
<View
|
|
1597
1643
|
pointerEvents="none"
|
|
@@ -1672,7 +1718,13 @@ exports[`TextInput when user interacts with placeholder text starting from empty
|
|
|
1672
1718
|
}
|
|
1673
1719
|
themeVariant="text"
|
|
1674
1720
|
>
|
|
1675
|
-
<AnimatedView
|
|
1721
|
+
<AnimatedView
|
|
1722
|
+
style={
|
|
1723
|
+
{
|
|
1724
|
+
"flexDirection": "row",
|
|
1725
|
+
}
|
|
1726
|
+
}
|
|
1727
|
+
>
|
|
1676
1728
|
<Text
|
|
1677
1729
|
allowFontScaling={false}
|
|
1678
1730
|
numberOfLines={1}
|
|
@@ -1708,7 +1760,7 @@ exports[`TextInput when user interacts with placeholder text starting from empty
|
|
|
1708
1760
|
</Text>
|
|
1709
1761
|
</AnimatedView>
|
|
1710
1762
|
</AnimatedView>
|
|
1711
|
-
<
|
|
1763
|
+
<Pressable
|
|
1712
1764
|
style={
|
|
1713
1765
|
[
|
|
1714
1766
|
[
|
|
@@ -1718,29 +1770,16 @@ exports[`TextInput when user interacts with placeholder text starting from empty
|
|
|
1718
1770
|
"flexGrow": 2,
|
|
1719
1771
|
"flexShrink": 1,
|
|
1720
1772
|
"gap": 3.9230769230769234,
|
|
1773
|
+
"opacity": 0,
|
|
1721
1774
|
},
|
|
1722
1775
|
],
|
|
1723
1776
|
undefined,
|
|
1724
1777
|
]
|
|
1725
1778
|
}
|
|
1779
|
+
themeOpacity={0}
|
|
1726
1780
|
>
|
|
1727
|
-
<
|
|
1728
|
-
style={
|
|
1729
|
-
{
|
|
1730
|
-
"opacity": {
|
|
1731
|
-
"_offset": 0,
|
|
1732
|
-
"_value": 0,
|
|
1733
|
-
"addListener": [MockFunction],
|
|
1734
|
-
"interpolate": [MockFunction],
|
|
1735
|
-
"removeAllListeners": [MockFunction],
|
|
1736
|
-
"removeListener": [MockFunction],
|
|
1737
|
-
"setValue": [MockFunction],
|
|
1738
|
-
},
|
|
1739
|
-
}
|
|
1740
|
-
}
|
|
1741
|
-
>
|
|
1781
|
+
<View>
|
|
1742
1782
|
<View
|
|
1743
|
-
accessibilityElementsHidden={true}
|
|
1744
1783
|
testID="input-prefix"
|
|
1745
1784
|
>
|
|
1746
1785
|
<Text
|
|
@@ -1778,22 +1817,12 @@ exports[`TextInput when user interacts with placeholder text starting from empty
|
|
|
1778
1817
|
|
|
1779
1818
|
</Text>
|
|
1780
1819
|
</View>
|
|
1781
|
-
</
|
|
1782
|
-
<
|
|
1783
|
-
accessibilityElementsHidden={true}
|
|
1820
|
+
</View>
|
|
1821
|
+
<View
|
|
1784
1822
|
accessibilityLabel="Text input field"
|
|
1785
1823
|
style={
|
|
1786
1824
|
{
|
|
1787
1825
|
"flex": 1,
|
|
1788
|
-
"opacity": {
|
|
1789
|
-
"_offset": 0,
|
|
1790
|
-
"_value": 0,
|
|
1791
|
-
"addListener": [MockFunction],
|
|
1792
|
-
"interpolate": [MockFunction],
|
|
1793
|
-
"removeAllListeners": [MockFunction],
|
|
1794
|
-
"removeListener": [MockFunction],
|
|
1795
|
-
"setValue": [MockFunction],
|
|
1796
|
-
},
|
|
1797
1826
|
}
|
|
1798
1827
|
}
|
|
1799
1828
|
testID="input-row-input-wrapper"
|
|
@@ -1837,8 +1866,8 @@ exports[`TextInput when user interacts with placeholder text starting from empty
|
|
|
1837
1866
|
testID="text-input"
|
|
1838
1867
|
themeVariant="text"
|
|
1839
1868
|
/>
|
|
1840
|
-
</
|
|
1841
|
-
</
|
|
1869
|
+
</View>
|
|
1870
|
+
</Pressable>
|
|
1842
1871
|
<View
|
|
1843
1872
|
style={
|
|
1844
1873
|
[
|
|
@@ -1916,6 +1945,9 @@ exports[`TextInput when user needs programmatic control should provide ref metho
|
|
|
1916
1945
|
{},
|
|
1917
1946
|
]
|
|
1918
1947
|
}
|
|
1948
|
+
themeFocused={false}
|
|
1949
|
+
themeHasError={false}
|
|
1950
|
+
themeUseGroupStyleEnabled={false}
|
|
1919
1951
|
>
|
|
1920
1952
|
<View
|
|
1921
1953
|
pointerEvents="none"
|
|
@@ -1996,7 +2028,13 @@ exports[`TextInput when user needs programmatic control should provide ref metho
|
|
|
1996
2028
|
}
|
|
1997
2029
|
themeVariant="text"
|
|
1998
2030
|
>
|
|
1999
|
-
<AnimatedView
|
|
2031
|
+
<AnimatedView
|
|
2032
|
+
style={
|
|
2033
|
+
{
|
|
2034
|
+
"flexDirection": "row",
|
|
2035
|
+
}
|
|
2036
|
+
}
|
|
2037
|
+
>
|
|
2000
2038
|
<Text
|
|
2001
2039
|
allowFontScaling={false}
|
|
2002
2040
|
numberOfLines={1}
|
|
@@ -2029,11 +2067,39 @@ exports[`TextInput when user needs programmatic control should provide ref metho
|
|
|
2029
2067
|
themeState="filled"
|
|
2030
2068
|
>
|
|
2031
2069
|
Amount (AUD)
|
|
2070
|
+
</Text>
|
|
2071
|
+
<Text
|
|
2072
|
+
allowFontScaling={false}
|
|
2073
|
+
style={
|
|
2074
|
+
[
|
|
2075
|
+
[
|
|
2076
|
+
{
|
|
2077
|
+
"color": "#001f23",
|
|
2078
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
2079
|
+
"fontSize": 11.76923076923077,
|
|
2080
|
+
"letterSpacing": 0.36,
|
|
2081
|
+
"lineHeight": 15.76923076923077,
|
|
2082
|
+
},
|
|
2083
|
+
],
|
|
2084
|
+
[
|
|
2085
|
+
[
|
|
2086
|
+
{
|
|
2087
|
+
"color": "#808f91",
|
|
2088
|
+
},
|
|
2089
|
+
],
|
|
2090
|
+
undefined,
|
|
2091
|
+
],
|
|
2092
|
+
]
|
|
2093
|
+
}
|
|
2094
|
+
themeFontWeight="regular"
|
|
2095
|
+
themeIntent="body"
|
|
2096
|
+
themeState="filled"
|
|
2097
|
+
>
|
|
2032
2098
|
(Optional)
|
|
2033
2099
|
</Text>
|
|
2034
2100
|
</AnimatedView>
|
|
2035
2101
|
</AnimatedView>
|
|
2036
|
-
<
|
|
2102
|
+
<Pressable
|
|
2037
2103
|
style={
|
|
2038
2104
|
[
|
|
2039
2105
|
[
|
|
@@ -2043,42 +2109,20 @@ exports[`TextInput when user needs programmatic control should provide ref metho
|
|
|
2043
2109
|
"flexGrow": 2,
|
|
2044
2110
|
"flexShrink": 1,
|
|
2045
2111
|
"gap": 3.9230769230769234,
|
|
2112
|
+
"opacity": 1,
|
|
2046
2113
|
},
|
|
2047
2114
|
],
|
|
2048
2115
|
undefined,
|
|
2049
2116
|
]
|
|
2050
2117
|
}
|
|
2118
|
+
themeOpacity={1}
|
|
2051
2119
|
>
|
|
2052
|
-
<
|
|
2053
|
-
|
|
2054
|
-
{
|
|
2055
|
-
"opacity": {
|
|
2056
|
-
"_offset": 0,
|
|
2057
|
-
"_value": 0,
|
|
2058
|
-
"addListener": [MockFunction],
|
|
2059
|
-
"interpolate": [MockFunction],
|
|
2060
|
-
"removeAllListeners": [MockFunction],
|
|
2061
|
-
"removeListener": [MockFunction],
|
|
2062
|
-
"setValue": [MockFunction],
|
|
2063
|
-
},
|
|
2064
|
-
}
|
|
2065
|
-
}
|
|
2066
|
-
/>
|
|
2067
|
-
<AnimatedView
|
|
2068
|
-
accessibilityElementsHidden={false}
|
|
2120
|
+
<View />
|
|
2121
|
+
<View
|
|
2069
2122
|
accessibilityLabel="Text input field"
|
|
2070
2123
|
style={
|
|
2071
2124
|
{
|
|
2072
2125
|
"flex": 1,
|
|
2073
|
-
"opacity": {
|
|
2074
|
-
"_offset": 0,
|
|
2075
|
-
"_value": 0,
|
|
2076
|
-
"addListener": [MockFunction],
|
|
2077
|
-
"interpolate": [MockFunction],
|
|
2078
|
-
"removeAllListeners": [MockFunction],
|
|
2079
|
-
"removeListener": [MockFunction],
|
|
2080
|
-
"setValue": [MockFunction],
|
|
2081
|
-
},
|
|
2082
2126
|
}
|
|
2083
2127
|
}
|
|
2084
2128
|
testID="input-row-input-wrapper"
|
|
@@ -2123,8 +2167,8 @@ exports[`TextInput when user needs programmatic control should provide ref metho
|
|
|
2123
2167
|
themeVariant="text"
|
|
2124
2168
|
value="2000"
|
|
2125
2169
|
/>
|
|
2126
|
-
</
|
|
2127
|
-
</
|
|
2170
|
+
</View>
|
|
2171
|
+
</Pressable>
|
|
2128
2172
|
<View
|
|
2129
2173
|
style={
|
|
2130
2174
|
[
|
|
@@ -2180,6 +2224,9 @@ exports[`TextInput when user provides default values starting with pre-filled co
|
|
|
2180
2224
|
{},
|
|
2181
2225
|
]
|
|
2182
2226
|
}
|
|
2227
|
+
themeFocused={false}
|
|
2228
|
+
themeHasError={false}
|
|
2229
|
+
themeUseGroupStyleEnabled={false}
|
|
2183
2230
|
>
|
|
2184
2231
|
<View
|
|
2185
2232
|
pointerEvents="none"
|
|
@@ -2260,7 +2307,13 @@ exports[`TextInput when user provides default values starting with pre-filled co
|
|
|
2260
2307
|
}
|
|
2261
2308
|
themeVariant="text"
|
|
2262
2309
|
>
|
|
2263
|
-
<AnimatedView
|
|
2310
|
+
<AnimatedView
|
|
2311
|
+
style={
|
|
2312
|
+
{
|
|
2313
|
+
"flexDirection": "row",
|
|
2314
|
+
}
|
|
2315
|
+
}
|
|
2316
|
+
>
|
|
2264
2317
|
<Text
|
|
2265
2318
|
allowFontScaling={false}
|
|
2266
2319
|
numberOfLines={1}
|
|
@@ -2296,7 +2349,7 @@ exports[`TextInput when user provides default values starting with pre-filled co
|
|
|
2296
2349
|
</Text>
|
|
2297
2350
|
</AnimatedView>
|
|
2298
2351
|
</AnimatedView>
|
|
2299
|
-
<
|
|
2352
|
+
<Pressable
|
|
2300
2353
|
style={
|
|
2301
2354
|
[
|
|
2302
2355
|
[
|
|
@@ -2306,29 +2359,16 @@ exports[`TextInput when user provides default values starting with pre-filled co
|
|
|
2306
2359
|
"flexGrow": 2,
|
|
2307
2360
|
"flexShrink": 1,
|
|
2308
2361
|
"gap": 3.9230769230769234,
|
|
2362
|
+
"opacity": 1,
|
|
2309
2363
|
},
|
|
2310
2364
|
],
|
|
2311
2365
|
undefined,
|
|
2312
2366
|
]
|
|
2313
2367
|
}
|
|
2368
|
+
themeOpacity={1}
|
|
2314
2369
|
>
|
|
2315
|
-
<
|
|
2316
|
-
style={
|
|
2317
|
-
{
|
|
2318
|
-
"opacity": {
|
|
2319
|
-
"_offset": 0,
|
|
2320
|
-
"_value": 0,
|
|
2321
|
-
"addListener": [MockFunction],
|
|
2322
|
-
"interpolate": [MockFunction],
|
|
2323
|
-
"removeAllListeners": [MockFunction],
|
|
2324
|
-
"removeListener": [MockFunction],
|
|
2325
|
-
"setValue": [MockFunction],
|
|
2326
|
-
},
|
|
2327
|
-
}
|
|
2328
|
-
}
|
|
2329
|
-
>
|
|
2370
|
+
<View>
|
|
2330
2371
|
<View
|
|
2331
|
-
accessibilityElementsHidden={false}
|
|
2332
2372
|
testID="input-prefix"
|
|
2333
2373
|
>
|
|
2334
2374
|
<Text
|
|
@@ -2366,22 +2406,12 @@ exports[`TextInput when user provides default values starting with pre-filled co
|
|
|
2366
2406
|
|
|
2367
2407
|
</Text>
|
|
2368
2408
|
</View>
|
|
2369
|
-
</
|
|
2370
|
-
<
|
|
2371
|
-
accessibilityElementsHidden={false}
|
|
2409
|
+
</View>
|
|
2410
|
+
<View
|
|
2372
2411
|
accessibilityLabel="Text input field"
|
|
2373
2412
|
style={
|
|
2374
2413
|
{
|
|
2375
2414
|
"flex": 1,
|
|
2376
|
-
"opacity": {
|
|
2377
|
-
"_offset": 0,
|
|
2378
|
-
"_value": 0,
|
|
2379
|
-
"addListener": [MockFunction],
|
|
2380
|
-
"interpolate": [MockFunction],
|
|
2381
|
-
"removeAllListeners": [MockFunction],
|
|
2382
|
-
"removeListener": [MockFunction],
|
|
2383
|
-
"setValue": [MockFunction],
|
|
2384
|
-
},
|
|
2385
2415
|
}
|
|
2386
2416
|
}
|
|
2387
2417
|
testID="input-row-input-wrapper"
|
|
@@ -2427,8 +2457,8 @@ exports[`TextInput when user provides default values starting with pre-filled co
|
|
|
2427
2457
|
testID="text-input"
|
|
2428
2458
|
themeVariant="text"
|
|
2429
2459
|
/>
|
|
2430
|
-
</
|
|
2431
|
-
</
|
|
2460
|
+
</View>
|
|
2461
|
+
</Pressable>
|
|
2432
2462
|
<View
|
|
2433
2463
|
style={
|
|
2434
2464
|
[
|
|
@@ -2540,6 +2570,9 @@ exports[`TextInput when user provides default values when both default and contr
|
|
|
2540
2570
|
{},
|
|
2541
2571
|
]
|
|
2542
2572
|
}
|
|
2573
|
+
themeFocused={false}
|
|
2574
|
+
themeHasError={false}
|
|
2575
|
+
themeUseGroupStyleEnabled={false}
|
|
2543
2576
|
>
|
|
2544
2577
|
<View
|
|
2545
2578
|
pointerEvents="none"
|
|
@@ -2620,7 +2653,13 @@ exports[`TextInput when user provides default values when both default and contr
|
|
|
2620
2653
|
}
|
|
2621
2654
|
themeVariant="text"
|
|
2622
2655
|
>
|
|
2623
|
-
<AnimatedView
|
|
2656
|
+
<AnimatedView
|
|
2657
|
+
style={
|
|
2658
|
+
{
|
|
2659
|
+
"flexDirection": "row",
|
|
2660
|
+
}
|
|
2661
|
+
}
|
|
2662
|
+
>
|
|
2624
2663
|
<Text
|
|
2625
2664
|
allowFontScaling={false}
|
|
2626
2665
|
numberOfLines={1}
|
|
@@ -2656,7 +2695,7 @@ exports[`TextInput when user provides default values when both default and contr
|
|
|
2656
2695
|
</Text>
|
|
2657
2696
|
</AnimatedView>
|
|
2658
2697
|
</AnimatedView>
|
|
2659
|
-
<
|
|
2698
|
+
<Pressable
|
|
2660
2699
|
style={
|
|
2661
2700
|
[
|
|
2662
2701
|
[
|
|
@@ -2666,29 +2705,16 @@ exports[`TextInput when user provides default values when both default and contr
|
|
|
2666
2705
|
"flexGrow": 2,
|
|
2667
2706
|
"flexShrink": 1,
|
|
2668
2707
|
"gap": 3.9230769230769234,
|
|
2708
|
+
"opacity": 1,
|
|
2669
2709
|
},
|
|
2670
2710
|
],
|
|
2671
2711
|
undefined,
|
|
2672
2712
|
]
|
|
2673
2713
|
}
|
|
2714
|
+
themeOpacity={1}
|
|
2674
2715
|
>
|
|
2675
|
-
<
|
|
2676
|
-
style={
|
|
2677
|
-
{
|
|
2678
|
-
"opacity": {
|
|
2679
|
-
"_offset": 0,
|
|
2680
|
-
"_value": 0,
|
|
2681
|
-
"addListener": [MockFunction],
|
|
2682
|
-
"interpolate": [MockFunction],
|
|
2683
|
-
"removeAllListeners": [MockFunction],
|
|
2684
|
-
"removeListener": [MockFunction],
|
|
2685
|
-
"setValue": [MockFunction],
|
|
2686
|
-
},
|
|
2687
|
-
}
|
|
2688
|
-
}
|
|
2689
|
-
>
|
|
2716
|
+
<View>
|
|
2690
2717
|
<View
|
|
2691
|
-
accessibilityElementsHidden={false}
|
|
2692
2718
|
testID="input-prefix"
|
|
2693
2719
|
>
|
|
2694
2720
|
<Text
|
|
@@ -2726,22 +2752,12 @@ exports[`TextInput when user provides default values when both default and contr
|
|
|
2726
2752
|
|
|
2727
2753
|
</Text>
|
|
2728
2754
|
</View>
|
|
2729
|
-
</
|
|
2730
|
-
<
|
|
2731
|
-
accessibilityElementsHidden={false}
|
|
2755
|
+
</View>
|
|
2756
|
+
<View
|
|
2732
2757
|
accessibilityLabel="Text input field"
|
|
2733
2758
|
style={
|
|
2734
2759
|
{
|
|
2735
2760
|
"flex": 1,
|
|
2736
|
-
"opacity": {
|
|
2737
|
-
"_offset": 0,
|
|
2738
|
-
"_value": 0,
|
|
2739
|
-
"addListener": [MockFunction],
|
|
2740
|
-
"interpolate": [MockFunction],
|
|
2741
|
-
"removeAllListeners": [MockFunction],
|
|
2742
|
-
"removeListener": [MockFunction],
|
|
2743
|
-
"setValue": [MockFunction],
|
|
2744
|
-
},
|
|
2745
2761
|
}
|
|
2746
2762
|
}
|
|
2747
2763
|
testID="input-row-input-wrapper"
|
|
@@ -2788,8 +2804,8 @@ exports[`TextInput when user provides default values when both default and contr
|
|
|
2788
2804
|
themeVariant="text"
|
|
2789
2805
|
value="2000"
|
|
2790
2806
|
/>
|
|
2791
|
-
</
|
|
2792
|
-
</
|
|
2807
|
+
</View>
|
|
2808
|
+
</Pressable>
|
|
2793
2809
|
<View
|
|
2794
2810
|
style={
|
|
2795
2811
|
[
|
|
@@ -2901,6 +2917,9 @@ exports[`TextInput when user sees a loading state should show loading indicator
|
|
|
2901
2917
|
{},
|
|
2902
2918
|
]
|
|
2903
2919
|
}
|
|
2920
|
+
themeFocused={false}
|
|
2921
|
+
themeHasError={false}
|
|
2922
|
+
themeUseGroupStyleEnabled={false}
|
|
2904
2923
|
>
|
|
2905
2924
|
<View
|
|
2906
2925
|
pointerEvents="none"
|
|
@@ -2981,7 +3000,13 @@ exports[`TextInput when user sees a loading state should show loading indicator
|
|
|
2981
3000
|
}
|
|
2982
3001
|
themeVariant="text"
|
|
2983
3002
|
>
|
|
2984
|
-
<AnimatedView
|
|
3003
|
+
<AnimatedView
|
|
3004
|
+
style={
|
|
3005
|
+
{
|
|
3006
|
+
"flexDirection": "row",
|
|
3007
|
+
}
|
|
3008
|
+
}
|
|
3009
|
+
>
|
|
2985
3010
|
<Text
|
|
2986
3011
|
allowFontScaling={false}
|
|
2987
3012
|
numberOfLines={1}
|
|
@@ -3014,11 +3039,39 @@ exports[`TextInput when user sees a loading state should show loading indicator
|
|
|
3014
3039
|
themeState="readonly"
|
|
3015
3040
|
>
|
|
3016
3041
|
Amount (AUD)
|
|
3042
|
+
</Text>
|
|
3043
|
+
<Text
|
|
3044
|
+
allowFontScaling={false}
|
|
3045
|
+
style={
|
|
3046
|
+
[
|
|
3047
|
+
[
|
|
3048
|
+
{
|
|
3049
|
+
"color": "#001f23",
|
|
3050
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
3051
|
+
"fontSize": 11.76923076923077,
|
|
3052
|
+
"letterSpacing": 0.36,
|
|
3053
|
+
"lineHeight": 15.76923076923077,
|
|
3054
|
+
},
|
|
3055
|
+
],
|
|
3056
|
+
[
|
|
3057
|
+
[
|
|
3058
|
+
{
|
|
3059
|
+
"color": "#808f91",
|
|
3060
|
+
},
|
|
3061
|
+
],
|
|
3062
|
+
undefined,
|
|
3063
|
+
],
|
|
3064
|
+
]
|
|
3065
|
+
}
|
|
3066
|
+
themeFontWeight="regular"
|
|
3067
|
+
themeIntent="body"
|
|
3068
|
+
themeState="readonly"
|
|
3069
|
+
>
|
|
3017
3070
|
(Optional)
|
|
3018
3071
|
</Text>
|
|
3019
3072
|
</AnimatedView>
|
|
3020
3073
|
</AnimatedView>
|
|
3021
|
-
<
|
|
3074
|
+
<Pressable
|
|
3022
3075
|
style={
|
|
3023
3076
|
[
|
|
3024
3077
|
[
|
|
@@ -3028,29 +3081,16 @@ exports[`TextInput when user sees a loading state should show loading indicator
|
|
|
3028
3081
|
"flexGrow": 2,
|
|
3029
3082
|
"flexShrink": 1,
|
|
3030
3083
|
"gap": 3.9230769230769234,
|
|
3084
|
+
"opacity": 1,
|
|
3031
3085
|
},
|
|
3032
3086
|
],
|
|
3033
3087
|
undefined,
|
|
3034
|
-
]
|
|
3035
|
-
}
|
|
3036
|
-
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
{
|
|
3040
|
-
"opacity": {
|
|
3041
|
-
"_offset": 0,
|
|
3042
|
-
"_value": 0,
|
|
3043
|
-
"addListener": [MockFunction],
|
|
3044
|
-
"interpolate": [MockFunction],
|
|
3045
|
-
"removeAllListeners": [MockFunction],
|
|
3046
|
-
"removeListener": [MockFunction],
|
|
3047
|
-
"setValue": [MockFunction],
|
|
3048
|
-
},
|
|
3049
|
-
}
|
|
3050
|
-
}
|
|
3051
|
-
>
|
|
3088
|
+
]
|
|
3089
|
+
}
|
|
3090
|
+
themeOpacity={1}
|
|
3091
|
+
>
|
|
3092
|
+
<View>
|
|
3052
3093
|
<View
|
|
3053
|
-
accessibilityElementsHidden={false}
|
|
3054
3094
|
testID="input-prefix"
|
|
3055
3095
|
>
|
|
3056
3096
|
<Text
|
|
@@ -3088,22 +3128,12 @@ exports[`TextInput when user sees a loading state should show loading indicator
|
|
|
3088
3128
|
|
|
3089
3129
|
</Text>
|
|
3090
3130
|
</View>
|
|
3091
|
-
</
|
|
3092
|
-
<
|
|
3093
|
-
accessibilityElementsHidden={false}
|
|
3131
|
+
</View>
|
|
3132
|
+
<View
|
|
3094
3133
|
accessibilityLabel="Text input field"
|
|
3095
3134
|
style={
|
|
3096
3135
|
{
|
|
3097
3136
|
"flex": 1,
|
|
3098
|
-
"opacity": {
|
|
3099
|
-
"_offset": 0,
|
|
3100
|
-
"_value": 0,
|
|
3101
|
-
"addListener": [MockFunction],
|
|
3102
|
-
"interpolate": [MockFunction],
|
|
3103
|
-
"removeAllListeners": [MockFunction],
|
|
3104
|
-
"removeListener": [MockFunction],
|
|
3105
|
-
"setValue": [MockFunction],
|
|
3106
|
-
},
|
|
3107
3137
|
}
|
|
3108
3138
|
}
|
|
3109
3139
|
testID="input-row-input-wrapper"
|
|
@@ -3148,8 +3178,8 @@ exports[`TextInput when user sees a loading state should show loading indicator
|
|
|
3148
3178
|
themeVariant="text"
|
|
3149
3179
|
value="100"
|
|
3150
3180
|
/>
|
|
3151
|
-
</
|
|
3152
|
-
</
|
|
3181
|
+
</View>
|
|
3182
|
+
</Pressable>
|
|
3153
3183
|
<View
|
|
3154
3184
|
style={
|
|
3155
3185
|
[
|
|
@@ -3259,6 +3289,9 @@ exports[`TextInput when user sees a required field should indicate the field is
|
|
|
3259
3289
|
{},
|
|
3260
3290
|
]
|
|
3261
3291
|
}
|
|
3292
|
+
themeFocused={false}
|
|
3293
|
+
themeHasError={false}
|
|
3294
|
+
themeUseGroupStyleEnabled={false}
|
|
3262
3295
|
>
|
|
3263
3296
|
<View
|
|
3264
3297
|
pointerEvents="none"
|
|
@@ -3339,7 +3372,13 @@ exports[`TextInput when user sees a required field should indicate the field is
|
|
|
3339
3372
|
}
|
|
3340
3373
|
themeVariant="text"
|
|
3341
3374
|
>
|
|
3342
|
-
<AnimatedView
|
|
3375
|
+
<AnimatedView
|
|
3376
|
+
style={
|
|
3377
|
+
{
|
|
3378
|
+
"flexDirection": "row",
|
|
3379
|
+
}
|
|
3380
|
+
}
|
|
3381
|
+
>
|
|
3343
3382
|
<Text
|
|
3344
3383
|
allowFontScaling={false}
|
|
3345
3384
|
numberOfLines={1}
|
|
@@ -3375,7 +3414,7 @@ exports[`TextInput when user sees a required field should indicate the field is
|
|
|
3375
3414
|
</Text>
|
|
3376
3415
|
</AnimatedView>
|
|
3377
3416
|
</AnimatedView>
|
|
3378
|
-
<
|
|
3417
|
+
<Pressable
|
|
3379
3418
|
style={
|
|
3380
3419
|
[
|
|
3381
3420
|
[
|
|
@@ -3385,29 +3424,16 @@ exports[`TextInput when user sees a required field should indicate the field is
|
|
|
3385
3424
|
"flexGrow": 2,
|
|
3386
3425
|
"flexShrink": 1,
|
|
3387
3426
|
"gap": 3.9230769230769234,
|
|
3427
|
+
"opacity": 0,
|
|
3388
3428
|
},
|
|
3389
3429
|
],
|
|
3390
3430
|
undefined,
|
|
3391
3431
|
]
|
|
3392
3432
|
}
|
|
3433
|
+
themeOpacity={0}
|
|
3393
3434
|
>
|
|
3394
|
-
<
|
|
3395
|
-
style={
|
|
3396
|
-
{
|
|
3397
|
-
"opacity": {
|
|
3398
|
-
"_offset": 0,
|
|
3399
|
-
"_value": 0,
|
|
3400
|
-
"addListener": [MockFunction],
|
|
3401
|
-
"interpolate": [MockFunction],
|
|
3402
|
-
"removeAllListeners": [MockFunction],
|
|
3403
|
-
"removeListener": [MockFunction],
|
|
3404
|
-
"setValue": [MockFunction],
|
|
3405
|
-
},
|
|
3406
|
-
}
|
|
3407
|
-
}
|
|
3408
|
-
>
|
|
3435
|
+
<View>
|
|
3409
3436
|
<View
|
|
3410
|
-
accessibilityElementsHidden={true}
|
|
3411
3437
|
testID="input-prefix"
|
|
3412
3438
|
>
|
|
3413
3439
|
<Text
|
|
@@ -3445,22 +3471,12 @@ exports[`TextInput when user sees a required field should indicate the field is
|
|
|
3445
3471
|
|
|
3446
3472
|
</Text>
|
|
3447
3473
|
</View>
|
|
3448
|
-
</
|
|
3449
|
-
<
|
|
3450
|
-
accessibilityElementsHidden={true}
|
|
3474
|
+
</View>
|
|
3475
|
+
<View
|
|
3451
3476
|
accessibilityLabel="Text input field"
|
|
3452
3477
|
style={
|
|
3453
3478
|
{
|
|
3454
3479
|
"flex": 1,
|
|
3455
|
-
"opacity": {
|
|
3456
|
-
"_offset": 0,
|
|
3457
|
-
"_value": 0,
|
|
3458
|
-
"addListener": [MockFunction],
|
|
3459
|
-
"interpolate": [MockFunction],
|
|
3460
|
-
"removeAllListeners": [MockFunction],
|
|
3461
|
-
"removeListener": [MockFunction],
|
|
3462
|
-
"setValue": [MockFunction],
|
|
3463
|
-
},
|
|
3464
3480
|
}
|
|
3465
3481
|
}
|
|
3466
3482
|
testID="input-row-input-wrapper"
|
|
@@ -3504,8 +3520,8 @@ exports[`TextInput when user sees a required field should indicate the field is
|
|
|
3504
3520
|
testID="text-input"
|
|
3505
3521
|
themeVariant="text"
|
|
3506
3522
|
/>
|
|
3507
|
-
</
|
|
3508
|
-
</
|
|
3523
|
+
</View>
|
|
3524
|
+
</Pressable>
|
|
3509
3525
|
<View
|
|
3510
3526
|
style={
|
|
3511
3527
|
[
|
|
@@ -3596,6 +3612,9 @@ exports[`TextInput when user sees a textarea with character count should display
|
|
|
3596
3612
|
{},
|
|
3597
3613
|
]
|
|
3598
3614
|
}
|
|
3615
|
+
themeFocused={false}
|
|
3616
|
+
themeHasError={false}
|
|
3617
|
+
themeUseGroupStyleEnabled={false}
|
|
3599
3618
|
>
|
|
3600
3619
|
<View
|
|
3601
3620
|
pointerEvents="none"
|
|
@@ -3676,7 +3695,13 @@ exports[`TextInput when user sees a textarea with character count should display
|
|
|
3676
3695
|
}
|
|
3677
3696
|
themeVariant="textarea"
|
|
3678
3697
|
>
|
|
3679
|
-
<AnimatedView
|
|
3698
|
+
<AnimatedView
|
|
3699
|
+
style={
|
|
3700
|
+
{
|
|
3701
|
+
"flexDirection": "row",
|
|
3702
|
+
}
|
|
3703
|
+
}
|
|
3704
|
+
>
|
|
3680
3705
|
<Text
|
|
3681
3706
|
allowFontScaling={false}
|
|
3682
3707
|
numberOfLines={1}
|
|
@@ -3709,11 +3734,39 @@ exports[`TextInput when user sees a textarea with character count should display
|
|
|
3709
3734
|
themeState="filled"
|
|
3710
3735
|
>
|
|
3711
3736
|
Amount (AUD)
|
|
3737
|
+
</Text>
|
|
3738
|
+
<Text
|
|
3739
|
+
allowFontScaling={false}
|
|
3740
|
+
style={
|
|
3741
|
+
[
|
|
3742
|
+
[
|
|
3743
|
+
{
|
|
3744
|
+
"color": "#001f23",
|
|
3745
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
3746
|
+
"fontSize": 11.76923076923077,
|
|
3747
|
+
"letterSpacing": 0.36,
|
|
3748
|
+
"lineHeight": 15.76923076923077,
|
|
3749
|
+
},
|
|
3750
|
+
],
|
|
3751
|
+
[
|
|
3752
|
+
[
|
|
3753
|
+
{
|
|
3754
|
+
"color": "#808f91",
|
|
3755
|
+
},
|
|
3756
|
+
],
|
|
3757
|
+
undefined,
|
|
3758
|
+
],
|
|
3759
|
+
]
|
|
3760
|
+
}
|
|
3761
|
+
themeFontWeight="regular"
|
|
3762
|
+
themeIntent="body"
|
|
3763
|
+
themeState="filled"
|
|
3764
|
+
>
|
|
3712
3765
|
(Optional)
|
|
3713
3766
|
</Text>
|
|
3714
3767
|
</AnimatedView>
|
|
3715
3768
|
</AnimatedView>
|
|
3716
|
-
<
|
|
3769
|
+
<Pressable
|
|
3717
3770
|
style={
|
|
3718
3771
|
[
|
|
3719
3772
|
[
|
|
@@ -3723,29 +3776,16 @@ exports[`TextInput when user sees a textarea with character count should display
|
|
|
3723
3776
|
"flexGrow": 2,
|
|
3724
3777
|
"flexShrink": 1,
|
|
3725
3778
|
"gap": 3.9230769230769234,
|
|
3779
|
+
"opacity": 1,
|
|
3726
3780
|
},
|
|
3727
3781
|
],
|
|
3728
3782
|
undefined,
|
|
3729
3783
|
]
|
|
3730
3784
|
}
|
|
3785
|
+
themeOpacity={1}
|
|
3731
3786
|
>
|
|
3732
|
-
<
|
|
3733
|
-
style={
|
|
3734
|
-
{
|
|
3735
|
-
"opacity": {
|
|
3736
|
-
"_offset": 0,
|
|
3737
|
-
"_value": 0,
|
|
3738
|
-
"addListener": [MockFunction],
|
|
3739
|
-
"interpolate": [MockFunction],
|
|
3740
|
-
"removeAllListeners": [MockFunction],
|
|
3741
|
-
"removeListener": [MockFunction],
|
|
3742
|
-
"setValue": [MockFunction],
|
|
3743
|
-
},
|
|
3744
|
-
}
|
|
3745
|
-
}
|
|
3746
|
-
>
|
|
3787
|
+
<View>
|
|
3747
3788
|
<View
|
|
3748
|
-
accessibilityElementsHidden={false}
|
|
3749
3789
|
testID="input-prefix"
|
|
3750
3790
|
>
|
|
3751
3791
|
<Text
|
|
@@ -3783,22 +3823,12 @@ exports[`TextInput when user sees a textarea with character count should display
|
|
|
3783
3823
|
|
|
3784
3824
|
</Text>
|
|
3785
3825
|
</View>
|
|
3786
|
-
</
|
|
3787
|
-
<
|
|
3788
|
-
accessibilityElementsHidden={false}
|
|
3826
|
+
</View>
|
|
3827
|
+
<View
|
|
3789
3828
|
accessibilityLabel="Text input field"
|
|
3790
3829
|
style={
|
|
3791
3830
|
{
|
|
3792
3831
|
"flex": 1,
|
|
3793
|
-
"opacity": {
|
|
3794
|
-
"_offset": 0,
|
|
3795
|
-
"_value": 0,
|
|
3796
|
-
"addListener": [MockFunction],
|
|
3797
|
-
"interpolate": [MockFunction],
|
|
3798
|
-
"removeAllListeners": [MockFunction],
|
|
3799
|
-
"removeListener": [MockFunction],
|
|
3800
|
-
"setValue": [MockFunction],
|
|
3801
|
-
},
|
|
3802
3832
|
}
|
|
3803
3833
|
}
|
|
3804
3834
|
testID="input-row-input-wrapper"
|
|
@@ -3845,8 +3875,8 @@ exports[`TextInput when user sees a textarea with character count should display
|
|
|
3845
3875
|
themeVariant="textarea"
|
|
3846
3876
|
value="100"
|
|
3847
3877
|
/>
|
|
3848
|
-
</
|
|
3849
|
-
</
|
|
3878
|
+
</View>
|
|
3879
|
+
</Pressable>
|
|
3850
3880
|
<View
|
|
3851
3881
|
style={
|
|
3852
3882
|
[
|
|
@@ -3972,6 +4002,9 @@ exports[`TextInput when user sees a textarea with character count should hide ch
|
|
|
3972
4002
|
{},
|
|
3973
4003
|
]
|
|
3974
4004
|
}
|
|
4005
|
+
themeFocused={false}
|
|
4006
|
+
themeHasError={false}
|
|
4007
|
+
themeUseGroupStyleEnabled={false}
|
|
3975
4008
|
>
|
|
3976
4009
|
<View
|
|
3977
4010
|
pointerEvents="none"
|
|
@@ -4052,7 +4085,13 @@ exports[`TextInput when user sees a textarea with character count should hide ch
|
|
|
4052
4085
|
}
|
|
4053
4086
|
themeVariant="textarea"
|
|
4054
4087
|
>
|
|
4055
|
-
<AnimatedView
|
|
4088
|
+
<AnimatedView
|
|
4089
|
+
style={
|
|
4090
|
+
{
|
|
4091
|
+
"flexDirection": "row",
|
|
4092
|
+
}
|
|
4093
|
+
}
|
|
4094
|
+
>
|
|
4056
4095
|
<Text
|
|
4057
4096
|
allowFontScaling={false}
|
|
4058
4097
|
numberOfLines={1}
|
|
@@ -4085,11 +4124,39 @@ exports[`TextInput when user sees a textarea with character count should hide ch
|
|
|
4085
4124
|
themeState="filled"
|
|
4086
4125
|
>
|
|
4087
4126
|
Amount (AUD)
|
|
4127
|
+
</Text>
|
|
4128
|
+
<Text
|
|
4129
|
+
allowFontScaling={false}
|
|
4130
|
+
style={
|
|
4131
|
+
[
|
|
4132
|
+
[
|
|
4133
|
+
{
|
|
4134
|
+
"color": "#001f23",
|
|
4135
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
4136
|
+
"fontSize": 11.76923076923077,
|
|
4137
|
+
"letterSpacing": 0.36,
|
|
4138
|
+
"lineHeight": 15.76923076923077,
|
|
4139
|
+
},
|
|
4140
|
+
],
|
|
4141
|
+
[
|
|
4142
|
+
[
|
|
4143
|
+
{
|
|
4144
|
+
"color": "#808f91",
|
|
4145
|
+
},
|
|
4146
|
+
],
|
|
4147
|
+
undefined,
|
|
4148
|
+
],
|
|
4149
|
+
]
|
|
4150
|
+
}
|
|
4151
|
+
themeFontWeight="regular"
|
|
4152
|
+
themeIntent="body"
|
|
4153
|
+
themeState="filled"
|
|
4154
|
+
>
|
|
4088
4155
|
(Optional)
|
|
4089
4156
|
</Text>
|
|
4090
4157
|
</AnimatedView>
|
|
4091
4158
|
</AnimatedView>
|
|
4092
|
-
<
|
|
4159
|
+
<Pressable
|
|
4093
4160
|
style={
|
|
4094
4161
|
[
|
|
4095
4162
|
[
|
|
@@ -4099,29 +4166,16 @@ exports[`TextInput when user sees a textarea with character count should hide ch
|
|
|
4099
4166
|
"flexGrow": 2,
|
|
4100
4167
|
"flexShrink": 1,
|
|
4101
4168
|
"gap": 3.9230769230769234,
|
|
4169
|
+
"opacity": 1,
|
|
4102
4170
|
},
|
|
4103
4171
|
],
|
|
4104
4172
|
undefined,
|
|
4105
4173
|
]
|
|
4106
4174
|
}
|
|
4175
|
+
themeOpacity={1}
|
|
4107
4176
|
>
|
|
4108
|
-
<
|
|
4109
|
-
style={
|
|
4110
|
-
{
|
|
4111
|
-
"opacity": {
|
|
4112
|
-
"_offset": 0,
|
|
4113
|
-
"_value": 0,
|
|
4114
|
-
"addListener": [MockFunction],
|
|
4115
|
-
"interpolate": [MockFunction],
|
|
4116
|
-
"removeAllListeners": [MockFunction],
|
|
4117
|
-
"removeListener": [MockFunction],
|
|
4118
|
-
"setValue": [MockFunction],
|
|
4119
|
-
},
|
|
4120
|
-
}
|
|
4121
|
-
}
|
|
4122
|
-
>
|
|
4177
|
+
<View>
|
|
4123
4178
|
<View
|
|
4124
|
-
accessibilityElementsHidden={false}
|
|
4125
4179
|
testID="input-prefix"
|
|
4126
4180
|
>
|
|
4127
4181
|
<Text
|
|
@@ -4159,22 +4213,12 @@ exports[`TextInput when user sees a textarea with character count should hide ch
|
|
|
4159
4213
|
|
|
4160
4214
|
</Text>
|
|
4161
4215
|
</View>
|
|
4162
|
-
</
|
|
4163
|
-
<
|
|
4164
|
-
accessibilityElementsHidden={false}
|
|
4216
|
+
</View>
|
|
4217
|
+
<View
|
|
4165
4218
|
accessibilityLabel="Text input field"
|
|
4166
4219
|
style={
|
|
4167
4220
|
{
|
|
4168
4221
|
"flex": 1,
|
|
4169
|
-
"opacity": {
|
|
4170
|
-
"_offset": 0,
|
|
4171
|
-
"_value": 0,
|
|
4172
|
-
"addListener": [MockFunction],
|
|
4173
|
-
"interpolate": [MockFunction],
|
|
4174
|
-
"removeAllListeners": [MockFunction],
|
|
4175
|
-
"removeListener": [MockFunction],
|
|
4176
|
-
"setValue": [MockFunction],
|
|
4177
|
-
},
|
|
4178
4222
|
}
|
|
4179
4223
|
}
|
|
4180
4224
|
testID="input-row-input-wrapper"
|
|
@@ -4221,8 +4265,8 @@ exports[`TextInput when user sees a textarea with character count should hide ch
|
|
|
4221
4265
|
themeVariant="textarea"
|
|
4222
4266
|
value="100"
|
|
4223
4267
|
/>
|
|
4224
|
-
</
|
|
4225
|
-
</
|
|
4268
|
+
</View>
|
|
4269
|
+
</Pressable>
|
|
4226
4270
|
<View
|
|
4227
4271
|
style={
|
|
4228
4272
|
[
|
|
@@ -4315,7 +4359,9 @@ exports[`TextInput when user sees an empty input field should display label and
|
|
|
4315
4359
|
},
|
|
4316
4360
|
]
|
|
4317
4361
|
}
|
|
4318
|
-
|
|
4362
|
+
themeFocused={false}
|
|
4363
|
+
themeHasError={false}
|
|
4364
|
+
themeUseGroupStyleEnabled={false}
|
|
4319
4365
|
>
|
|
4320
4366
|
<View
|
|
4321
4367
|
pointerEvents="none"
|
|
@@ -4396,7 +4442,13 @@ exports[`TextInput when user sees an empty input field should display label and
|
|
|
4396
4442
|
}
|
|
4397
4443
|
themeVariant="text"
|
|
4398
4444
|
>
|
|
4399
|
-
<AnimatedView
|
|
4445
|
+
<AnimatedView
|
|
4446
|
+
style={
|
|
4447
|
+
{
|
|
4448
|
+
"flexDirection": "row",
|
|
4449
|
+
}
|
|
4450
|
+
}
|
|
4451
|
+
>
|
|
4400
4452
|
<Text
|
|
4401
4453
|
allowFontScaling={false}
|
|
4402
4454
|
numberOfLines={1}
|
|
@@ -4429,11 +4481,39 @@ exports[`TextInput when user sees an empty input field should display label and
|
|
|
4429
4481
|
themeState="default"
|
|
4430
4482
|
>
|
|
4431
4483
|
Amount (AUD)
|
|
4484
|
+
</Text>
|
|
4485
|
+
<Text
|
|
4486
|
+
allowFontScaling={false}
|
|
4487
|
+
style={
|
|
4488
|
+
[
|
|
4489
|
+
[
|
|
4490
|
+
{
|
|
4491
|
+
"color": "#001f23",
|
|
4492
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
4493
|
+
"fontSize": 11.76923076923077,
|
|
4494
|
+
"letterSpacing": 0.36,
|
|
4495
|
+
"lineHeight": 15.76923076923077,
|
|
4496
|
+
},
|
|
4497
|
+
],
|
|
4498
|
+
[
|
|
4499
|
+
[
|
|
4500
|
+
{
|
|
4501
|
+
"color": "#808f91",
|
|
4502
|
+
},
|
|
4503
|
+
],
|
|
4504
|
+
undefined,
|
|
4505
|
+
],
|
|
4506
|
+
]
|
|
4507
|
+
}
|
|
4508
|
+
themeFontWeight="regular"
|
|
4509
|
+
themeIntent="body"
|
|
4510
|
+
themeState="default"
|
|
4511
|
+
>
|
|
4432
4512
|
(Optional)
|
|
4433
4513
|
</Text>
|
|
4434
4514
|
</AnimatedView>
|
|
4435
4515
|
</AnimatedView>
|
|
4436
|
-
<
|
|
4516
|
+
<Pressable
|
|
4437
4517
|
style={
|
|
4438
4518
|
[
|
|
4439
4519
|
[
|
|
@@ -4443,29 +4523,16 @@ exports[`TextInput when user sees an empty input field should display label and
|
|
|
4443
4523
|
"flexGrow": 2,
|
|
4444
4524
|
"flexShrink": 1,
|
|
4445
4525
|
"gap": 3.9230769230769234,
|
|
4526
|
+
"opacity": 0,
|
|
4446
4527
|
},
|
|
4447
4528
|
],
|
|
4448
4529
|
undefined,
|
|
4449
4530
|
]
|
|
4450
4531
|
}
|
|
4532
|
+
themeOpacity={0}
|
|
4451
4533
|
>
|
|
4452
|
-
<
|
|
4453
|
-
style={
|
|
4454
|
-
{
|
|
4455
|
-
"opacity": {
|
|
4456
|
-
"_offset": 0,
|
|
4457
|
-
"_value": 0,
|
|
4458
|
-
"addListener": [MockFunction],
|
|
4459
|
-
"interpolate": [MockFunction],
|
|
4460
|
-
"removeAllListeners": [MockFunction],
|
|
4461
|
-
"removeListener": [MockFunction],
|
|
4462
|
-
"setValue": [MockFunction],
|
|
4463
|
-
},
|
|
4464
|
-
}
|
|
4465
|
-
}
|
|
4466
|
-
>
|
|
4534
|
+
<View>
|
|
4467
4535
|
<View
|
|
4468
|
-
accessibilityElementsHidden={true}
|
|
4469
4536
|
testID="input-prefix"
|
|
4470
4537
|
>
|
|
4471
4538
|
<Text
|
|
@@ -4503,22 +4570,12 @@ exports[`TextInput when user sees an empty input field should display label and
|
|
|
4503
4570
|
|
|
4504
4571
|
</Text>
|
|
4505
4572
|
</View>
|
|
4506
|
-
</
|
|
4507
|
-
<
|
|
4508
|
-
accessibilityElementsHidden={true}
|
|
4573
|
+
</View>
|
|
4574
|
+
<View
|
|
4509
4575
|
accessibilityLabel="Text input field"
|
|
4510
4576
|
style={
|
|
4511
4577
|
{
|
|
4512
4578
|
"flex": 1,
|
|
4513
|
-
"opacity": {
|
|
4514
|
-
"_offset": 0,
|
|
4515
|
-
"_value": 0,
|
|
4516
|
-
"addListener": [MockFunction],
|
|
4517
|
-
"interpolate": [MockFunction],
|
|
4518
|
-
"removeAllListeners": [MockFunction],
|
|
4519
|
-
"removeListener": [MockFunction],
|
|
4520
|
-
"setValue": [MockFunction],
|
|
4521
|
-
},
|
|
4522
4579
|
}
|
|
4523
4580
|
}
|
|
4524
4581
|
testID="input-row-input-wrapper"
|
|
@@ -4562,8 +4619,8 @@ exports[`TextInput when user sees an empty input field should display label and
|
|
|
4562
4619
|
testID="text-input"
|
|
4563
4620
|
themeVariant="text"
|
|
4564
4621
|
/>
|
|
4565
|
-
</
|
|
4566
|
-
</
|
|
4622
|
+
</View>
|
|
4623
|
+
</Pressable>
|
|
4567
4624
|
<View
|
|
4568
4625
|
style={
|
|
4569
4626
|
[
|
|
@@ -4654,6 +4711,9 @@ exports[`TextInput when user sees an error state should display error message to
|
|
|
4654
4711
|
{},
|
|
4655
4712
|
]
|
|
4656
4713
|
}
|
|
4714
|
+
themeFocused={false}
|
|
4715
|
+
themeHasError={true}
|
|
4716
|
+
themeUseGroupStyleEnabled={false}
|
|
4657
4717
|
>
|
|
4658
4718
|
<View
|
|
4659
4719
|
pointerEvents="none"
|
|
@@ -4734,7 +4794,13 @@ exports[`TextInput when user sees an error state should display error message to
|
|
|
4734
4794
|
}
|
|
4735
4795
|
themeVariant="text"
|
|
4736
4796
|
>
|
|
4737
|
-
<AnimatedView
|
|
4797
|
+
<AnimatedView
|
|
4798
|
+
style={
|
|
4799
|
+
{
|
|
4800
|
+
"flexDirection": "row",
|
|
4801
|
+
}
|
|
4802
|
+
}
|
|
4803
|
+
>
|
|
4738
4804
|
<Text
|
|
4739
4805
|
allowFontScaling={false}
|
|
4740
4806
|
numberOfLines={1}
|
|
@@ -4770,7 +4836,7 @@ exports[`TextInput when user sees an error state should display error message to
|
|
|
4770
4836
|
</Text>
|
|
4771
4837
|
</AnimatedView>
|
|
4772
4838
|
</AnimatedView>
|
|
4773
|
-
<
|
|
4839
|
+
<Pressable
|
|
4774
4840
|
style={
|
|
4775
4841
|
[
|
|
4776
4842
|
[
|
|
@@ -4780,29 +4846,16 @@ exports[`TextInput when user sees an error state should display error message to
|
|
|
4780
4846
|
"flexGrow": 2,
|
|
4781
4847
|
"flexShrink": 1,
|
|
4782
4848
|
"gap": 3.9230769230769234,
|
|
4849
|
+
"opacity": 0,
|
|
4783
4850
|
},
|
|
4784
4851
|
],
|
|
4785
4852
|
undefined,
|
|
4786
4853
|
]
|
|
4787
4854
|
}
|
|
4855
|
+
themeOpacity={0}
|
|
4788
4856
|
>
|
|
4789
|
-
<
|
|
4790
|
-
style={
|
|
4791
|
-
{
|
|
4792
|
-
"opacity": {
|
|
4793
|
-
"_offset": 0,
|
|
4794
|
-
"_value": 0,
|
|
4795
|
-
"addListener": [MockFunction],
|
|
4796
|
-
"interpolate": [MockFunction],
|
|
4797
|
-
"removeAllListeners": [MockFunction],
|
|
4798
|
-
"removeListener": [MockFunction],
|
|
4799
|
-
"setValue": [MockFunction],
|
|
4800
|
-
},
|
|
4801
|
-
}
|
|
4802
|
-
}
|
|
4803
|
-
>
|
|
4857
|
+
<View>
|
|
4804
4858
|
<View
|
|
4805
|
-
accessibilityElementsHidden={true}
|
|
4806
4859
|
testID="input-prefix"
|
|
4807
4860
|
>
|
|
4808
4861
|
<Text
|
|
@@ -4840,22 +4893,12 @@ exports[`TextInput when user sees an error state should display error message to
|
|
|
4840
4893
|
|
|
4841
4894
|
</Text>
|
|
4842
4895
|
</View>
|
|
4843
|
-
</
|
|
4844
|
-
<
|
|
4845
|
-
accessibilityElementsHidden={true}
|
|
4896
|
+
</View>
|
|
4897
|
+
<View
|
|
4846
4898
|
accessibilityLabel="Text input field"
|
|
4847
4899
|
style={
|
|
4848
4900
|
{
|
|
4849
4901
|
"flex": 1,
|
|
4850
|
-
"opacity": {
|
|
4851
|
-
"_offset": 0,
|
|
4852
|
-
"_value": 0,
|
|
4853
|
-
"addListener": [MockFunction],
|
|
4854
|
-
"interpolate": [MockFunction],
|
|
4855
|
-
"removeAllListeners": [MockFunction],
|
|
4856
|
-
"removeListener": [MockFunction],
|
|
4857
|
-
"setValue": [MockFunction],
|
|
4858
|
-
},
|
|
4859
4902
|
}
|
|
4860
4903
|
}
|
|
4861
4904
|
testID="input-row-input-wrapper"
|
|
@@ -4899,8 +4942,8 @@ exports[`TextInput when user sees an error state should display error message to
|
|
|
4899
4942
|
testID="text-input"
|
|
4900
4943
|
themeVariant="text"
|
|
4901
4944
|
/>
|
|
4902
|
-
</
|
|
4903
|
-
</
|
|
4945
|
+
</View>
|
|
4946
|
+
</Pressable>
|
|
4904
4947
|
<View
|
|
4905
4948
|
style={
|
|
4906
4949
|
[
|
|
@@ -5036,6 +5079,9 @@ exports[`TextInput when user sees helper text should display guidance text to as
|
|
|
5036
5079
|
{},
|
|
5037
5080
|
]
|
|
5038
5081
|
}
|
|
5082
|
+
themeFocused={false}
|
|
5083
|
+
themeHasError={false}
|
|
5084
|
+
themeUseGroupStyleEnabled={false}
|
|
5039
5085
|
>
|
|
5040
5086
|
<View
|
|
5041
5087
|
pointerEvents="none"
|
|
@@ -5116,7 +5162,13 @@ exports[`TextInput when user sees helper text should display guidance text to as
|
|
|
5116
5162
|
}
|
|
5117
5163
|
themeVariant="text"
|
|
5118
5164
|
>
|
|
5119
|
-
<AnimatedView
|
|
5165
|
+
<AnimatedView
|
|
5166
|
+
style={
|
|
5167
|
+
{
|
|
5168
|
+
"flexDirection": "row",
|
|
5169
|
+
}
|
|
5170
|
+
}
|
|
5171
|
+
>
|
|
5120
5172
|
<Text
|
|
5121
5173
|
allowFontScaling={false}
|
|
5122
5174
|
numberOfLines={1}
|
|
@@ -5152,7 +5204,7 @@ exports[`TextInput when user sees helper text should display guidance text to as
|
|
|
5152
5204
|
</Text>
|
|
5153
5205
|
</AnimatedView>
|
|
5154
5206
|
</AnimatedView>
|
|
5155
|
-
<
|
|
5207
|
+
<Pressable
|
|
5156
5208
|
style={
|
|
5157
5209
|
[
|
|
5158
5210
|
[
|
|
@@ -5162,29 +5214,16 @@ exports[`TextInput when user sees helper text should display guidance text to as
|
|
|
5162
5214
|
"flexGrow": 2,
|
|
5163
5215
|
"flexShrink": 1,
|
|
5164
5216
|
"gap": 3.9230769230769234,
|
|
5217
|
+
"opacity": 0,
|
|
5165
5218
|
},
|
|
5166
5219
|
],
|
|
5167
5220
|
undefined,
|
|
5168
5221
|
]
|
|
5169
5222
|
}
|
|
5223
|
+
themeOpacity={0}
|
|
5170
5224
|
>
|
|
5171
|
-
<
|
|
5172
|
-
style={
|
|
5173
|
-
{
|
|
5174
|
-
"opacity": {
|
|
5175
|
-
"_offset": 0,
|
|
5176
|
-
"_value": 0,
|
|
5177
|
-
"addListener": [MockFunction],
|
|
5178
|
-
"interpolate": [MockFunction],
|
|
5179
|
-
"removeAllListeners": [MockFunction],
|
|
5180
|
-
"removeListener": [MockFunction],
|
|
5181
|
-
"setValue": [MockFunction],
|
|
5182
|
-
},
|
|
5183
|
-
}
|
|
5184
|
-
}
|
|
5185
|
-
>
|
|
5225
|
+
<View>
|
|
5186
5226
|
<View
|
|
5187
|
-
accessibilityElementsHidden={true}
|
|
5188
5227
|
testID="input-prefix"
|
|
5189
5228
|
>
|
|
5190
5229
|
<Text
|
|
@@ -5222,22 +5261,12 @@ exports[`TextInput when user sees helper text should display guidance text to as
|
|
|
5222
5261
|
|
|
5223
5262
|
</Text>
|
|
5224
5263
|
</View>
|
|
5225
|
-
</
|
|
5226
|
-
<
|
|
5227
|
-
accessibilityElementsHidden={true}
|
|
5264
|
+
</View>
|
|
5265
|
+
<View
|
|
5228
5266
|
accessibilityLabel="Text input field"
|
|
5229
5267
|
style={
|
|
5230
5268
|
{
|
|
5231
5269
|
"flex": 1,
|
|
5232
|
-
"opacity": {
|
|
5233
|
-
"_offset": 0,
|
|
5234
|
-
"_value": 0,
|
|
5235
|
-
"addListener": [MockFunction],
|
|
5236
|
-
"interpolate": [MockFunction],
|
|
5237
|
-
"removeAllListeners": [MockFunction],
|
|
5238
|
-
"removeListener": [MockFunction],
|
|
5239
|
-
"setValue": [MockFunction],
|
|
5240
|
-
},
|
|
5241
5270
|
}
|
|
5242
5271
|
}
|
|
5243
5272
|
testID="input-row-input-wrapper"
|
|
@@ -5281,8 +5310,8 @@ exports[`TextInput when user sees helper text should display guidance text to as
|
|
|
5281
5310
|
testID="text-input"
|
|
5282
5311
|
themeVariant="text"
|
|
5283
5312
|
/>
|
|
5284
|
-
</
|
|
5285
|
-
</
|
|
5313
|
+
</View>
|
|
5314
|
+
</Pressable>
|
|
5286
5315
|
<View
|
|
5287
5316
|
style={
|
|
5288
5317
|
[
|
|
@@ -5360,6 +5389,9 @@ exports[`TextInput when user sees input with custom prefix and suffix elements s
|
|
|
5360
5389
|
{},
|
|
5361
5390
|
]
|
|
5362
5391
|
}
|
|
5392
|
+
themeFocused={false}
|
|
5393
|
+
themeHasError={false}
|
|
5394
|
+
themeUseGroupStyleEnabled={false}
|
|
5363
5395
|
>
|
|
5364
5396
|
<View
|
|
5365
5397
|
pointerEvents="none"
|
|
@@ -5440,7 +5472,13 @@ exports[`TextInput when user sees input with custom prefix and suffix elements s
|
|
|
5440
5472
|
}
|
|
5441
5473
|
themeVariant="text"
|
|
5442
5474
|
>
|
|
5443
|
-
<AnimatedView
|
|
5475
|
+
<AnimatedView
|
|
5476
|
+
style={
|
|
5477
|
+
{
|
|
5478
|
+
"flexDirection": "row",
|
|
5479
|
+
}
|
|
5480
|
+
}
|
|
5481
|
+
>
|
|
5444
5482
|
<Text
|
|
5445
5483
|
allowFontScaling={false}
|
|
5446
5484
|
numberOfLines={1}
|
|
@@ -5476,7 +5514,7 @@ exports[`TextInput when user sees input with custom prefix and suffix elements s
|
|
|
5476
5514
|
</Text>
|
|
5477
5515
|
</AnimatedView>
|
|
5478
5516
|
</AnimatedView>
|
|
5479
|
-
<
|
|
5517
|
+
<Pressable
|
|
5480
5518
|
style={
|
|
5481
5519
|
[
|
|
5482
5520
|
[
|
|
@@ -5486,29 +5524,16 @@ exports[`TextInput when user sees input with custom prefix and suffix elements s
|
|
|
5486
5524
|
"flexGrow": 2,
|
|
5487
5525
|
"flexShrink": 1,
|
|
5488
5526
|
"gap": 3.9230769230769234,
|
|
5527
|
+
"opacity": 0,
|
|
5489
5528
|
},
|
|
5490
5529
|
],
|
|
5491
5530
|
undefined,
|
|
5492
5531
|
]
|
|
5493
5532
|
}
|
|
5533
|
+
themeOpacity={0}
|
|
5494
5534
|
>
|
|
5495
|
-
<
|
|
5496
|
-
style={
|
|
5497
|
-
{
|
|
5498
|
-
"opacity": {
|
|
5499
|
-
"_offset": 0,
|
|
5500
|
-
"_value": 0,
|
|
5501
|
-
"addListener": [MockFunction],
|
|
5502
|
-
"interpolate": [MockFunction],
|
|
5503
|
-
"removeAllListeners": [MockFunction],
|
|
5504
|
-
"removeListener": [MockFunction],
|
|
5505
|
-
"setValue": [MockFunction],
|
|
5506
|
-
},
|
|
5507
|
-
}
|
|
5508
|
-
}
|
|
5509
|
-
>
|
|
5535
|
+
<View>
|
|
5510
5536
|
<View
|
|
5511
|
-
accessibilityElementsHidden={true}
|
|
5512
5537
|
testID="input-prefix"
|
|
5513
5538
|
>
|
|
5514
5539
|
<Text
|
|
@@ -5544,22 +5569,12 @@ exports[`TextInput when user sees input with custom prefix and suffix elements s
|
|
|
5544
5569
|
|
|
5545
5570
|
</Text>
|
|
5546
5571
|
</View>
|
|
5547
|
-
</
|
|
5548
|
-
<
|
|
5549
|
-
accessibilityElementsHidden={true}
|
|
5572
|
+
</View>
|
|
5573
|
+
<View
|
|
5550
5574
|
accessibilityLabel="Text input field"
|
|
5551
5575
|
style={
|
|
5552
5576
|
{
|
|
5553
5577
|
"flex": 1,
|
|
5554
|
-
"opacity": {
|
|
5555
|
-
"_offset": 0,
|
|
5556
|
-
"_value": 0,
|
|
5557
|
-
"addListener": [MockFunction],
|
|
5558
|
-
"interpolate": [MockFunction],
|
|
5559
|
-
"removeAllListeners": [MockFunction],
|
|
5560
|
-
"removeListener": [MockFunction],
|
|
5561
|
-
"setValue": [MockFunction],
|
|
5562
|
-
},
|
|
5563
5578
|
}
|
|
5564
5579
|
}
|
|
5565
5580
|
testID="input-row-input-wrapper"
|
|
@@ -5603,8 +5618,8 @@ exports[`TextInput when user sees input with custom prefix and suffix elements s
|
|
|
5603
5618
|
testID="text-input"
|
|
5604
5619
|
themeVariant="text"
|
|
5605
5620
|
/>
|
|
5606
|
-
</
|
|
5607
|
-
</
|
|
5621
|
+
</View>
|
|
5622
|
+
</Pressable>
|
|
5608
5623
|
<View
|
|
5609
5624
|
style={
|
|
5610
5625
|
[
|