@hero-design/rn 7.22.3 → 7.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +3 -3
- package/assets/fonts/hero-icons.ttf +0 -0
- package/es/index.js +2974 -10456
- package/lib/assets/fonts/hero-icons.ttf +0 -0
- package/lib/index.js +2977 -10455
- package/package.json +8 -6
- package/rollup.config.js +1 -0
- package/src/components/Box/StyledBox.tsx +1 -2
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +19 -4
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +19 -4
- package/src/components/Empty/index.tsx +1 -2
- package/src/components/Icon/HeroIcon/fonts/hero-icons.ttf +0 -0
- package/src/components/Icon/HeroIcon/glyphMap.json +1 -0
- package/src/components/Icon/HeroIcon/index.tsx +3 -7
- package/src/components/Icon/IconList.ts +8 -5
- package/src/components/Icon/index.tsx +1 -0
- package/src/components/RefreshControl/__tests__/__snapshots__/index.spec.tsx.snap +69 -0
- package/src/components/RefreshControl/__tests__/index.spec.tsx +55 -0
- package/src/components/RefreshControl/index.tsx +23 -0
- package/src/components/RichTextEditor/MentionList.tsx +25 -4
- package/src/components/RichTextEditor/RichTextEditor.tsx +3 -4
- package/src/components/RichTextEditor/__tests__/MentionList.spec.tsx +6 -6
- package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +38 -8
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +8 -4
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +95 -20
- package/src/components/Select/MultiSelect/index.tsx +1 -1
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +8 -4
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +95 -20
- package/src/components/Select/SingleSelect/index.tsx +1 -1
- package/src/components/Select/types.ts +1 -3
- package/src/components/Spinner/AnimatedSpinner.tsx +22 -7
- package/src/components/Spinner/StyledSpinner.tsx +16 -11
- package/src/components/Spinner/__tests__/AnimatedSpinner.spec.tsx +3 -1
- package/src/components/Spinner/__tests__/StyledSpinner.spec.tsx +42 -31
- package/src/components/Spinner/__tests__/__snapshots__/AnimatedSpinner.spec.tsx.snap +8 -4
- package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +532 -72
- package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +8 -4
- package/src/components/Spinner/index.tsx +6 -1
- package/src/components/Swipeable/StyledSwipeable.tsx +11 -0
- package/src/components/Swipeable/SwipeableAction.tsx +45 -0
- package/src/components/Swipeable/__tests__/SwipeableAction.spec.tsx +37 -0
- package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +130 -0
- package/src/components/Swipeable/__tests__/__snapshots__/index.spec.tsx.snap +33 -0
- package/src/components/Swipeable/__tests__/index.spec.tsx +34 -0
- package/src/components/Swipeable/index.tsx +148 -0
- package/src/components/TextInput/StyledTextInput.tsx +18 -19
- package/src/components/TextInput/__tests__/StyledTextInput.spec.tsx +14 -8
- package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +52 -150
- package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +247 -52
- package/src/components/TextInput/__tests__/index.spec.tsx +114 -124
- package/src/components/TextInput/index.tsx +27 -9
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +19 -4
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +19 -4
- package/src/index.ts +8 -0
- package/src/theme/ThemeSwitcher.tsx +9 -2
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +20 -9
- package/src/theme/components/refreshControl.ts +11 -0
- package/src/theme/components/richTextEditor.ts +6 -5
- package/src/theme/components/spinner.ts +4 -1
- package/src/theme/components/swipeable.ts +13 -0
- package/src/theme/components/textInput.ts +0 -5
- package/src/theme/getTheme.ts +6 -0
- package/src/theme/global/colors/jobs.ts +17 -0
- package/src/theme/global/colors/work.ts +0 -2
- package/src/theme/global/index.ts +8 -1
- package/src/theme/index.ts +6 -1
- package/src/types.ts +2 -0
- package/src/utils/__tests__/helpers.spec.ts +27 -0
- package/src/utils/helpers.ts +21 -0
- package/testUtils/setup.tsx +13 -0
- package/tsconfig.prod.json +4 -0
- package/types/components/Empty/index.d.ts +1 -2
- package/types/components/Icon/IconList.d.ts +1 -1
- package/types/components/Icon/index.d.ts +4 -1
- package/types/components/Icon/utils.d.ts +1 -1
- package/types/components/RefreshControl/index.d.ts +5 -0
- package/types/components/RichTextEditor/MentionList.d.ts +7 -3
- package/types/components/RichTextEditor/index.d.ts +1 -1
- package/types/components/Select/types.d.ts +1 -3
- package/types/components/Spinner/AnimatedSpinner.d.ts +2 -1
- package/types/components/Spinner/StyledSpinner.d.ts +1 -0
- package/types/components/Spinner/index.d.ts +5 -1
- package/types/components/Swipeable/StyledSwipeable.d.ts +10 -0
- package/types/components/Swipeable/SwipeableAction.d.ts +27 -0
- package/types/components/Swipeable/index.d.ts +41 -0
- package/types/components/TextInput/StyledTextInput.d.ts +11 -4
- package/types/components/TextInput/index.d.ts +1 -1
- package/types/index.d.ts +4 -2
- package/types/theme/ThemeSwitcher.d.ts +1 -1
- package/types/theme/components/refreshControl.d.ts +7 -0
- package/types/theme/components/richTextEditor.d.ts +4 -3
- package/types/theme/components/spinner.d.ts +4 -1
- package/types/theme/components/swipeable.d.ts +9 -0
- package/types/theme/components/textInput.d.ts +0 -5
- package/types/theme/getTheme.d.ts +4 -0
- package/types/theme/global/colors/jobs.d.ts +3 -0
- package/types/theme/global/index.d.ts +2 -1
- package/types/theme/index.d.ts +2 -2
- package/types/types.d.ts +2 -1
- package/types/utils/helpers.d.ts +2 -0
- package/src/components/Box/__tests__/helpers.spec.ts +0 -14
- package/src/components/Box/helpers.ts +0 -10
- package/src/components/Icon/HeroIcon/selection.json +0 -7029
- package/types/components/Accordion/__tests__/AccordionItem.spec.d.ts +0 -1
- package/types/components/Accordion/__tests__/StyledAccordion.spec.d.ts +0 -1
- package/types/components/Accordion/__tests__/index.spec.d.ts +0 -1
- package/types/components/Alert/__tests__/index.spec.d.ts +0 -1
- package/types/components/Avatar/__tests__/StyledAvatar.spec.d.ts +0 -1
- package/types/components/Avatar/__tests__/index.spec.d.ts +0 -1
- package/types/components/Badge/__tests__/Badge.spec.d.ts +0 -1
- package/types/components/Badge/__tests__/Status.spec.d.ts +0 -1
- package/types/components/BottomNavigation/__tests__/index.spec.d.ts +0 -1
- package/types/components/BottomSheet/__tests__/index.spec.d.ts +0 -1
- package/types/components/Box/__tests__/helpers.spec.d.ts +0 -1
- package/types/components/Box/__tests__/index.spec.d.ts +0 -1
- package/types/components/Box/helpers.d.ts +0 -1
- package/types/components/Button/LoadingIndicator/__tests__/StyledLoadingIndicator.spec.d.ts +0 -1
- package/types/components/Button/LoadingIndicator/__tests__/index.spec.d.ts +0 -1
- package/types/components/Button/UtilityButton/__tests__/index.spec.d.ts +0 -1
- package/types/components/Button/__tests__/Button.spec.d.ts +0 -1
- package/types/components/Button/__tests__/IconButton.spec.d.ts +0 -1
- package/types/components/Button/__tests__/StyledButton.spec.d.ts +0 -1
- package/types/components/Calendar/__tests__/CalendarRowItem.spec.d.ts +0 -1
- package/types/components/Calendar/__tests__/helper.spec.d.ts +0 -1
- package/types/components/Calendar/__tests__/index.spec.d.ts +0 -1
- package/types/components/Card/DataCard/__tests__/StyledDataCard.spec.d.ts +0 -1
- package/types/components/Card/DataCard/__tests__/index.spec.d.ts +0 -1
- package/types/components/Card/__tests__/StyledCard.spec.d.ts +0 -1
- package/types/components/Card/__tests__/index.spec.d.ts +0 -1
- package/types/components/Checkbox/__tests__/StyledCheckbox.spec.d.ts +0 -1
- package/types/components/Checkbox/__tests__/index.spec.d.ts +0 -1
- package/types/components/Collapse/__tests__/StyledCollapse.spec.d.ts +0 -1
- package/types/components/Collapse/__tests__/index.spec.d.ts +0 -1
- package/types/components/ContentNavigator/__tests__/StyledContentNavigator.spec.d.ts +0 -1
- package/types/components/ContentNavigator/__tests__/index.spec.d.ts +0 -1
- package/types/components/DatePicker/__tests__/DatePicker.spec.d.ts +0 -1
- package/types/components/DatePicker/__tests__/DatePickerAndroid.spec.d.ts +0 -1
- package/types/components/DatePicker/__tests__/DatePickerIOS.spec.d.ts +0 -1
- package/types/components/Divider/__tests__/StyledDivider.spec.d.ts +0 -1
- package/types/components/Drawer/DragableDrawer/__tests__/helpers.spec.d.ts +0 -1
- package/types/components/Drawer/DragableDrawer/__tests__/index.spec.d.ts +0 -1
- package/types/components/Drawer/__tests__/index.spec.d.ts +0 -1
- package/types/components/Empty/__tests__/index.spec.d.ts +0 -1
- package/types/components/FAB/ActionGroup/__tests__/index.spec.d.ts +0 -1
- package/types/components/FAB/__tests__/AnimatedFABIcon.spec.d.ts +0 -1
- package/types/components/FAB/__tests__/StyledFAB.spec.d.ts +0 -1
- package/types/components/FAB/__tests__/index.spec.d.ts +0 -1
- package/types/components/Icon/__tests__/index.spec.d.ts +0 -1
- package/types/components/Image/__tests__/index.spec.d.ts +0 -1
- package/types/components/List/__tests__/BasicListItem.spec.d.ts +0 -1
- package/types/components/List/__tests__/ListItem.spec.d.ts +0 -1
- package/types/components/List/__tests__/StyledBasicListItem.spec.d.ts +0 -1
- package/types/components/List/__tests__/StyledListItem.spec.d.ts +0 -1
- package/types/components/PinInput/__tests__/PinCell.spec.d.ts +0 -1
- package/types/components/PinInput/__tests__/StyledPinInput.spec.d.ts +0 -1
- package/types/components/PinInput/__tests__/index.spec.d.ts +0 -1
- package/types/components/Radio/__tests__/Radio.spec.d.ts +0 -1
- package/types/components/Radio/__tests__/RadioGroup.spec.d.ts +0 -1
- package/types/components/RichTextEditor/__tests__/EditorToolbar.spec.d.ts +0 -1
- package/types/components/RichTextEditor/__tests__/MentionList.spec.d.ts +0 -1
- package/types/components/RichTextEditor/__tests__/RichTextEditor.spec.d.ts +0 -1
- package/types/components/SectionHeading/__tests__/StyledHeading.spec.d.ts +0 -1
- package/types/components/SectionHeading/__tests__/index.spec.d.ts +0 -1
- package/types/components/Select/MultiSelect/__tests__/Option.spec.d.ts +0 -1
- package/types/components/Select/MultiSelect/__tests__/OptionList.spec.d.ts +0 -1
- package/types/components/Select/MultiSelect/__tests__/index.spec.d.ts +0 -1
- package/types/components/Select/SingleSelect/__tests__/Option.spec.d.ts +0 -1
- package/types/components/Select/SingleSelect/__tests__/OptionList.spec.d.ts +0 -1
- package/types/components/Select/SingleSelect/__tests__/index.spec.d.ts +0 -1
- package/types/components/Select/__tests__/StyledSelect.spec.d.ts +0 -1
- package/types/components/Select/__tests__/helpers.spec.d.ts +0 -1
- package/types/components/Slider/__tests__/index.spec.d.ts +0 -1
- package/types/components/Spinner/__tests__/AnimatedSpinner.spec.d.ts +0 -1
- package/types/components/Spinner/__tests__/StyledSpinner.spec.d.ts +0 -1
- package/types/components/Spinner/__tests__/index.spec.d.ts +0 -1
- package/types/components/Switch/SelectorSwitch/__tests__/Option.spec.d.ts +0 -1
- package/types/components/Switch/SelectorSwitch/__tests__/index.spec.d.ts +0 -1
- package/types/components/Switch/__tests__/StyledSwitch.spec.d.ts +0 -1
- package/types/components/Switch/__tests__/index.spec.d.ts +0 -1
- package/types/components/Tabs/__tests__/ScrollableTabs.spec.d.ts +0 -1
- package/types/components/Tabs/__tests__/TabWithBadge.spec.d.ts +0 -1
- package/types/components/Tabs/__tests__/index.spec.d.ts +0 -1
- package/types/components/Tag/__tests__/Tag.spec.d.ts +0 -1
- package/types/components/TextInput/__tests__/StyledTextInput.spec.d.ts +0 -1
- package/types/components/TextInput/__tests__/index.spec.d.ts +0 -1
- package/types/components/TimePicker/__tests__/TimePicker.spec.d.ts +0 -1
- package/types/components/TimePicker/__tests__/TimePickerAndroid.spec.d.ts +0 -1
- package/types/components/TimePicker/__tests__/TimePickerIOS.spec.d.ts +0 -1
- package/types/components/Toast/__tests__/Toast.spec.d.ts +0 -1
- package/types/components/Toast/__tests__/ToastContainer.spec.d.ts +0 -1
- package/types/components/Toast/__tests__/index.spec.d.ts +0 -1
- package/types/components/Toolbar/__tests__/ToolbarGroup.spec.d.ts +0 -1
- package/types/components/Toolbar/__tests__/ToolbarItem.spec.d.ts +0 -1
- package/types/components/Typography/Text/__tests__/StyledText.spec.d.ts +0 -1
- package/types/components/Typography/Text/__tests__/index.spec.d.ts +0 -1
- package/types/theme/__tests__/index.spec.d.ts +0 -1
- package/types/utils/__tests__/scale.spec.d.ts +0 -1
|
@@ -6,16 +6,12 @@ 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,
|
|
12
9
|
"marginVertical": 8,
|
|
13
10
|
"width": "100%",
|
|
14
11
|
},
|
|
15
12
|
undefined,
|
|
16
13
|
]
|
|
17
14
|
}
|
|
18
|
-
themeVariant="filled"
|
|
19
15
|
>
|
|
20
16
|
<View
|
|
21
17
|
style={
|
|
@@ -29,6 +25,25 @@ exports[`TextInput defaultValue TextInput is idle renders correctly 1`] = `
|
|
|
29
25
|
]
|
|
30
26
|
}
|
|
31
27
|
>
|
|
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
|
+
themeFocused={false}
|
|
45
|
+
themeVariant="filled"
|
|
46
|
+
/>
|
|
32
47
|
<View
|
|
33
48
|
pointerEvents="none"
|
|
34
49
|
style={
|
|
@@ -246,16 +261,12 @@ exports[`TextInput defaultValue default Value and Value renders correctly with 2
|
|
|
246
261
|
style={
|
|
247
262
|
Array [
|
|
248
263
|
Object {
|
|
249
|
-
"borderColor": "#001f23",
|
|
250
|
-
"borderRadius": 8,
|
|
251
|
-
"borderWidth": 1,
|
|
252
264
|
"marginVertical": 8,
|
|
253
265
|
"width": "100%",
|
|
254
266
|
},
|
|
255
267
|
undefined,
|
|
256
268
|
]
|
|
257
269
|
}
|
|
258
|
-
themeVariant="filled"
|
|
259
270
|
>
|
|
260
271
|
<View
|
|
261
272
|
style={
|
|
@@ -269,6 +280,25 @@ exports[`TextInput defaultValue default Value and Value renders correctly with 2
|
|
|
269
280
|
]
|
|
270
281
|
}
|
|
271
282
|
>
|
|
283
|
+
<View
|
|
284
|
+
style={
|
|
285
|
+
Array [
|
|
286
|
+
Object {
|
|
287
|
+
"borderColor": "#001f23",
|
|
288
|
+
"borderRadius": 8,
|
|
289
|
+
"borderWidth": 1,
|
|
290
|
+
"bottom": 0,
|
|
291
|
+
"left": 0,
|
|
292
|
+
"position": "absolute",
|
|
293
|
+
"right": 0,
|
|
294
|
+
"top": 0,
|
|
295
|
+
},
|
|
296
|
+
undefined,
|
|
297
|
+
]
|
|
298
|
+
}
|
|
299
|
+
themeFocused={false}
|
|
300
|
+
themeVariant="filled"
|
|
301
|
+
/>
|
|
272
302
|
<View
|
|
273
303
|
pointerEvents="none"
|
|
274
304
|
style={
|
|
@@ -487,9 +517,6 @@ exports[`TextInput disabled renders correctly 1`] = `
|
|
|
487
517
|
style={
|
|
488
518
|
Array [
|
|
489
519
|
Object {
|
|
490
|
-
"borderColor": "#bfc1c5",
|
|
491
|
-
"borderRadius": 8,
|
|
492
|
-
"borderWidth": 1,
|
|
493
520
|
"marginVertical": 8,
|
|
494
521
|
"width": "100%",
|
|
495
522
|
},
|
|
@@ -497,7 +524,6 @@ exports[`TextInput disabled renders correctly 1`] = `
|
|
|
497
524
|
]
|
|
498
525
|
}
|
|
499
526
|
testID="disabled-text-input"
|
|
500
|
-
themeVariant="disabled"
|
|
501
527
|
>
|
|
502
528
|
<View
|
|
503
529
|
style={
|
|
@@ -511,6 +537,25 @@ exports[`TextInput disabled renders correctly 1`] = `
|
|
|
511
537
|
]
|
|
512
538
|
}
|
|
513
539
|
>
|
|
540
|
+
<View
|
|
541
|
+
style={
|
|
542
|
+
Array [
|
|
543
|
+
Object {
|
|
544
|
+
"borderColor": "#bfc1c5",
|
|
545
|
+
"borderRadius": 8,
|
|
546
|
+
"borderWidth": 1,
|
|
547
|
+
"bottom": 0,
|
|
548
|
+
"left": 0,
|
|
549
|
+
"position": "absolute",
|
|
550
|
+
"right": 0,
|
|
551
|
+
"top": 0,
|
|
552
|
+
},
|
|
553
|
+
undefined,
|
|
554
|
+
]
|
|
555
|
+
}
|
|
556
|
+
themeFocused={false}
|
|
557
|
+
themeVariant="disabled"
|
|
558
|
+
/>
|
|
514
559
|
<View
|
|
515
560
|
pointerEvents="none"
|
|
516
561
|
style={
|
|
@@ -654,16 +699,12 @@ exports[`TextInput error renders correctly 1`] = `
|
|
|
654
699
|
style={
|
|
655
700
|
Array [
|
|
656
701
|
Object {
|
|
657
|
-
"borderColor": "#f46363",
|
|
658
|
-
"borderRadius": 8,
|
|
659
|
-
"borderWidth": 1,
|
|
660
702
|
"marginVertical": 8,
|
|
661
703
|
"width": "100%",
|
|
662
704
|
},
|
|
663
705
|
undefined,
|
|
664
706
|
]
|
|
665
707
|
}
|
|
666
|
-
themeVariant="error"
|
|
667
708
|
>
|
|
668
709
|
<View
|
|
669
710
|
style={
|
|
@@ -677,6 +718,25 @@ exports[`TextInput error renders correctly 1`] = `
|
|
|
677
718
|
]
|
|
678
719
|
}
|
|
679
720
|
>
|
|
721
|
+
<View
|
|
722
|
+
style={
|
|
723
|
+
Array [
|
|
724
|
+
Object {
|
|
725
|
+
"borderColor": "#f46363",
|
|
726
|
+
"borderRadius": 8,
|
|
727
|
+
"borderWidth": 1,
|
|
728
|
+
"bottom": 0,
|
|
729
|
+
"left": 0,
|
|
730
|
+
"position": "absolute",
|
|
731
|
+
"right": 0,
|
|
732
|
+
"top": 0,
|
|
733
|
+
},
|
|
734
|
+
undefined,
|
|
735
|
+
]
|
|
736
|
+
}
|
|
737
|
+
themeFocused={false}
|
|
738
|
+
themeVariant="error"
|
|
739
|
+
/>
|
|
680
740
|
<HeroIcon
|
|
681
741
|
name="dollar-sign"
|
|
682
742
|
style={
|
|
@@ -898,16 +958,12 @@ exports[`TextInput filled renders correctly 1`] = `
|
|
|
898
958
|
style={
|
|
899
959
|
Array [
|
|
900
960
|
Object {
|
|
901
|
-
"borderColor": "#001f23",
|
|
902
|
-
"borderRadius": 8,
|
|
903
|
-
"borderWidth": 1,
|
|
904
961
|
"marginVertical": 8,
|
|
905
962
|
"width": "100%",
|
|
906
963
|
},
|
|
907
964
|
undefined,
|
|
908
965
|
]
|
|
909
966
|
}
|
|
910
|
-
themeVariant="filled"
|
|
911
967
|
>
|
|
912
968
|
<View
|
|
913
969
|
style={
|
|
@@ -921,6 +977,25 @@ exports[`TextInput filled renders correctly 1`] = `
|
|
|
921
977
|
]
|
|
922
978
|
}
|
|
923
979
|
>
|
|
980
|
+
<View
|
|
981
|
+
style={
|
|
982
|
+
Array [
|
|
983
|
+
Object {
|
|
984
|
+
"borderColor": "#001f23",
|
|
985
|
+
"borderRadius": 8,
|
|
986
|
+
"borderWidth": 1,
|
|
987
|
+
"bottom": 0,
|
|
988
|
+
"left": 0,
|
|
989
|
+
"position": "absolute",
|
|
990
|
+
"right": 0,
|
|
991
|
+
"top": 0,
|
|
992
|
+
},
|
|
993
|
+
undefined,
|
|
994
|
+
]
|
|
995
|
+
}
|
|
996
|
+
themeFocused={false}
|
|
997
|
+
themeVariant="filled"
|
|
998
|
+
/>
|
|
924
999
|
<View
|
|
925
1000
|
pointerEvents="none"
|
|
926
1001
|
style={
|
|
@@ -1069,16 +1144,12 @@ exports[`TextInput helper text renders correctly 1`] = `
|
|
|
1069
1144
|
style={
|
|
1070
1145
|
Array [
|
|
1071
1146
|
Object {
|
|
1072
|
-
"borderColor": "#001f23",
|
|
1073
|
-
"borderRadius": 8,
|
|
1074
|
-
"borderWidth": 1,
|
|
1075
1147
|
"marginVertical": 8,
|
|
1076
1148
|
"width": "100%",
|
|
1077
1149
|
},
|
|
1078
1150
|
undefined,
|
|
1079
1151
|
]
|
|
1080
1152
|
}
|
|
1081
|
-
themeVariant="default"
|
|
1082
1153
|
>
|
|
1083
1154
|
<View
|
|
1084
1155
|
style={
|
|
@@ -1092,6 +1163,25 @@ exports[`TextInput helper text renders correctly 1`] = `
|
|
|
1092
1163
|
]
|
|
1093
1164
|
}
|
|
1094
1165
|
>
|
|
1166
|
+
<View
|
|
1167
|
+
style={
|
|
1168
|
+
Array [
|
|
1169
|
+
Object {
|
|
1170
|
+
"borderColor": "#001f23",
|
|
1171
|
+
"borderRadius": 8,
|
|
1172
|
+
"borderWidth": 1,
|
|
1173
|
+
"bottom": 0,
|
|
1174
|
+
"left": 0,
|
|
1175
|
+
"position": "absolute",
|
|
1176
|
+
"right": 0,
|
|
1177
|
+
"top": 0,
|
|
1178
|
+
},
|
|
1179
|
+
undefined,
|
|
1180
|
+
]
|
|
1181
|
+
}
|
|
1182
|
+
themeFocused={false}
|
|
1183
|
+
themeVariant="default"
|
|
1184
|
+
/>
|
|
1095
1185
|
<HeroIcon
|
|
1096
1186
|
name="dollar-sign"
|
|
1097
1187
|
style={
|
|
@@ -1279,9 +1369,6 @@ exports[`TextInput idle renders correctly 1`] = `
|
|
|
1279
1369
|
style={
|
|
1280
1370
|
Array [
|
|
1281
1371
|
Object {
|
|
1282
|
-
"borderColor": "#001f23",
|
|
1283
|
-
"borderRadius": 8,
|
|
1284
|
-
"borderWidth": 1,
|
|
1285
1372
|
"marginVertical": 8,
|
|
1286
1373
|
"width": "100%",
|
|
1287
1374
|
},
|
|
@@ -1291,7 +1378,6 @@ exports[`TextInput idle renders correctly 1`] = `
|
|
|
1291
1378
|
]
|
|
1292
1379
|
}
|
|
1293
1380
|
testID="idle-text-input"
|
|
1294
|
-
themeVariant="default"
|
|
1295
1381
|
>
|
|
1296
1382
|
<View
|
|
1297
1383
|
style={
|
|
@@ -1305,6 +1391,25 @@ exports[`TextInput idle renders correctly 1`] = `
|
|
|
1305
1391
|
]
|
|
1306
1392
|
}
|
|
1307
1393
|
>
|
|
1394
|
+
<View
|
|
1395
|
+
style={
|
|
1396
|
+
Array [
|
|
1397
|
+
Object {
|
|
1398
|
+
"borderColor": "#001f23",
|
|
1399
|
+
"borderRadius": 8,
|
|
1400
|
+
"borderWidth": 1,
|
|
1401
|
+
"bottom": 0,
|
|
1402
|
+
"left": 0,
|
|
1403
|
+
"position": "absolute",
|
|
1404
|
+
"right": 0,
|
|
1405
|
+
"top": 0,
|
|
1406
|
+
},
|
|
1407
|
+
undefined,
|
|
1408
|
+
]
|
|
1409
|
+
}
|
|
1410
|
+
themeFocused={false}
|
|
1411
|
+
themeVariant="default"
|
|
1412
|
+
/>
|
|
1308
1413
|
<HeroIcon
|
|
1309
1414
|
name="dollar-sign"
|
|
1310
1415
|
style={
|
|
@@ -1457,16 +1562,12 @@ exports[`TextInput idle with suffix and prefix are React Element renders correct
|
|
|
1457
1562
|
style={
|
|
1458
1563
|
Array [
|
|
1459
1564
|
Object {
|
|
1460
|
-
"borderColor": "#001f23",
|
|
1461
|
-
"borderRadius": 8,
|
|
1462
|
-
"borderWidth": 1,
|
|
1463
1565
|
"marginVertical": 8,
|
|
1464
1566
|
"width": "100%",
|
|
1465
1567
|
},
|
|
1466
1568
|
undefined,
|
|
1467
1569
|
]
|
|
1468
1570
|
}
|
|
1469
|
-
themeVariant="default"
|
|
1470
1571
|
>
|
|
1471
1572
|
<View
|
|
1472
1573
|
style={
|
|
@@ -1480,6 +1581,25 @@ exports[`TextInput idle with suffix and prefix are React Element renders correct
|
|
|
1480
1581
|
]
|
|
1481
1582
|
}
|
|
1482
1583
|
>
|
|
1584
|
+
<View
|
|
1585
|
+
style={
|
|
1586
|
+
Array [
|
|
1587
|
+
Object {
|
|
1588
|
+
"borderColor": "#001f23",
|
|
1589
|
+
"borderRadius": 8,
|
|
1590
|
+
"borderWidth": 1,
|
|
1591
|
+
"bottom": 0,
|
|
1592
|
+
"left": 0,
|
|
1593
|
+
"position": "absolute",
|
|
1594
|
+
"right": 0,
|
|
1595
|
+
"top": 0,
|
|
1596
|
+
},
|
|
1597
|
+
undefined,
|
|
1598
|
+
]
|
|
1599
|
+
}
|
|
1600
|
+
themeFocused={false}
|
|
1601
|
+
themeVariant="default"
|
|
1602
|
+
/>
|
|
1483
1603
|
<HeroIcon
|
|
1484
1604
|
name="eye-circle"
|
|
1485
1605
|
style={
|
|
@@ -1658,16 +1778,12 @@ exports[`TextInput loading renders correctly 1`] = `
|
|
|
1658
1778
|
style={
|
|
1659
1779
|
Array [
|
|
1660
1780
|
Object {
|
|
1661
|
-
"borderColor": "#808f91",
|
|
1662
|
-
"borderRadius": 8,
|
|
1663
|
-
"borderWidth": 1,
|
|
1664
1781
|
"marginVertical": 8,
|
|
1665
1782
|
"width": "100%",
|
|
1666
1783
|
},
|
|
1667
1784
|
undefined,
|
|
1668
1785
|
]
|
|
1669
1786
|
}
|
|
1670
|
-
themeVariant="readonly"
|
|
1671
1787
|
>
|
|
1672
1788
|
<View
|
|
1673
1789
|
style={
|
|
@@ -1681,6 +1797,25 @@ exports[`TextInput loading renders correctly 1`] = `
|
|
|
1681
1797
|
]
|
|
1682
1798
|
}
|
|
1683
1799
|
>
|
|
1800
|
+
<View
|
|
1801
|
+
style={
|
|
1802
|
+
Array [
|
|
1803
|
+
Object {
|
|
1804
|
+
"borderColor": "#808f91",
|
|
1805
|
+
"borderRadius": 8,
|
|
1806
|
+
"borderWidth": 1,
|
|
1807
|
+
"bottom": 0,
|
|
1808
|
+
"left": 0,
|
|
1809
|
+
"position": "absolute",
|
|
1810
|
+
"right": 0,
|
|
1811
|
+
"top": 0,
|
|
1812
|
+
},
|
|
1813
|
+
undefined,
|
|
1814
|
+
]
|
|
1815
|
+
}
|
|
1816
|
+
themeFocused={false}
|
|
1817
|
+
themeVariant="readonly"
|
|
1818
|
+
/>
|
|
1684
1819
|
<View
|
|
1685
1820
|
style={
|
|
1686
1821
|
Array [
|
|
@@ -1801,16 +1936,12 @@ exports[`TextInput max length renders correctly 1`] = `
|
|
|
1801
1936
|
style={
|
|
1802
1937
|
Array [
|
|
1803
1938
|
Object {
|
|
1804
|
-
"borderColor": "#f46363",
|
|
1805
|
-
"borderRadius": 8,
|
|
1806
|
-
"borderWidth": 1,
|
|
1807
1939
|
"marginVertical": 8,
|
|
1808
1940
|
"width": "100%",
|
|
1809
1941
|
},
|
|
1810
1942
|
undefined,
|
|
1811
1943
|
]
|
|
1812
1944
|
}
|
|
1813
|
-
themeVariant="error"
|
|
1814
1945
|
>
|
|
1815
1946
|
<View
|
|
1816
1947
|
style={
|
|
@@ -1824,6 +1955,25 @@ exports[`TextInput max length renders correctly 1`] = `
|
|
|
1824
1955
|
]
|
|
1825
1956
|
}
|
|
1826
1957
|
>
|
|
1958
|
+
<View
|
|
1959
|
+
style={
|
|
1960
|
+
Array [
|
|
1961
|
+
Object {
|
|
1962
|
+
"borderColor": "#f46363",
|
|
1963
|
+
"borderRadius": 8,
|
|
1964
|
+
"borderWidth": 1,
|
|
1965
|
+
"bottom": 0,
|
|
1966
|
+
"left": 0,
|
|
1967
|
+
"position": "absolute",
|
|
1968
|
+
"right": 0,
|
|
1969
|
+
"top": 0,
|
|
1970
|
+
},
|
|
1971
|
+
undefined,
|
|
1972
|
+
]
|
|
1973
|
+
}
|
|
1974
|
+
themeFocused={false}
|
|
1975
|
+
themeVariant="error"
|
|
1976
|
+
/>
|
|
1827
1977
|
<View
|
|
1828
1978
|
pointerEvents="none"
|
|
1829
1979
|
style={
|
|
@@ -2060,16 +2210,12 @@ exports[`TextInput placeholder TextInput is idle renders correctly 1`] = `
|
|
|
2060
2210
|
style={
|
|
2061
2211
|
Array [
|
|
2062
2212
|
Object {
|
|
2063
|
-
"borderColor": "#001f23",
|
|
2064
|
-
"borderRadius": 8,
|
|
2065
|
-
"borderWidth": 1,
|
|
2066
2213
|
"marginVertical": 8,
|
|
2067
2214
|
"width": "100%",
|
|
2068
2215
|
},
|
|
2069
2216
|
undefined,
|
|
2070
2217
|
]
|
|
2071
2218
|
}
|
|
2072
|
-
themeVariant="default"
|
|
2073
2219
|
>
|
|
2074
2220
|
<View
|
|
2075
2221
|
style={
|
|
@@ -2083,6 +2229,25 @@ exports[`TextInput placeholder TextInput is idle renders correctly 1`] = `
|
|
|
2083
2229
|
]
|
|
2084
2230
|
}
|
|
2085
2231
|
>
|
|
2232
|
+
<View
|
|
2233
|
+
style={
|
|
2234
|
+
Array [
|
|
2235
|
+
Object {
|
|
2236
|
+
"borderColor": "#001f23",
|
|
2237
|
+
"borderRadius": 8,
|
|
2238
|
+
"borderWidth": 1,
|
|
2239
|
+
"bottom": 0,
|
|
2240
|
+
"left": 0,
|
|
2241
|
+
"position": "absolute",
|
|
2242
|
+
"right": 0,
|
|
2243
|
+
"top": 0,
|
|
2244
|
+
},
|
|
2245
|
+
undefined,
|
|
2246
|
+
]
|
|
2247
|
+
}
|
|
2248
|
+
themeFocused={false}
|
|
2249
|
+
themeVariant="default"
|
|
2250
|
+
/>
|
|
2086
2251
|
<HeroIcon
|
|
2087
2252
|
name="dollar-sign"
|
|
2088
2253
|
style={
|
|
@@ -2270,16 +2435,12 @@ exports[`TextInput readonly renders correctly 1`] = `
|
|
|
2270
2435
|
style={
|
|
2271
2436
|
Array [
|
|
2272
2437
|
Object {
|
|
2273
|
-
"borderColor": "#808f91",
|
|
2274
|
-
"borderRadius": 8,
|
|
2275
|
-
"borderWidth": 1,
|
|
2276
2438
|
"marginVertical": 8,
|
|
2277
2439
|
"width": "100%",
|
|
2278
2440
|
},
|
|
2279
2441
|
undefined,
|
|
2280
2442
|
]
|
|
2281
2443
|
}
|
|
2282
|
-
themeVariant="readonly"
|
|
2283
2444
|
>
|
|
2284
2445
|
<View
|
|
2285
2446
|
style={
|
|
@@ -2293,6 +2454,25 @@ exports[`TextInput readonly renders correctly 1`] = `
|
|
|
2293
2454
|
]
|
|
2294
2455
|
}
|
|
2295
2456
|
>
|
|
2457
|
+
<View
|
|
2458
|
+
style={
|
|
2459
|
+
Array [
|
|
2460
|
+
Object {
|
|
2461
|
+
"borderColor": "#808f91",
|
|
2462
|
+
"borderRadius": 8,
|
|
2463
|
+
"borderWidth": 1,
|
|
2464
|
+
"bottom": 0,
|
|
2465
|
+
"left": 0,
|
|
2466
|
+
"position": "absolute",
|
|
2467
|
+
"right": 0,
|
|
2468
|
+
"top": 0,
|
|
2469
|
+
},
|
|
2470
|
+
undefined,
|
|
2471
|
+
]
|
|
2472
|
+
}
|
|
2473
|
+
themeFocused={false}
|
|
2474
|
+
themeVariant="readonly"
|
|
2475
|
+
/>
|
|
2296
2476
|
<View
|
|
2297
2477
|
pointerEvents="none"
|
|
2298
2478
|
style={
|
|
@@ -2466,16 +2646,12 @@ exports[`TextInput required renders correctly 1`] = `
|
|
|
2466
2646
|
style={
|
|
2467
2647
|
Array [
|
|
2468
2648
|
Object {
|
|
2469
|
-
"borderColor": "#001f23",
|
|
2470
|
-
"borderRadius": 8,
|
|
2471
|
-
"borderWidth": 1,
|
|
2472
2649
|
"marginVertical": 8,
|
|
2473
2650
|
"width": "100%",
|
|
2474
2651
|
},
|
|
2475
2652
|
undefined,
|
|
2476
2653
|
]
|
|
2477
2654
|
}
|
|
2478
|
-
themeVariant="default"
|
|
2479
2655
|
>
|
|
2480
2656
|
<View
|
|
2481
2657
|
style={
|
|
@@ -2489,6 +2665,25 @@ exports[`TextInput required renders correctly 1`] = `
|
|
|
2489
2665
|
]
|
|
2490
2666
|
}
|
|
2491
2667
|
>
|
|
2668
|
+
<View
|
|
2669
|
+
style={
|
|
2670
|
+
Array [
|
|
2671
|
+
Object {
|
|
2672
|
+
"borderColor": "#001f23",
|
|
2673
|
+
"borderRadius": 8,
|
|
2674
|
+
"borderWidth": 1,
|
|
2675
|
+
"bottom": 0,
|
|
2676
|
+
"left": 0,
|
|
2677
|
+
"position": "absolute",
|
|
2678
|
+
"right": 0,
|
|
2679
|
+
"top": 0,
|
|
2680
|
+
},
|
|
2681
|
+
undefined,
|
|
2682
|
+
]
|
|
2683
|
+
}
|
|
2684
|
+
themeFocused={false}
|
|
2685
|
+
themeVariant="default"
|
|
2686
|
+
/>
|
|
2492
2687
|
<HeroIcon
|
|
2493
2688
|
name="dollar-sign"
|
|
2494
2689
|
style={
|