@hero-design/rn 7.23.0 → 7.25.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 +2 -2
- package/assets/fonts/hero-icons.ttf +0 -0
- package/es/index.js +1364 -9239
- package/lib/assets/fonts/hero-icons.ttf +0 -0
- package/lib/index.js +1368 -9238
- package/package.json +7 -4
- package/rollup.config.js +1 -0
- package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +4 -4
- package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +6 -6
- package/src/components/Attachment/StyledAttachment.tsx +44 -0
- package/src/components/Attachment/__tests__/__snapshots__/index.spec.tsx.snap +158 -0
- package/src/components/Attachment/__tests__/index.spec.tsx +59 -0
- package/src/components/Attachment/index.tsx +77 -0
- 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/Badge/Status.tsx +1 -1
- package/src/components/Badge/StyledBadge.tsx +8 -1
- package/src/components/Badge/__tests__/Badge.spec.tsx +9 -0
- package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +44 -0
- package/src/components/Badge/index.tsx +1 -1
- package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
- package/src/components/BottomSheet/Header.tsx +2 -1
- package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +52 -52
- package/src/components/BottomSheet/index.tsx +4 -4
- package/src/components/Button/Button.tsx +0 -11
- package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/StyledLoadingIndicator.spec.tsx.snap +4 -4
- package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +12 -12
- package/src/components/Button/LoadingIndicator/index.tsx +1 -1
- package/src/components/Button/StyledButton.tsx +24 -63
- package/src/components/Button/UtilityButton/__tests__/index.spec.tsx +2 -2
- package/src/components/Button/__tests__/Button.spec.tsx +10 -5
- package/src/components/Button/__tests__/StyledButton.spec.tsx +0 -70
- package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +301 -1206
- package/src/components/Calendar/CalendarRowItem.tsx +1 -4
- package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +5 -5
- package/src/components/Calendar/index.tsx +4 -3
- package/src/components/Card/DataCard/__tests__/__snapshots__/StyledDataCard.spec.tsx.snap +1 -1
- 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/StyledCheckbox.tsx +7 -5
- package/src/components/Checkbox/__tests__/__snapshots__/StyledCheckbox.spec.tsx.snap +4 -12
- package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +95 -42
- package/src/components/Checkbox/index.tsx +4 -2
- package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
- package/src/components/ContentNavigator/index.tsx +14 -9
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +2 -0
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +29 -27
- package/src/components/Drawer/DragableDrawer/index.tsx +0 -2
- package/src/components/Empty/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
- package/src/components/Empty/index.tsx +1 -2
- package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +12 -12
- package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +1 -1
- package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
- 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 +36 -6
- package/src/components/Icon/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
- package/src/components/Icon/index.tsx +1 -0
- package/src/components/List/BasicListItem.tsx +13 -8
- package/src/components/List/ListItem.tsx +8 -6
- package/src/components/List/StyledBasicListItem.tsx +2 -2
- package/src/components/List/StyledListItem.tsx +2 -2
- package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +24 -36
- package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +39 -59
- package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +40 -44
- package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +50 -50
- 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/ProgressBar.tsx +1 -1
- package/src/components/Progress/ProgressCircle.tsx +1 -1
- package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +10 -10
- package/src/components/Progress/types.ts +7 -1
- package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +20 -32
- package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +30 -48
- package/src/components/RefreshControl/__tests__/index.spec.tsx +1 -3
- package/src/components/RefreshControl/index.tsx +4 -2
- package/src/components/RichTextEditor/MentionList.tsx +12 -3
- package/src/components/RichTextEditor/RichTextEditor.tsx +4 -8
- package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +6 -4
- package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +13 -20
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +154 -238
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +435 -650
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +11 -18
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +144 -228
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +414 -629
- package/src/components/Select/StyledOptionList.tsx +0 -1
- package/src/components/Select/__tests__/__snapshots__/StyledSelect.spec.tsx.snap +1 -1
- package/src/components/Spinner/AnimatedSpinner.tsx +22 -7
- package/src/components/Spinner/StyledSpinner.tsx +15 -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 +12 -8
- package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +543 -83
- package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +12 -8
- 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 +160 -0
- package/src/components/Switch/SelectorSwitch/Option.tsx +1 -5
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/Option.spec.tsx.snap +3 -3
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
- package/src/components/Switch/SelectorSwitch/__tests__/index.spec.tsx +1 -0
- package/src/components/Switch/SelectorSwitch/index.tsx +4 -1
- package/src/components/Switch/__tests__/__snapshots__/StyledSwitch.spec.tsx.snap +1 -1
- package/src/components/Tabs/StyledTabs.tsx +1 -1
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +1 -1
- package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
- package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +2 -2
- package/src/components/TextInput/StyledTextInput.tsx +7 -12
- package/src/components/TextInput/__tests__/StyledTextInput.spec.tsx +12 -6
- package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +31 -146
- package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +40 -14
- package/src/components/TextInput/__tests__/index.spec.tsx +114 -124
- package/src/components/TextInput/index.tsx +8 -6
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +2 -0
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +29 -27
- package/src/components/Toast/Toast.tsx +0 -3
- package/src/components/Toast/ToastProvider.tsx +1 -0
- package/src/components/Toast/__tests__/index.spec.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/__tests__/__snapshots__/StyledText.spec.tsx.snap +4 -4
- package/src/emotion.d.ts +1 -0
- package/src/index.ts +10 -0
- package/src/theme/ThemeSwitcher.tsx +7 -1
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +96 -78
- package/src/theme/__tests__/ensureCompatibleWithV7.spec.tsx +13 -0
- package/src/theme/components/alert.ts +1 -1
- package/src/theme/components/attachment.ts +28 -0
- package/src/theme/components/avatar.ts +1 -1
- package/src/theme/components/badge.ts +2 -1
- package/src/theme/components/bottomNavigation.ts +1 -1
- package/src/theme/components/bottomSheet.ts +2 -2
- package/src/theme/components/button.ts +4 -20
- package/src/theme/components/calendar.ts +3 -3
- package/src/theme/components/card.ts +1 -1
- package/src/theme/components/checkbox.ts +2 -2
- package/src/theme/components/divider.ts +1 -1
- package/src/theme/components/drawer.ts +2 -2
- package/src/theme/components/empty.ts +3 -3
- package/src/theme/components/fab.ts +7 -7
- package/src/theme/components/icon.ts +4 -4
- package/src/theme/components/list.ts +0 -2
- package/src/theme/components/pinInput.ts +4 -4
- package/src/theme/components/progress.ts +6 -5
- package/src/theme/components/radio.ts +1 -1
- package/src/theme/components/richTextEditor.ts +2 -2
- package/src/theme/components/slider.ts +2 -2
- package/src/theme/components/spinner.ts +4 -1
- package/src/theme/components/swipeable.ts +13 -0
- package/src/theme/components/switch.ts +4 -4
- package/src/theme/components/tabs.ts +6 -5
- package/src/theme/components/tag.ts +2 -2
- package/src/theme/components/textInput.ts +23 -33
- package/src/theme/components/toast.ts +3 -3
- package/src/theme/components/toolbar.ts +3 -3
- package/src/theme/components/typography.ts +7 -7
- package/src/theme/getTheme.ts +7 -1
- package/src/theme/global/colors/eBens.ts +23 -0
- package/src/theme/global/colors/global.ts +15 -6
- package/src/theme/global/colors/jobs.ts +15 -10
- package/src/theme/global/colors/legacySystemPalette.ts +6 -6
- package/src/theme/global/colors/swag.ts +32 -53
- package/src/theme/global/colors/types.ts +35 -15
- package/src/theme/global/colors/wallet.ts +23 -0
- package/src/theme/global/colors/work.ts +15 -11
- package/src/theme/global/index.ts +4 -0
- package/src/theme/index.ts +4 -0
- package/src/types.ts +2 -0
- package/src/utils/functions.ts +2 -0
- package/src/utils/scale.ts +1 -1
- package/testUtils/setup.tsx +13 -0
- package/tsconfig.json +8 -2
- package/types/components/Accordion/StyledAccordion.d.ts +14 -14
- package/types/components/Alert/StyledAlert.d.ts +15 -15
- package/types/components/Attachment/StyledAttachment.d.ts +28 -0
- package/types/components/Attachment/index.d.ts +37 -0
- package/types/components/Avatar/StyledAvatar.d.ts +15 -15
- package/types/components/Avatar/index.d.ts +1 -1
- package/types/components/Badge/Status.d.ts +1 -1
- package/types/components/Badge/StyledBadge.d.ts +8 -8
- package/types/components/Badge/index.d.ts +1 -1
- package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +21 -21
- package/types/components/BottomSheet/Header.d.ts +1 -1
- package/types/components/BottomSheet/StyledBottomSheet.d.ts +22 -22
- package/types/components/Box/StyledBox.d.ts +4 -4
- package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +7 -7
- package/types/components/Button/StyledButton.d.ts +15 -18
- package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +8 -8
- package/types/components/Calendar/StyledCalendar.d.ts +25 -25
- package/types/components/Calendar/helpers.d.ts +2 -2
- package/types/components/Card/DataCard/StyledDataCard.d.ts +6 -6
- package/types/components/Card/StyledCard.d.ts +7 -7
- package/types/components/Checkbox/StyledCheckbox.d.ts +16 -10
- package/types/components/Collapse/StyledCollapse.d.ts +8 -8
- package/types/components/ContentNavigator/StyledContentNavigator.d.ts +5 -5
- package/types/components/ContentNavigator/index.d.ts +2 -1
- package/types/components/DatePicker/StyledDatePicker.d.ts +3 -3
- package/types/components/Divider/StyledDivider.d.ts +5 -5
- package/types/components/Drawer/StyledDrawer.d.ts +19 -19
- package/types/components/Empty/StyledEmpty.d.ts +9 -9
- package/types/components/Empty/index.d.ts +1 -2
- package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +11 -11
- package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +7 -7
- package/types/components/FAB/StyledFAB.d.ts +8 -8
- package/types/components/Icon/HeroIcon/index.d.ts +3 -3
- 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/List/StyledBasicListItem.d.ts +16 -16
- package/types/components/List/StyledListItem.d.ts +25 -25
- package/types/components/PinInput/StyledPinInput.d.ts +30 -30
- package/types/components/Progress/ProgressBar.d.ts +1 -1
- package/types/components/Progress/ProgressCircle.d.ts +1 -1
- package/types/components/Progress/StyledProgressBar.d.ts +5 -5
- package/types/components/Progress/StyledProgressCircle.d.ts +18 -18
- package/types/components/Progress/types.d.ts +1 -1
- package/types/components/Radio/StyledRadio.d.ts +9 -9
- package/types/components/RefreshControl/index.d.ts +1 -2
- package/types/components/RichTextEditor/EditorToolbar.d.ts +1 -1
- package/types/components/RichTextEditor/MentionList.d.ts +1 -1
- package/types/components/RichTextEditor/StyledRichTextEditor.d.ts +6 -6
- package/types/components/RichTextEditor/StyledToolbar.d.ts +9 -9
- package/types/components/RichTextEditor/index.d.ts +2 -2
- package/types/components/SectionHeading/StyledHeading.d.ts +9 -9
- package/types/components/Select/MultiSelect/Option.d.ts +1 -1
- package/types/components/Select/SingleSelect/Option.d.ts +1 -1
- package/types/components/Select/StyledSelect.d.ts +11 -11
- package/types/components/Select/helpers.d.ts +1 -1
- package/types/components/Spinner/AnimatedSpinner.d.ts +2 -1
- package/types/components/Spinner/StyledSpinner.d.ts +13 -12
- 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 +45 -0
- package/types/components/Switch/SelectorSwitch/Option.d.ts +3 -1
- package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +9 -9
- package/types/components/Switch/StyledSwitch.d.ts +5 -5
- package/types/components/Tabs/StyledScrollableTabs.d.ts +23 -23
- package/types/components/Tabs/StyledTabs.d.ts +22 -22
- package/types/components/Tag/StyledTag.d.ts +6 -6
- package/types/components/TextInput/StyledTextInput.d.ts +46 -45
- package/types/components/TextInput/index.d.ts +6 -6
- package/types/components/TimePicker/StyledTimePicker.d.ts +3 -3
- package/types/components/Toast/StyledToast.d.ts +17 -17
- package/types/components/Toolbar/StyledToolbar.d.ts +9 -9
- package/types/components/Typography/Text/StyledText.d.ts +3 -3
- package/types/index.d.ts +4 -2
- package/types/testHelpers/renderWithTheme.d.ts +1 -1
- package/types/theme/ThemeSwitcher.d.ts +2 -2
- package/types/theme/components/attachment.d.ts +21 -0
- package/types/theme/components/badge.d.ts +1 -0
- package/types/theme/components/button.d.ts +0 -15
- package/types/theme/components/list.d.ts +0 -1
- package/types/theme/components/progress.d.ts +1 -0
- package/types/theme/components/spinner.d.ts +4 -1
- package/types/theme/components/swipeable.d.ts +9 -0
- package/types/theme/components/tabs.d.ts +1 -0
- package/types/theme/components/tag.d.ts +2 -2
- package/types/theme/components/textInput.d.ts +0 -10
- package/types/theme/getTheme.d.ts +4 -0
- package/types/theme/global/colors/eBens.d.ts +3 -0
- package/types/theme/global/colors/types.d.ts +23 -16
- package/types/theme/global/colors/wallet.d.ts +3 -0
- package/types/theme/global/index.d.ts +26 -12
- package/types/theme/index.d.ts +2 -2
- package/types/types.d.ts +2 -1
- package/types/utils/functions.d.ts +1 -0
- package/types/utils/hooks.d.ts +1 -1
- package/src/components/Icon/HeroIcon/selection.json +0 -7029
|
@@ -41,6 +41,7 @@ exports[`TextInput defaultValue TextInput is idle renders correctly 1`] = `
|
|
|
41
41
|
undefined,
|
|
42
42
|
]
|
|
43
43
|
}
|
|
44
|
+
themeFocused={false}
|
|
44
45
|
themeVariant="filled"
|
|
45
46
|
/>
|
|
46
47
|
<View
|
|
@@ -72,7 +73,7 @@ exports[`TextInput defaultValue TextInput is idle renders correctly 1`] = `
|
|
|
72
73
|
},
|
|
73
74
|
Array [
|
|
74
75
|
Object {
|
|
75
|
-
"color": "#
|
|
76
|
+
"color": "#de350b",
|
|
76
77
|
},
|
|
77
78
|
undefined,
|
|
78
79
|
],
|
|
@@ -160,6 +161,7 @@ exports[`TextInput defaultValue TextInput is idle renders correctly 1`] = `
|
|
|
160
161
|
"flexGrow": 2,
|
|
161
162
|
"fontSize": 14,
|
|
162
163
|
"marginHorizontal": 8,
|
|
164
|
+
"paddingVertical": 0,
|
|
163
165
|
"textAlignVertical": "center",
|
|
164
166
|
},
|
|
165
167
|
Object {
|
|
@@ -295,6 +297,7 @@ exports[`TextInput defaultValue default Value and Value renders correctly with 2
|
|
|
295
297
|
undefined,
|
|
296
298
|
]
|
|
297
299
|
}
|
|
300
|
+
themeFocused={false}
|
|
298
301
|
themeVariant="filled"
|
|
299
302
|
/>
|
|
300
303
|
<View
|
|
@@ -326,7 +329,7 @@ exports[`TextInput defaultValue default Value and Value renders correctly with 2
|
|
|
326
329
|
},
|
|
327
330
|
Array [
|
|
328
331
|
Object {
|
|
329
|
-
"color": "#
|
|
332
|
+
"color": "#de350b",
|
|
330
333
|
},
|
|
331
334
|
undefined,
|
|
332
335
|
],
|
|
@@ -414,6 +417,7 @@ exports[`TextInput defaultValue default Value and Value renders correctly with 2
|
|
|
414
417
|
"flexGrow": 2,
|
|
415
418
|
"fontSize": 14,
|
|
416
419
|
"marginHorizontal": 8,
|
|
420
|
+
"paddingVertical": 0,
|
|
417
421
|
"textAlignVertical": "center",
|
|
418
422
|
},
|
|
419
423
|
Object {
|
|
@@ -551,6 +555,7 @@ exports[`TextInput disabled renders correctly 1`] = `
|
|
|
551
555
|
undefined,
|
|
552
556
|
]
|
|
553
557
|
}
|
|
558
|
+
themeFocused={false}
|
|
554
559
|
themeVariant="disabled"
|
|
555
560
|
/>
|
|
556
561
|
<View
|
|
@@ -653,6 +658,7 @@ exports[`TextInput disabled renders correctly 1`] = `
|
|
|
653
658
|
"flexGrow": 2,
|
|
654
659
|
"fontSize": 14,
|
|
655
660
|
"marginHorizontal": 8,
|
|
661
|
+
"paddingVertical": 0,
|
|
656
662
|
"textAlignVertical": "center",
|
|
657
663
|
},
|
|
658
664
|
Object {
|
|
@@ -719,7 +725,7 @@ exports[`TextInput error renders correctly 1`] = `
|
|
|
719
725
|
style={
|
|
720
726
|
Array [
|
|
721
727
|
Object {
|
|
722
|
-
"borderColor": "#
|
|
728
|
+
"borderColor": "#de350b",
|
|
723
729
|
"borderRadius": 8,
|
|
724
730
|
"borderWidth": 1,
|
|
725
731
|
"bottom": 0,
|
|
@@ -731,6 +737,7 @@ exports[`TextInput error renders correctly 1`] = `
|
|
|
731
737
|
undefined,
|
|
732
738
|
]
|
|
733
739
|
}
|
|
740
|
+
themeFocused={false}
|
|
734
741
|
themeVariant="error"
|
|
735
742
|
/>
|
|
736
743
|
<HeroIcon
|
|
@@ -792,7 +799,7 @@ exports[`TextInput error renders correctly 1`] = `
|
|
|
792
799
|
},
|
|
793
800
|
Array [
|
|
794
801
|
Object {
|
|
795
|
-
"color": "#
|
|
802
|
+
"color": "#de350b",
|
|
796
803
|
"fontSize": 14,
|
|
797
804
|
},
|
|
798
805
|
undefined,
|
|
@@ -854,6 +861,7 @@ exports[`TextInput error renders correctly 1`] = `
|
|
|
854
861
|
"flexGrow": 2,
|
|
855
862
|
"fontSize": 14,
|
|
856
863
|
"marginHorizontal": 8,
|
|
864
|
+
"paddingVertical": 0,
|
|
857
865
|
"textAlignVertical": "center",
|
|
858
866
|
},
|
|
859
867
|
Object {
|
|
@@ -927,7 +935,7 @@ exports[`TextInput error renders correctly 1`] = `
|
|
|
927
935
|
},
|
|
928
936
|
Array [
|
|
929
937
|
Object {
|
|
930
|
-
"color": "#
|
|
938
|
+
"color": "#de350b",
|
|
931
939
|
"fontSize": 12,
|
|
932
940
|
"marginLeft": 4,
|
|
933
941
|
},
|
|
@@ -989,6 +997,7 @@ exports[`TextInput filled renders correctly 1`] = `
|
|
|
989
997
|
undefined,
|
|
990
998
|
]
|
|
991
999
|
}
|
|
1000
|
+
themeFocused={false}
|
|
992
1001
|
themeVariant="filled"
|
|
993
1002
|
/>
|
|
994
1003
|
<View
|
|
@@ -1081,6 +1090,7 @@ exports[`TextInput filled renders correctly 1`] = `
|
|
|
1081
1090
|
"flexGrow": 2,
|
|
1082
1091
|
"fontSize": 14,
|
|
1083
1092
|
"marginHorizontal": 8,
|
|
1093
|
+
"paddingVertical": 0,
|
|
1084
1094
|
"textAlignVertical": "center",
|
|
1085
1095
|
},
|
|
1086
1096
|
Object {
|
|
@@ -1174,6 +1184,7 @@ exports[`TextInput helper text renders correctly 1`] = `
|
|
|
1174
1184
|
undefined,
|
|
1175
1185
|
]
|
|
1176
1186
|
}
|
|
1187
|
+
themeFocused={false}
|
|
1177
1188
|
themeVariant="default"
|
|
1178
1189
|
/>
|
|
1179
1190
|
<HeroIcon
|
|
@@ -1235,7 +1246,7 @@ exports[`TextInput helper text renders correctly 1`] = `
|
|
|
1235
1246
|
},
|
|
1236
1247
|
Array [
|
|
1237
1248
|
Object {
|
|
1238
|
-
"color": "#
|
|
1249
|
+
"color": "#de350b",
|
|
1239
1250
|
"fontSize": 14,
|
|
1240
1251
|
},
|
|
1241
1252
|
undefined,
|
|
@@ -1297,6 +1308,7 @@ exports[`TextInput helper text renders correctly 1`] = `
|
|
|
1297
1308
|
"flexGrow": 2,
|
|
1298
1309
|
"fontSize": 14,
|
|
1299
1310
|
"marginHorizontal": 8,
|
|
1311
|
+
"paddingVertical": 0,
|
|
1300
1312
|
"textAlignVertical": "center",
|
|
1301
1313
|
},
|
|
1302
1314
|
Object {
|
|
@@ -1401,6 +1413,7 @@ exports[`TextInput idle renders correctly 1`] = `
|
|
|
1401
1413
|
undefined,
|
|
1402
1414
|
]
|
|
1403
1415
|
}
|
|
1416
|
+
themeFocused={false}
|
|
1404
1417
|
themeVariant="default"
|
|
1405
1418
|
/>
|
|
1406
1419
|
<HeroIcon
|
|
@@ -1498,6 +1511,7 @@ exports[`TextInput idle renders correctly 1`] = `
|
|
|
1498
1511
|
"flexGrow": 2,
|
|
1499
1512
|
"fontSize": 14,
|
|
1500
1513
|
"marginHorizontal": 8,
|
|
1514
|
+
"paddingVertical": 0,
|
|
1501
1515
|
"textAlignVertical": "center",
|
|
1502
1516
|
},
|
|
1503
1517
|
Object {
|
|
@@ -1590,6 +1604,7 @@ exports[`TextInput idle with suffix and prefix are React Element renders correct
|
|
|
1590
1604
|
undefined,
|
|
1591
1605
|
]
|
|
1592
1606
|
}
|
|
1607
|
+
themeFocused={false}
|
|
1593
1608
|
themeVariant="default"
|
|
1594
1609
|
/>
|
|
1595
1610
|
<HeroIcon
|
|
@@ -1651,7 +1666,7 @@ exports[`TextInput idle with suffix and prefix are React Element renders correct
|
|
|
1651
1666
|
},
|
|
1652
1667
|
Array [
|
|
1653
1668
|
Object {
|
|
1654
|
-
"color": "#
|
|
1669
|
+
"color": "#de350b",
|
|
1655
1670
|
"fontSize": 14,
|
|
1656
1671
|
},
|
|
1657
1672
|
undefined,
|
|
@@ -1713,6 +1728,7 @@ exports[`TextInput idle with suffix and prefix are React Element renders correct
|
|
|
1713
1728
|
"flexGrow": 2,
|
|
1714
1729
|
"fontSize": 14,
|
|
1715
1730
|
"marginHorizontal": 8,
|
|
1731
|
+
"paddingVertical": 0,
|
|
1716
1732
|
"textAlignVertical": "center",
|
|
1717
1733
|
},
|
|
1718
1734
|
Object {
|
|
@@ -1805,6 +1821,7 @@ exports[`TextInput loading renders correctly 1`] = `
|
|
|
1805
1821
|
undefined,
|
|
1806
1822
|
]
|
|
1807
1823
|
}
|
|
1824
|
+
themeFocused={false}
|
|
1808
1825
|
themeVariant="readonly"
|
|
1809
1826
|
/>
|
|
1810
1827
|
<View
|
|
@@ -1856,6 +1873,7 @@ exports[`TextInput loading renders correctly 1`] = `
|
|
|
1856
1873
|
"flexGrow": 2,
|
|
1857
1874
|
"fontSize": 14,
|
|
1858
1875
|
"marginHorizontal": 8,
|
|
1876
|
+
"paddingVertical": 0,
|
|
1859
1877
|
"textAlignVertical": "center",
|
|
1860
1878
|
},
|
|
1861
1879
|
Object {
|
|
@@ -1950,7 +1968,7 @@ exports[`TextInput max length renders correctly 1`] = `
|
|
|
1950
1968
|
style={
|
|
1951
1969
|
Array [
|
|
1952
1970
|
Object {
|
|
1953
|
-
"borderColor": "#
|
|
1971
|
+
"borderColor": "#de350b",
|
|
1954
1972
|
"borderRadius": 8,
|
|
1955
1973
|
"borderWidth": 1,
|
|
1956
1974
|
"bottom": 0,
|
|
@@ -1962,6 +1980,7 @@ exports[`TextInput max length renders correctly 1`] = `
|
|
|
1962
1980
|
undefined,
|
|
1963
1981
|
]
|
|
1964
1982
|
}
|
|
1983
|
+
themeFocused={false}
|
|
1965
1984
|
themeVariant="error"
|
|
1966
1985
|
/>
|
|
1967
1986
|
<View
|
|
@@ -1993,7 +2012,7 @@ exports[`TextInput max length renders correctly 1`] = `
|
|
|
1993
2012
|
},
|
|
1994
2013
|
Array [
|
|
1995
2014
|
Object {
|
|
1996
|
-
"color": "#
|
|
2015
|
+
"color": "#de350b",
|
|
1997
2016
|
},
|
|
1998
2017
|
undefined,
|
|
1999
2018
|
],
|
|
@@ -2066,6 +2085,7 @@ exports[`TextInput max length renders correctly 1`] = `
|
|
|
2066
2085
|
"flexGrow": 2,
|
|
2067
2086
|
"fontSize": 14,
|
|
2068
2087
|
"marginHorizontal": 8,
|
|
2088
|
+
"paddingVertical": 0,
|
|
2069
2089
|
"textAlignVertical": "center",
|
|
2070
2090
|
},
|
|
2071
2091
|
Object {
|
|
@@ -2140,7 +2160,7 @@ exports[`TextInput max length renders correctly 1`] = `
|
|
|
2140
2160
|
},
|
|
2141
2161
|
Array [
|
|
2142
2162
|
Object {
|
|
2143
|
-
"color": "#
|
|
2163
|
+
"color": "#de350b",
|
|
2144
2164
|
"fontSize": 12,
|
|
2145
2165
|
"marginLeft": 4,
|
|
2146
2166
|
},
|
|
@@ -2169,7 +2189,7 @@ exports[`TextInput max length renders correctly 1`] = `
|
|
|
2169
2189
|
Array [
|
|
2170
2190
|
Object {
|
|
2171
2191
|
"alignSelf": "flex-end",
|
|
2172
|
-
"color": "#
|
|
2192
|
+
"color": "#de350b",
|
|
2173
2193
|
"flex": 1,
|
|
2174
2194
|
"flexGrow": 1,
|
|
2175
2195
|
"fontSize": 12,
|
|
@@ -2235,6 +2255,7 @@ exports[`TextInput placeholder TextInput is idle renders correctly 1`] = `
|
|
|
2235
2255
|
undefined,
|
|
2236
2256
|
]
|
|
2237
2257
|
}
|
|
2258
|
+
themeFocused={false}
|
|
2238
2259
|
themeVariant="default"
|
|
2239
2260
|
/>
|
|
2240
2261
|
<HeroIcon
|
|
@@ -2296,7 +2317,7 @@ exports[`TextInput placeholder TextInput is idle renders correctly 1`] = `
|
|
|
2296
2317
|
},
|
|
2297
2318
|
Array [
|
|
2298
2319
|
Object {
|
|
2299
|
-
"color": "#
|
|
2320
|
+
"color": "#de350b",
|
|
2300
2321
|
"fontSize": 14,
|
|
2301
2322
|
},
|
|
2302
2323
|
undefined,
|
|
@@ -2358,6 +2379,7 @@ exports[`TextInput placeholder TextInput is idle renders correctly 1`] = `
|
|
|
2358
2379
|
"flexGrow": 2,
|
|
2359
2380
|
"fontSize": 14,
|
|
2360
2381
|
"marginHorizontal": 8,
|
|
2382
|
+
"paddingVertical": 0,
|
|
2361
2383
|
"textAlignVertical": "center",
|
|
2362
2384
|
},
|
|
2363
2385
|
Object {
|
|
@@ -2459,6 +2481,7 @@ exports[`TextInput readonly renders correctly 1`] = `
|
|
|
2459
2481
|
undefined,
|
|
2460
2482
|
]
|
|
2461
2483
|
}
|
|
2484
|
+
themeFocused={false}
|
|
2462
2485
|
themeVariant="readonly"
|
|
2463
2486
|
/>
|
|
2464
2487
|
<View
|
|
@@ -2515,7 +2538,7 @@ exports[`TextInput readonly renders correctly 1`] = `
|
|
|
2515
2538
|
},
|
|
2516
2539
|
Array [
|
|
2517
2540
|
Object {
|
|
2518
|
-
"color": "#
|
|
2541
|
+
"color": "#808f91",
|
|
2519
2542
|
},
|
|
2520
2543
|
undefined,
|
|
2521
2544
|
],
|
|
@@ -2576,6 +2599,7 @@ exports[`TextInput readonly renders correctly 1`] = `
|
|
|
2576
2599
|
"flexGrow": 2,
|
|
2577
2600
|
"fontSize": 14,
|
|
2578
2601
|
"marginHorizontal": 8,
|
|
2602
|
+
"paddingVertical": 0,
|
|
2579
2603
|
"textAlignVertical": "center",
|
|
2580
2604
|
},
|
|
2581
2605
|
Object {
|
|
@@ -2669,6 +2693,7 @@ exports[`TextInput required renders correctly 1`] = `
|
|
|
2669
2693
|
undefined,
|
|
2670
2694
|
]
|
|
2671
2695
|
}
|
|
2696
|
+
themeFocused={false}
|
|
2672
2697
|
themeVariant="default"
|
|
2673
2698
|
/>
|
|
2674
2699
|
<HeroIcon
|
|
@@ -2730,7 +2755,7 @@ exports[`TextInput required renders correctly 1`] = `
|
|
|
2730
2755
|
},
|
|
2731
2756
|
Array [
|
|
2732
2757
|
Object {
|
|
2733
|
-
"color": "#
|
|
2758
|
+
"color": "#de350b",
|
|
2734
2759
|
"fontSize": 14,
|
|
2735
2760
|
},
|
|
2736
2761
|
undefined,
|
|
@@ -2792,6 +2817,7 @@ exports[`TextInput required renders correctly 1`] = `
|
|
|
2792
2817
|
"flexGrow": 2,
|
|
2793
2818
|
"fontSize": 14,
|
|
2794
2819
|
"marginHorizontal": 8,
|
|
2820
|
+
"paddingVertical": 0,
|
|
2795
2821
|
"textAlignVertical": "center",
|
|
2796
2822
|
},
|
|
2797
2823
|
Object {
|