@hero-design/rn 7.22.1 → 7.22.3
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 +2 -2
- package/es/index.js +309 -284
- package/lib/index.js +309 -284
- package/package.json +4 -4
- package/src/components/Accordion/AccordionItem.tsx +1 -1
- package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +8 -8
- package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +12 -12
- package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +3 -3
- package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
- package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
- package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/StyledLoadingIndicator.spec.tsx.snap +2 -2
- package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +6 -6
- package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +24 -24
- package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +6 -6
- package/src/components/Card/DataCard/__tests__/__snapshots__/StyledDataCard.spec.tsx.snap +3 -3
- package/src/components/Card/DataCard/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
- package/src/components/Card/__tests__/__snapshots__/StyledCard.spec.tsx.snap +1 -1
- package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
- package/src/components/Checkbox/__tests__/__snapshots__/StyledCheckbox.spec.tsx.snap +2 -2
- package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +5 -5
- package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +4 -18
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +5 -19
- package/src/components/Drawer/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
- package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +10 -10
- package/src/components/Icon/HeroIcon/index.tsx +2 -0
- package/src/components/Icon/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
- package/src/components/Icon/index.tsx +1 -0
- package/src/components/List/StyledBasicListItem.tsx +1 -0
- package/src/components/List/__tests__/BasicListItem.spec.tsx +37 -13
- package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +163 -2
- package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +12 -12
- package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +6 -2
- package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +4 -4
- package/src/components/PinInput/__tests__/__snapshots__/PinCell.spec.tsx.snap +6 -6
- package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +21 -21
- package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +5 -5
- package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +3 -1
- package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +4 -1
- package/src/components/RichTextEditor/RichTextEditor.tsx +1 -3
- package/src/components/RichTextEditor/__tests__/EditorToolbar.spec.tsx +1 -1
- package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +10 -38
- package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +2 -1
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +25 -9
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +66 -108
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +2 -1
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +24 -8
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +57 -99
- package/src/components/Select/__tests__/__snapshots__/StyledSelect.spec.tsx.snap +1 -1
- package/src/components/Slider/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
- package/src/components/Spinner/StyledSpinner.tsx +8 -4
- package/src/components/Spinner/__tests__/__snapshots__/AnimatedSpinner.spec.tsx.snap +8 -4
- package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +32 -16
- package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +8 -4
- package/src/components/Switch/__tests__/__snapshots__/StyledSwitch.spec.tsx.snap +3 -3
- package/src/components/Tabs/ScrollableTabs.tsx +2 -5
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +1 -1
- package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +1 -1
- package/src/components/TextInput/StyledTextInput.tsx +11 -16
- package/src/components/TextInput/__tests__/StyledTextInput.spec.tsx +3 -3
- package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +28 -46
- package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +67 -249
- package/src/components/TextInput/index.tsx +27 -27
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +4 -18
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +5 -19
- package/src/components/Toast/ToastProvider.tsx +2 -4
- package/src/components/Toast/__tests__/index.spec.tsx +138 -0
- package/src/components/Toolbar/ToolbarItem.tsx +1 -1
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +12 -12
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +6 -6
- package/src/components/Typography/Text/StyledText.tsx +1 -0
- package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +3 -3
- package/src/components/Typography/Text/index.tsx +1 -0
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +93 -84
- package/src/theme/components/accordion.ts +1 -1
- package/src/theme/components/alert.ts +4 -4
- package/src/theme/components/avatar.ts +2 -2
- package/src/theme/components/badge.ts +6 -6
- package/src/theme/components/bottomNavigation.ts +2 -2
- package/src/theme/components/bottomSheet.ts +3 -3
- package/src/theme/components/button.ts +20 -20
- package/src/theme/components/calendar.ts +4 -4
- package/src/theme/components/card.ts +5 -5
- package/src/theme/components/checkbox.ts +1 -1
- package/src/theme/components/divider.ts +1 -1
- package/src/theme/components/drawer.ts +4 -4
- package/src/theme/components/empty.ts +3 -4
- package/src/theme/components/fab.ts +7 -7
- package/src/theme/components/icon.ts +4 -3
- package/src/theme/components/list.ts +8 -6
- package/src/theme/components/pinInput.ts +4 -4
- package/src/theme/components/progress.ts +3 -3
- package/src/theme/components/richTextEditor.ts +3 -3
- package/src/theme/components/sectionHeading.ts +1 -1
- package/src/theme/components/select.ts +1 -1
- package/src/theme/components/slider.ts +3 -3
- package/src/theme/components/spinner.ts +1 -4
- package/src/theme/components/switch.ts +7 -7
- package/src/theme/components/tabs.ts +5 -5
- package/src/theme/components/tag.ts +12 -12
- package/src/theme/components/textInput.ts +38 -38
- package/src/theme/components/toast.ts +6 -6
- package/src/theme/components/toolbar.ts +3 -2
- package/src/theme/components/typography.ts +4 -3
- package/src/theme/global/colors/global.ts +32 -0
- package/src/theme/global/colors/legacySystemPalette.ts +53 -0
- package/src/theme/global/colors/swag.ts +21 -34
- package/src/theme/global/colors/types.ts +46 -26
- package/src/theme/global/colors/work.ts +10 -9
- package/types/components/Icon/HeroIcon/index.d.ts +1 -1
- package/types/components/Icon/index.d.ts +1 -1
- package/types/components/TextInput/StyledTextInput.d.ts +3 -9
- package/types/components/TextInput/index.d.ts +4 -4
- package/types/components/Toast/__tests__/index.spec.d.ts +1 -0
- package/types/components/Toolbar/ToolbarItem.d.ts +1 -1
- package/types/components/Typography/Text/StyledText.d.ts +1 -1
- package/types/components/Typography/Text/index.d.ts +1 -1
- package/types/theme/components/empty.d.ts +0 -1
- package/types/theme/components/icon.d.ts +1 -0
- package/types/theme/components/list.d.ts +1 -0
- package/types/theme/components/spinner.d.ts +1 -4
- package/types/theme/components/toolbar.d.ts +1 -0
- package/types/theme/components/typography.d.ts +1 -0
- package/types/theme/global/colors/global.d.ts +3 -0
- package/types/theme/global/colors/legacySystemPalette.d.ts +3 -0
- package/types/theme/global/colors/types.d.ts +41 -20
- package/types/theme/global/index.d.ts +28 -19
|
@@ -6,12 +6,16 @@ exports[`TextInput defaultValue TextInput is idle renders correctly 1`] = `
|
|
|
6
6
|
style={
|
|
7
7
|
Array [
|
|
8
8
|
Object {
|
|
9
|
+
"borderColor": "#001f23",
|
|
10
|
+
"borderRadius": 8,
|
|
11
|
+
"borderWidth": 1,
|
|
9
12
|
"marginVertical": 8,
|
|
10
13
|
"width": "100%",
|
|
11
14
|
},
|
|
12
15
|
undefined,
|
|
13
16
|
]
|
|
14
17
|
}
|
|
18
|
+
themeVariant="filled"
|
|
15
19
|
>
|
|
16
20
|
<View
|
|
17
21
|
style={
|
|
@@ -25,24 +29,6 @@ exports[`TextInput defaultValue TextInput is idle renders correctly 1`] = `
|
|
|
25
29
|
]
|
|
26
30
|
}
|
|
27
31
|
>
|
|
28
|
-
<View
|
|
29
|
-
style={
|
|
30
|
-
Array [
|
|
31
|
-
Object {
|
|
32
|
-
"borderColor": "#001f23",
|
|
33
|
-
"borderRadius": 8,
|
|
34
|
-
"borderWidth": 1,
|
|
35
|
-
"bottom": 0,
|
|
36
|
-
"left": 0,
|
|
37
|
-
"position": "absolute",
|
|
38
|
-
"right": 0,
|
|
39
|
-
"top": 0,
|
|
40
|
-
},
|
|
41
|
-
undefined,
|
|
42
|
-
]
|
|
43
|
-
}
|
|
44
|
-
themeVariant="filled"
|
|
45
|
-
/>
|
|
46
32
|
<View
|
|
47
33
|
pointerEvents="none"
|
|
48
34
|
style={
|
|
@@ -72,7 +58,7 @@ exports[`TextInput defaultValue TextInput is idle renders correctly 1`] = `
|
|
|
72
58
|
},
|
|
73
59
|
Array [
|
|
74
60
|
Object {
|
|
75
|
-
"color": "#
|
|
61
|
+
"color": "#f46363",
|
|
76
62
|
},
|
|
77
63
|
undefined,
|
|
78
64
|
],
|
|
@@ -260,12 +246,16 @@ exports[`TextInput defaultValue default Value and Value renders correctly with 2
|
|
|
260
246
|
style={
|
|
261
247
|
Array [
|
|
262
248
|
Object {
|
|
249
|
+
"borderColor": "#001f23",
|
|
250
|
+
"borderRadius": 8,
|
|
251
|
+
"borderWidth": 1,
|
|
263
252
|
"marginVertical": 8,
|
|
264
253
|
"width": "100%",
|
|
265
254
|
},
|
|
266
255
|
undefined,
|
|
267
256
|
]
|
|
268
257
|
}
|
|
258
|
+
themeVariant="filled"
|
|
269
259
|
>
|
|
270
260
|
<View
|
|
271
261
|
style={
|
|
@@ -279,24 +269,6 @@ exports[`TextInput defaultValue default Value and Value renders correctly with 2
|
|
|
279
269
|
]
|
|
280
270
|
}
|
|
281
271
|
>
|
|
282
|
-
<View
|
|
283
|
-
style={
|
|
284
|
-
Array [
|
|
285
|
-
Object {
|
|
286
|
-
"borderColor": "#001f23",
|
|
287
|
-
"borderRadius": 8,
|
|
288
|
-
"borderWidth": 1,
|
|
289
|
-
"bottom": 0,
|
|
290
|
-
"left": 0,
|
|
291
|
-
"position": "absolute",
|
|
292
|
-
"right": 0,
|
|
293
|
-
"top": 0,
|
|
294
|
-
},
|
|
295
|
-
undefined,
|
|
296
|
-
]
|
|
297
|
-
}
|
|
298
|
-
themeVariant="filled"
|
|
299
|
-
/>
|
|
300
272
|
<View
|
|
301
273
|
pointerEvents="none"
|
|
302
274
|
style={
|
|
@@ -326,7 +298,7 @@ exports[`TextInput defaultValue default Value and Value renders correctly with 2
|
|
|
326
298
|
},
|
|
327
299
|
Array [
|
|
328
300
|
Object {
|
|
329
|
-
"color": "#
|
|
301
|
+
"color": "#f46363",
|
|
330
302
|
},
|
|
331
303
|
undefined,
|
|
332
304
|
],
|
|
@@ -515,6 +487,9 @@ exports[`TextInput disabled renders correctly 1`] = `
|
|
|
515
487
|
style={
|
|
516
488
|
Array [
|
|
517
489
|
Object {
|
|
490
|
+
"borderColor": "#bfc1c5",
|
|
491
|
+
"borderRadius": 8,
|
|
492
|
+
"borderWidth": 1,
|
|
518
493
|
"marginVertical": 8,
|
|
519
494
|
"width": "100%",
|
|
520
495
|
},
|
|
@@ -522,6 +497,7 @@ exports[`TextInput disabled renders correctly 1`] = `
|
|
|
522
497
|
]
|
|
523
498
|
}
|
|
524
499
|
testID="disabled-text-input"
|
|
500
|
+
themeVariant="disabled"
|
|
525
501
|
>
|
|
526
502
|
<View
|
|
527
503
|
style={
|
|
@@ -535,24 +511,6 @@ exports[`TextInput disabled renders correctly 1`] = `
|
|
|
535
511
|
]
|
|
536
512
|
}
|
|
537
513
|
>
|
|
538
|
-
<View
|
|
539
|
-
style={
|
|
540
|
-
Array [
|
|
541
|
-
Object {
|
|
542
|
-
"borderColor": "#bfc1c5",
|
|
543
|
-
"borderRadius": 8,
|
|
544
|
-
"borderWidth": 1,
|
|
545
|
-
"bottom": 0,
|
|
546
|
-
"left": 0,
|
|
547
|
-
"position": "absolute",
|
|
548
|
-
"right": 0,
|
|
549
|
-
"top": 0,
|
|
550
|
-
},
|
|
551
|
-
undefined,
|
|
552
|
-
]
|
|
553
|
-
}
|
|
554
|
-
themeVariant="disabled"
|
|
555
|
-
/>
|
|
556
514
|
<View
|
|
557
515
|
pointerEvents="none"
|
|
558
516
|
style={
|
|
@@ -696,12 +654,16 @@ exports[`TextInput error renders correctly 1`] = `
|
|
|
696
654
|
style={
|
|
697
655
|
Array [
|
|
698
656
|
Object {
|
|
657
|
+
"borderColor": "#f46363",
|
|
658
|
+
"borderRadius": 8,
|
|
659
|
+
"borderWidth": 1,
|
|
699
660
|
"marginVertical": 8,
|
|
700
661
|
"width": "100%",
|
|
701
662
|
},
|
|
702
663
|
undefined,
|
|
703
664
|
]
|
|
704
665
|
}
|
|
666
|
+
themeVariant="error"
|
|
705
667
|
>
|
|
706
668
|
<View
|
|
707
669
|
style={
|
|
@@ -715,24 +677,6 @@ exports[`TextInput error renders correctly 1`] = `
|
|
|
715
677
|
]
|
|
716
678
|
}
|
|
717
679
|
>
|
|
718
|
-
<View
|
|
719
|
-
style={
|
|
720
|
-
Array [
|
|
721
|
-
Object {
|
|
722
|
-
"borderColor": "#de350b",
|
|
723
|
-
"borderRadius": 8,
|
|
724
|
-
"borderWidth": 1,
|
|
725
|
-
"bottom": 0,
|
|
726
|
-
"left": 0,
|
|
727
|
-
"position": "absolute",
|
|
728
|
-
"right": 0,
|
|
729
|
-
"top": 0,
|
|
730
|
-
},
|
|
731
|
-
undefined,
|
|
732
|
-
]
|
|
733
|
-
}
|
|
734
|
-
themeVariant="error"
|
|
735
|
-
/>
|
|
736
680
|
<HeroIcon
|
|
737
681
|
name="dollar-sign"
|
|
738
682
|
style={
|
|
@@ -792,7 +736,7 @@ exports[`TextInput error renders correctly 1`] = `
|
|
|
792
736
|
},
|
|
793
737
|
Array [
|
|
794
738
|
Object {
|
|
795
|
-
"color": "#
|
|
739
|
+
"color": "#f46363",
|
|
796
740
|
"fontSize": 14,
|
|
797
741
|
},
|
|
798
742
|
undefined,
|
|
@@ -927,7 +871,7 @@ exports[`TextInput error renders correctly 1`] = `
|
|
|
927
871
|
},
|
|
928
872
|
Array [
|
|
929
873
|
Object {
|
|
930
|
-
"color": "#
|
|
874
|
+
"color": "#f46363",
|
|
931
875
|
"fontSize": 12,
|
|
932
876
|
"marginLeft": 4,
|
|
933
877
|
},
|
|
@@ -954,12 +898,16 @@ exports[`TextInput filled renders correctly 1`] = `
|
|
|
954
898
|
style={
|
|
955
899
|
Array [
|
|
956
900
|
Object {
|
|
901
|
+
"borderColor": "#001f23",
|
|
902
|
+
"borderRadius": 8,
|
|
903
|
+
"borderWidth": 1,
|
|
957
904
|
"marginVertical": 8,
|
|
958
905
|
"width": "100%",
|
|
959
906
|
},
|
|
960
907
|
undefined,
|
|
961
908
|
]
|
|
962
909
|
}
|
|
910
|
+
themeVariant="filled"
|
|
963
911
|
>
|
|
964
912
|
<View
|
|
965
913
|
style={
|
|
@@ -973,24 +921,6 @@ exports[`TextInput filled renders correctly 1`] = `
|
|
|
973
921
|
]
|
|
974
922
|
}
|
|
975
923
|
>
|
|
976
|
-
<View
|
|
977
|
-
style={
|
|
978
|
-
Array [
|
|
979
|
-
Object {
|
|
980
|
-
"borderColor": "#001f23",
|
|
981
|
-
"borderRadius": 8,
|
|
982
|
-
"borderWidth": 1,
|
|
983
|
-
"bottom": 0,
|
|
984
|
-
"left": 0,
|
|
985
|
-
"position": "absolute",
|
|
986
|
-
"right": 0,
|
|
987
|
-
"top": 0,
|
|
988
|
-
},
|
|
989
|
-
undefined,
|
|
990
|
-
]
|
|
991
|
-
}
|
|
992
|
-
themeVariant="filled"
|
|
993
|
-
/>
|
|
994
924
|
<View
|
|
995
925
|
pointerEvents="none"
|
|
996
926
|
style={
|
|
@@ -1139,12 +1069,16 @@ exports[`TextInput helper text renders correctly 1`] = `
|
|
|
1139
1069
|
style={
|
|
1140
1070
|
Array [
|
|
1141
1071
|
Object {
|
|
1072
|
+
"borderColor": "#001f23",
|
|
1073
|
+
"borderRadius": 8,
|
|
1074
|
+
"borderWidth": 1,
|
|
1142
1075
|
"marginVertical": 8,
|
|
1143
1076
|
"width": "100%",
|
|
1144
1077
|
},
|
|
1145
1078
|
undefined,
|
|
1146
1079
|
]
|
|
1147
1080
|
}
|
|
1081
|
+
themeVariant="default"
|
|
1148
1082
|
>
|
|
1149
1083
|
<View
|
|
1150
1084
|
style={
|
|
@@ -1158,24 +1092,6 @@ exports[`TextInput helper text renders correctly 1`] = `
|
|
|
1158
1092
|
]
|
|
1159
1093
|
}
|
|
1160
1094
|
>
|
|
1161
|
-
<View
|
|
1162
|
-
style={
|
|
1163
|
-
Array [
|
|
1164
|
-
Object {
|
|
1165
|
-
"borderColor": "#001f23",
|
|
1166
|
-
"borderRadius": 8,
|
|
1167
|
-
"borderWidth": 1,
|
|
1168
|
-
"bottom": 0,
|
|
1169
|
-
"left": 0,
|
|
1170
|
-
"position": "absolute",
|
|
1171
|
-
"right": 0,
|
|
1172
|
-
"top": 0,
|
|
1173
|
-
},
|
|
1174
|
-
undefined,
|
|
1175
|
-
]
|
|
1176
|
-
}
|
|
1177
|
-
themeVariant="default"
|
|
1178
|
-
/>
|
|
1179
1095
|
<HeroIcon
|
|
1180
1096
|
name="dollar-sign"
|
|
1181
1097
|
style={
|
|
@@ -1235,7 +1151,7 @@ exports[`TextInput helper text renders correctly 1`] = `
|
|
|
1235
1151
|
},
|
|
1236
1152
|
Array [
|
|
1237
1153
|
Object {
|
|
1238
|
-
"color": "#
|
|
1154
|
+
"color": "#f46363",
|
|
1239
1155
|
"fontSize": 14,
|
|
1240
1156
|
},
|
|
1241
1157
|
undefined,
|
|
@@ -1363,13 +1279,19 @@ exports[`TextInput idle renders correctly 1`] = `
|
|
|
1363
1279
|
style={
|
|
1364
1280
|
Array [
|
|
1365
1281
|
Object {
|
|
1282
|
+
"borderColor": "#001f23",
|
|
1283
|
+
"borderRadius": 8,
|
|
1284
|
+
"borderWidth": 1,
|
|
1366
1285
|
"marginVertical": 8,
|
|
1367
1286
|
"width": "100%",
|
|
1368
1287
|
},
|
|
1369
|
-
|
|
1288
|
+
Object {
|
|
1289
|
+
"borderColor": "#de350b",
|
|
1290
|
+
},
|
|
1370
1291
|
]
|
|
1371
1292
|
}
|
|
1372
1293
|
testID="idle-text-input"
|
|
1294
|
+
themeVariant="default"
|
|
1373
1295
|
>
|
|
1374
1296
|
<View
|
|
1375
1297
|
style={
|
|
@@ -1383,26 +1305,6 @@ exports[`TextInput idle renders correctly 1`] = `
|
|
|
1383
1305
|
]
|
|
1384
1306
|
}
|
|
1385
1307
|
>
|
|
1386
|
-
<View
|
|
1387
|
-
style={
|
|
1388
|
-
Array [
|
|
1389
|
-
Object {
|
|
1390
|
-
"borderColor": "#001f23",
|
|
1391
|
-
"borderRadius": 8,
|
|
1392
|
-
"borderWidth": 1,
|
|
1393
|
-
"bottom": 0,
|
|
1394
|
-
"left": 0,
|
|
1395
|
-
"position": "absolute",
|
|
1396
|
-
"right": 0,
|
|
1397
|
-
"top": 0,
|
|
1398
|
-
},
|
|
1399
|
-
Object {
|
|
1400
|
-
"borderColor": "#de350b",
|
|
1401
|
-
},
|
|
1402
|
-
]
|
|
1403
|
-
}
|
|
1404
|
-
themeVariant="default"
|
|
1405
|
-
/>
|
|
1406
1308
|
<HeroIcon
|
|
1407
1309
|
name="dollar-sign"
|
|
1408
1310
|
style={
|
|
@@ -1555,12 +1457,16 @@ exports[`TextInput idle with suffix and prefix are React Element renders correct
|
|
|
1555
1457
|
style={
|
|
1556
1458
|
Array [
|
|
1557
1459
|
Object {
|
|
1460
|
+
"borderColor": "#001f23",
|
|
1461
|
+
"borderRadius": 8,
|
|
1462
|
+
"borderWidth": 1,
|
|
1558
1463
|
"marginVertical": 8,
|
|
1559
1464
|
"width": "100%",
|
|
1560
1465
|
},
|
|
1561
1466
|
undefined,
|
|
1562
1467
|
]
|
|
1563
1468
|
}
|
|
1469
|
+
themeVariant="default"
|
|
1564
1470
|
>
|
|
1565
1471
|
<View
|
|
1566
1472
|
style={
|
|
@@ -1574,24 +1480,6 @@ exports[`TextInput idle with suffix and prefix are React Element renders correct
|
|
|
1574
1480
|
]
|
|
1575
1481
|
}
|
|
1576
1482
|
>
|
|
1577
|
-
<View
|
|
1578
|
-
style={
|
|
1579
|
-
Array [
|
|
1580
|
-
Object {
|
|
1581
|
-
"borderColor": "#001f23",
|
|
1582
|
-
"borderRadius": 8,
|
|
1583
|
-
"borderWidth": 1,
|
|
1584
|
-
"bottom": 0,
|
|
1585
|
-
"left": 0,
|
|
1586
|
-
"position": "absolute",
|
|
1587
|
-
"right": 0,
|
|
1588
|
-
"top": 0,
|
|
1589
|
-
},
|
|
1590
|
-
undefined,
|
|
1591
|
-
]
|
|
1592
|
-
}
|
|
1593
|
-
themeVariant="default"
|
|
1594
|
-
/>
|
|
1595
1483
|
<HeroIcon
|
|
1596
1484
|
name="eye-circle"
|
|
1597
1485
|
style={
|
|
@@ -1651,7 +1539,7 @@ exports[`TextInput idle with suffix and prefix are React Element renders correct
|
|
|
1651
1539
|
},
|
|
1652
1540
|
Array [
|
|
1653
1541
|
Object {
|
|
1654
|
-
"color": "#
|
|
1542
|
+
"color": "#f46363",
|
|
1655
1543
|
"fontSize": 14,
|
|
1656
1544
|
},
|
|
1657
1545
|
undefined,
|
|
@@ -1770,12 +1658,16 @@ exports[`TextInput loading renders correctly 1`] = `
|
|
|
1770
1658
|
style={
|
|
1771
1659
|
Array [
|
|
1772
1660
|
Object {
|
|
1661
|
+
"borderColor": "#808f91",
|
|
1662
|
+
"borderRadius": 8,
|
|
1663
|
+
"borderWidth": 1,
|
|
1773
1664
|
"marginVertical": 8,
|
|
1774
1665
|
"width": "100%",
|
|
1775
1666
|
},
|
|
1776
1667
|
undefined,
|
|
1777
1668
|
]
|
|
1778
1669
|
}
|
|
1670
|
+
themeVariant="readonly"
|
|
1779
1671
|
>
|
|
1780
1672
|
<View
|
|
1781
1673
|
style={
|
|
@@ -1789,24 +1681,6 @@ exports[`TextInput loading renders correctly 1`] = `
|
|
|
1789
1681
|
]
|
|
1790
1682
|
}
|
|
1791
1683
|
>
|
|
1792
|
-
<View
|
|
1793
|
-
style={
|
|
1794
|
-
Array [
|
|
1795
|
-
Object {
|
|
1796
|
-
"borderColor": "#808f91",
|
|
1797
|
-
"borderRadius": 8,
|
|
1798
|
-
"borderWidth": 1,
|
|
1799
|
-
"bottom": 0,
|
|
1800
|
-
"left": 0,
|
|
1801
|
-
"position": "absolute",
|
|
1802
|
-
"right": 0,
|
|
1803
|
-
"top": 0,
|
|
1804
|
-
},
|
|
1805
|
-
undefined,
|
|
1806
|
-
]
|
|
1807
|
-
}
|
|
1808
|
-
themeVariant="readonly"
|
|
1809
|
-
/>
|
|
1810
1684
|
<View
|
|
1811
1685
|
style={
|
|
1812
1686
|
Array [
|
|
@@ -1927,12 +1801,16 @@ exports[`TextInput max length renders correctly 1`] = `
|
|
|
1927
1801
|
style={
|
|
1928
1802
|
Array [
|
|
1929
1803
|
Object {
|
|
1804
|
+
"borderColor": "#f46363",
|
|
1805
|
+
"borderRadius": 8,
|
|
1806
|
+
"borderWidth": 1,
|
|
1930
1807
|
"marginVertical": 8,
|
|
1931
1808
|
"width": "100%",
|
|
1932
1809
|
},
|
|
1933
1810
|
undefined,
|
|
1934
1811
|
]
|
|
1935
1812
|
}
|
|
1813
|
+
themeVariant="error"
|
|
1936
1814
|
>
|
|
1937
1815
|
<View
|
|
1938
1816
|
style={
|
|
@@ -1946,24 +1824,6 @@ exports[`TextInput max length renders correctly 1`] = `
|
|
|
1946
1824
|
]
|
|
1947
1825
|
}
|
|
1948
1826
|
>
|
|
1949
|
-
<View
|
|
1950
|
-
style={
|
|
1951
|
-
Array [
|
|
1952
|
-
Object {
|
|
1953
|
-
"borderColor": "#de350b",
|
|
1954
|
-
"borderRadius": 8,
|
|
1955
|
-
"borderWidth": 1,
|
|
1956
|
-
"bottom": 0,
|
|
1957
|
-
"left": 0,
|
|
1958
|
-
"position": "absolute",
|
|
1959
|
-
"right": 0,
|
|
1960
|
-
"top": 0,
|
|
1961
|
-
},
|
|
1962
|
-
undefined,
|
|
1963
|
-
]
|
|
1964
|
-
}
|
|
1965
|
-
themeVariant="error"
|
|
1966
|
-
/>
|
|
1967
1827
|
<View
|
|
1968
1828
|
pointerEvents="none"
|
|
1969
1829
|
style={
|
|
@@ -1993,7 +1853,7 @@ exports[`TextInput max length renders correctly 1`] = `
|
|
|
1993
1853
|
},
|
|
1994
1854
|
Array [
|
|
1995
1855
|
Object {
|
|
1996
|
-
"color": "#
|
|
1856
|
+
"color": "#f46363",
|
|
1997
1857
|
},
|
|
1998
1858
|
undefined,
|
|
1999
1859
|
],
|
|
@@ -2140,7 +2000,7 @@ exports[`TextInput max length renders correctly 1`] = `
|
|
|
2140
2000
|
},
|
|
2141
2001
|
Array [
|
|
2142
2002
|
Object {
|
|
2143
|
-
"color": "#
|
|
2003
|
+
"color": "#f46363",
|
|
2144
2004
|
"fontSize": 12,
|
|
2145
2005
|
"marginLeft": 4,
|
|
2146
2006
|
},
|
|
@@ -2169,7 +2029,7 @@ exports[`TextInput max length renders correctly 1`] = `
|
|
|
2169
2029
|
Array [
|
|
2170
2030
|
Object {
|
|
2171
2031
|
"alignSelf": "flex-end",
|
|
2172
|
-
"color": "#
|
|
2032
|
+
"color": "#f46363",
|
|
2173
2033
|
"flex": 1,
|
|
2174
2034
|
"flexGrow": 1,
|
|
2175
2035
|
"fontSize": 12,
|
|
@@ -2200,12 +2060,16 @@ exports[`TextInput placeholder TextInput is idle renders correctly 1`] = `
|
|
|
2200
2060
|
style={
|
|
2201
2061
|
Array [
|
|
2202
2062
|
Object {
|
|
2063
|
+
"borderColor": "#001f23",
|
|
2064
|
+
"borderRadius": 8,
|
|
2065
|
+
"borderWidth": 1,
|
|
2203
2066
|
"marginVertical": 8,
|
|
2204
2067
|
"width": "100%",
|
|
2205
2068
|
},
|
|
2206
2069
|
undefined,
|
|
2207
2070
|
]
|
|
2208
2071
|
}
|
|
2072
|
+
themeVariant="default"
|
|
2209
2073
|
>
|
|
2210
2074
|
<View
|
|
2211
2075
|
style={
|
|
@@ -2219,24 +2083,6 @@ exports[`TextInput placeholder TextInput is idle renders correctly 1`] = `
|
|
|
2219
2083
|
]
|
|
2220
2084
|
}
|
|
2221
2085
|
>
|
|
2222
|
-
<View
|
|
2223
|
-
style={
|
|
2224
|
-
Array [
|
|
2225
|
-
Object {
|
|
2226
|
-
"borderColor": "#001f23",
|
|
2227
|
-
"borderRadius": 8,
|
|
2228
|
-
"borderWidth": 1,
|
|
2229
|
-
"bottom": 0,
|
|
2230
|
-
"left": 0,
|
|
2231
|
-
"position": "absolute",
|
|
2232
|
-
"right": 0,
|
|
2233
|
-
"top": 0,
|
|
2234
|
-
},
|
|
2235
|
-
undefined,
|
|
2236
|
-
]
|
|
2237
|
-
}
|
|
2238
|
-
themeVariant="default"
|
|
2239
|
-
/>
|
|
2240
2086
|
<HeroIcon
|
|
2241
2087
|
name="dollar-sign"
|
|
2242
2088
|
style={
|
|
@@ -2296,7 +2142,7 @@ exports[`TextInput placeholder TextInput is idle renders correctly 1`] = `
|
|
|
2296
2142
|
},
|
|
2297
2143
|
Array [
|
|
2298
2144
|
Object {
|
|
2299
|
-
"color": "#
|
|
2145
|
+
"color": "#f46363",
|
|
2300
2146
|
"fontSize": 14,
|
|
2301
2147
|
},
|
|
2302
2148
|
undefined,
|
|
@@ -2424,12 +2270,16 @@ exports[`TextInput readonly renders correctly 1`] = `
|
|
|
2424
2270
|
style={
|
|
2425
2271
|
Array [
|
|
2426
2272
|
Object {
|
|
2273
|
+
"borderColor": "#808f91",
|
|
2274
|
+
"borderRadius": 8,
|
|
2275
|
+
"borderWidth": 1,
|
|
2427
2276
|
"marginVertical": 8,
|
|
2428
2277
|
"width": "100%",
|
|
2429
2278
|
},
|
|
2430
2279
|
undefined,
|
|
2431
2280
|
]
|
|
2432
2281
|
}
|
|
2282
|
+
themeVariant="readonly"
|
|
2433
2283
|
>
|
|
2434
2284
|
<View
|
|
2435
2285
|
style={
|
|
@@ -2443,24 +2293,6 @@ exports[`TextInput readonly renders correctly 1`] = `
|
|
|
2443
2293
|
]
|
|
2444
2294
|
}
|
|
2445
2295
|
>
|
|
2446
|
-
<View
|
|
2447
|
-
style={
|
|
2448
|
-
Array [
|
|
2449
|
-
Object {
|
|
2450
|
-
"borderColor": "#808f91",
|
|
2451
|
-
"borderRadius": 8,
|
|
2452
|
-
"borderWidth": 1,
|
|
2453
|
-
"bottom": 0,
|
|
2454
|
-
"left": 0,
|
|
2455
|
-
"position": "absolute",
|
|
2456
|
-
"right": 0,
|
|
2457
|
-
"top": 0,
|
|
2458
|
-
},
|
|
2459
|
-
undefined,
|
|
2460
|
-
]
|
|
2461
|
-
}
|
|
2462
|
-
themeVariant="readonly"
|
|
2463
|
-
/>
|
|
2464
2296
|
<View
|
|
2465
2297
|
pointerEvents="none"
|
|
2466
2298
|
style={
|
|
@@ -2515,7 +2347,7 @@ exports[`TextInput readonly renders correctly 1`] = `
|
|
|
2515
2347
|
},
|
|
2516
2348
|
Array [
|
|
2517
2349
|
Object {
|
|
2518
|
-
"color": "#
|
|
2350
|
+
"color": "#bfc1c5",
|
|
2519
2351
|
},
|
|
2520
2352
|
undefined,
|
|
2521
2353
|
],
|
|
@@ -2634,12 +2466,16 @@ exports[`TextInput required renders correctly 1`] = `
|
|
|
2634
2466
|
style={
|
|
2635
2467
|
Array [
|
|
2636
2468
|
Object {
|
|
2469
|
+
"borderColor": "#001f23",
|
|
2470
|
+
"borderRadius": 8,
|
|
2471
|
+
"borderWidth": 1,
|
|
2637
2472
|
"marginVertical": 8,
|
|
2638
2473
|
"width": "100%",
|
|
2639
2474
|
},
|
|
2640
2475
|
undefined,
|
|
2641
2476
|
]
|
|
2642
2477
|
}
|
|
2478
|
+
themeVariant="default"
|
|
2643
2479
|
>
|
|
2644
2480
|
<View
|
|
2645
2481
|
style={
|
|
@@ -2653,24 +2489,6 @@ exports[`TextInput required renders correctly 1`] = `
|
|
|
2653
2489
|
]
|
|
2654
2490
|
}
|
|
2655
2491
|
>
|
|
2656
|
-
<View
|
|
2657
|
-
style={
|
|
2658
|
-
Array [
|
|
2659
|
-
Object {
|
|
2660
|
-
"borderColor": "#001f23",
|
|
2661
|
-
"borderRadius": 8,
|
|
2662
|
-
"borderWidth": 1,
|
|
2663
|
-
"bottom": 0,
|
|
2664
|
-
"left": 0,
|
|
2665
|
-
"position": "absolute",
|
|
2666
|
-
"right": 0,
|
|
2667
|
-
"top": 0,
|
|
2668
|
-
},
|
|
2669
|
-
undefined,
|
|
2670
|
-
]
|
|
2671
|
-
}
|
|
2672
|
-
themeVariant="default"
|
|
2673
|
-
/>
|
|
2674
2492
|
<HeroIcon
|
|
2675
2493
|
name="dollar-sign"
|
|
2676
2494
|
style={
|
|
@@ -2730,7 +2548,7 @@ exports[`TextInput required renders correctly 1`] = `
|
|
|
2730
2548
|
},
|
|
2731
2549
|
Array [
|
|
2732
2550
|
Object {
|
|
2733
|
-
"color": "#
|
|
2551
|
+
"color": "#f46363",
|
|
2734
2552
|
"fontSize": 14,
|
|
2735
2553
|
},
|
|
2736
2554
|
undefined,
|