@hero-design/rn 8.22.0 → 8.24.0-alpha.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 +9 -9
- package/.turbo/turbo-build:types.log +2 -0
- package/.turbo/turbo-lint.log +146 -0
- package/.turbo/turbo-publish:npm.log +9 -0
- package/.turbo/turbo-test.log +451 -0
- package/.turbo/turbo-type-check.log +1 -0
- package/es/index.js +527 -165
- package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/lib/index.js +527 -164
- package/package.json +5 -5
- package/src/components/Alert/index.tsx +6 -0
- package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.spec.tsx.snap +21 -9
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +7 -3
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerCalendar.spec.tsx.snap +7 -3
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +7 -3
- package/src/components/Empty/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
- package/src/components/Error/__tests__/__snapshots__/index.spec.tsx.snap +5 -5
- package/src/components/List/ListItem.tsx +12 -8
- package/src/components/RichTextEditor/RichTextEditor.tsx +10 -7
- package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +10 -8
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +37 -16
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +37 -16
- package/src/components/Success/StyledSuccess.tsx +87 -0
- package/src/components/Success/__tests__/__snapshots__/index.spec.tsx.snap +497 -0
- package/src/components/Success/__tests__/index.spec.tsx +78 -0
- package/src/components/Success/index.tsx +129 -0
- package/src/components/Tabs/ScrollableTabs.tsx +10 -149
- package/src/components/Tabs/ScrollableTabsHeader.tsx +214 -0
- package/src/components/Tabs/ScrollableTabsV2/SceneView.tsx +61 -0
- package/src/components/Tabs/ScrollableTabsV2/ScrollableTabsV2.tsx +120 -0
- package/src/components/Tabs/ScrollableTabsV2/__tests__/SceneView.spec.tsx +76 -0
- package/src/components/Tabs/ScrollableTabsV2/__tests__/ScrollableTabsV2.spec.tsx +166 -0
- package/src/components/Tabs/ScrollableTabsV2/__tests__/__snapshots__/SceneView.spec.tsx.snap +161 -0
- package/src/components/Tabs/ScrollableTabsV2/__tests__/__snapshots__/ScrollableTabsV2.spec.tsx.snap +2497 -0
- package/src/components/Tabs/ScrollableTabsV2/index.tsx +5 -0
- package/src/components/Tabs/__tests__/ScrollableTabsHeader.spec.tsx +80 -0
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +587 -0
- package/src/components/Tabs/index.tsx +2 -0
- package/src/components/Tag/StyledTag.tsx +1 -1
- package/src/components/Tag/__tests__/Tag.spec.tsx +22 -71
- package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +106 -53
- package/src/components/TextInput/StyledTextInput.tsx +40 -29
- package/src/components/TextInput/__tests__/StyledTextInput.spec.tsx +48 -57
- package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +84 -58
- package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +587 -70
- package/src/components/TextInput/__tests__/index.spec.tsx +45 -4
- package/src/components/TextInput/index.tsx +31 -16
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +14 -6
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +14 -6
- package/src/index.ts +2 -0
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +41 -6
- package/src/theme/components/empty.ts +1 -1
- package/src/theme/components/error.ts +1 -1
- package/src/theme/components/success.ts +40 -0
- package/src/theme/components/tag.ts +1 -1
- package/src/theme/components/textInput.ts +10 -4
- package/src/theme/getTheme.ts +3 -0
- package/src/utils/hooks.ts +1 -1
- package/testUtils/setup.tsx +6 -0
- package/types/components/Accordion/AccordionItem.d.ts +0 -0
- package/types/components/Accordion/StyledAccordion.d.ts +0 -0
- package/types/components/Accordion/index.d.ts +0 -0
- package/types/components/Alert/StyledAlert.d.ts +0 -0
- package/types/components/Alert/index.d.ts +0 -0
- package/types/components/Attachment/StyledAttachment.d.ts +0 -0
- package/types/components/Attachment/index.d.ts +0 -0
- package/types/components/Avatar/Avatar.d.ts +0 -0
- package/types/components/Avatar/AvatarStack/StyledAvatarStack.d.ts +0 -0
- package/types/components/Avatar/AvatarStack/index.d.ts +0 -0
- package/types/components/Avatar/AvatarStack/utils.d.ts +0 -0
- package/types/components/Avatar/StyledAvatar.d.ts +0 -0
- package/types/components/Avatar/index.d.ts +0 -0
- package/types/components/Badge/Status.d.ts +0 -0
- package/types/components/Badge/StyledBadge.d.ts +0 -0
- package/types/components/Badge/index.d.ts +0 -0
- package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +0 -0
- package/types/components/BottomNavigation/index.d.ts +0 -0
- package/types/components/BottomSheet/BottomSheetContext.d.ts +0 -0
- package/types/components/BottomSheet/Footer.d.ts +0 -0
- package/types/components/BottomSheet/Header.d.ts +0 -0
- package/types/components/BottomSheet/ScrollView.d.ts +0 -0
- package/types/components/BottomSheet/StyledBottomSheet.d.ts +0 -0
- package/types/components/BottomSheet/index.d.ts +0 -0
- package/types/components/Box/StyledBox.d.ts +0 -0
- package/types/components/Box/config.d.ts +0 -0
- package/types/components/Box/index.d.ts +0 -0
- package/types/components/Box/types.d.ts +0 -0
- package/types/components/Button/Button.d.ts +0 -0
- package/types/components/Button/IconButton.d.ts +0 -0
- package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +0 -0
- package/types/components/Button/LoadingIndicator/index.d.ts +0 -0
- package/types/components/Button/StyledButton.d.ts +0 -0
- package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +0 -0
- package/types/components/Button/UtilityButton/index.d.ts +0 -0
- package/types/components/Button/index.d.ts +0 -0
- package/types/components/Calendar/CalendarRowItem.d.ts +0 -0
- package/types/components/Calendar/StyledCalendar.d.ts +0 -0
- package/types/components/Calendar/helpers.d.ts +0 -0
- package/types/components/Calendar/index.d.ts +0 -0
- package/types/components/Card/DataCard/StyledDataCard.d.ts +0 -0
- package/types/components/Card/DataCard/index.d.ts +0 -0
- package/types/components/Card/StyledCard.d.ts +0 -0
- package/types/components/Card/index.d.ts +0 -0
- package/types/components/Carousel/CardCarousel.d.ts +0 -0
- package/types/components/Carousel/CarouselItem.d.ts +0 -0
- package/types/components/Carousel/StyledCardCarousel.d.ts +0 -0
- package/types/components/Carousel/StyledCarousel.d.ts +0 -0
- package/types/components/Carousel/contants.d.ts +0 -0
- package/types/components/Carousel/index.d.ts +0 -0
- package/types/components/Carousel/types.d.ts +0 -0
- package/types/components/Checkbox/StyledCheckbox.d.ts +0 -0
- package/types/components/Checkbox/index.d.ts +0 -0
- package/types/components/Collapse/StyledCollapse.d.ts +0 -0
- package/types/components/Collapse/index.d.ts +0 -0
- package/types/components/ContentNavigator/StyledContentNavigator.d.ts +0 -0
- package/types/components/ContentNavigator/index.d.ts +0 -0
- package/types/components/DatePicker/DatePickerAndroid.d.ts +0 -0
- package/types/components/DatePicker/DatePickerCalendar.d.ts +0 -0
- package/types/components/DatePicker/DatePickerIOS.d.ts +0 -0
- package/types/components/DatePicker/StyledDatePicker.d.ts +0 -0
- package/types/components/DatePicker/index.d.ts +0 -0
- package/types/components/DatePicker/types.d.ts +0 -0
- package/types/components/Divider/StyledDivider.d.ts +0 -0
- package/types/components/Divider/index.d.ts +0 -0
- package/types/components/Drawer/DragableDrawer/helpers.d.ts +0 -0
- package/types/components/Drawer/DragableDrawer/index.d.ts +0 -0
- package/types/components/Drawer/StyledDrawer.d.ts +0 -0
- package/types/components/Drawer/index.d.ts +0 -0
- package/types/components/Empty/StyledEmpty.d.ts +0 -0
- package/types/components/Empty/index.d.ts +0 -0
- package/types/components/Error/StyledError.d.ts +0 -0
- package/types/components/Error/index.d.ts +0 -0
- package/types/components/FAB/ActionGroup/ActionItem.d.ts +0 -0
- package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +0 -0
- package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +0 -0
- package/types/components/FAB/ActionGroup/index.d.ts +0 -0
- package/types/components/FAB/AnimatedFABIcon.d.ts +0 -0
- package/types/components/FAB/FAB.d.ts +0 -0
- package/types/components/FAB/StyledFAB.d.ts +0 -0
- package/types/components/FAB/index.d.ts +0 -0
- package/types/components/Icon/AnimatedIcon.d.ts +0 -0
- package/types/components/Icon/HeroIcon/index.d.ts +0 -0
- package/types/components/Icon/IconList.d.ts +0 -0
- package/types/components/Icon/index.d.ts +0 -0
- package/types/components/Icon/utils.d.ts +0 -0
- package/types/components/Image/index.d.ts +0 -0
- package/types/components/List/BasicListItem.d.ts +0 -0
- package/types/components/List/ListItem.d.ts +0 -0
- package/types/components/List/StyledBasicListItem.d.ts +0 -0
- package/types/components/List/StyledListItem.d.ts +0 -0
- package/types/components/List/index.d.ts +0 -0
- package/types/components/PageControl/StyledPageControl.d.ts +0 -0
- package/types/components/PageControl/index.d.ts +0 -0
- package/types/components/PinInput/PinCell.d.ts +0 -0
- package/types/components/PinInput/StyledPinInput.d.ts +0 -0
- package/types/components/PinInput/index.d.ts +0 -0
- package/types/components/Progress/ProgressBar.d.ts +0 -0
- package/types/components/Progress/ProgressCircle.d.ts +0 -0
- package/types/components/Progress/StyledProgressBar.d.ts +0 -0
- package/types/components/Progress/StyledProgressCircle.d.ts +0 -0
- package/types/components/Progress/__tests__/index.spec.d.ts +0 -0
- package/types/components/Progress/constants.d.ts +0 -0
- package/types/components/Progress/index.d.ts +0 -0
- package/types/components/Progress/types.d.ts +0 -0
- package/types/components/Radio/Radio.d.ts +0 -0
- package/types/components/Radio/RadioGroup.d.ts +0 -0
- package/types/components/Radio/StyledRadio.d.ts +0 -0
- package/types/components/Radio/index.d.ts +0 -0
- package/types/components/Radio/types.d.ts +0 -0
- package/types/components/RefreshControl/index.d.ts +0 -0
- package/types/components/RichTextEditor/EditorEvent.d.ts +0 -0
- package/types/components/RichTextEditor/EditorToolbar.d.ts +0 -0
- package/types/components/RichTextEditor/MentionList.d.ts +0 -0
- package/types/components/RichTextEditor/RichTextEditor.d.ts +0 -0
- package/types/components/RichTextEditor/StyledRichTextEditor.d.ts +0 -0
- package/types/components/RichTextEditor/StyledToolbar.d.ts +0 -0
- package/types/components/RichTextEditor/__mocks__/heroEditorApp.d.ts +0 -0
- package/types/components/RichTextEditor/constants.d.ts +0 -0
- package/types/components/RichTextEditor/heroEditorApp.d.ts +0 -0
- package/types/components/RichTextEditor/index.d.ts +0 -0
- package/types/components/RichTextEditor/types.d.ts +0 -0
- package/types/components/RichTextEditor/utils/events.d.ts +0 -0
- package/types/components/RichTextEditor/utils/rnWebView.d.ts +0 -0
- package/types/components/SectionHeading/StyledHeading.d.ts +0 -0
- package/types/components/SectionHeading/index.d.ts +0 -0
- package/types/components/Select/BaseOptionList.d.ts +0 -0
- package/types/components/Select/Footer.d.ts +0 -0
- package/types/components/Select/MultiSelect/Option.d.ts +0 -0
- package/types/components/Select/MultiSelect/OptionList.d.ts +0 -0
- package/types/components/Select/MultiSelect/index.d.ts +0 -0
- package/types/components/Select/SingleSelect/Option.d.ts +0 -0
- package/types/components/Select/SingleSelect/OptionList.d.ts +0 -0
- package/types/components/Select/SingleSelect/StyledSingleSelect.d.ts +0 -0
- package/types/components/Select/SingleSelect/index.d.ts +0 -0
- package/types/components/Select/StyledSelect.d.ts +0 -0
- package/types/components/Select/helpers.d.ts +0 -0
- package/types/components/Select/index.d.ts +0 -0
- package/types/components/Select/types.d.ts +0 -0
- package/types/components/Skeleton/StyledSkeleton.d.ts +0 -0
- package/types/components/Skeleton/index.d.ts +0 -0
- package/types/components/Slider/index.d.ts +0 -0
- package/types/components/Spinner/AnimatedSpinner.d.ts +0 -0
- package/types/components/Spinner/StyledSpinner.d.ts +0 -0
- package/types/components/Spinner/index.d.ts +0 -0
- package/types/components/Success/StyledSuccess.d.ts +54 -0
- package/types/components/Success/index.d.ts +42 -0
- package/types/components/Swipeable/StyledSwipeable.d.ts +0 -0
- package/types/components/Swipeable/SwipeableAction.d.ts +0 -0
- package/types/components/Swipeable/index.d.ts +0 -0
- package/types/components/Switch/SelectorSwitch/Option.d.ts +0 -0
- package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +0 -0
- package/types/components/Switch/SelectorSwitch/index.d.ts +0 -0
- package/types/components/Switch/StyledSwitch.d.ts +0 -0
- package/types/components/Switch/index.d.ts +0 -0
- package/types/components/Tabs/ActiveTabIndicator.d.ts +0 -0
- package/types/components/Tabs/SceneView.d.ts +9 -0
- package/types/components/Tabs/ScrollableTabs.d.ts +0 -0
- package/types/components/Tabs/ScrollableTabsHeader.d.ts +35 -0
- package/types/components/Tabs/ScrollableTabsV2/SceneView.d.ts +10 -0
- package/types/components/Tabs/ScrollableTabsV2/ScrollableTabsV2.d.ts +9 -0
- package/types/components/Tabs/ScrollableTabsV2/index.d.ts +4 -0
- package/types/components/Tabs/StyledScrollableTabs.d.ts +0 -0
- package/types/components/Tabs/StyledTabs.d.ts +0 -0
- package/types/components/Tabs/TabWithBadge.d.ts +0 -0
- package/types/components/Tabs/index.d.ts +3 -0
- package/types/components/Tabs/utils.d.ts +0 -0
- package/types/components/Tag/StyledTag.d.ts +0 -0
- package/types/components/Tag/index.d.ts +0 -0
- package/types/components/TextInput/StyledTextInput.d.ts +12 -7
- package/types/components/TextInput/index.d.ts +12 -4
- package/types/components/TimePicker/StyledTimePicker.d.ts +0 -0
- package/types/components/TimePicker/TimePickerAndroid.d.ts +0 -0
- package/types/components/TimePicker/TimePickerIOS.d.ts +0 -0
- package/types/components/TimePicker/index.d.ts +0 -0
- package/types/components/TimePicker/types.d.ts +0 -0
- package/types/components/Toast/StyledToast.d.ts +0 -0
- package/types/components/Toast/Toast.d.ts +0 -0
- package/types/components/Toast/ToastContainer.d.ts +0 -0
- package/types/components/Toast/ToastContext.d.ts +0 -0
- package/types/components/Toast/ToastProvider.d.ts +0 -0
- package/types/components/Toast/index.d.ts +0 -0
- package/types/components/Toast/types.d.ts +0 -0
- package/types/components/Toolbar/StyledToolbar.d.ts +0 -0
- package/types/components/Toolbar/ToolbarGroup.d.ts +0 -0
- package/types/components/Toolbar/ToolbarItem.d.ts +0 -0
- package/types/components/Toolbar/index.d.ts +0 -0
- package/types/components/Typography/Text/StyledText.d.ts +0 -0
- package/types/components/Typography/Text/index.d.ts +0 -0
- package/types/components/Typography/index.d.ts +0 -0
- package/types/index.d.ts +2 -1
- package/types/testHelpers/renderWithTheme.d.ts +0 -0
- package/types/theme/ThemeProvider.d.ts +0 -0
- package/types/theme/ThemeSwitcher.d.ts +0 -0
- package/types/theme/components/accordion.d.ts +0 -0
- package/types/theme/components/alert.d.ts +0 -0
- package/types/theme/components/attachment.d.ts +0 -0
- package/types/theme/components/avatar.d.ts +0 -0
- package/types/theme/components/badge.d.ts +0 -0
- package/types/theme/components/bottomNavigation.d.ts +0 -0
- package/types/theme/components/bottomSheet.d.ts +0 -0
- package/types/theme/components/button.d.ts +0 -0
- package/types/theme/components/calendar.d.ts +0 -0
- package/types/theme/components/card.d.ts +0 -0
- package/types/theme/components/cardCarousel.d.ts +0 -0
- package/types/theme/components/carousel.d.ts +0 -0
- package/types/theme/components/checkbox.d.ts +0 -0
- package/types/theme/components/contentNavigator.d.ts +0 -0
- package/types/theme/components/datePicker.d.ts +0 -0
- package/types/theme/components/divider.d.ts +0 -0
- package/types/theme/components/drawer.d.ts +0 -0
- package/types/theme/components/empty.d.ts +0 -0
- package/types/theme/components/error.d.ts +0 -0
- package/types/theme/components/fab.d.ts +0 -0
- package/types/theme/components/icon.d.ts +0 -0
- package/types/theme/components/image.d.ts +0 -0
- package/types/theme/components/list.d.ts +0 -0
- package/types/theme/components/pageControl.d.ts +0 -0
- package/types/theme/components/pinInput.d.ts +0 -0
- package/types/theme/components/progress.d.ts +0 -0
- package/types/theme/components/radio.d.ts +0 -0
- package/types/theme/components/refreshControl.d.ts +0 -0
- package/types/theme/components/richTextEditor.d.ts +0 -0
- package/types/theme/components/sectionHeading.d.ts +0 -0
- package/types/theme/components/select.d.ts +0 -0
- package/types/theme/components/skeleton.d.ts +0 -0
- package/types/theme/components/slider.d.ts +0 -0
- package/types/theme/components/spinner.d.ts +0 -0
- package/types/theme/components/success.d.ts +32 -0
- package/types/theme/components/swipeable.d.ts +0 -0
- package/types/theme/components/switch.d.ts +0 -0
- package/types/theme/components/tabs.d.ts +0 -0
- package/types/theme/components/tag.d.ts +0 -0
- package/types/theme/components/textInput.d.ts +5 -0
- package/types/theme/components/timePicker.d.ts +0 -0
- package/types/theme/components/toast.d.ts +0 -0
- package/types/theme/components/toolbar.d.ts +0 -0
- package/types/theme/components/typography.d.ts +0 -0
- package/types/theme/getTheme.d.ts +2 -0
- package/types/theme/global/borders.d.ts +0 -0
- package/types/theme/global/colors/eBens.d.ts +0 -0
- package/types/theme/global/colors/global.d.ts +0 -0
- package/types/theme/global/colors/globalDark.d.ts +0 -0
- package/types/theme/global/colors/jobs.d.ts +0 -0
- package/types/theme/global/colors/swag.d.ts +0 -0
- package/types/theme/global/colors/swagDark.d.ts +0 -0
- package/types/theme/global/colors/types.d.ts +0 -0
- package/types/theme/global/colors/wallet.d.ts +0 -0
- package/types/theme/global/colors/work.d.ts +0 -0
- package/types/theme/global/index.d.ts +0 -0
- package/types/theme/global/scale.d.ts +0 -0
- package/types/theme/global/sizes.d.ts +0 -0
- package/types/theme/global/space.d.ts +0 -0
- package/types/theme/global/typography.d.ts +0 -0
- package/types/theme/index.d.ts +0 -0
- package/types/types.d.ts +0 -0
- package/types/utils/functions.d.ts +0 -0
- package/types/utils/helpers.d.ts +0 -0
- package/types/utils/hooks.d.ts +0 -0
- package/types/utils/scale.d.ts +0 -0
|
@@ -50,7 +50,7 @@ exports[`TextInput backgroundColor renders correctly 1`] = `
|
|
|
50
50
|
}
|
|
51
51
|
testID="text-input-border"
|
|
52
52
|
themeFocused={false}
|
|
53
|
-
|
|
53
|
+
themeState="filled"
|
|
54
54
|
/>
|
|
55
55
|
<View
|
|
56
56
|
pointerEvents="none"
|
|
@@ -94,8 +94,8 @@ exports[`TextInput backgroundColor renders correctly 1`] = `
|
|
|
94
94
|
themeFontSize="small"
|
|
95
95
|
themeFontWeight="regular"
|
|
96
96
|
themeIntent="body"
|
|
97
|
+
themeState="filled"
|
|
97
98
|
themeTypeface="neutral"
|
|
98
|
-
themeVariant="filled"
|
|
99
99
|
>
|
|
100
100
|
*
|
|
101
101
|
</Text>
|
|
@@ -124,8 +124,8 @@ exports[`TextInput backgroundColor renders correctly 1`] = `
|
|
|
124
124
|
themeFontSize="small"
|
|
125
125
|
themeFontWeight="regular"
|
|
126
126
|
themeIntent="body"
|
|
127
|
+
themeState="filled"
|
|
127
128
|
themeTypeface="neutral"
|
|
128
|
-
themeVariant="filled"
|
|
129
129
|
>
|
|
130
130
|
Amount (AUD)
|
|
131
131
|
</Text>
|
|
@@ -178,8 +178,11 @@ exports[`TextInput backgroundColor renders correctly 1`] = `
|
|
|
178
178
|
Object {
|
|
179
179
|
"alignSelf": "stretch",
|
|
180
180
|
"flexGrow": 2,
|
|
181
|
-
"
|
|
181
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
182
|
+
"fontSize": 16,
|
|
183
|
+
"height": undefined,
|
|
182
184
|
"marginHorizontal": 8,
|
|
185
|
+
"maxHeight": 144,
|
|
183
186
|
"paddingVertical": 0,
|
|
184
187
|
"textAlignVertical": "center",
|
|
185
188
|
},
|
|
@@ -190,6 +193,7 @@ exports[`TextInput backgroundColor renders correctly 1`] = `
|
|
|
190
193
|
]
|
|
191
194
|
}
|
|
192
195
|
testID="text-input"
|
|
196
|
+
themeVariant="text"
|
|
193
197
|
value="2000"
|
|
194
198
|
/>
|
|
195
199
|
</View>
|
|
@@ -270,8 +274,8 @@ exports[`TextInput backgroundColor renders correctly 1`] = `
|
|
|
270
274
|
themeFontSize="small"
|
|
271
275
|
themeFontWeight="regular"
|
|
272
276
|
themeIntent="body"
|
|
277
|
+
themeState="filled"
|
|
273
278
|
themeTypeface="neutral"
|
|
274
|
-
themeVariant="filled"
|
|
275
279
|
>
|
|
276
280
|
4
|
|
277
281
|
/
|
|
@@ -332,7 +336,7 @@ exports[`TextInput defaultValue TextInput is idle renders correctly 1`] = `
|
|
|
332
336
|
}
|
|
333
337
|
testID="text-input-border"
|
|
334
338
|
themeFocused={false}
|
|
335
|
-
|
|
339
|
+
themeState="filled"
|
|
336
340
|
/>
|
|
337
341
|
<View
|
|
338
342
|
pointerEvents="none"
|
|
@@ -376,8 +380,8 @@ exports[`TextInput defaultValue TextInput is idle renders correctly 1`] = `
|
|
|
376
380
|
themeFontSize="small"
|
|
377
381
|
themeFontWeight="regular"
|
|
378
382
|
themeIntent="body"
|
|
383
|
+
themeState="filled"
|
|
379
384
|
themeTypeface="neutral"
|
|
380
|
-
themeVariant="filled"
|
|
381
385
|
>
|
|
382
386
|
*
|
|
383
387
|
</Text>
|
|
@@ -406,8 +410,8 @@ exports[`TextInput defaultValue TextInput is idle renders correctly 1`] = `
|
|
|
406
410
|
themeFontSize="small"
|
|
407
411
|
themeFontWeight="regular"
|
|
408
412
|
themeIntent="body"
|
|
413
|
+
themeState="filled"
|
|
409
414
|
themeTypeface="neutral"
|
|
410
|
-
themeVariant="filled"
|
|
411
415
|
>
|
|
412
416
|
Amount (AUD)
|
|
413
417
|
</Text>
|
|
@@ -460,8 +464,11 @@ exports[`TextInput defaultValue TextInput is idle renders correctly 1`] = `
|
|
|
460
464
|
Object {
|
|
461
465
|
"alignSelf": "stretch",
|
|
462
466
|
"flexGrow": 2,
|
|
463
|
-
"
|
|
467
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
468
|
+
"fontSize": 16,
|
|
469
|
+
"height": undefined,
|
|
464
470
|
"marginHorizontal": 8,
|
|
471
|
+
"maxHeight": 144,
|
|
465
472
|
"paddingVertical": 0,
|
|
466
473
|
"textAlignVertical": "center",
|
|
467
474
|
},
|
|
@@ -472,6 +479,7 @@ exports[`TextInput defaultValue TextInput is idle renders correctly 1`] = `
|
|
|
472
479
|
]
|
|
473
480
|
}
|
|
474
481
|
testID="text-input"
|
|
482
|
+
themeVariant="text"
|
|
475
483
|
/>
|
|
476
484
|
</View>
|
|
477
485
|
</View>
|
|
@@ -551,8 +559,8 @@ exports[`TextInput defaultValue TextInput is idle renders correctly 1`] = `
|
|
|
551
559
|
themeFontSize="small"
|
|
552
560
|
themeFontWeight="regular"
|
|
553
561
|
themeIntent="body"
|
|
562
|
+
themeState="filled"
|
|
554
563
|
themeTypeface="neutral"
|
|
555
|
-
themeVariant="filled"
|
|
556
564
|
>
|
|
557
565
|
4
|
|
558
566
|
/
|
|
@@ -613,7 +621,7 @@ exports[`TextInput defaultValue default Value and Value renders correctly with 2
|
|
|
613
621
|
}
|
|
614
622
|
testID="text-input-border"
|
|
615
623
|
themeFocused={false}
|
|
616
|
-
|
|
624
|
+
themeState="filled"
|
|
617
625
|
/>
|
|
618
626
|
<View
|
|
619
627
|
pointerEvents="none"
|
|
@@ -657,8 +665,8 @@ exports[`TextInput defaultValue default Value and Value renders correctly with 2
|
|
|
657
665
|
themeFontSize="small"
|
|
658
666
|
themeFontWeight="regular"
|
|
659
667
|
themeIntent="body"
|
|
668
|
+
themeState="filled"
|
|
660
669
|
themeTypeface="neutral"
|
|
661
|
-
themeVariant="filled"
|
|
662
670
|
>
|
|
663
671
|
*
|
|
664
672
|
</Text>
|
|
@@ -687,8 +695,8 @@ exports[`TextInput defaultValue default Value and Value renders correctly with 2
|
|
|
687
695
|
themeFontSize="small"
|
|
688
696
|
themeFontWeight="regular"
|
|
689
697
|
themeIntent="body"
|
|
698
|
+
themeState="filled"
|
|
690
699
|
themeTypeface="neutral"
|
|
691
|
-
themeVariant="filled"
|
|
692
700
|
>
|
|
693
701
|
Amount (AUD)
|
|
694
702
|
</Text>
|
|
@@ -741,8 +749,11 @@ exports[`TextInput defaultValue default Value and Value renders correctly with 2
|
|
|
741
749
|
Object {
|
|
742
750
|
"alignSelf": "stretch",
|
|
743
751
|
"flexGrow": 2,
|
|
744
|
-
"
|
|
752
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
753
|
+
"fontSize": 16,
|
|
754
|
+
"height": undefined,
|
|
745
755
|
"marginHorizontal": 8,
|
|
756
|
+
"maxHeight": 144,
|
|
746
757
|
"paddingVertical": 0,
|
|
747
758
|
"textAlignVertical": "center",
|
|
748
759
|
},
|
|
@@ -753,6 +764,7 @@ exports[`TextInput defaultValue default Value and Value renders correctly with 2
|
|
|
753
764
|
]
|
|
754
765
|
}
|
|
755
766
|
testID="text-input"
|
|
767
|
+
themeVariant="text"
|
|
756
768
|
value="2000"
|
|
757
769
|
/>
|
|
758
770
|
</View>
|
|
@@ -833,8 +845,8 @@ exports[`TextInput defaultValue default Value and Value renders correctly with 2
|
|
|
833
845
|
themeFontSize="small"
|
|
834
846
|
themeFontWeight="regular"
|
|
835
847
|
themeIntent="body"
|
|
848
|
+
themeState="filled"
|
|
836
849
|
themeTypeface="neutral"
|
|
837
|
-
themeVariant="filled"
|
|
838
850
|
>
|
|
839
851
|
4
|
|
840
852
|
/
|
|
@@ -896,7 +908,7 @@ exports[`TextInput disabled renders correctly 1`] = `
|
|
|
896
908
|
}
|
|
897
909
|
testID="text-input-border"
|
|
898
910
|
themeFocused={false}
|
|
899
|
-
|
|
911
|
+
themeState="disabled"
|
|
900
912
|
/>
|
|
901
913
|
<View
|
|
902
914
|
pointerEvents="none"
|
|
@@ -940,8 +952,8 @@ exports[`TextInput disabled renders correctly 1`] = `
|
|
|
940
952
|
themeFontSize="small"
|
|
941
953
|
themeFontWeight="regular"
|
|
942
954
|
themeIntent="body"
|
|
955
|
+
themeState="disabled"
|
|
943
956
|
themeTypeface="neutral"
|
|
944
|
-
themeVariant="disabled"
|
|
945
957
|
>
|
|
946
958
|
*
|
|
947
959
|
</Text>
|
|
@@ -970,8 +982,8 @@ exports[`TextInput disabled renders correctly 1`] = `
|
|
|
970
982
|
themeFontSize="small"
|
|
971
983
|
themeFontWeight="regular"
|
|
972
984
|
themeIntent="body"
|
|
985
|
+
themeState="disabled"
|
|
973
986
|
themeTypeface="neutral"
|
|
974
|
-
themeVariant="disabled"
|
|
975
987
|
>
|
|
976
988
|
Amount (AUD)
|
|
977
989
|
</Text>
|
|
@@ -1007,8 +1019,11 @@ exports[`TextInput disabled renders correctly 1`] = `
|
|
|
1007
1019
|
Object {
|
|
1008
1020
|
"alignSelf": "stretch",
|
|
1009
1021
|
"flexGrow": 2,
|
|
1010
|
-
"
|
|
1022
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
1023
|
+
"fontSize": 16,
|
|
1024
|
+
"height": undefined,
|
|
1011
1025
|
"marginHorizontal": 8,
|
|
1026
|
+
"maxHeight": 144,
|
|
1012
1027
|
"paddingVertical": 0,
|
|
1013
1028
|
"textAlignVertical": "center",
|
|
1014
1029
|
},
|
|
@@ -1019,6 +1034,7 @@ exports[`TextInput disabled renders correctly 1`] = `
|
|
|
1019
1034
|
]
|
|
1020
1035
|
}
|
|
1021
1036
|
testID="text-input"
|
|
1037
|
+
themeVariant="text"
|
|
1022
1038
|
value="100"
|
|
1023
1039
|
/>
|
|
1024
1040
|
</View>
|
|
@@ -1099,7 +1115,7 @@ exports[`TextInput error renders correctly 1`] = `
|
|
|
1099
1115
|
}
|
|
1100
1116
|
testID="text-input-border"
|
|
1101
1117
|
themeFocused={false}
|
|
1102
|
-
|
|
1118
|
+
themeState="error"
|
|
1103
1119
|
/>
|
|
1104
1120
|
<HeroIcon
|
|
1105
1121
|
name="dollar-sign"
|
|
@@ -1147,6 +1163,7 @@ exports[`TextInput error renders correctly 1`] = `
|
|
|
1147
1163
|
undefined,
|
|
1148
1164
|
]
|
|
1149
1165
|
}
|
|
1166
|
+
themeVariant="text"
|
|
1150
1167
|
>
|
|
1151
1168
|
<Text
|
|
1152
1169
|
allowFontScaling={false}
|
|
@@ -1162,7 +1179,7 @@ exports[`TextInput error renders correctly 1`] = `
|
|
|
1162
1179
|
Array [
|
|
1163
1180
|
Object {
|
|
1164
1181
|
"color": "#de350b",
|
|
1165
|
-
"fontSize":
|
|
1182
|
+
"fontSize": 16,
|
|
1166
1183
|
},
|
|
1167
1184
|
undefined,
|
|
1168
1185
|
],
|
|
@@ -1171,8 +1188,8 @@ exports[`TextInput error renders correctly 1`] = `
|
|
|
1171
1188
|
themeFontSize="medium"
|
|
1172
1189
|
themeFontWeight="regular"
|
|
1173
1190
|
themeIntent="body"
|
|
1191
|
+
themeState="error"
|
|
1174
1192
|
themeTypeface="neutral"
|
|
1175
|
-
themeVariant="error"
|
|
1176
1193
|
>
|
|
1177
1194
|
*
|
|
1178
1195
|
</Text>
|
|
@@ -1192,7 +1209,7 @@ exports[`TextInput error renders correctly 1`] = `
|
|
|
1192
1209
|
"alignContent": "center",
|
|
1193
1210
|
"alignItems": "center",
|
|
1194
1211
|
"color": "#001f23",
|
|
1195
|
-
"fontSize":
|
|
1212
|
+
"fontSize": 16,
|
|
1196
1213
|
"marginTop": -2,
|
|
1197
1214
|
"textAlignVertical": "center",
|
|
1198
1215
|
},
|
|
@@ -1204,8 +1221,8 @@ exports[`TextInput error renders correctly 1`] = `
|
|
|
1204
1221
|
themeFontSize="medium"
|
|
1205
1222
|
themeFontWeight="regular"
|
|
1206
1223
|
themeIntent="body"
|
|
1224
|
+
themeState="error"
|
|
1207
1225
|
themeTypeface="neutral"
|
|
1208
|
-
themeVariant="error"
|
|
1209
1226
|
>
|
|
1210
1227
|
Amount (AUD)
|
|
1211
1228
|
</Text>
|
|
@@ -1227,8 +1244,11 @@ exports[`TextInput error renders correctly 1`] = `
|
|
|
1227
1244
|
Object {
|
|
1228
1245
|
"alignSelf": "stretch",
|
|
1229
1246
|
"flexGrow": 2,
|
|
1230
|
-
"
|
|
1247
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
1248
|
+
"fontSize": 16,
|
|
1249
|
+
"height": undefined,
|
|
1231
1250
|
"marginHorizontal": 8,
|
|
1251
|
+
"maxHeight": 144,
|
|
1232
1252
|
"paddingVertical": 0,
|
|
1233
1253
|
"textAlignVertical": "center",
|
|
1234
1254
|
},
|
|
@@ -1239,6 +1259,7 @@ exports[`TextInput error renders correctly 1`] = `
|
|
|
1239
1259
|
]
|
|
1240
1260
|
}
|
|
1241
1261
|
testID="text-input"
|
|
1262
|
+
themeVariant="text"
|
|
1242
1263
|
/>
|
|
1243
1264
|
</View>
|
|
1244
1265
|
</View>
|
|
@@ -1378,7 +1399,7 @@ exports[`TextInput filled renders correctly 1`] = `
|
|
|
1378
1399
|
}
|
|
1379
1400
|
testID="text-input-border"
|
|
1380
1401
|
themeFocused={false}
|
|
1381
|
-
|
|
1402
|
+
themeState="filled"
|
|
1382
1403
|
/>
|
|
1383
1404
|
<View
|
|
1384
1405
|
pointerEvents="none"
|
|
@@ -1425,8 +1446,8 @@ exports[`TextInput filled renders correctly 1`] = `
|
|
|
1425
1446
|
themeFontSize="small"
|
|
1426
1447
|
themeFontWeight="regular"
|
|
1427
1448
|
themeIntent="body"
|
|
1449
|
+
themeState="filled"
|
|
1428
1450
|
themeTypeface="neutral"
|
|
1429
|
-
themeVariant="filled"
|
|
1430
1451
|
>
|
|
1431
1452
|
Amount (AUD)
|
|
1432
1453
|
</Text>
|
|
@@ -1477,8 +1498,11 @@ exports[`TextInput filled renders correctly 1`] = `
|
|
|
1477
1498
|
Object {
|
|
1478
1499
|
"alignSelf": "stretch",
|
|
1479
1500
|
"flexGrow": 2,
|
|
1480
|
-
"
|
|
1501
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
1502
|
+
"fontSize": 16,
|
|
1503
|
+
"height": undefined,
|
|
1481
1504
|
"marginHorizontal": 8,
|
|
1505
|
+
"maxHeight": 144,
|
|
1482
1506
|
"paddingVertical": 0,
|
|
1483
1507
|
"textAlignVertical": "center",
|
|
1484
1508
|
},
|
|
@@ -1489,6 +1513,7 @@ exports[`TextInput filled renders correctly 1`] = `
|
|
|
1489
1513
|
]
|
|
1490
1514
|
}
|
|
1491
1515
|
testID="text-input"
|
|
1516
|
+
themeVariant="text"
|
|
1492
1517
|
value="100"
|
|
1493
1518
|
/>
|
|
1494
1519
|
</View>
|
|
@@ -1584,7 +1609,7 @@ exports[`TextInput helper text renders correctly 1`] = `
|
|
|
1584
1609
|
}
|
|
1585
1610
|
testID="text-input-border"
|
|
1586
1611
|
themeFocused={false}
|
|
1587
|
-
|
|
1612
|
+
themeState="default"
|
|
1588
1613
|
/>
|
|
1589
1614
|
<HeroIcon
|
|
1590
1615
|
name="dollar-sign"
|
|
@@ -1632,6 +1657,7 @@ exports[`TextInput helper text renders correctly 1`] = `
|
|
|
1632
1657
|
undefined,
|
|
1633
1658
|
]
|
|
1634
1659
|
}
|
|
1660
|
+
themeVariant="text"
|
|
1635
1661
|
>
|
|
1636
1662
|
<Text
|
|
1637
1663
|
allowFontScaling={false}
|
|
@@ -1647,7 +1673,7 @@ exports[`TextInput helper text renders correctly 1`] = `
|
|
|
1647
1673
|
Array [
|
|
1648
1674
|
Object {
|
|
1649
1675
|
"color": "#de350b",
|
|
1650
|
-
"fontSize":
|
|
1676
|
+
"fontSize": 16,
|
|
1651
1677
|
},
|
|
1652
1678
|
undefined,
|
|
1653
1679
|
],
|
|
@@ -1656,8 +1682,8 @@ exports[`TextInput helper text renders correctly 1`] = `
|
|
|
1656
1682
|
themeFontSize="medium"
|
|
1657
1683
|
themeFontWeight="regular"
|
|
1658
1684
|
themeIntent="body"
|
|
1685
|
+
themeState="default"
|
|
1659
1686
|
themeTypeface="neutral"
|
|
1660
|
-
themeVariant="default"
|
|
1661
1687
|
>
|
|
1662
1688
|
*
|
|
1663
1689
|
</Text>
|
|
@@ -1677,7 +1703,7 @@ exports[`TextInput helper text renders correctly 1`] = `
|
|
|
1677
1703
|
"alignContent": "center",
|
|
1678
1704
|
"alignItems": "center",
|
|
1679
1705
|
"color": "#001f23",
|
|
1680
|
-
"fontSize":
|
|
1706
|
+
"fontSize": 16,
|
|
1681
1707
|
"marginTop": -2,
|
|
1682
1708
|
"textAlignVertical": "center",
|
|
1683
1709
|
},
|
|
@@ -1689,8 +1715,8 @@ exports[`TextInput helper text renders correctly 1`] = `
|
|
|
1689
1715
|
themeFontSize="medium"
|
|
1690
1716
|
themeFontWeight="regular"
|
|
1691
1717
|
themeIntent="body"
|
|
1718
|
+
themeState="default"
|
|
1692
1719
|
themeTypeface="neutral"
|
|
1693
|
-
themeVariant="default"
|
|
1694
1720
|
>
|
|
1695
1721
|
Amount (AUD)
|
|
1696
1722
|
</Text>
|
|
@@ -1712,8 +1738,11 @@ exports[`TextInput helper text renders correctly 1`] = `
|
|
|
1712
1738
|
Object {
|
|
1713
1739
|
"alignSelf": "stretch",
|
|
1714
1740
|
"flexGrow": 2,
|
|
1715
|
-
"
|
|
1741
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
1742
|
+
"fontSize": 16,
|
|
1743
|
+
"height": undefined,
|
|
1716
1744
|
"marginHorizontal": 8,
|
|
1745
|
+
"maxHeight": 144,
|
|
1717
1746
|
"paddingVertical": 0,
|
|
1718
1747
|
"textAlignVertical": "center",
|
|
1719
1748
|
},
|
|
@@ -1724,6 +1753,7 @@ exports[`TextInput helper text renders correctly 1`] = `
|
|
|
1724
1753
|
]
|
|
1725
1754
|
}
|
|
1726
1755
|
testID="text-input"
|
|
1756
|
+
themeVariant="text"
|
|
1727
1757
|
/>
|
|
1728
1758
|
</View>
|
|
1729
1759
|
</View>
|
|
@@ -1833,7 +1863,7 @@ exports[`TextInput idle renders correctly 1`] = `
|
|
|
1833
1863
|
}
|
|
1834
1864
|
testID="text-input-border"
|
|
1835
1865
|
themeFocused={false}
|
|
1836
|
-
|
|
1866
|
+
themeState="default"
|
|
1837
1867
|
/>
|
|
1838
1868
|
<HeroIcon
|
|
1839
1869
|
name="dollar-sign"
|
|
@@ -1881,6 +1911,7 @@ exports[`TextInput idle renders correctly 1`] = `
|
|
|
1881
1911
|
undefined,
|
|
1882
1912
|
]
|
|
1883
1913
|
}
|
|
1914
|
+
themeVariant="text"
|
|
1884
1915
|
>
|
|
1885
1916
|
<Text
|
|
1886
1917
|
allowFontScaling={false}
|
|
@@ -1898,7 +1929,7 @@ exports[`TextInput idle renders correctly 1`] = `
|
|
|
1898
1929
|
"alignContent": "center",
|
|
1899
1930
|
"alignItems": "center",
|
|
1900
1931
|
"color": "#001f23",
|
|
1901
|
-
"fontSize":
|
|
1932
|
+
"fontSize": 16,
|
|
1902
1933
|
"marginTop": -2,
|
|
1903
1934
|
"textAlignVertical": "center",
|
|
1904
1935
|
},
|
|
@@ -1910,8 +1941,8 @@ exports[`TextInput idle renders correctly 1`] = `
|
|
|
1910
1941
|
themeFontSize="medium"
|
|
1911
1942
|
themeFontWeight="regular"
|
|
1912
1943
|
themeIntent="body"
|
|
1944
|
+
themeState="default"
|
|
1913
1945
|
themeTypeface="neutral"
|
|
1914
|
-
themeVariant="default"
|
|
1915
1946
|
>
|
|
1916
1947
|
Amount (AUD)
|
|
1917
1948
|
</Text>
|
|
@@ -1933,8 +1964,11 @@ exports[`TextInput idle renders correctly 1`] = `
|
|
|
1933
1964
|
Object {
|
|
1934
1965
|
"alignSelf": "stretch",
|
|
1935
1966
|
"flexGrow": 2,
|
|
1936
|
-
"
|
|
1967
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
1968
|
+
"fontSize": 16,
|
|
1969
|
+
"height": undefined,
|
|
1937
1970
|
"marginHorizontal": 8,
|
|
1971
|
+
"maxHeight": 144,
|
|
1938
1972
|
"paddingVertical": 0,
|
|
1939
1973
|
"textAlignVertical": "center",
|
|
1940
1974
|
},
|
|
@@ -1945,6 +1979,7 @@ exports[`TextInput idle renders correctly 1`] = `
|
|
|
1945
1979
|
]
|
|
1946
1980
|
}
|
|
1947
1981
|
testID="text-input"
|
|
1982
|
+
themeVariant="text"
|
|
1948
1983
|
/>
|
|
1949
1984
|
</View>
|
|
1950
1985
|
<HeroIcon
|
|
@@ -2039,7 +2074,7 @@ exports[`TextInput idle with suffix and prefix are React Element renders correct
|
|
|
2039
2074
|
}
|
|
2040
2075
|
testID="text-input-border"
|
|
2041
2076
|
themeFocused={false}
|
|
2042
|
-
|
|
2077
|
+
themeState="default"
|
|
2043
2078
|
/>
|
|
2044
2079
|
<HeroIcon
|
|
2045
2080
|
name="eye-circle"
|
|
@@ -2087,6 +2122,7 @@ exports[`TextInput idle with suffix and prefix are React Element renders correct
|
|
|
2087
2122
|
undefined,
|
|
2088
2123
|
]
|
|
2089
2124
|
}
|
|
2125
|
+
themeVariant="text"
|
|
2090
2126
|
>
|
|
2091
2127
|
<Text
|
|
2092
2128
|
allowFontScaling={false}
|
|
@@ -2102,7 +2138,7 @@ exports[`TextInput idle with suffix and prefix are React Element renders correct
|
|
|
2102
2138
|
Array [
|
|
2103
2139
|
Object {
|
|
2104
2140
|
"color": "#de350b",
|
|
2105
|
-
"fontSize":
|
|
2141
|
+
"fontSize": 16,
|
|
2106
2142
|
},
|
|
2107
2143
|
undefined,
|
|
2108
2144
|
],
|
|
@@ -2111,8 +2147,8 @@ exports[`TextInput idle with suffix and prefix are React Element renders correct
|
|
|
2111
2147
|
themeFontSize="medium"
|
|
2112
2148
|
themeFontWeight="regular"
|
|
2113
2149
|
themeIntent="body"
|
|
2150
|
+
themeState="default"
|
|
2114
2151
|
themeTypeface="neutral"
|
|
2115
|
-
themeVariant="default"
|
|
2116
2152
|
>
|
|
2117
2153
|
*
|
|
2118
2154
|
</Text>
|
|
@@ -2132,7 +2168,7 @@ exports[`TextInput idle with suffix and prefix are React Element renders correct
|
|
|
2132
2168
|
"alignContent": "center",
|
|
2133
2169
|
"alignItems": "center",
|
|
2134
2170
|
"color": "#001f23",
|
|
2135
|
-
"fontSize":
|
|
2171
|
+
"fontSize": 16,
|
|
2136
2172
|
"marginTop": -2,
|
|
2137
2173
|
"textAlignVertical": "center",
|
|
2138
2174
|
},
|
|
@@ -2144,8 +2180,8 @@ exports[`TextInput idle with suffix and prefix are React Element renders correct
|
|
|
2144
2180
|
themeFontSize="medium"
|
|
2145
2181
|
themeFontWeight="regular"
|
|
2146
2182
|
themeIntent="body"
|
|
2183
|
+
themeState="default"
|
|
2147
2184
|
themeTypeface="neutral"
|
|
2148
|
-
themeVariant="default"
|
|
2149
2185
|
>
|
|
2150
2186
|
Amount (AUD)
|
|
2151
2187
|
</Text>
|
|
@@ -2167,8 +2203,11 @@ exports[`TextInput idle with suffix and prefix are React Element renders correct
|
|
|
2167
2203
|
Object {
|
|
2168
2204
|
"alignSelf": "stretch",
|
|
2169
2205
|
"flexGrow": 2,
|
|
2170
|
-
"
|
|
2206
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
2207
|
+
"fontSize": 16,
|
|
2208
|
+
"height": undefined,
|
|
2171
2209
|
"marginHorizontal": 8,
|
|
2210
|
+
"maxHeight": 144,
|
|
2172
2211
|
"paddingVertical": 0,
|
|
2173
2212
|
"textAlignVertical": "center",
|
|
2174
2213
|
},
|
|
@@ -2179,6 +2218,7 @@ exports[`TextInput idle with suffix and prefix are React Element renders correct
|
|
|
2179
2218
|
]
|
|
2180
2219
|
}
|
|
2181
2220
|
testID="text-input"
|
|
2221
|
+
themeVariant="text"
|
|
2182
2222
|
/>
|
|
2183
2223
|
</View>
|
|
2184
2224
|
<HeroIcon
|
|
@@ -2273,7 +2313,7 @@ exports[`TextInput loading renders correctly 1`] = `
|
|
|
2273
2313
|
}
|
|
2274
2314
|
testID="text-input-border"
|
|
2275
2315
|
themeFocused={false}
|
|
2276
|
-
|
|
2316
|
+
themeState="readonly"
|
|
2277
2317
|
/>
|
|
2278
2318
|
<View
|
|
2279
2319
|
style={
|
|
@@ -2306,6 +2346,7 @@ exports[`TextInput loading renders correctly 1`] = `
|
|
|
2306
2346
|
undefined,
|
|
2307
2347
|
]
|
|
2308
2348
|
}
|
|
2349
|
+
themeVariant="text"
|
|
2309
2350
|
/>
|
|
2310
2351
|
<TextInput
|
|
2311
2352
|
accessibilityState={
|
|
@@ -2323,8 +2364,11 @@ exports[`TextInput loading renders correctly 1`] = `
|
|
|
2323
2364
|
Object {
|
|
2324
2365
|
"alignSelf": "stretch",
|
|
2325
2366
|
"flexGrow": 2,
|
|
2326
|
-
"
|
|
2367
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
2368
|
+
"fontSize": 16,
|
|
2369
|
+
"height": undefined,
|
|
2327
2370
|
"marginHorizontal": 8,
|
|
2371
|
+
"maxHeight": 144,
|
|
2328
2372
|
"paddingVertical": 0,
|
|
2329
2373
|
"textAlignVertical": "center",
|
|
2330
2374
|
},
|
|
@@ -2335,6 +2379,7 @@ exports[`TextInput loading renders correctly 1`] = `
|
|
|
2335
2379
|
]
|
|
2336
2380
|
}
|
|
2337
2381
|
testID="text-input"
|
|
2382
|
+
themeVariant="text"
|
|
2338
2383
|
/>
|
|
2339
2384
|
</View>
|
|
2340
2385
|
<View
|
|
@@ -2442,7 +2487,7 @@ exports[`TextInput max length renders correctly 1`] = `
|
|
|
2442
2487
|
}
|
|
2443
2488
|
testID="text-input-border"
|
|
2444
2489
|
themeFocused={false}
|
|
2445
|
-
|
|
2490
|
+
themeState="error"
|
|
2446
2491
|
/>
|
|
2447
2492
|
<View
|
|
2448
2493
|
pointerEvents="none"
|
|
@@ -2486,8 +2531,8 @@ exports[`TextInput max length renders correctly 1`] = `
|
|
|
2486
2531
|
themeFontSize="small"
|
|
2487
2532
|
themeFontWeight="regular"
|
|
2488
2533
|
themeIntent="body"
|
|
2534
|
+
themeState="error"
|
|
2489
2535
|
themeTypeface="neutral"
|
|
2490
|
-
themeVariant="error"
|
|
2491
2536
|
>
|
|
2492
2537
|
*
|
|
2493
2538
|
</Text>
|
|
@@ -2516,8 +2561,8 @@ exports[`TextInput max length renders correctly 1`] = `
|
|
|
2516
2561
|
themeFontSize="small"
|
|
2517
2562
|
themeFontWeight="regular"
|
|
2518
2563
|
themeIntent="body"
|
|
2564
|
+
themeState="error"
|
|
2519
2565
|
themeTypeface="neutral"
|
|
2520
|
-
themeVariant="error"
|
|
2521
2566
|
>
|
|
2522
2567
|
Shout out
|
|
2523
2568
|
</Text>
|
|
@@ -2555,8 +2600,11 @@ exports[`TextInput max length renders correctly 1`] = `
|
|
|
2555
2600
|
Object {
|
|
2556
2601
|
"alignSelf": "stretch",
|
|
2557
2602
|
"flexGrow": 2,
|
|
2558
|
-
"
|
|
2603
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
2604
|
+
"fontSize": 16,
|
|
2605
|
+
"height": undefined,
|
|
2559
2606
|
"marginHorizontal": 8,
|
|
2607
|
+
"maxHeight": 144,
|
|
2560
2608
|
"paddingVertical": 0,
|
|
2561
2609
|
"textAlignVertical": "center",
|
|
2562
2610
|
},
|
|
@@ -2567,6 +2615,7 @@ exports[`TextInput max length renders correctly 1`] = `
|
|
|
2567
2615
|
]
|
|
2568
2616
|
}
|
|
2569
2617
|
testID="text-input"
|
|
2618
|
+
themeVariant="text"
|
|
2570
2619
|
value="shout out Tung Van"
|
|
2571
2620
|
/>
|
|
2572
2621
|
</View>
|
|
@@ -2680,8 +2729,8 @@ exports[`TextInput max length renders correctly 1`] = `
|
|
|
2680
2729
|
themeFontSize="small"
|
|
2681
2730
|
themeFontWeight="regular"
|
|
2682
2731
|
themeIntent="body"
|
|
2732
|
+
themeState="error"
|
|
2683
2733
|
themeTypeface="neutral"
|
|
2684
|
-
themeVariant="error"
|
|
2685
2734
|
>
|
|
2686
2735
|
18
|
|
2687
2736
|
/
|
|
@@ -2692,6 +2741,275 @@ exports[`TextInput max length renders correctly 1`] = `
|
|
|
2692
2741
|
</View>
|
|
2693
2742
|
`;
|
|
2694
2743
|
|
|
2744
|
+
exports[`TextInput max length renders correctly with hide character count 1`] = `
|
|
2745
|
+
<View
|
|
2746
|
+
pointerEvents="auto"
|
|
2747
|
+
style={
|
|
2748
|
+
Array [
|
|
2749
|
+
Object {
|
|
2750
|
+
"marginTop": 8,
|
|
2751
|
+
"width": "100%",
|
|
2752
|
+
},
|
|
2753
|
+
undefined,
|
|
2754
|
+
]
|
|
2755
|
+
}
|
|
2756
|
+
>
|
|
2757
|
+
<View
|
|
2758
|
+
style={
|
|
2759
|
+
Array [
|
|
2760
|
+
Object {
|
|
2761
|
+
"alignItems": "center",
|
|
2762
|
+
"backgroundColor": "#ffffff",
|
|
2763
|
+
"borderRadius": 8,
|
|
2764
|
+
"flexDirection": "row",
|
|
2765
|
+
"padding": 16,
|
|
2766
|
+
},
|
|
2767
|
+
undefined,
|
|
2768
|
+
]
|
|
2769
|
+
}
|
|
2770
|
+
>
|
|
2771
|
+
<View
|
|
2772
|
+
style={
|
|
2773
|
+
Array [
|
|
2774
|
+
Object {
|
|
2775
|
+
"borderColor": "#de350b",
|
|
2776
|
+
"borderRadius": 8,
|
|
2777
|
+
"borderWidth": 1,
|
|
2778
|
+
"bottom": 0,
|
|
2779
|
+
"left": 0,
|
|
2780
|
+
"position": "absolute",
|
|
2781
|
+
"right": 0,
|
|
2782
|
+
"top": 0,
|
|
2783
|
+
},
|
|
2784
|
+
Array [
|
|
2785
|
+
Object {
|
|
2786
|
+
"backgroundColor": "#ffffff",
|
|
2787
|
+
},
|
|
2788
|
+
undefined,
|
|
2789
|
+
],
|
|
2790
|
+
]
|
|
2791
|
+
}
|
|
2792
|
+
testID="text-input-border"
|
|
2793
|
+
themeFocused={false}
|
|
2794
|
+
themeState="error"
|
|
2795
|
+
/>
|
|
2796
|
+
<View
|
|
2797
|
+
pointerEvents="none"
|
|
2798
|
+
style={
|
|
2799
|
+
Array [
|
|
2800
|
+
Object {
|
|
2801
|
+
"backgroundColor": "#ffffff",
|
|
2802
|
+
"flexDirection": "row",
|
|
2803
|
+
"left": 16,
|
|
2804
|
+
"paddingHorizontal": 4,
|
|
2805
|
+
"position": "absolute",
|
|
2806
|
+
"top": -10,
|
|
2807
|
+
"zIndex": 1,
|
|
2808
|
+
},
|
|
2809
|
+
Object {
|
|
2810
|
+
"backgroundColor": "#ffffff",
|
|
2811
|
+
},
|
|
2812
|
+
]
|
|
2813
|
+
}
|
|
2814
|
+
testID="label-container"
|
|
2815
|
+
>
|
|
2816
|
+
<Text
|
|
2817
|
+
allowFontScaling={false}
|
|
2818
|
+
style={
|
|
2819
|
+
Array [
|
|
2820
|
+
Object {
|
|
2821
|
+
"color": "#001f23",
|
|
2822
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
2823
|
+
"fontSize": 12,
|
|
2824
|
+
"letterSpacing": 0.36,
|
|
2825
|
+
"lineHeight": 20,
|
|
2826
|
+
},
|
|
2827
|
+
Array [
|
|
2828
|
+
Object {
|
|
2829
|
+
"color": "#de350b",
|
|
2830
|
+
},
|
|
2831
|
+
undefined,
|
|
2832
|
+
],
|
|
2833
|
+
]
|
|
2834
|
+
}
|
|
2835
|
+
themeFontSize="small"
|
|
2836
|
+
themeFontWeight="regular"
|
|
2837
|
+
themeIntent="body"
|
|
2838
|
+
themeState="error"
|
|
2839
|
+
themeTypeface="neutral"
|
|
2840
|
+
>
|
|
2841
|
+
*
|
|
2842
|
+
</Text>
|
|
2843
|
+
<Text
|
|
2844
|
+
allowFontScaling={false}
|
|
2845
|
+
style={
|
|
2846
|
+
Array [
|
|
2847
|
+
Object {
|
|
2848
|
+
"color": "#001f23",
|
|
2849
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
2850
|
+
"fontSize": 12,
|
|
2851
|
+
"letterSpacing": 0.36,
|
|
2852
|
+
"lineHeight": 20,
|
|
2853
|
+
},
|
|
2854
|
+
Array [
|
|
2855
|
+
Object {
|
|
2856
|
+
"color": "#001f23",
|
|
2857
|
+
},
|
|
2858
|
+
Object {
|
|
2859
|
+
"backgroundColor": "#ffffff",
|
|
2860
|
+
},
|
|
2861
|
+
],
|
|
2862
|
+
]
|
|
2863
|
+
}
|
|
2864
|
+
testID="input-label"
|
|
2865
|
+
themeFontSize="small"
|
|
2866
|
+
themeFontWeight="regular"
|
|
2867
|
+
themeIntent="body"
|
|
2868
|
+
themeState="error"
|
|
2869
|
+
themeTypeface="neutral"
|
|
2870
|
+
>
|
|
2871
|
+
Shout out
|
|
2872
|
+
</Text>
|
|
2873
|
+
</View>
|
|
2874
|
+
<View
|
|
2875
|
+
style={
|
|
2876
|
+
Array [
|
|
2877
|
+
Object {
|
|
2878
|
+
"alignItems": "center",
|
|
2879
|
+
"alignSelf": "stretch",
|
|
2880
|
+
"flexDirection": "row",
|
|
2881
|
+
"flexGrow": 2,
|
|
2882
|
+
"flexShrink": 1,
|
|
2883
|
+
},
|
|
2884
|
+
undefined,
|
|
2885
|
+
]
|
|
2886
|
+
}
|
|
2887
|
+
>
|
|
2888
|
+
<TextInput
|
|
2889
|
+
accessibilityState={
|
|
2890
|
+
Object {
|
|
2891
|
+
"disabled": false,
|
|
2892
|
+
}
|
|
2893
|
+
}
|
|
2894
|
+
allowFontScaling={false}
|
|
2895
|
+
editable={true}
|
|
2896
|
+
maxLength={255}
|
|
2897
|
+
multiline={true}
|
|
2898
|
+
onBlur={[Function]}
|
|
2899
|
+
onChangeText={[Function]}
|
|
2900
|
+
onFocus={[Function]}
|
|
2901
|
+
placeholder=" "
|
|
2902
|
+
style={
|
|
2903
|
+
Array [
|
|
2904
|
+
Object {
|
|
2905
|
+
"alignSelf": "stretch",
|
|
2906
|
+
"flexGrow": 2,
|
|
2907
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
2908
|
+
"fontSize": 16,
|
|
2909
|
+
"height": undefined,
|
|
2910
|
+
"marginHorizontal": 8,
|
|
2911
|
+
"maxHeight": 144,
|
|
2912
|
+
"paddingVertical": 0,
|
|
2913
|
+
"textAlignVertical": "center",
|
|
2914
|
+
},
|
|
2915
|
+
Object {
|
|
2916
|
+
"backgroundColor": "#ffffff",
|
|
2917
|
+
"color": "#001f23",
|
|
2918
|
+
},
|
|
2919
|
+
]
|
|
2920
|
+
}
|
|
2921
|
+
testID="text-input"
|
|
2922
|
+
themeVariant="text"
|
|
2923
|
+
value="shout out Tung Van"
|
|
2924
|
+
/>
|
|
2925
|
+
</View>
|
|
2926
|
+
</View>
|
|
2927
|
+
<View
|
|
2928
|
+
style={
|
|
2929
|
+
Array [
|
|
2930
|
+
Object {
|
|
2931
|
+
"minHeight": 16,
|
|
2932
|
+
"paddingLeft": 16,
|
|
2933
|
+
},
|
|
2934
|
+
undefined,
|
|
2935
|
+
]
|
|
2936
|
+
}
|
|
2937
|
+
>
|
|
2938
|
+
<View
|
|
2939
|
+
style={
|
|
2940
|
+
Array [
|
|
2941
|
+
Object {
|
|
2942
|
+
"flexDirection": "row",
|
|
2943
|
+
"justifyContent": "space-between",
|
|
2944
|
+
},
|
|
2945
|
+
undefined,
|
|
2946
|
+
]
|
|
2947
|
+
}
|
|
2948
|
+
>
|
|
2949
|
+
<View
|
|
2950
|
+
style={
|
|
2951
|
+
Array [
|
|
2952
|
+
Object {
|
|
2953
|
+
"alignItems": "center",
|
|
2954
|
+
"flex": 1,
|
|
2955
|
+
"flexDirection": "row",
|
|
2956
|
+
"flexGrow": 4,
|
|
2957
|
+
"marginRight": 4,
|
|
2958
|
+
},
|
|
2959
|
+
undefined,
|
|
2960
|
+
]
|
|
2961
|
+
}
|
|
2962
|
+
>
|
|
2963
|
+
<HeroIcon
|
|
2964
|
+
name="circle-info"
|
|
2965
|
+
style={
|
|
2966
|
+
Array [
|
|
2967
|
+
Object {
|
|
2968
|
+
"color": "#de350b",
|
|
2969
|
+
"fontSize": 16,
|
|
2970
|
+
},
|
|
2971
|
+
undefined,
|
|
2972
|
+
]
|
|
2973
|
+
}
|
|
2974
|
+
testID="input-error-icon"
|
|
2975
|
+
themeIntent="danger"
|
|
2976
|
+
themeSize="xsmall"
|
|
2977
|
+
/>
|
|
2978
|
+
<Text
|
|
2979
|
+
allowFontScaling={false}
|
|
2980
|
+
style={
|
|
2981
|
+
Array [
|
|
2982
|
+
Object {
|
|
2983
|
+
"color": "#001f23",
|
|
2984
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
2985
|
+
"fontSize": 14,
|
|
2986
|
+
"letterSpacing": 0.42,
|
|
2987
|
+
"lineHeight": 22,
|
|
2988
|
+
},
|
|
2989
|
+
Array [
|
|
2990
|
+
Object {
|
|
2991
|
+
"color": "#de350b",
|
|
2992
|
+
"fontSize": 12,
|
|
2993
|
+
"marginLeft": 4,
|
|
2994
|
+
},
|
|
2995
|
+
undefined,
|
|
2996
|
+
],
|
|
2997
|
+
]
|
|
2998
|
+
}
|
|
2999
|
+
testID="input-error-message"
|
|
3000
|
+
themeFontSize="medium"
|
|
3001
|
+
themeFontWeight="regular"
|
|
3002
|
+
themeIntent="body"
|
|
3003
|
+
themeTypeface="neutral"
|
|
3004
|
+
>
|
|
3005
|
+
must not exceed character limit
|
|
3006
|
+
</Text>
|
|
3007
|
+
</View>
|
|
3008
|
+
</View>
|
|
3009
|
+
</View>
|
|
3010
|
+
</View>
|
|
3011
|
+
`;
|
|
3012
|
+
|
|
2695
3013
|
exports[`TextInput placeholder TextInput is idle renders correctly 1`] = `
|
|
2696
3014
|
<View
|
|
2697
3015
|
pointerEvents="auto"
|
|
@@ -2742,7 +3060,7 @@ exports[`TextInput placeholder TextInput is idle renders correctly 1`] = `
|
|
|
2742
3060
|
}
|
|
2743
3061
|
testID="text-input-border"
|
|
2744
3062
|
themeFocused={false}
|
|
2745
|
-
|
|
3063
|
+
themeState="default"
|
|
2746
3064
|
/>
|
|
2747
3065
|
<HeroIcon
|
|
2748
3066
|
name="dollar-sign"
|
|
@@ -2790,6 +3108,7 @@ exports[`TextInput placeholder TextInput is idle renders correctly 1`] = `
|
|
|
2790
3108
|
undefined,
|
|
2791
3109
|
]
|
|
2792
3110
|
}
|
|
3111
|
+
themeVariant="text"
|
|
2793
3112
|
>
|
|
2794
3113
|
<Text
|
|
2795
3114
|
allowFontScaling={false}
|
|
@@ -2805,7 +3124,7 @@ exports[`TextInput placeholder TextInput is idle renders correctly 1`] = `
|
|
|
2805
3124
|
Array [
|
|
2806
3125
|
Object {
|
|
2807
3126
|
"color": "#de350b",
|
|
2808
|
-
"fontSize":
|
|
3127
|
+
"fontSize": 16,
|
|
2809
3128
|
},
|
|
2810
3129
|
undefined,
|
|
2811
3130
|
],
|
|
@@ -2814,8 +3133,8 @@ exports[`TextInput placeholder TextInput is idle renders correctly 1`] = `
|
|
|
2814
3133
|
themeFontSize="medium"
|
|
2815
3134
|
themeFontWeight="regular"
|
|
2816
3135
|
themeIntent="body"
|
|
3136
|
+
themeState="default"
|
|
2817
3137
|
themeTypeface="neutral"
|
|
2818
|
-
themeVariant="default"
|
|
2819
3138
|
>
|
|
2820
3139
|
*
|
|
2821
3140
|
</Text>
|
|
@@ -2835,7 +3154,7 @@ exports[`TextInput placeholder TextInput is idle renders correctly 1`] = `
|
|
|
2835
3154
|
"alignContent": "center",
|
|
2836
3155
|
"alignItems": "center",
|
|
2837
3156
|
"color": "#001f23",
|
|
2838
|
-
"fontSize":
|
|
3157
|
+
"fontSize": 16,
|
|
2839
3158
|
"marginTop": -2,
|
|
2840
3159
|
"textAlignVertical": "center",
|
|
2841
3160
|
},
|
|
@@ -2847,8 +3166,8 @@ exports[`TextInput placeholder TextInput is idle renders correctly 1`] = `
|
|
|
2847
3166
|
themeFontSize="medium"
|
|
2848
3167
|
themeFontWeight="regular"
|
|
2849
3168
|
themeIntent="body"
|
|
3169
|
+
themeState="default"
|
|
2850
3170
|
themeTypeface="neutral"
|
|
2851
|
-
themeVariant="default"
|
|
2852
3171
|
>
|
|
2853
3172
|
Amount (AUD)
|
|
2854
3173
|
</Text>
|
|
@@ -2870,8 +3189,11 @@ exports[`TextInput placeholder TextInput is idle renders correctly 1`] = `
|
|
|
2870
3189
|
Object {
|
|
2871
3190
|
"alignSelf": "stretch",
|
|
2872
3191
|
"flexGrow": 2,
|
|
2873
|
-
"
|
|
3192
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
3193
|
+
"fontSize": 16,
|
|
3194
|
+
"height": undefined,
|
|
2874
3195
|
"marginHorizontal": 8,
|
|
3196
|
+
"maxHeight": 144,
|
|
2875
3197
|
"paddingVertical": 0,
|
|
2876
3198
|
"textAlignVertical": "center",
|
|
2877
3199
|
},
|
|
@@ -2882,6 +3204,7 @@ exports[`TextInput placeholder TextInput is idle renders correctly 1`] = `
|
|
|
2882
3204
|
]
|
|
2883
3205
|
}
|
|
2884
3206
|
testID="text-input"
|
|
3207
|
+
themeVariant="text"
|
|
2885
3208
|
/>
|
|
2886
3209
|
</View>
|
|
2887
3210
|
</View>
|
|
@@ -2988,7 +3311,7 @@ exports[`TextInput readonly renders correctly 1`] = `
|
|
|
2988
3311
|
}
|
|
2989
3312
|
testID="text-input-border"
|
|
2990
3313
|
themeFocused={false}
|
|
2991
|
-
|
|
3314
|
+
themeState="readonly"
|
|
2992
3315
|
/>
|
|
2993
3316
|
<View
|
|
2994
3317
|
pointerEvents="none"
|
|
@@ -3032,8 +3355,8 @@ exports[`TextInput readonly renders correctly 1`] = `
|
|
|
3032
3355
|
themeFontSize="small"
|
|
3033
3356
|
themeFontWeight="regular"
|
|
3034
3357
|
themeIntent="body"
|
|
3358
|
+
themeState="readonly"
|
|
3035
3359
|
themeTypeface="neutral"
|
|
3036
|
-
themeVariant="readonly"
|
|
3037
3360
|
>
|
|
3038
3361
|
*
|
|
3039
3362
|
</Text>
|
|
@@ -3062,8 +3385,8 @@ exports[`TextInput readonly renders correctly 1`] = `
|
|
|
3062
3385
|
themeFontSize="small"
|
|
3063
3386
|
themeFontWeight="regular"
|
|
3064
3387
|
themeIntent="body"
|
|
3388
|
+
themeState="readonly"
|
|
3065
3389
|
themeTypeface="neutral"
|
|
3066
|
-
themeVariant="readonly"
|
|
3067
3390
|
>
|
|
3068
3391
|
Amount (AUD)
|
|
3069
3392
|
</Text>
|
|
@@ -3114,8 +3437,11 @@ exports[`TextInput readonly renders correctly 1`] = `
|
|
|
3114
3437
|
Object {
|
|
3115
3438
|
"alignSelf": "stretch",
|
|
3116
3439
|
"flexGrow": 2,
|
|
3117
|
-
"
|
|
3440
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
3441
|
+
"fontSize": 16,
|
|
3442
|
+
"height": undefined,
|
|
3118
3443
|
"marginHorizontal": 8,
|
|
3444
|
+
"maxHeight": 144,
|
|
3119
3445
|
"paddingVertical": 0,
|
|
3120
3446
|
"textAlignVertical": "center",
|
|
3121
3447
|
},
|
|
@@ -3126,6 +3452,7 @@ exports[`TextInput readonly renders correctly 1`] = `
|
|
|
3126
3452
|
]
|
|
3127
3453
|
}
|
|
3128
3454
|
testID="text-input"
|
|
3455
|
+
themeVariant="text"
|
|
3129
3456
|
value="100"
|
|
3130
3457
|
/>
|
|
3131
3458
|
</View>
|
|
@@ -3221,7 +3548,7 @@ exports[`TextInput ref ref methods work correctly 1`] = `
|
|
|
3221
3548
|
}
|
|
3222
3549
|
testID="text-input-border"
|
|
3223
3550
|
themeFocused={false}
|
|
3224
|
-
|
|
3551
|
+
themeState="filled"
|
|
3225
3552
|
/>
|
|
3226
3553
|
<View
|
|
3227
3554
|
pointerEvents="none"
|
|
@@ -3268,8 +3595,8 @@ exports[`TextInput ref ref methods work correctly 1`] = `
|
|
|
3268
3595
|
themeFontSize="small"
|
|
3269
3596
|
themeFontWeight="regular"
|
|
3270
3597
|
themeIntent="body"
|
|
3598
|
+
themeState="filled"
|
|
3271
3599
|
themeTypeface="neutral"
|
|
3272
|
-
themeVariant="filled"
|
|
3273
3600
|
>
|
|
3274
3601
|
Amount (AUD)
|
|
3275
3602
|
</Text>
|
|
@@ -3305,8 +3632,11 @@ exports[`TextInput ref ref methods work correctly 1`] = `
|
|
|
3305
3632
|
Object {
|
|
3306
3633
|
"alignSelf": "stretch",
|
|
3307
3634
|
"flexGrow": 2,
|
|
3308
|
-
"
|
|
3635
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
3636
|
+
"fontSize": 16,
|
|
3637
|
+
"height": undefined,
|
|
3309
3638
|
"marginHorizontal": 8,
|
|
3639
|
+
"maxHeight": 144,
|
|
3310
3640
|
"paddingVertical": 0,
|
|
3311
3641
|
"textAlignVertical": "center",
|
|
3312
3642
|
},
|
|
@@ -3317,6 +3647,7 @@ exports[`TextInput ref ref methods work correctly 1`] = `
|
|
|
3317
3647
|
]
|
|
3318
3648
|
}
|
|
3319
3649
|
testID="text-input"
|
|
3650
|
+
themeVariant="text"
|
|
3320
3651
|
value="2000"
|
|
3321
3652
|
/>
|
|
3322
3653
|
</View>
|
|
@@ -3397,7 +3728,7 @@ exports[`TextInput required renders correctly 1`] = `
|
|
|
3397
3728
|
}
|
|
3398
3729
|
testID="text-input-border"
|
|
3399
3730
|
themeFocused={false}
|
|
3400
|
-
|
|
3731
|
+
themeState="default"
|
|
3401
3732
|
/>
|
|
3402
3733
|
<HeroIcon
|
|
3403
3734
|
name="dollar-sign"
|
|
@@ -3445,6 +3776,7 @@ exports[`TextInput required renders correctly 1`] = `
|
|
|
3445
3776
|
undefined,
|
|
3446
3777
|
]
|
|
3447
3778
|
}
|
|
3779
|
+
themeVariant="text"
|
|
3448
3780
|
>
|
|
3449
3781
|
<Text
|
|
3450
3782
|
allowFontScaling={false}
|
|
@@ -3460,7 +3792,7 @@ exports[`TextInput required renders correctly 1`] = `
|
|
|
3460
3792
|
Array [
|
|
3461
3793
|
Object {
|
|
3462
3794
|
"color": "#de350b",
|
|
3463
|
-
"fontSize":
|
|
3795
|
+
"fontSize": 16,
|
|
3464
3796
|
},
|
|
3465
3797
|
undefined,
|
|
3466
3798
|
],
|
|
@@ -3469,8 +3801,8 @@ exports[`TextInput required renders correctly 1`] = `
|
|
|
3469
3801
|
themeFontSize="medium"
|
|
3470
3802
|
themeFontWeight="regular"
|
|
3471
3803
|
themeIntent="body"
|
|
3804
|
+
themeState="default"
|
|
3472
3805
|
themeTypeface="neutral"
|
|
3473
|
-
themeVariant="default"
|
|
3474
3806
|
>
|
|
3475
3807
|
*
|
|
3476
3808
|
</Text>
|
|
@@ -3490,7 +3822,7 @@ exports[`TextInput required renders correctly 1`] = `
|
|
|
3490
3822
|
"alignContent": "center",
|
|
3491
3823
|
"alignItems": "center",
|
|
3492
3824
|
"color": "#001f23",
|
|
3493
|
-
"fontSize":
|
|
3825
|
+
"fontSize": 16,
|
|
3494
3826
|
"marginTop": -2,
|
|
3495
3827
|
"textAlignVertical": "center",
|
|
3496
3828
|
},
|
|
@@ -3502,8 +3834,8 @@ exports[`TextInput required renders correctly 1`] = `
|
|
|
3502
3834
|
themeFontSize="medium"
|
|
3503
3835
|
themeFontWeight="regular"
|
|
3504
3836
|
themeIntent="body"
|
|
3837
|
+
themeState="default"
|
|
3505
3838
|
themeTypeface="neutral"
|
|
3506
|
-
themeVariant="default"
|
|
3507
3839
|
>
|
|
3508
3840
|
Amount (AUD)
|
|
3509
3841
|
</Text>
|
|
@@ -3525,8 +3857,11 @@ exports[`TextInput required renders correctly 1`] = `
|
|
|
3525
3857
|
Object {
|
|
3526
3858
|
"alignSelf": "stretch",
|
|
3527
3859
|
"flexGrow": 2,
|
|
3528
|
-
"
|
|
3860
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
3861
|
+
"fontSize": 16,
|
|
3862
|
+
"height": undefined,
|
|
3529
3863
|
"marginHorizontal": 8,
|
|
3864
|
+
"maxHeight": 144,
|
|
3530
3865
|
"paddingVertical": 0,
|
|
3531
3866
|
"textAlignVertical": "center",
|
|
3532
3867
|
},
|
|
@@ -3537,6 +3872,7 @@ exports[`TextInput required renders correctly 1`] = `
|
|
|
3537
3872
|
]
|
|
3538
3873
|
}
|
|
3539
3874
|
testID="text-input"
|
|
3875
|
+
themeVariant="text"
|
|
3540
3876
|
/>
|
|
3541
3877
|
</View>
|
|
3542
3878
|
<HeroIcon
|
|
@@ -3580,3 +3916,184 @@ exports[`TextInput required renders correctly 1`] = `
|
|
|
3580
3916
|
</View>
|
|
3581
3917
|
</View>
|
|
3582
3918
|
`;
|
|
3919
|
+
|
|
3920
|
+
exports[`TextInput variants renders textarea variant correctly 1`] = `
|
|
3921
|
+
<View
|
|
3922
|
+
pointerEvents="auto"
|
|
3923
|
+
style={
|
|
3924
|
+
Array [
|
|
3925
|
+
Object {
|
|
3926
|
+
"marginTop": 8,
|
|
3927
|
+
"width": "100%",
|
|
3928
|
+
},
|
|
3929
|
+
undefined,
|
|
3930
|
+
]
|
|
3931
|
+
}
|
|
3932
|
+
>
|
|
3933
|
+
<View
|
|
3934
|
+
style={
|
|
3935
|
+
Array [
|
|
3936
|
+
Object {
|
|
3937
|
+
"alignItems": "center",
|
|
3938
|
+
"backgroundColor": "#ffffff",
|
|
3939
|
+
"borderRadius": 8,
|
|
3940
|
+
"flexDirection": "row",
|
|
3941
|
+
"padding": 16,
|
|
3942
|
+
},
|
|
3943
|
+
undefined,
|
|
3944
|
+
]
|
|
3945
|
+
}
|
|
3946
|
+
>
|
|
3947
|
+
<View
|
|
3948
|
+
style={
|
|
3949
|
+
Array [
|
|
3950
|
+
Object {
|
|
3951
|
+
"borderColor": "#001f23",
|
|
3952
|
+
"borderRadius": 8,
|
|
3953
|
+
"borderWidth": 1,
|
|
3954
|
+
"bottom": 0,
|
|
3955
|
+
"left": 0,
|
|
3956
|
+
"position": "absolute",
|
|
3957
|
+
"right": 0,
|
|
3958
|
+
"top": 0,
|
|
3959
|
+
},
|
|
3960
|
+
Array [
|
|
3961
|
+
Object {
|
|
3962
|
+
"backgroundColor": "#ffffff",
|
|
3963
|
+
},
|
|
3964
|
+
undefined,
|
|
3965
|
+
],
|
|
3966
|
+
]
|
|
3967
|
+
}
|
|
3968
|
+
testID="text-input-border"
|
|
3969
|
+
themeFocused={false}
|
|
3970
|
+
themeState="filled"
|
|
3971
|
+
/>
|
|
3972
|
+
<View
|
|
3973
|
+
pointerEvents="none"
|
|
3974
|
+
style={
|
|
3975
|
+
Array [
|
|
3976
|
+
Object {
|
|
3977
|
+
"backgroundColor": "#ffffff",
|
|
3978
|
+
"flexDirection": "row",
|
|
3979
|
+
"left": 16,
|
|
3980
|
+
"paddingHorizontal": 4,
|
|
3981
|
+
"position": "absolute",
|
|
3982
|
+
"top": -10,
|
|
3983
|
+
"zIndex": 1,
|
|
3984
|
+
},
|
|
3985
|
+
Object {
|
|
3986
|
+
"backgroundColor": "#ffffff",
|
|
3987
|
+
},
|
|
3988
|
+
]
|
|
3989
|
+
}
|
|
3990
|
+
testID="label-container"
|
|
3991
|
+
>
|
|
3992
|
+
<Text
|
|
3993
|
+
allowFontScaling={false}
|
|
3994
|
+
style={
|
|
3995
|
+
Array [
|
|
3996
|
+
Object {
|
|
3997
|
+
"color": "#001f23",
|
|
3998
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
3999
|
+
"fontSize": 12,
|
|
4000
|
+
"letterSpacing": 0.36,
|
|
4001
|
+
"lineHeight": 20,
|
|
4002
|
+
},
|
|
4003
|
+
Array [
|
|
4004
|
+
Object {
|
|
4005
|
+
"color": "#001f23",
|
|
4006
|
+
},
|
|
4007
|
+
Object {
|
|
4008
|
+
"backgroundColor": "#ffffff",
|
|
4009
|
+
},
|
|
4010
|
+
],
|
|
4011
|
+
]
|
|
4012
|
+
}
|
|
4013
|
+
testID="input-label"
|
|
4014
|
+
themeFontSize="small"
|
|
4015
|
+
themeFontWeight="regular"
|
|
4016
|
+
themeIntent="body"
|
|
4017
|
+
themeState="filled"
|
|
4018
|
+
themeTypeface="neutral"
|
|
4019
|
+
>
|
|
4020
|
+
Amount (AUD)
|
|
4021
|
+
</Text>
|
|
4022
|
+
</View>
|
|
4023
|
+
<View
|
|
4024
|
+
style={
|
|
4025
|
+
Array [
|
|
4026
|
+
Object {
|
|
4027
|
+
"alignItems": "center",
|
|
4028
|
+
"alignSelf": "stretch",
|
|
4029
|
+
"flexDirection": "row",
|
|
4030
|
+
"flexGrow": 2,
|
|
4031
|
+
"flexShrink": 1,
|
|
4032
|
+
},
|
|
4033
|
+
undefined,
|
|
4034
|
+
]
|
|
4035
|
+
}
|
|
4036
|
+
>
|
|
4037
|
+
<TextInput
|
|
4038
|
+
accessibilityState={
|
|
4039
|
+
Object {
|
|
4040
|
+
"disabled": false,
|
|
4041
|
+
}
|
|
4042
|
+
}
|
|
4043
|
+
allowFontScaling={false}
|
|
4044
|
+
editable={true}
|
|
4045
|
+
multiline={true}
|
|
4046
|
+
onBlur={[Function]}
|
|
4047
|
+
onChangeText={[Function]}
|
|
4048
|
+
onFocus={[Function]}
|
|
4049
|
+
placeholder=" "
|
|
4050
|
+
style={
|
|
4051
|
+
Array [
|
|
4052
|
+
Object {
|
|
4053
|
+
"alignSelf": "stretch",
|
|
4054
|
+
"flexGrow": 2,
|
|
4055
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
4056
|
+
"fontSize": 16,
|
|
4057
|
+
"height": 144,
|
|
4058
|
+
"marginHorizontal": 8,
|
|
4059
|
+
"maxHeight": 144,
|
|
4060
|
+
"paddingVertical": 0,
|
|
4061
|
+
"textAlignVertical": "top",
|
|
4062
|
+
},
|
|
4063
|
+
Object {
|
|
4064
|
+
"backgroundColor": "#ffffff",
|
|
4065
|
+
"color": "#001f23",
|
|
4066
|
+
},
|
|
4067
|
+
]
|
|
4068
|
+
}
|
|
4069
|
+
testID="text-input"
|
|
4070
|
+
themeVariant="textarea"
|
|
4071
|
+
value="2000"
|
|
4072
|
+
/>
|
|
4073
|
+
</View>
|
|
4074
|
+
</View>
|
|
4075
|
+
<View
|
|
4076
|
+
style={
|
|
4077
|
+
Array [
|
|
4078
|
+
Object {
|
|
4079
|
+
"minHeight": 16,
|
|
4080
|
+
"paddingLeft": 16,
|
|
4081
|
+
},
|
|
4082
|
+
undefined,
|
|
4083
|
+
]
|
|
4084
|
+
}
|
|
4085
|
+
>
|
|
4086
|
+
<View
|
|
4087
|
+
style={
|
|
4088
|
+
Array [
|
|
4089
|
+
Object {
|
|
4090
|
+
"flexDirection": "row",
|
|
4091
|
+
"justifyContent": "space-between",
|
|
4092
|
+
},
|
|
4093
|
+
undefined,
|
|
4094
|
+
]
|
|
4095
|
+
}
|
|
4096
|
+
/>
|
|
4097
|
+
</View>
|
|
4098
|
+
</View>
|
|
4099
|
+
`;
|