@hero-design/rn 8.42.4 → 8.43.1
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 +1 -1
- package/CHANGELOG.md +20 -0
- package/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/es/index.js +2174 -1988
- package/jest-setup.ts +2 -0
- package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/lib/index.js +2173 -1986
- package/package.json +20 -20
- package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +68 -0
- package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +102 -0
- package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +85 -0
- package/src/components/Attachment/__tests__/__snapshots__/index.spec.tsx.snap +34 -0
- package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/StyledAvatarStack.spec.tsx.snap +12 -0
- package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/index.spec.tsx.snap +108 -0
- package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +17 -0
- package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +36 -0
- package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +36 -0
- package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +247 -211
- package/src/components/BottomSheet/index.tsx +1 -1
- package/src/components/Button/LoadingIndicator/StyledLoadingIndicator.tsx +6 -10
- package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/StyledLoadingIndicator.spec.tsx.snap +0 -20
- package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +0 -70
- package/src/components/Button/StyledButton.tsx +4 -0
- package/src/components/Button/UtilityButton/__tests__/__snapshots__/index.spec.tsx.snap +34 -0
- package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +144 -42
- package/src/components/Button/__tests__/__snapshots__/IconButton.spec.tsx.snap +17 -0
- package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +90 -0
- package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +85 -0
- package/src/components/Carousel/CardCarousel.tsx +10 -7
- package/src/components/Carousel/__tests__/__snapshots__/CardCarousel.spec.tsx.snap +4 -0
- package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +39 -0
- package/src/components/Carousel/__tests__/index.spec.tsx +8 -10
- package/src/components/Checkbox/__tests__/__snapshots__/StyledCheckbox.spec.tsx.snap +68 -0
- package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +72 -0
- package/src/components/Chip/StyledChip.tsx +121 -0
- package/src/components/Chip/__tests__/__snapshots__/index.spec.tsx.snap +1147 -0
- package/src/components/Chip/__tests__/index.spec.tsx +136 -0
- package/src/components/Chip/index.tsx +82 -0
- package/src/components/Collapse/index.tsx +1 -1
- package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +72 -0
- package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.spec.tsx.snap +48 -0
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +12 -0
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerCalendar.spec.tsx.snap +12 -0
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +470 -399
- package/src/components/Drawer/__tests__/__snapshots__/index.spec.tsx.snap +51 -0
- package/src/components/Error/__tests__/index.spec.tsx +9 -6
- package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +81 -0
- package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +16 -0
- package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +24 -0
- package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
- package/src/components/Icon/IconList.ts +1 -0
- package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +16 -0
- package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +60 -0
- package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +32 -0
- package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +32 -0
- package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +16 -0
- package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +24 -0
- package/src/components/Rate/__tests__/__snapshots__/index.spec.tsx.snap +180 -0
- package/src/components/RichTextEditor/__tests__/RichTextEditor.spec.tsx +8 -10
- package/src/components/RichTextEditor/__tests__/__snapshots__/EditorToolbar.spec.tsx.snap +119 -0
- package/src/components/RichTextEditor/__tests__/__snapshots__/MentionList.spec.tsx.snap +1 -0
- package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +18 -0
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +8 -0
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +124 -0
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +804 -455
- package/src/components/Select/MultiSelect/__tests__/index.spec.tsx +7 -10
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +8 -0
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +124 -0
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +790 -532
- package/src/components/Success/__tests__/index.spec.tsx +9 -6
- package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +51 -0
- package/src/components/Swipeable/index.tsx +3 -3
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +9 -0
- package/src/components/Switch/__tests__/__snapshots__/index.spec.tsx.snap +8 -0
- package/src/components/Tabs/__tests__/SceneView.spec.tsx +19 -23
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +171 -0
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +40 -0
- package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +159 -0
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +24 -0
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +482 -399
- package/src/components/Toast/__tests__/__snapshots__/Toast.spec.tsx.snap +102 -0
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +72 -0
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +96 -0
- package/src/index.ts +2 -0
- package/src/testHelpers/renderWithTheme.tsx +1 -7
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +38 -1
- package/src/theme/components/button.ts +0 -1
- package/src/theme/components/chip.ts +47 -0
- package/src/theme/getTheme.ts +3 -0
- package/tsconfig.json +4 -1
- package/types/components/Accordion/AccordionItem.d.ts +2 -1
- package/types/components/Accordion/index.d.ts +1 -1
- package/types/components/Attachment/index.d.ts +2 -1
- package/types/components/Avatar/Avatar.d.ts +2 -1
- package/types/components/Avatar/AvatarStack/index.d.ts +2 -2
- package/types/components/Avatar/index.d.ts +3 -2
- package/types/components/Badge/StyledBadge.d.ts +0 -4
- package/types/components/BottomSheet/Footer.d.ts +2 -1
- package/types/components/BottomSheet/Header.d.ts +2 -1
- package/types/components/BottomSheet/ScrollView.d.ts +1 -0
- package/types/components/BottomSheet/StyledBottomSheet.d.ts +0 -4
- package/types/components/Box/index.d.ts +2 -1
- package/types/components/Button/IconButton.d.ts +2 -1
- package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +3 -3
- package/types/components/Button/LoadingIndicator/index.d.ts +2 -1
- package/types/components/Button/UtilityButton/index.d.ts +2 -1
- package/types/components/Calendar/CalendarRowItem.d.ts +2 -1
- package/types/components/Calendar/StyledCalendar.d.ts +1 -1
- package/types/components/Calendar/index.d.ts +2 -1
- package/types/components/Carousel/CardCarousel.d.ts +1 -1
- package/types/components/Carousel/CarouselItem.d.ts +2 -1
- package/types/components/Carousel/index.d.ts +2 -2
- package/types/components/Checkbox/index.d.ts +2 -1
- package/types/components/Chip/StyledChip.d.ts +31 -0
- package/types/components/Chip/index.d.ts +27 -0
- package/types/components/Collapse/StyledCollapse.d.ts +0 -2
- package/types/components/Collapse/index.d.ts +2 -1
- package/types/components/ContentNavigator/index.d.ts +2 -1
- package/types/components/DatePicker/DatePickerAndroid.d.ts +2 -1
- package/types/components/DatePicker/DatePickerCalendar.d.ts +2 -1
- package/types/components/DatePicker/DatePickerIOS.d.ts +2 -1
- package/types/components/DatePicker/index.d.ts +2 -1
- package/types/components/Divider/index.d.ts +2 -1
- package/types/components/Drawer/StyledDrawer.d.ts +0 -6
- package/types/components/Error/StyledError.d.ts +0 -4
- package/types/components/FAB/ActionGroup/ActionItem.d.ts +2 -1
- package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +0 -4
- package/types/components/FAB/AnimatedFABIcon.d.ts +2 -1
- package/types/components/HeroDesignProvider/index.d.ts +2 -1
- package/types/components/Icon/AnimatedIcon.d.ts +2 -1
- package/types/components/Icon/IconList.d.ts +1 -1
- package/types/components/Icon/index.d.ts +3 -2
- package/types/components/Icon/utils.d.ts +1 -1
- package/types/components/Image/index.d.ts +1 -0
- package/types/components/Modal/index.d.ts +2 -2
- package/types/components/PageControl/StyledPageControl.d.ts +0 -2
- package/types/components/PageControl/index.d.ts +2 -1
- package/types/components/PinInput/PinCell.d.ts +2 -1
- package/types/components/Portal/PortalHost.d.ts +1 -1
- package/types/components/Portal/PortalProvider.d.ts +1 -1
- package/types/components/Portal/index.d.ts +2 -2
- package/types/components/Progress/ProgressBar.d.ts +1 -0
- package/types/components/Progress/StyledProgressBar.d.ts +0 -2
- package/types/components/Progress/index.d.ts +1 -0
- package/types/components/Rate/StyledRate.d.ts +0 -2
- package/types/components/Rate/index.d.ts +2 -1
- package/types/components/RefreshControl/index.d.ts +2 -1
- package/types/components/RichTextEditor/EditorToolbar.d.ts +2 -1
- package/types/components/RichTextEditor/MentionList.d.ts +2 -1
- package/types/components/RichTextEditor/index.d.ts +2 -2
- package/types/components/Select/BaseOptionList.d.ts +1 -1
- package/types/components/Select/Footer.d.ts +2 -1
- package/types/components/Select/MultiSelect/Option.d.ts +2 -1
- package/types/components/Select/MultiSelect/OptionList.d.ts +2 -1
- package/types/components/Select/MultiSelect/index.d.ts +1 -1
- package/types/components/Select/SingleSelect/Option.d.ts +2 -1
- package/types/components/Select/SingleSelect/OptionList.d.ts +1 -1
- package/types/components/Select/SingleSelect/StyledSingleSelect.d.ts +2 -1
- package/types/components/Select/SingleSelect/index.d.ts +1 -1
- package/types/components/Select/helpers.d.ts +1 -2
- package/types/components/Select/index.d.ts +2 -1
- package/types/components/Skeleton/index.d.ts +2 -1
- package/types/components/Slider/index.d.ts +2 -1
- package/types/components/Spinner/AnimatedSpinner.d.ts +2 -1
- package/types/components/Success/StyledSuccess.d.ts +0 -2
- package/types/components/Swipeable/SwipeableAction.d.ts +2 -2
- package/types/components/Swipeable/index.d.ts +3 -3
- package/types/components/Switch/SelectorSwitch/Option.d.ts +2 -1
- package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +0 -6
- package/types/components/Switch/StyledSwitch.d.ts +0 -2
- package/types/components/Tabs/ActiveTabIndicator.d.ts +2 -1
- package/types/components/Tabs/SceneView.d.ts +1 -1
- package/types/components/Tabs/ScrollableTabs.d.ts +2 -1
- package/types/components/Tabs/ScrollableTabsHeader.d.ts +2 -1
- package/types/components/Tabs/StyledScrollableTabs.d.ts +0 -4
- package/types/components/Tabs/StyledTabs.d.ts +0 -4
- package/types/components/Tabs/TabWithBadge.d.ts +2 -2
- package/types/components/Tabs/index.d.ts +2 -1
- package/types/components/TextInput/StyledTextInput.d.ts +1 -1
- package/types/components/TextInput/index.d.ts +1 -1
- package/types/components/TimePicker/TimePickerAndroid.d.ts +2 -1
- package/types/components/TimePicker/TimePickerIOS.d.ts +2 -1
- package/types/components/TimePicker/index.d.ts +2 -1
- package/types/components/Toast/StyledToast.d.ts +0 -2
- package/types/components/Toast/Toast.d.ts +1 -0
- package/types/components/Toast/ToastProvider.d.ts +2 -1
- package/types/components/Toast/index.d.ts +1 -1
- package/types/components/Toolbar/ToolbarGroup.d.ts +2 -1
- package/types/components/Toolbar/ToolbarItem.d.ts +2 -1
- package/types/components/Toolbar/index.d.ts +3 -2
- package/types/components/Typography/Body/index.d.ts +2 -1
- package/types/components/Typography/Caption/index.d.ts +2 -1
- package/types/components/Typography/Label/index.d.ts +2 -1
- package/types/components/Typography/Text/index.d.ts +2 -1
- package/types/components/Typography/Title/index.d.ts +2 -1
- package/types/index.d.ts +2 -1
- package/types/testHelpers/renderWithTheme.d.ts +1 -0
- package/types/theme/ThemeSwitcher.d.ts +2 -2
- package/types/theme/components/button.d.ts +0 -1
- package/types/theme/components/chip.d.ts +40 -0
- package/types/theme/getTheme.d.ts +2 -0
- package/.turbo/turbo-publish:npm.log +0 -0
|
@@ -1,40 +1,65 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
3
|
exports[`DatePickerIOS renders correctly 1`] = `
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
<View
|
|
5
|
+
accessibilityState={
|
|
6
|
+
{
|
|
7
|
+
"busy": undefined,
|
|
8
|
+
"checked": undefined,
|
|
9
|
+
"disabled": false,
|
|
10
|
+
"expanded": undefined,
|
|
11
|
+
"selected": undefined,
|
|
10
12
|
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
onResponderTerminate={[Function]}
|
|
19
|
-
onResponderTerminationRequest={[Function]}
|
|
20
|
-
onStartShouldSetResponder={[Function]}
|
|
21
|
-
style={
|
|
22
|
-
{
|
|
23
|
-
"opacity": 1,
|
|
24
|
-
}
|
|
13
|
+
}
|
|
14
|
+
accessibilityValue={
|
|
15
|
+
{
|
|
16
|
+
"max": undefined,
|
|
17
|
+
"min": undefined,
|
|
18
|
+
"now": undefined,
|
|
19
|
+
"text": undefined,
|
|
25
20
|
}
|
|
21
|
+
}
|
|
22
|
+
accessible={true}
|
|
23
|
+
collapsable={false}
|
|
24
|
+
focusable={true}
|
|
25
|
+
onClick={[Function]}
|
|
26
|
+
onResponderGrant={[Function]}
|
|
27
|
+
onResponderMove={[Function]}
|
|
28
|
+
onResponderRelease={[Function]}
|
|
29
|
+
onResponderTerminate={[Function]}
|
|
30
|
+
onResponderTerminationRequest={[Function]}
|
|
31
|
+
onStartShouldSetResponder={[Function]}
|
|
32
|
+
style={
|
|
33
|
+
{
|
|
34
|
+
"opacity": 1,
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
>
|
|
38
|
+
<View
|
|
39
|
+
pointerEvents="none"
|
|
40
|
+
testID="datePickerInputIOS"
|
|
26
41
|
>
|
|
27
42
|
<View
|
|
28
|
-
pointerEvents="
|
|
29
|
-
|
|
43
|
+
pointerEvents="auto"
|
|
44
|
+
style={
|
|
45
|
+
[
|
|
46
|
+
{
|
|
47
|
+
"marginTop": 8,
|
|
48
|
+
"width": "100%",
|
|
49
|
+
},
|
|
50
|
+
undefined,
|
|
51
|
+
]
|
|
52
|
+
}
|
|
30
53
|
>
|
|
31
54
|
<View
|
|
32
|
-
pointerEvents="auto"
|
|
33
55
|
style={
|
|
34
56
|
[
|
|
35
57
|
{
|
|
36
|
-
"
|
|
37
|
-
"
|
|
58
|
+
"alignItems": "center",
|
|
59
|
+
"backgroundColor": "#ffffff",
|
|
60
|
+
"borderRadius": 8,
|
|
61
|
+
"flexDirection": "row",
|
|
62
|
+
"padding": 16,
|
|
38
63
|
},
|
|
39
64
|
undefined,
|
|
40
65
|
]
|
|
@@ -44,444 +69,274 @@ exports[`DatePickerIOS renders correctly 1`] = `
|
|
|
44
69
|
style={
|
|
45
70
|
[
|
|
46
71
|
{
|
|
47
|
-
"
|
|
48
|
-
"backgroundColor": "#ffffff",
|
|
72
|
+
"borderColor": "#001f23",
|
|
49
73
|
"borderRadius": 8,
|
|
74
|
+
"borderWidth": 1,
|
|
75
|
+
"bottom": 0,
|
|
76
|
+
"left": 0,
|
|
77
|
+
"position": "absolute",
|
|
78
|
+
"right": 0,
|
|
79
|
+
"top": 0,
|
|
80
|
+
},
|
|
81
|
+
[
|
|
82
|
+
{
|
|
83
|
+
"backgroundColor": "#ffffff",
|
|
84
|
+
},
|
|
85
|
+
undefined,
|
|
86
|
+
],
|
|
87
|
+
]
|
|
88
|
+
}
|
|
89
|
+
testID="text-input-border"
|
|
90
|
+
themeFocused={false}
|
|
91
|
+
themeState="filled"
|
|
92
|
+
/>
|
|
93
|
+
<View
|
|
94
|
+
pointerEvents="none"
|
|
95
|
+
style={
|
|
96
|
+
[
|
|
97
|
+
{
|
|
98
|
+
"backgroundColor": "#ffffff",
|
|
50
99
|
"flexDirection": "row",
|
|
51
|
-
"
|
|
100
|
+
"left": 16,
|
|
101
|
+
"paddingHorizontal": 4,
|
|
102
|
+
"position": "absolute",
|
|
103
|
+
"top": -4,
|
|
104
|
+
"zIndex": 1,
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"backgroundColor": "#ffffff",
|
|
52
108
|
},
|
|
53
|
-
undefined,
|
|
54
109
|
]
|
|
55
110
|
}
|
|
111
|
+
testID="label-container"
|
|
56
112
|
>
|
|
57
|
-
<
|
|
113
|
+
<Text
|
|
114
|
+
allowFontScaling={false}
|
|
58
115
|
style={
|
|
59
116
|
[
|
|
60
117
|
{
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"position": "absolute",
|
|
67
|
-
"right": 0,
|
|
68
|
-
"top": 0,
|
|
118
|
+
"color": "#001f23",
|
|
119
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
120
|
+
"fontSize": 12,
|
|
121
|
+
"letterSpacing": 0.48,
|
|
122
|
+
"lineHeight": 16,
|
|
69
123
|
},
|
|
70
124
|
[
|
|
125
|
+
{
|
|
126
|
+
"color": "#001f23",
|
|
127
|
+
"lineHeight": 12,
|
|
128
|
+
},
|
|
71
129
|
{
|
|
72
130
|
"backgroundColor": "#ffffff",
|
|
73
131
|
},
|
|
74
|
-
undefined,
|
|
75
132
|
],
|
|
76
133
|
]
|
|
77
134
|
}
|
|
78
|
-
testID="
|
|
79
|
-
|
|
135
|
+
testID="input-label"
|
|
136
|
+
themeFontWeight="regular"
|
|
137
|
+
themeIntent="body"
|
|
80
138
|
themeState="filled"
|
|
81
|
-
/>
|
|
82
|
-
<View
|
|
83
|
-
pointerEvents="none"
|
|
84
|
-
style={
|
|
85
|
-
[
|
|
86
|
-
{
|
|
87
|
-
"backgroundColor": "#ffffff",
|
|
88
|
-
"flexDirection": "row",
|
|
89
|
-
"left": 16,
|
|
90
|
-
"paddingHorizontal": 4,
|
|
91
|
-
"position": "absolute",
|
|
92
|
-
"top": -4,
|
|
93
|
-
"zIndex": 1,
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
"backgroundColor": "#ffffff",
|
|
97
|
-
},
|
|
98
|
-
]
|
|
99
|
-
}
|
|
100
|
-
testID="label-container"
|
|
101
139
|
>
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
140
|
+
Start date
|
|
141
|
+
</Text>
|
|
142
|
+
</View>
|
|
143
|
+
<View
|
|
144
|
+
style={
|
|
145
|
+
[
|
|
146
|
+
{
|
|
147
|
+
"alignItems": "center",
|
|
148
|
+
"alignSelf": "stretch",
|
|
149
|
+
"flexDirection": "row",
|
|
150
|
+
"flexGrow": 2,
|
|
151
|
+
"flexShrink": 1,
|
|
152
|
+
},
|
|
153
|
+
undefined,
|
|
154
|
+
]
|
|
155
|
+
}
|
|
156
|
+
>
|
|
157
|
+
<TextInput
|
|
158
|
+
accessibilityState={
|
|
159
|
+
{
|
|
160
|
+
"disabled": false,
|
|
123
161
|
}
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
</View>
|
|
132
|
-
<View
|
|
162
|
+
}
|
|
163
|
+
allowFontScaling={false}
|
|
164
|
+
editable={true}
|
|
165
|
+
onBlur={[Function]}
|
|
166
|
+
onChangeText={[Function]}
|
|
167
|
+
onFocus={[Function]}
|
|
168
|
+
placeholder=" "
|
|
133
169
|
style={
|
|
134
170
|
[
|
|
135
171
|
{
|
|
136
|
-
"alignItems": "center",
|
|
137
172
|
"alignSelf": "stretch",
|
|
138
|
-
"flexDirection": "row",
|
|
139
173
|
"flexGrow": 2,
|
|
140
|
-
"
|
|
174
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
175
|
+
"fontSize": 16,
|
|
176
|
+
"height": undefined,
|
|
177
|
+
"marginHorizontal": 8,
|
|
178
|
+
"maxHeight": 144,
|
|
179
|
+
"paddingVertical": 0,
|
|
180
|
+
"textAlignVertical": "center",
|
|
141
181
|
},
|
|
142
|
-
undefined,
|
|
143
|
-
]
|
|
144
|
-
}
|
|
145
|
-
>
|
|
146
|
-
<TextInput
|
|
147
|
-
accessibilityState={
|
|
148
|
-
{
|
|
149
|
-
"disabled": false,
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
allowFontScaling={false}
|
|
153
|
-
editable={true}
|
|
154
|
-
onBlur={[Function]}
|
|
155
|
-
onChangeText={[Function]}
|
|
156
|
-
onFocus={[Function]}
|
|
157
|
-
placeholder=" "
|
|
158
|
-
style={
|
|
159
|
-
[
|
|
160
|
-
{
|
|
161
|
-
"alignSelf": "stretch",
|
|
162
|
-
"flexGrow": 2,
|
|
163
|
-
"fontFamily": "BeVietnamPro-Regular",
|
|
164
|
-
"fontSize": 16,
|
|
165
|
-
"height": undefined,
|
|
166
|
-
"marginHorizontal": 8,
|
|
167
|
-
"maxHeight": 144,
|
|
168
|
-
"paddingVertical": 0,
|
|
169
|
-
"textAlignVertical": "center",
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
"backgroundColor": "#ffffff",
|
|
173
|
-
"color": "#001f23",
|
|
174
|
-
},
|
|
175
|
-
]
|
|
176
|
-
}
|
|
177
|
-
testID="text-input"
|
|
178
|
-
themeVariant="text"
|
|
179
|
-
value="21/12/1995"
|
|
180
|
-
/>
|
|
181
|
-
</View>
|
|
182
|
-
<HeroIcon
|
|
183
|
-
name="calendar-dates-outlined"
|
|
184
|
-
style={
|
|
185
|
-
[
|
|
186
182
|
{
|
|
183
|
+
"backgroundColor": "#ffffff",
|
|
187
184
|
"color": "#001f23",
|
|
188
|
-
"fontSize": 24,
|
|
189
185
|
},
|
|
190
|
-
undefined,
|
|
191
186
|
]
|
|
192
187
|
}
|
|
193
|
-
testID="input
|
|
194
|
-
|
|
195
|
-
|
|
188
|
+
testID="text-input"
|
|
189
|
+
themeVariant="text"
|
|
190
|
+
value="21/12/1995"
|
|
196
191
|
/>
|
|
197
192
|
</View>
|
|
193
|
+
<HeroIcon
|
|
194
|
+
name="calendar-dates-outlined"
|
|
195
|
+
style={
|
|
196
|
+
[
|
|
197
|
+
{
|
|
198
|
+
"color": "#001f23",
|
|
199
|
+
"fontSize": 24,
|
|
200
|
+
},
|
|
201
|
+
undefined,
|
|
202
|
+
]
|
|
203
|
+
}
|
|
204
|
+
testID="input-suffix"
|
|
205
|
+
themeIntent="text"
|
|
206
|
+
themeSize="medium"
|
|
207
|
+
/>
|
|
208
|
+
</View>
|
|
209
|
+
<View
|
|
210
|
+
style={
|
|
211
|
+
[
|
|
212
|
+
{
|
|
213
|
+
"minHeight": 16,
|
|
214
|
+
"paddingLeft": 16,
|
|
215
|
+
"paddingTop": 2,
|
|
216
|
+
},
|
|
217
|
+
undefined,
|
|
218
|
+
]
|
|
219
|
+
}
|
|
220
|
+
>
|
|
198
221
|
<View
|
|
199
222
|
style={
|
|
200
223
|
[
|
|
201
224
|
{
|
|
202
|
-
"
|
|
203
|
-
"
|
|
204
|
-
"paddingTop": 2,
|
|
225
|
+
"flexDirection": "row",
|
|
226
|
+
"justifyContent": "space-between",
|
|
205
227
|
},
|
|
206
228
|
undefined,
|
|
207
229
|
]
|
|
208
230
|
}
|
|
209
|
-
|
|
210
|
-
<View
|
|
211
|
-
style={
|
|
212
|
-
[
|
|
213
|
-
{
|
|
214
|
-
"flexDirection": "row",
|
|
215
|
-
"justifyContent": "space-between",
|
|
216
|
-
},
|
|
217
|
-
undefined,
|
|
218
|
-
]
|
|
219
|
-
}
|
|
220
|
-
/>
|
|
221
|
-
</View>
|
|
231
|
+
/>
|
|
222
232
|
</View>
|
|
223
233
|
</View>
|
|
224
|
-
</View
|
|
225
|
-
<
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
"position": "absolute",
|
|
234
|
-
"right": 0,
|
|
235
|
-
"top": 0,
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
/>,
|
|
239
|
-
<View
|
|
240
|
-
collapsable={false}
|
|
234
|
+
</View>
|
|
235
|
+
<RCTModalHostView
|
|
236
|
+
animationType="none"
|
|
237
|
+
hardwareAccelerated={false}
|
|
238
|
+
identifier={0}
|
|
239
|
+
onDismiss={[Function]}
|
|
240
|
+
onRequestClose={[Function]}
|
|
241
|
+
onStartShouldSetResponder={[Function]}
|
|
242
|
+
presentationStyle="overFullScreen"
|
|
241
243
|
style={
|
|
242
244
|
{
|
|
243
|
-
"bottom": 0,
|
|
244
|
-
"left": 0,
|
|
245
|
-
"opacity": 1,
|
|
246
245
|
"position": "absolute",
|
|
247
|
-
"right": 0,
|
|
248
|
-
"top": 0,
|
|
249
|
-
"transform": [
|
|
250
|
-
{
|
|
251
|
-
"translateY": 0,
|
|
252
|
-
},
|
|
253
|
-
],
|
|
254
246
|
}
|
|
255
247
|
}
|
|
248
|
+
transparent={true}
|
|
249
|
+
visible={true}
|
|
256
250
|
>
|
|
257
251
|
<View
|
|
258
|
-
|
|
252
|
+
collapsable={false}
|
|
259
253
|
style={
|
|
260
254
|
[
|
|
261
255
|
{
|
|
262
|
-
"
|
|
263
|
-
"flexDirection": "column-reverse",
|
|
256
|
+
"flex": 1,
|
|
264
257
|
"left": 0,
|
|
265
|
-
"position": "absolute",
|
|
266
|
-
"right": 0,
|
|
267
258
|
"top": 0,
|
|
268
259
|
},
|
|
269
|
-
|
|
260
|
+
{
|
|
261
|
+
"backgroundColor": "transparent",
|
|
262
|
+
},
|
|
270
263
|
]
|
|
271
264
|
}
|
|
272
265
|
>
|
|
273
266
|
<View
|
|
274
|
-
|
|
267
|
+
pointerEvents="box-none"
|
|
275
268
|
style={
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
"flex": 1,
|
|
280
|
-
"flexDirection": "column-reverse",
|
|
281
|
-
},
|
|
282
|
-
undefined,
|
|
283
|
-
],
|
|
284
|
-
{
|
|
285
|
-
"paddingBottom": 0,
|
|
286
|
-
},
|
|
287
|
-
]
|
|
269
|
+
{
|
|
270
|
+
"flex": 1,
|
|
271
|
+
}
|
|
288
272
|
}
|
|
289
273
|
>
|
|
290
274
|
<View
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
focusable={true}
|
|
294
|
-
onBlur={[Function]}
|
|
295
|
-
onClick={[Function]}
|
|
296
|
-
onFocus={[Function]}
|
|
297
|
-
onResponderGrant={[Function]}
|
|
298
|
-
onResponderMove={[Function]}
|
|
299
|
-
onResponderRelease={[Function]}
|
|
300
|
-
onResponderTerminate={[Function]}
|
|
301
|
-
onResponderTerminationRequest={[Function]}
|
|
302
|
-
onStartShouldSetResponder={[Function]}
|
|
275
|
+
collapsable={true}
|
|
276
|
+
pointerEvents="box-none"
|
|
303
277
|
style={
|
|
304
278
|
{
|
|
305
|
-
"
|
|
306
|
-
"bottom": 0,
|
|
307
|
-
"left": 0,
|
|
308
|
-
"opacity": 0.48,
|
|
309
|
-
"position": "absolute",
|
|
310
|
-
"right": 0,
|
|
311
|
-
"top": 0,
|
|
312
|
-
}
|
|
313
|
-
}
|
|
314
|
-
/>
|
|
315
|
-
<RCTSafeAreaView
|
|
316
|
-
collapsable={false}
|
|
317
|
-
emulateUnlessSupported={true}
|
|
318
|
-
style={
|
|
319
|
-
{
|
|
320
|
-
"backgroundColor": "#ffffff",
|
|
321
|
-
"borderTopLeftRadius": 16,
|
|
322
|
-
"borderTopRightRadius": 16,
|
|
323
|
-
"elevation": 10,
|
|
324
|
-
"maxHeight": "94%",
|
|
325
|
-
"shadowColor": "#001f23",
|
|
326
|
-
"shadowOffset": {
|
|
327
|
-
"height": 3,
|
|
328
|
-
"width": 0,
|
|
329
|
-
},
|
|
330
|
-
"shadowOpacity": 0.4,
|
|
331
|
-
"shadowRadius": 16,
|
|
332
|
-
"transform": [
|
|
333
|
-
{
|
|
334
|
-
"scaleY": 1,
|
|
335
|
-
},
|
|
336
|
-
{
|
|
337
|
-
"translateY": 0,
|
|
338
|
-
},
|
|
339
|
-
],
|
|
340
|
-
"width": "100%",
|
|
279
|
+
"flex": 1,
|
|
341
280
|
}
|
|
342
281
|
}
|
|
343
282
|
>
|
|
344
283
|
<View
|
|
284
|
+
pointerEvents="box-none"
|
|
345
285
|
style={
|
|
346
286
|
[
|
|
347
287
|
{
|
|
348
|
-
"
|
|
349
|
-
"
|
|
350
|
-
"
|
|
288
|
+
"bottom": 0,
|
|
289
|
+
"flexDirection": "column-reverse",
|
|
290
|
+
"left": 0,
|
|
291
|
+
"position": "absolute",
|
|
292
|
+
"right": 0,
|
|
293
|
+
"top": 0,
|
|
351
294
|
},
|
|
352
295
|
undefined,
|
|
353
296
|
]
|
|
354
297
|
}
|
|
355
298
|
>
|
|
356
299
|
<View
|
|
300
|
+
onLayout={[Function]}
|
|
357
301
|
style={
|
|
358
302
|
[
|
|
359
|
-
{
|
|
360
|
-
"flex": 1,
|
|
361
|
-
"justifyContent": "center",
|
|
362
|
-
},
|
|
363
|
-
undefined,
|
|
364
|
-
]
|
|
365
|
-
}
|
|
366
|
-
>
|
|
367
|
-
<Text
|
|
368
|
-
allowFontScaling={false}
|
|
369
|
-
style={
|
|
370
303
|
[
|
|
371
304
|
{
|
|
372
|
-
"
|
|
373
|
-
"
|
|
374
|
-
"fontSize": 16,
|
|
375
|
-
"letterSpacing": 0.24,
|
|
376
|
-
"lineHeight": 24,
|
|
305
|
+
"flex": 1,
|
|
306
|
+
"flexDirection": "column-reverse",
|
|
377
307
|
},
|
|
378
308
|
undefined,
|
|
379
|
-
]
|
|
380
|
-
}
|
|
381
|
-
themeIntent="body"
|
|
382
|
-
themeTypeface="neutral"
|
|
383
|
-
themeVariant="regular-bold"
|
|
384
|
-
>
|
|
385
|
-
Start date
|
|
386
|
-
</Text>
|
|
387
|
-
</View>
|
|
388
|
-
<View
|
|
389
|
-
style={
|
|
390
|
-
[
|
|
309
|
+
],
|
|
391
310
|
{
|
|
392
|
-
"
|
|
393
|
-
"height": 48,
|
|
394
|
-
"justifyContent": "center",
|
|
395
|
-
"marginLeft": 12,
|
|
396
|
-
"width": 48,
|
|
311
|
+
"paddingBottom": 0,
|
|
397
312
|
},
|
|
398
|
-
undefined,
|
|
399
313
|
]
|
|
400
314
|
}
|
|
401
315
|
>
|
|
402
316
|
<View
|
|
403
|
-
|
|
404
|
-
collapsable={false}
|
|
405
|
-
focusable={true}
|
|
406
|
-
onClick={[Function]}
|
|
407
|
-
onResponderGrant={[Function]}
|
|
408
|
-
onResponderMove={[Function]}
|
|
409
|
-
onResponderRelease={[Function]}
|
|
410
|
-
onResponderTerminate={[Function]}
|
|
411
|
-
onResponderTerminationRequest={[Function]}
|
|
412
|
-
onStartShouldSetResponder={[Function]}
|
|
413
|
-
style={
|
|
317
|
+
accessibilityState={
|
|
414
318
|
{
|
|
415
|
-
"
|
|
319
|
+
"busy": undefined,
|
|
320
|
+
"checked": undefined,
|
|
321
|
+
"disabled": undefined,
|
|
322
|
+
"expanded": undefined,
|
|
323
|
+
"selected": undefined,
|
|
416
324
|
}
|
|
417
325
|
}
|
|
418
|
-
|
|
419
|
-
>
|
|
420
|
-
<HeroIcon
|
|
421
|
-
name="cancel"
|
|
422
|
-
style={
|
|
423
|
-
[
|
|
424
|
-
{
|
|
425
|
-
"color": "#001f23",
|
|
426
|
-
"fontSize": 16,
|
|
427
|
-
},
|
|
428
|
-
undefined,
|
|
429
|
-
]
|
|
430
|
-
}
|
|
431
|
-
themeIntent="text"
|
|
432
|
-
themeSize="xsmall"
|
|
433
|
-
/>
|
|
434
|
-
</View>
|
|
435
|
-
</View>
|
|
436
|
-
</View>
|
|
437
|
-
<View
|
|
438
|
-
style={
|
|
439
|
-
[
|
|
440
|
-
{
|
|
441
|
-
"height": 176,
|
|
442
|
-
},
|
|
443
|
-
undefined,
|
|
444
|
-
]
|
|
445
|
-
}
|
|
446
|
-
>
|
|
447
|
-
<Picker
|
|
448
|
-
display="spinner"
|
|
449
|
-
mode="date"
|
|
450
|
-
onChange={[Function]}
|
|
451
|
-
style={
|
|
452
|
-
{
|
|
453
|
-
"flex": 1,
|
|
454
|
-
}
|
|
455
|
-
}
|
|
456
|
-
testID="datePickerIOS"
|
|
457
|
-
textColor="#001f23"
|
|
458
|
-
value={1995-12-21T00:00:00.000Z}
|
|
459
|
-
/>
|
|
460
|
-
</View>
|
|
461
|
-
<View>
|
|
462
|
-
<View
|
|
463
|
-
style={
|
|
464
|
-
[
|
|
326
|
+
accessibilityValue={
|
|
465
327
|
{
|
|
466
|
-
"
|
|
467
|
-
"
|
|
468
|
-
"
|
|
469
|
-
"
|
|
470
|
-
"paddingVertical": 2,
|
|
471
|
-
},
|
|
472
|
-
undefined,
|
|
473
|
-
]
|
|
474
|
-
}
|
|
475
|
-
>
|
|
476
|
-
<View
|
|
477
|
-
accessibilityState={
|
|
478
|
-
{
|
|
479
|
-
"disabled": false,
|
|
328
|
+
"max": undefined,
|
|
329
|
+
"min": undefined,
|
|
330
|
+
"now": undefined,
|
|
331
|
+
"text": undefined,
|
|
480
332
|
}
|
|
481
333
|
}
|
|
482
334
|
accessible={true}
|
|
335
|
+
collapsable={false}
|
|
483
336
|
focusable={true}
|
|
337
|
+
onBlur={[Function]}
|
|
484
338
|
onClick={[Function]}
|
|
339
|
+
onFocus={[Function]}
|
|
485
340
|
onResponderGrant={[Function]}
|
|
486
341
|
onResponderMove={[Function]}
|
|
487
342
|
onResponderRelease={[Function]}
|
|
@@ -489,58 +344,274 @@ exports[`DatePickerIOS renders correctly 1`] = `
|
|
|
489
344
|
onResponderTerminationRequest={[Function]}
|
|
490
345
|
onStartShouldSetResponder={[Function]}
|
|
491
346
|
style={
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
347
|
+
{
|
|
348
|
+
"backgroundColor": "#000000",
|
|
349
|
+
"bottom": 0,
|
|
350
|
+
"left": 0,
|
|
351
|
+
"opacity": 0.48,
|
|
352
|
+
"position": "absolute",
|
|
353
|
+
"right": 0,
|
|
354
|
+
"top": 0,
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
/>
|
|
358
|
+
<RCTSafeAreaView
|
|
359
|
+
collapsable={false}
|
|
360
|
+
style={
|
|
361
|
+
{
|
|
362
|
+
"backgroundColor": "#ffffff",
|
|
363
|
+
"borderTopLeftRadius": 16,
|
|
364
|
+
"borderTopRightRadius": 16,
|
|
365
|
+
"elevation": 10,
|
|
366
|
+
"maxHeight": "94%",
|
|
367
|
+
"shadowColor": "#001f23",
|
|
368
|
+
"shadowOffset": {
|
|
369
|
+
"height": 3,
|
|
370
|
+
"width": 0,
|
|
501
371
|
},
|
|
502
|
-
|
|
503
|
-
|
|
372
|
+
"shadowOpacity": 0.4,
|
|
373
|
+
"shadowRadius": 16,
|
|
374
|
+
"transform": [
|
|
375
|
+
{
|
|
376
|
+
"scaleY": 1,
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"translateY": 0,
|
|
380
|
+
},
|
|
381
|
+
],
|
|
382
|
+
"width": "100%",
|
|
383
|
+
}
|
|
504
384
|
}
|
|
505
385
|
>
|
|
506
|
-
<
|
|
507
|
-
allowFontScaling={false}
|
|
508
|
-
disabled={false}
|
|
509
|
-
ellipsizeMode="tail"
|
|
510
|
-
numberOfLines={1}
|
|
386
|
+
<View
|
|
511
387
|
style={
|
|
512
388
|
[
|
|
513
389
|
{
|
|
514
|
-
"
|
|
515
|
-
"
|
|
516
|
-
"
|
|
517
|
-
"letterSpacing": 0.24,
|
|
518
|
-
"lineHeight": 24,
|
|
390
|
+
"flexDirection": "row",
|
|
391
|
+
"paddingHorizontal": 16,
|
|
392
|
+
"paddingVertical": 8,
|
|
519
393
|
},
|
|
394
|
+
undefined,
|
|
395
|
+
]
|
|
396
|
+
}
|
|
397
|
+
>
|
|
398
|
+
<View
|
|
399
|
+
style={
|
|
520
400
|
[
|
|
521
401
|
{
|
|
522
|
-
"
|
|
523
|
-
"
|
|
524
|
-
"lineHeight": 22,
|
|
525
|
-
"textAlign": "center",
|
|
402
|
+
"flex": 1,
|
|
403
|
+
"justifyContent": "center",
|
|
526
404
|
},
|
|
527
405
|
undefined,
|
|
528
|
-
]
|
|
406
|
+
]
|
|
407
|
+
}
|
|
408
|
+
>
|
|
409
|
+
<Text
|
|
410
|
+
allowFontScaling={false}
|
|
411
|
+
style={
|
|
412
|
+
[
|
|
413
|
+
{
|
|
414
|
+
"color": "#001f23",
|
|
415
|
+
"fontFamily": "BeVietnamPro-SemiBold",
|
|
416
|
+
"fontSize": 16,
|
|
417
|
+
"letterSpacing": 0.24,
|
|
418
|
+
"lineHeight": 24,
|
|
419
|
+
},
|
|
420
|
+
undefined,
|
|
421
|
+
]
|
|
422
|
+
}
|
|
423
|
+
themeIntent="body"
|
|
424
|
+
themeTypeface="neutral"
|
|
425
|
+
themeVariant="regular-bold"
|
|
426
|
+
>
|
|
427
|
+
Start date
|
|
428
|
+
</Text>
|
|
429
|
+
</View>
|
|
430
|
+
<View
|
|
431
|
+
style={
|
|
432
|
+
[
|
|
433
|
+
{
|
|
434
|
+
"alignItems": "center",
|
|
435
|
+
"height": 48,
|
|
436
|
+
"justifyContent": "center",
|
|
437
|
+
"marginLeft": 12,
|
|
438
|
+
"width": 48,
|
|
439
|
+
},
|
|
440
|
+
undefined,
|
|
441
|
+
]
|
|
442
|
+
}
|
|
443
|
+
>
|
|
444
|
+
<View
|
|
445
|
+
accessibilityState={
|
|
446
|
+
{
|
|
447
|
+
"busy": undefined,
|
|
448
|
+
"checked": undefined,
|
|
449
|
+
"disabled": undefined,
|
|
450
|
+
"expanded": undefined,
|
|
451
|
+
"selected": undefined,
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
accessibilityValue={
|
|
455
|
+
{
|
|
456
|
+
"max": undefined,
|
|
457
|
+
"min": undefined,
|
|
458
|
+
"now": undefined,
|
|
459
|
+
"text": undefined,
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
accessible={true}
|
|
463
|
+
collapsable={false}
|
|
464
|
+
focusable={true}
|
|
465
|
+
onClick={[Function]}
|
|
466
|
+
onResponderGrant={[Function]}
|
|
467
|
+
onResponderMove={[Function]}
|
|
468
|
+
onResponderRelease={[Function]}
|
|
469
|
+
onResponderTerminate={[Function]}
|
|
470
|
+
onResponderTerminationRequest={[Function]}
|
|
471
|
+
onStartShouldSetResponder={[Function]}
|
|
472
|
+
style={
|
|
473
|
+
{
|
|
474
|
+
"opacity": 1,
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
testID="bottom-sheet-close-icon"
|
|
478
|
+
>
|
|
479
|
+
<HeroIcon
|
|
480
|
+
name="cancel"
|
|
481
|
+
style={
|
|
482
|
+
[
|
|
483
|
+
{
|
|
484
|
+
"color": "#001f23",
|
|
485
|
+
"fontSize": 16,
|
|
486
|
+
},
|
|
487
|
+
undefined,
|
|
488
|
+
]
|
|
489
|
+
}
|
|
490
|
+
themeIntent="text"
|
|
491
|
+
themeSize="xsmall"
|
|
492
|
+
/>
|
|
493
|
+
</View>
|
|
494
|
+
</View>
|
|
495
|
+
</View>
|
|
496
|
+
<View
|
|
497
|
+
style={
|
|
498
|
+
[
|
|
499
|
+
{
|
|
500
|
+
"height": 176,
|
|
501
|
+
},
|
|
502
|
+
undefined,
|
|
529
503
|
]
|
|
530
504
|
}
|
|
531
|
-
themeButtonVariant="text-primary"
|
|
532
|
-
themeIntent="body"
|
|
533
|
-
themeTypeface="neutral"
|
|
534
|
-
themeVariant="regular-bold"
|
|
535
505
|
>
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
506
|
+
<Picker
|
|
507
|
+
display="spinner"
|
|
508
|
+
mode="date"
|
|
509
|
+
onChange={[Function]}
|
|
510
|
+
style={
|
|
511
|
+
{
|
|
512
|
+
"flex": 1,
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
testID="datePickerIOS"
|
|
516
|
+
textColor="#001f23"
|
|
517
|
+
value={1995-12-21T00:00:00.000Z}
|
|
518
|
+
/>
|
|
519
|
+
</View>
|
|
520
|
+
<View>
|
|
521
|
+
<View
|
|
522
|
+
style={
|
|
523
|
+
[
|
|
524
|
+
{
|
|
525
|
+
"alignItems": "center",
|
|
526
|
+
"flexDirection": "row",
|
|
527
|
+
"justifyContent": "flex-end",
|
|
528
|
+
"paddingHorizontal": 12,
|
|
529
|
+
"paddingVertical": 2,
|
|
530
|
+
},
|
|
531
|
+
undefined,
|
|
532
|
+
]
|
|
533
|
+
}
|
|
534
|
+
>
|
|
535
|
+
<View
|
|
536
|
+
accessibilityState={
|
|
537
|
+
{
|
|
538
|
+
"disabled": false,
|
|
539
|
+
}
|
|
540
|
+
}
|
|
541
|
+
accessibilityValue={
|
|
542
|
+
{
|
|
543
|
+
"max": undefined,
|
|
544
|
+
"min": undefined,
|
|
545
|
+
"now": undefined,
|
|
546
|
+
"text": undefined,
|
|
547
|
+
}
|
|
548
|
+
}
|
|
549
|
+
accessible={true}
|
|
550
|
+
focusable={true}
|
|
551
|
+
onClick={[Function]}
|
|
552
|
+
onResponderGrant={[Function]}
|
|
553
|
+
onResponderMove={[Function]}
|
|
554
|
+
onResponderRelease={[Function]}
|
|
555
|
+
onResponderTerminate={[Function]}
|
|
556
|
+
onResponderTerminationRequest={[Function]}
|
|
557
|
+
onStartShouldSetResponder={[Function]}
|
|
558
|
+
style={
|
|
559
|
+
[
|
|
560
|
+
{
|
|
561
|
+
"alignItems": "center",
|
|
562
|
+
"backgroundColor": "transparent",
|
|
563
|
+
"borderRadius": 4,
|
|
564
|
+
"borderWidth": 0,
|
|
565
|
+
"flexDirection": "row",
|
|
566
|
+
"height": 60,
|
|
567
|
+
"justifyContent": "center",
|
|
568
|
+
"padding": 12,
|
|
569
|
+
},
|
|
570
|
+
undefined,
|
|
571
|
+
]
|
|
572
|
+
}
|
|
573
|
+
>
|
|
574
|
+
<Text
|
|
575
|
+
allowFontScaling={false}
|
|
576
|
+
disabled={false}
|
|
577
|
+
ellipsizeMode="tail"
|
|
578
|
+
numberOfLines={1}
|
|
579
|
+
style={
|
|
580
|
+
[
|
|
581
|
+
{
|
|
582
|
+
"color": "#001f23",
|
|
583
|
+
"fontFamily": "BeVietnamPro-SemiBold",
|
|
584
|
+
"fontSize": 16,
|
|
585
|
+
"letterSpacing": 0.24,
|
|
586
|
+
"lineHeight": 24,
|
|
587
|
+
},
|
|
588
|
+
[
|
|
589
|
+
{
|
|
590
|
+
"color": "#401960",
|
|
591
|
+
"flexShrink": 1,
|
|
592
|
+
"lineHeight": 22,
|
|
593
|
+
"textAlign": "center",
|
|
594
|
+
},
|
|
595
|
+
undefined,
|
|
596
|
+
],
|
|
597
|
+
]
|
|
598
|
+
}
|
|
599
|
+
themeButtonVariant="text-primary"
|
|
600
|
+
themeIntent="body"
|
|
601
|
+
themeTypeface="neutral"
|
|
602
|
+
themeVariant="regular-bold"
|
|
603
|
+
>
|
|
604
|
+
Confirm
|
|
605
|
+
</Text>
|
|
606
|
+
</View>
|
|
607
|
+
</View>
|
|
608
|
+
</View>
|
|
609
|
+
</RCTSafeAreaView>
|
|
539
610
|
</View>
|
|
540
611
|
</View>
|
|
541
|
-
</
|
|
612
|
+
</View>
|
|
542
613
|
</View>
|
|
543
614
|
</View>
|
|
544
|
-
</
|
|
545
|
-
|
|
615
|
+
</RCTModalHostView>
|
|
616
|
+
</View>
|
|
546
617
|
`;
|