@hero-design/rn 8.38.0 → 8.39.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/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/es/index.js +201 -196
- package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/lib/index.js +201 -196
- package/package.json +13 -12
- package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +64 -64
- package/src/components/Accordion/__tests__/__snapshots__/StyledAccordion.spec.tsx.snap +4 -4
- package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +104 -104
- package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +107 -107
- package/src/components/Attachment/__tests__/__snapshots__/index.spec.tsx.snap +17 -17
- package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/StyledAvatarStack.spec.tsx.snap +10 -10
- package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/index.spec.tsx.snap +76 -76
- package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +8 -8
- package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +24 -24
- package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +42 -42
- package/src/components/Badge/__tests__/__snapshots__/Status.spec.tsx.snap +10 -10
- package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +46 -46
- package/src/components/BottomNavigation/index.tsx +4 -0
- package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +30 -30
- package/src/components/Box/__tests__/__snapshots__/index.spec.tsx.snap +42 -42
- package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/StyledLoadingIndicator.spec.tsx.snap +20 -20
- package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +210 -210
- package/src/components/Button/UtilityButton/__tests__/__snapshots__/index.spec.tsx.snap +18 -18
- package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +214 -214
- package/src/components/Button/__tests__/__snapshots__/IconButton.spec.tsx.snap +4 -4
- package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +105 -105
- package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +35 -35
- package/src/components/Card/DataCard/__tests__/__snapshots__/StyledDataCard.spec.tsx.snap +14 -14
- package/src/components/Card/DataCard/__tests__/__snapshots__/index.spec.tsx.snap +20 -20
- package/src/components/Card/__tests__/__snapshots__/StyledCard.spec.tsx.snap +2 -2
- package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +24 -24
- package/src/components/Carousel/CardCarousel.tsx +1 -1
- package/src/components/Carousel/__tests__/__snapshots__/CardCarousel.spec.tsx.snap +88 -88
- package/src/components/Carousel/__tests__/__snapshots__/StyledCardCarousel.spec.tsx.snap +15 -15
- package/src/components/Carousel/__tests__/__snapshots__/StyledCarousel.spec.tsx.snap +2 -2
- package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +342 -342
- package/src/components/Checkbox/__tests__/__snapshots__/StyledCheckbox.spec.tsx.snap +12 -12
- package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +56 -56
- package/src/components/Collapse/__tests__/__snapshots__/StyledCollapse.spec.tsx.snap +3 -3
- package/src/components/Collapse/__tests__/__snapshots__/index.spec.tsx.snap +10 -10
- package/src/components/ContentNavigator/__tests__/__snapshots__/StyledContentNavigator.spec.tsx.snap +2 -2
- package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +39 -39
- package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.spec.tsx.snap +90 -90
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +30 -30
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerCalendar.spec.tsx.snap +30 -30
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +71 -71
- package/src/components/Divider/__tests__/__snapshots__/StyledDivider.spec.tsx.snap +24 -24
- package/src/components/Drawer/DragableDrawer/__tests__/__snapshots__/index.spec.tsx.snap +11 -11
- package/src/components/Drawer/__tests__/__snapshots__/index.spec.tsx.snap +21 -21
- package/src/components/Empty/__tests__/__snapshots__/index.spec.tsx.snap +23 -23
- package/src/components/Error/__tests__/__snapshots__/index.spec.tsx.snap +69 -69
- package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +157 -157
- package/src/components/FAB/__tests__/__snapshots__/AnimatedFABIcon.spec.tsx.snap +16 -16
- package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +14 -14
- package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +46 -46
- package/src/components/HeroDesignProvider/__tests__/__snapshots__/index.spec.tsx.snap +5 -5
- package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
- package/src/components/Icon/IconList.ts +2 -0
- package/src/components/Icon/__tests__/__snapshots__/index.spec.tsx.snap +11 -11
- package/src/components/Image/__tests__/__snapshots__/index.spec.tsx.snap +12 -12
- package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +34 -34
- package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +98 -98
- package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +16 -16
- package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +28 -28
- package/src/components/PageControl/__tests__/__snapshots__/index.spec.tsx.snap +5 -5
- package/src/components/PinInput/__tests__/__snapshots__/PinCell.spec.tsx.snap +30 -30
- package/src/components/PinInput/__tests__/__snapshots__/StyledPinInput.spec.tsx.snap +6 -6
- package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +138 -138
- package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +136 -136
- package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +24 -24
- package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +39 -39
- package/src/components/Rate/__tests__/__snapshots__/index.spec.tsx.snap +78 -78
- package/src/components/RefreshControl/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
- package/src/components/RichTextEditor/__tests__/__snapshots__/EditorToolbar.spec.tsx.snap +27 -27
- package/src/components/RichTextEditor/__tests__/__snapshots__/MentionList.spec.tsx.snap +4 -4
- package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +72 -72
- package/src/components/SectionHeading/__tests__/__snapshots__/StyledHeading.spec.tsx.snap +6 -6
- package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +38 -38
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +12 -12
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +460 -460
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +838 -838
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +7 -7
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +443 -443
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +628 -628
- package/src/components/Skeleton/__tests__/__snapshots__/index.spec.tsx.snap +98 -98
- package/src/components/Spinner/__tests__/__snapshots__/AnimatedSpinner.spec.tsx.snap +21 -21
- package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +132 -132
- package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +25 -25
- package/src/components/Success/__tests__/__snapshots__/index.spec.tsx.snap +69 -69
- package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +9 -9
- package/src/components/Swipeable/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/Option.spec.tsx.snap +26 -26
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +19 -19
- package/src/components/Switch/__tests__/__snapshots__/StyledSwitch.spec.tsx.snap +9 -9
- package/src/components/Switch/__tests__/__snapshots__/index.spec.tsx.snap +8 -8
- package/src/components/Tabs/SceneView.tsx +5 -2
- package/src/components/Tabs/ScrollableTabs.tsx +1 -1
- package/src/components/Tabs/__tests__/__snapshots__/SceneView.spec.tsx.snap +23 -23
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +336 -336
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +80 -80
- package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +13 -13
- package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +225 -225
- package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +58 -58
- package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +106 -106
- package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +561 -561
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +60 -60
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +101 -101
- package/src/components/Toast/__tests__/__snapshots__/Toast.spec.tsx.snap +108 -108
- package/src/components/Toast/__tests__/__snapshots__/ToastContainer.spec.tsx.snap +8 -8
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +66 -66
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +52 -52
- package/src/components/Typography/Body/__tests__/__snapshots__/StyledBody.tsx.snap +32 -32
- package/src/components/Typography/Body/__tests__/__snapshots__/index.spec.tsx.snap +38 -38
- package/src/components/Typography/Caption/__tests__/__snapshots__/StyledCaption.spec.tsx.snap +20 -20
- package/src/components/Typography/Caption/__tests__/__snapshots__/index.spec.tsx.snap +26 -26
- package/src/components/Typography/Label/__tests__/__snapshots__/StyledLabel.tsx.snap +16 -16
- package/src/components/Typography/Label/__tests__/__snapshots__/index.spec.tsx.snap +22 -22
- package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +40 -40
- package/src/components/Typography/Title/__tests__/__snapshots__/StyledTitle.tsx.snap +40 -40
- package/src/components/Typography/Title/__tests__/__snapshots__/index.spec.tsx.snap +46 -46
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +302 -302
- package/src/theme/global/colors/__tests__/__snapshots__/eBens.spec.ts.snap +1 -1
- package/src/theme/global/colors/__tests__/__snapshots__/global.spec.ts.snap +1 -1
- package/src/theme/global/colors/__tests__/__snapshots__/globalDark.spec.ts.snap +1 -1
- package/src/theme/global/colors/__tests__/__snapshots__/jobs.spec.ts.snap +1 -1
- package/src/theme/global/colors/__tests__/__snapshots__/swag.spec.ts.snap +1 -1
- package/src/theme/global/colors/__tests__/__snapshots__/swagDark.spec.ts.snap +1 -1
- package/src/theme/global/colors/__tests__/__snapshots__/wallet.spec.ts.snap +1 -1
- package/src/theme/global/colors/__tests__/__snapshots__/work.spec.ts.snap +1 -1
- package/types/components/Icon/IconList.d.ts +1 -1
- package/types/components/Icon/index.d.ts +1 -1
- package/types/components/Icon/utils.d.ts +1 -1
- package/types/components/RichTextEditor/EditorEvent.d.ts +1 -0
- package/src/components/Modal/__tests__/ModalContentWrapper.spec.tsx +0 -25
- package/src/components/Modal/__tests__/ModalPresenter.spec.tsx +0 -57
- package/src/components/Modal/__tests__/__snapshots__/ModalContentWrapper.spec.tsx.snap +0 -35
- package/src/components/Modal/__tests__/__snapshots__/ModalPresenter.spec.tsx.snap +0 -55
- package/src/components/Modal/__tests__/index.spec.tsx +0 -50
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
exports[`DatePickerCalendar renders correctly 1`] = `
|
|
4
4
|
<View
|
|
5
5
|
accessibilityState={
|
|
6
|
-
|
|
6
|
+
{
|
|
7
7
|
"disabled": false,
|
|
8
8
|
}
|
|
9
9
|
}
|
|
@@ -18,7 +18,7 @@ exports[`DatePickerCalendar renders correctly 1`] = `
|
|
|
18
18
|
onResponderTerminationRequest={[Function]}
|
|
19
19
|
onStartShouldSetResponder={[Function]}
|
|
20
20
|
style={
|
|
21
|
-
|
|
21
|
+
{
|
|
22
22
|
"opacity": 1,
|
|
23
23
|
}
|
|
24
24
|
}
|
|
@@ -30,8 +30,8 @@ exports[`DatePickerCalendar renders correctly 1`] = `
|
|
|
30
30
|
<View
|
|
31
31
|
pointerEvents="auto"
|
|
32
32
|
style={
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
[
|
|
34
|
+
{
|
|
35
35
|
"marginTop": 8,
|
|
36
36
|
"width": "100%",
|
|
37
37
|
},
|
|
@@ -41,8 +41,8 @@ exports[`DatePickerCalendar renders correctly 1`] = `
|
|
|
41
41
|
>
|
|
42
42
|
<View
|
|
43
43
|
style={
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
[
|
|
45
|
+
{
|
|
46
46
|
"alignItems": "center",
|
|
47
47
|
"backgroundColor": "#ffffff",
|
|
48
48
|
"borderRadius": 8,
|
|
@@ -55,8 +55,8 @@ exports[`DatePickerCalendar renders correctly 1`] = `
|
|
|
55
55
|
>
|
|
56
56
|
<View
|
|
57
57
|
style={
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
[
|
|
59
|
+
{
|
|
60
60
|
"borderColor": "#001f23",
|
|
61
61
|
"borderRadius": 8,
|
|
62
62
|
"borderWidth": 1,
|
|
@@ -66,8 +66,8 @@ exports[`DatePickerCalendar renders correctly 1`] = `
|
|
|
66
66
|
"right": 0,
|
|
67
67
|
"top": 0,
|
|
68
68
|
},
|
|
69
|
-
|
|
70
|
-
|
|
69
|
+
[
|
|
70
|
+
{
|
|
71
71
|
"backgroundColor": "#ffffff",
|
|
72
72
|
},
|
|
73
73
|
undefined,
|
|
@@ -81,8 +81,8 @@ exports[`DatePickerCalendar renders correctly 1`] = `
|
|
|
81
81
|
<View
|
|
82
82
|
pointerEvents="none"
|
|
83
83
|
style={
|
|
84
|
-
|
|
85
|
-
|
|
84
|
+
[
|
|
85
|
+
{
|
|
86
86
|
"backgroundColor": "#ffffff",
|
|
87
87
|
"flexDirection": "row",
|
|
88
88
|
"left": 16,
|
|
@@ -91,7 +91,7 @@ exports[`DatePickerCalendar renders correctly 1`] = `
|
|
|
91
91
|
"top": -4,
|
|
92
92
|
"zIndex": 1,
|
|
93
93
|
},
|
|
94
|
-
|
|
94
|
+
{
|
|
95
95
|
"backgroundColor": "#ffffff",
|
|
96
96
|
},
|
|
97
97
|
]
|
|
@@ -101,20 +101,20 @@ exports[`DatePickerCalendar renders correctly 1`] = `
|
|
|
101
101
|
<Text
|
|
102
102
|
allowFontScaling={false}
|
|
103
103
|
style={
|
|
104
|
-
|
|
105
|
-
|
|
104
|
+
[
|
|
105
|
+
{
|
|
106
106
|
"color": "#001f23",
|
|
107
107
|
"fontFamily": "BeVietnamPro-Regular",
|
|
108
108
|
"fontSize": 12,
|
|
109
109
|
"letterSpacing": 0.48,
|
|
110
110
|
"lineHeight": 16,
|
|
111
111
|
},
|
|
112
|
-
|
|
113
|
-
|
|
112
|
+
[
|
|
113
|
+
{
|
|
114
114
|
"color": "#001f23",
|
|
115
115
|
"lineHeight": 12,
|
|
116
116
|
},
|
|
117
|
-
|
|
117
|
+
{
|
|
118
118
|
"backgroundColor": "#ffffff",
|
|
119
119
|
},
|
|
120
120
|
],
|
|
@@ -130,8 +130,8 @@ exports[`DatePickerCalendar renders correctly 1`] = `
|
|
|
130
130
|
</View>
|
|
131
131
|
<View
|
|
132
132
|
style={
|
|
133
|
-
|
|
134
|
-
|
|
133
|
+
[
|
|
134
|
+
{
|
|
135
135
|
"alignItems": "center",
|
|
136
136
|
"alignSelf": "stretch",
|
|
137
137
|
"flexDirection": "row",
|
|
@@ -144,7 +144,7 @@ exports[`DatePickerCalendar renders correctly 1`] = `
|
|
|
144
144
|
>
|
|
145
145
|
<TextInput
|
|
146
146
|
accessibilityState={
|
|
147
|
-
|
|
147
|
+
{
|
|
148
148
|
"disabled": false,
|
|
149
149
|
}
|
|
150
150
|
}
|
|
@@ -155,8 +155,8 @@ exports[`DatePickerCalendar renders correctly 1`] = `
|
|
|
155
155
|
onFocus={[Function]}
|
|
156
156
|
placeholder=" "
|
|
157
157
|
style={
|
|
158
|
-
|
|
159
|
-
|
|
158
|
+
[
|
|
159
|
+
{
|
|
160
160
|
"alignSelf": "stretch",
|
|
161
161
|
"flexGrow": 2,
|
|
162
162
|
"fontFamily": "BeVietnamPro-Regular",
|
|
@@ -167,7 +167,7 @@ exports[`DatePickerCalendar renders correctly 1`] = `
|
|
|
167
167
|
"paddingVertical": 0,
|
|
168
168
|
"textAlignVertical": "center",
|
|
169
169
|
},
|
|
170
|
-
|
|
170
|
+
{
|
|
171
171
|
"backgroundColor": "#ffffff",
|
|
172
172
|
"color": "#001f23",
|
|
173
173
|
},
|
|
@@ -181,8 +181,8 @@ exports[`DatePickerCalendar renders correctly 1`] = `
|
|
|
181
181
|
<HeroIcon
|
|
182
182
|
name="calendar-dates-outlined"
|
|
183
183
|
style={
|
|
184
|
-
|
|
185
|
-
|
|
184
|
+
[
|
|
185
|
+
{
|
|
186
186
|
"color": "#001f23",
|
|
187
187
|
"fontSize": 24,
|
|
188
188
|
},
|
|
@@ -196,8 +196,8 @@ exports[`DatePickerCalendar renders correctly 1`] = `
|
|
|
196
196
|
</View>
|
|
197
197
|
<View
|
|
198
198
|
style={
|
|
199
|
-
|
|
200
|
-
|
|
199
|
+
[
|
|
200
|
+
{
|
|
201
201
|
"minHeight": 16,
|
|
202
202
|
"paddingLeft": 16,
|
|
203
203
|
"paddingTop": 2,
|
|
@@ -208,8 +208,8 @@ exports[`DatePickerCalendar renders correctly 1`] = `
|
|
|
208
208
|
>
|
|
209
209
|
<View
|
|
210
210
|
style={
|
|
211
|
-
|
|
212
|
-
|
|
211
|
+
[
|
|
212
|
+
{
|
|
213
213
|
"flexDirection": "row",
|
|
214
214
|
"justifyContent": "space-between",
|
|
215
215
|
},
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
exports[`DatePickerIOS renders correctly 1`] = `
|
|
4
4
|
<View
|
|
5
5
|
accessibilityState={
|
|
6
|
-
|
|
6
|
+
{
|
|
7
7
|
"disabled": false,
|
|
8
8
|
}
|
|
9
9
|
}
|
|
@@ -18,7 +18,7 @@ exports[`DatePickerIOS renders correctly 1`] = `
|
|
|
18
18
|
onResponderTerminationRequest={[Function]}
|
|
19
19
|
onStartShouldSetResponder={[Function]}
|
|
20
20
|
style={
|
|
21
|
-
|
|
21
|
+
{
|
|
22
22
|
"opacity": 1,
|
|
23
23
|
}
|
|
24
24
|
}
|
|
@@ -30,8 +30,8 @@ exports[`DatePickerIOS renders correctly 1`] = `
|
|
|
30
30
|
<View
|
|
31
31
|
pointerEvents="auto"
|
|
32
32
|
style={
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
[
|
|
34
|
+
{
|
|
35
35
|
"marginTop": 8,
|
|
36
36
|
"width": "100%",
|
|
37
37
|
},
|
|
@@ -41,8 +41,8 @@ exports[`DatePickerIOS renders correctly 1`] = `
|
|
|
41
41
|
>
|
|
42
42
|
<View
|
|
43
43
|
style={
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
[
|
|
45
|
+
{
|
|
46
46
|
"alignItems": "center",
|
|
47
47
|
"backgroundColor": "#ffffff",
|
|
48
48
|
"borderRadius": 8,
|
|
@@ -55,8 +55,8 @@ exports[`DatePickerIOS renders correctly 1`] = `
|
|
|
55
55
|
>
|
|
56
56
|
<View
|
|
57
57
|
style={
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
[
|
|
59
|
+
{
|
|
60
60
|
"borderColor": "#001f23",
|
|
61
61
|
"borderRadius": 8,
|
|
62
62
|
"borderWidth": 1,
|
|
@@ -66,8 +66,8 @@ exports[`DatePickerIOS renders correctly 1`] = `
|
|
|
66
66
|
"right": 0,
|
|
67
67
|
"top": 0,
|
|
68
68
|
},
|
|
69
|
-
|
|
70
|
-
|
|
69
|
+
[
|
|
70
|
+
{
|
|
71
71
|
"backgroundColor": "#ffffff",
|
|
72
72
|
},
|
|
73
73
|
undefined,
|
|
@@ -81,8 +81,8 @@ exports[`DatePickerIOS renders correctly 1`] = `
|
|
|
81
81
|
<View
|
|
82
82
|
pointerEvents="none"
|
|
83
83
|
style={
|
|
84
|
-
|
|
85
|
-
|
|
84
|
+
[
|
|
85
|
+
{
|
|
86
86
|
"backgroundColor": "#ffffff",
|
|
87
87
|
"flexDirection": "row",
|
|
88
88
|
"left": 16,
|
|
@@ -91,7 +91,7 @@ exports[`DatePickerIOS renders correctly 1`] = `
|
|
|
91
91
|
"top": -4,
|
|
92
92
|
"zIndex": 1,
|
|
93
93
|
},
|
|
94
|
-
|
|
94
|
+
{
|
|
95
95
|
"backgroundColor": "#ffffff",
|
|
96
96
|
},
|
|
97
97
|
]
|
|
@@ -101,20 +101,20 @@ exports[`DatePickerIOS renders correctly 1`] = `
|
|
|
101
101
|
<Text
|
|
102
102
|
allowFontScaling={false}
|
|
103
103
|
style={
|
|
104
|
-
|
|
105
|
-
|
|
104
|
+
[
|
|
105
|
+
{
|
|
106
106
|
"color": "#001f23",
|
|
107
107
|
"fontFamily": "BeVietnamPro-Regular",
|
|
108
108
|
"fontSize": 12,
|
|
109
109
|
"letterSpacing": 0.48,
|
|
110
110
|
"lineHeight": 16,
|
|
111
111
|
},
|
|
112
|
-
|
|
113
|
-
|
|
112
|
+
[
|
|
113
|
+
{
|
|
114
114
|
"color": "#001f23",
|
|
115
115
|
"lineHeight": 12,
|
|
116
116
|
},
|
|
117
|
-
|
|
117
|
+
{
|
|
118
118
|
"backgroundColor": "#ffffff",
|
|
119
119
|
},
|
|
120
120
|
],
|
|
@@ -130,8 +130,8 @@ exports[`DatePickerIOS renders correctly 1`] = `
|
|
|
130
130
|
</View>
|
|
131
131
|
<View
|
|
132
132
|
style={
|
|
133
|
-
|
|
134
|
-
|
|
133
|
+
[
|
|
134
|
+
{
|
|
135
135
|
"alignItems": "center",
|
|
136
136
|
"alignSelf": "stretch",
|
|
137
137
|
"flexDirection": "row",
|
|
@@ -144,7 +144,7 @@ exports[`DatePickerIOS renders correctly 1`] = `
|
|
|
144
144
|
>
|
|
145
145
|
<TextInput
|
|
146
146
|
accessibilityState={
|
|
147
|
-
|
|
147
|
+
{
|
|
148
148
|
"disabled": false,
|
|
149
149
|
}
|
|
150
150
|
}
|
|
@@ -155,8 +155,8 @@ exports[`DatePickerIOS renders correctly 1`] = `
|
|
|
155
155
|
onFocus={[Function]}
|
|
156
156
|
placeholder=" "
|
|
157
157
|
style={
|
|
158
|
-
|
|
159
|
-
|
|
158
|
+
[
|
|
159
|
+
{
|
|
160
160
|
"alignSelf": "stretch",
|
|
161
161
|
"flexGrow": 2,
|
|
162
162
|
"fontFamily": "BeVietnamPro-Regular",
|
|
@@ -167,7 +167,7 @@ exports[`DatePickerIOS renders correctly 1`] = `
|
|
|
167
167
|
"paddingVertical": 0,
|
|
168
168
|
"textAlignVertical": "center",
|
|
169
169
|
},
|
|
170
|
-
|
|
170
|
+
{
|
|
171
171
|
"backgroundColor": "#ffffff",
|
|
172
172
|
"color": "#001f23",
|
|
173
173
|
},
|
|
@@ -181,8 +181,8 @@ exports[`DatePickerIOS renders correctly 1`] = `
|
|
|
181
181
|
<HeroIcon
|
|
182
182
|
name="calendar-dates-outlined"
|
|
183
183
|
style={
|
|
184
|
-
|
|
185
|
-
|
|
184
|
+
[
|
|
185
|
+
{
|
|
186
186
|
"color": "#001f23",
|
|
187
187
|
"fontSize": 24,
|
|
188
188
|
},
|
|
@@ -196,8 +196,8 @@ exports[`DatePickerIOS renders correctly 1`] = `
|
|
|
196
196
|
</View>
|
|
197
197
|
<View
|
|
198
198
|
style={
|
|
199
|
-
|
|
200
|
-
|
|
199
|
+
[
|
|
200
|
+
{
|
|
201
201
|
"minHeight": 16,
|
|
202
202
|
"paddingLeft": 16,
|
|
203
203
|
"paddingTop": 2,
|
|
@@ -208,8 +208,8 @@ exports[`DatePickerIOS renders correctly 1`] = `
|
|
|
208
208
|
>
|
|
209
209
|
<View
|
|
210
210
|
style={
|
|
211
|
-
|
|
212
|
-
|
|
211
|
+
[
|
|
212
|
+
{
|
|
213
213
|
"flexDirection": "row",
|
|
214
214
|
"justifyContent": "space-between",
|
|
215
215
|
},
|
|
@@ -229,7 +229,7 @@ exports[`DatePickerIOS renders correctly 1`] = `
|
|
|
229
229
|
onStartShouldSetResponder={[Function]}
|
|
230
230
|
presentationStyle="overFullScreen"
|
|
231
231
|
style={
|
|
232
|
-
|
|
232
|
+
{
|
|
233
233
|
"position": "absolute",
|
|
234
234
|
}
|
|
235
235
|
}
|
|
@@ -239,13 +239,13 @@ exports[`DatePickerIOS renders correctly 1`] = `
|
|
|
239
239
|
<View
|
|
240
240
|
collapsable={false}
|
|
241
241
|
style={
|
|
242
|
-
|
|
243
|
-
|
|
242
|
+
[
|
|
243
|
+
{
|
|
244
244
|
"flex": 1,
|
|
245
245
|
"left": 0,
|
|
246
246
|
"top": 0,
|
|
247
247
|
},
|
|
248
|
-
|
|
248
|
+
{
|
|
249
249
|
"backgroundColor": "transparent",
|
|
250
250
|
},
|
|
251
251
|
]
|
|
@@ -254,7 +254,7 @@ exports[`DatePickerIOS renders correctly 1`] = `
|
|
|
254
254
|
<View
|
|
255
255
|
pointerEvents="box-none"
|
|
256
256
|
style={
|
|
257
|
-
|
|
257
|
+
{
|
|
258
258
|
"flex": 1,
|
|
259
259
|
}
|
|
260
260
|
}
|
|
@@ -263,7 +263,7 @@ exports[`DatePickerIOS renders correctly 1`] = `
|
|
|
263
263
|
collapsable={true}
|
|
264
264
|
pointerEvents="box-none"
|
|
265
265
|
style={
|
|
266
|
-
|
|
266
|
+
{
|
|
267
267
|
"flex": 1,
|
|
268
268
|
}
|
|
269
269
|
}
|
|
@@ -271,8 +271,8 @@ exports[`DatePickerIOS renders correctly 1`] = `
|
|
|
271
271
|
<View
|
|
272
272
|
pointerEvents="box-none"
|
|
273
273
|
style={
|
|
274
|
-
|
|
275
|
-
|
|
274
|
+
[
|
|
275
|
+
{
|
|
276
276
|
"bottom": 0,
|
|
277
277
|
"flexDirection": "column-reverse",
|
|
278
278
|
"left": 0,
|
|
@@ -287,15 +287,15 @@ exports[`DatePickerIOS renders correctly 1`] = `
|
|
|
287
287
|
<View
|
|
288
288
|
onLayout={[Function]}
|
|
289
289
|
style={
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
290
|
+
[
|
|
291
|
+
[
|
|
292
|
+
{
|
|
293
293
|
"flex": 1,
|
|
294
294
|
"flexDirection": "column-reverse",
|
|
295
295
|
},
|
|
296
296
|
undefined,
|
|
297
297
|
],
|
|
298
|
-
|
|
298
|
+
{
|
|
299
299
|
"paddingBottom": 0,
|
|
300
300
|
},
|
|
301
301
|
]
|
|
@@ -315,7 +315,7 @@ exports[`DatePickerIOS renders correctly 1`] = `
|
|
|
315
315
|
onResponderTerminationRequest={[Function]}
|
|
316
316
|
onStartShouldSetResponder={[Function]}
|
|
317
317
|
style={
|
|
318
|
-
|
|
318
|
+
{
|
|
319
319
|
"backgroundColor": "#000000",
|
|
320
320
|
"bottom": 0,
|
|
321
321
|
"left": 0,
|
|
@@ -330,24 +330,24 @@ exports[`DatePickerIOS renders correctly 1`] = `
|
|
|
330
330
|
collapsable={false}
|
|
331
331
|
emulateUnlessSupported={true}
|
|
332
332
|
style={
|
|
333
|
-
|
|
333
|
+
{
|
|
334
334
|
"backgroundColor": "#ffffff",
|
|
335
335
|
"borderTopLeftRadius": 16,
|
|
336
336
|
"borderTopRightRadius": 16,
|
|
337
337
|
"elevation": 10,
|
|
338
338
|
"maxHeight": "94%",
|
|
339
339
|
"shadowColor": "#001f23",
|
|
340
|
-
"shadowOffset":
|
|
340
|
+
"shadowOffset": {
|
|
341
341
|
"height": 3,
|
|
342
342
|
"width": 0,
|
|
343
343
|
},
|
|
344
344
|
"shadowOpacity": 0.4,
|
|
345
345
|
"shadowRadius": 16,
|
|
346
|
-
"transform":
|
|
347
|
-
|
|
346
|
+
"transform": [
|
|
347
|
+
{
|
|
348
348
|
"scaleY": 1,
|
|
349
349
|
},
|
|
350
|
-
|
|
350
|
+
{
|
|
351
351
|
"translateY": 0,
|
|
352
352
|
},
|
|
353
353
|
],
|
|
@@ -357,8 +357,8 @@ exports[`DatePickerIOS renders correctly 1`] = `
|
|
|
357
357
|
>
|
|
358
358
|
<View
|
|
359
359
|
style={
|
|
360
|
-
|
|
361
|
-
|
|
360
|
+
[
|
|
361
|
+
{
|
|
362
362
|
"flexDirection": "row",
|
|
363
363
|
"paddingHorizontal": 16,
|
|
364
364
|
"paddingVertical": 8,
|
|
@@ -369,8 +369,8 @@ exports[`DatePickerIOS renders correctly 1`] = `
|
|
|
369
369
|
>
|
|
370
370
|
<View
|
|
371
371
|
style={
|
|
372
|
-
|
|
373
|
-
|
|
372
|
+
[
|
|
373
|
+
{
|
|
374
374
|
"flex": 1,
|
|
375
375
|
"justifyContent": "center",
|
|
376
376
|
},
|
|
@@ -381,8 +381,8 @@ exports[`DatePickerIOS renders correctly 1`] = `
|
|
|
381
381
|
<Text
|
|
382
382
|
allowFontScaling={false}
|
|
383
383
|
style={
|
|
384
|
-
|
|
385
|
-
|
|
384
|
+
[
|
|
385
|
+
{
|
|
386
386
|
"color": "#001f23",
|
|
387
387
|
"fontFamily": "BeVietnamPro-SemiBold",
|
|
388
388
|
"fontSize": 16,
|
|
@@ -401,8 +401,8 @@ exports[`DatePickerIOS renders correctly 1`] = `
|
|
|
401
401
|
</View>
|
|
402
402
|
<View
|
|
403
403
|
style={
|
|
404
|
-
|
|
405
|
-
|
|
404
|
+
[
|
|
405
|
+
{
|
|
406
406
|
"alignItems": "center",
|
|
407
407
|
"height": 48,
|
|
408
408
|
"justifyContent": "center",
|
|
@@ -425,7 +425,7 @@ exports[`DatePickerIOS renders correctly 1`] = `
|
|
|
425
425
|
onResponderTerminationRequest={[Function]}
|
|
426
426
|
onStartShouldSetResponder={[Function]}
|
|
427
427
|
style={
|
|
428
|
-
|
|
428
|
+
{
|
|
429
429
|
"opacity": 1,
|
|
430
430
|
}
|
|
431
431
|
}
|
|
@@ -434,8 +434,8 @@ exports[`DatePickerIOS renders correctly 1`] = `
|
|
|
434
434
|
<HeroIcon
|
|
435
435
|
name="cancel"
|
|
436
436
|
style={
|
|
437
|
-
|
|
438
|
-
|
|
437
|
+
[
|
|
438
|
+
{
|
|
439
439
|
"color": "#001f23",
|
|
440
440
|
"fontSize": 16,
|
|
441
441
|
},
|
|
@@ -450,8 +450,8 @@ exports[`DatePickerIOS renders correctly 1`] = `
|
|
|
450
450
|
</View>
|
|
451
451
|
<View
|
|
452
452
|
style={
|
|
453
|
-
|
|
454
|
-
|
|
453
|
+
[
|
|
454
|
+
{
|
|
455
455
|
"height": 176,
|
|
456
456
|
},
|
|
457
457
|
undefined,
|
|
@@ -463,7 +463,7 @@ exports[`DatePickerIOS renders correctly 1`] = `
|
|
|
463
463
|
mode="date"
|
|
464
464
|
onChange={[Function]}
|
|
465
465
|
style={
|
|
466
|
-
|
|
466
|
+
{
|
|
467
467
|
"flex": 1,
|
|
468
468
|
}
|
|
469
469
|
}
|
|
@@ -475,8 +475,8 @@ exports[`DatePickerIOS renders correctly 1`] = `
|
|
|
475
475
|
<View>
|
|
476
476
|
<View
|
|
477
477
|
style={
|
|
478
|
-
|
|
479
|
-
|
|
478
|
+
[
|
|
479
|
+
{
|
|
480
480
|
"alignItems": "center",
|
|
481
481
|
"flexDirection": "row",
|
|
482
482
|
"justifyContent": "flex-end",
|
|
@@ -489,7 +489,7 @@ exports[`DatePickerIOS renders correctly 1`] = `
|
|
|
489
489
|
>
|
|
490
490
|
<View
|
|
491
491
|
accessibilityState={
|
|
492
|
-
|
|
492
|
+
{
|
|
493
493
|
"disabled": false,
|
|
494
494
|
}
|
|
495
495
|
}
|
|
@@ -503,8 +503,8 @@ exports[`DatePickerIOS renders correctly 1`] = `
|
|
|
503
503
|
onResponderTerminationRequest={[Function]}
|
|
504
504
|
onStartShouldSetResponder={[Function]}
|
|
505
505
|
style={
|
|
506
|
-
|
|
507
|
-
|
|
506
|
+
[
|
|
507
|
+
{
|
|
508
508
|
"alignItems": "center",
|
|
509
509
|
"backgroundColor": "transparent",
|
|
510
510
|
"borderRadius": 4,
|
|
@@ -523,16 +523,16 @@ exports[`DatePickerIOS renders correctly 1`] = `
|
|
|
523
523
|
ellipsizeMode="tail"
|
|
524
524
|
numberOfLines={1}
|
|
525
525
|
style={
|
|
526
|
-
|
|
527
|
-
|
|
526
|
+
[
|
|
527
|
+
{
|
|
528
528
|
"color": "#001f23",
|
|
529
529
|
"fontFamily": "BeVietnamPro-SemiBold",
|
|
530
530
|
"fontSize": 16,
|
|
531
531
|
"letterSpacing": 0.24,
|
|
532
532
|
"lineHeight": 24,
|
|
533
533
|
},
|
|
534
|
-
|
|
535
|
-
|
|
534
|
+
[
|
|
535
|
+
{
|
|
536
536
|
"color": "#401960",
|
|
537
537
|
"flexShrink": 1,
|
|
538
538
|
"lineHeight": 22,
|