@hero-design/rn 8.39.0 → 8.39.2
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/es/index.js +4 -2
- package/lib/index.js +4 -2
- 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/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/__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/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
|
@@ -4,8 +4,8 @@ exports[`ScrollableTabsHeader renders correctly 1`] = `
|
|
|
4
4
|
<RNCSafeAreaProvider
|
|
5
5
|
onInsetsChange={[Function]}
|
|
6
6
|
style={
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
[
|
|
8
|
+
{
|
|
9
9
|
"flex": 1,
|
|
10
10
|
},
|
|
11
11
|
undefined,
|
|
@@ -14,8 +14,8 @@ exports[`ScrollableTabsHeader renders correctly 1`] = `
|
|
|
14
14
|
>
|
|
15
15
|
<View
|
|
16
16
|
style={
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
[
|
|
18
|
+
{
|
|
19
19
|
"borderBottomColor": "#e8e9ea",
|
|
20
20
|
"borderBottomWidth": 1,
|
|
21
21
|
"paddingHorizontal": 0,
|
|
@@ -24,7 +24,7 @@ exports[`ScrollableTabsHeader renders correctly 1`] = `
|
|
|
24
24
|
]
|
|
25
25
|
}
|
|
26
26
|
themeInsets={
|
|
27
|
-
|
|
27
|
+
{
|
|
28
28
|
"bottom": 0,
|
|
29
29
|
"left": 0,
|
|
30
30
|
"right": 0,
|
|
@@ -34,20 +34,20 @@ exports[`ScrollableTabsHeader renders correctly 1`] = `
|
|
|
34
34
|
>
|
|
35
35
|
<RCTScrollView
|
|
36
36
|
contentContainerStyle={
|
|
37
|
-
|
|
37
|
+
{
|
|
38
38
|
"paddingHorizontal": 8,
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
data={
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
[
|
|
43
|
+
{
|
|
44
44
|
"activeItem": "Work",
|
|
45
45
|
"component": <Text>
|
|
46
46
|
Work Screen
|
|
47
47
|
</Text>,
|
|
48
48
|
"key": "work",
|
|
49
49
|
},
|
|
50
|
-
|
|
50
|
+
{
|
|
51
51
|
"activeItem": "speaker",
|
|
52
52
|
"component": <Text>
|
|
53
53
|
Personal Screen
|
|
@@ -55,9 +55,9 @@ exports[`ScrollableTabsHeader renders correctly 1`] = `
|
|
|
55
55
|
"inactiveItem": "speaker-outlined",
|
|
56
56
|
"key": "personal",
|
|
57
57
|
},
|
|
58
|
-
|
|
58
|
+
{
|
|
59
59
|
"activeItem": "home",
|
|
60
|
-
"badge":
|
|
60
|
+
"badge": {
|
|
61
61
|
"type": "status",
|
|
62
62
|
},
|
|
63
63
|
"component": <Text>
|
|
@@ -66,9 +66,9 @@ exports[`ScrollableTabsHeader renders correctly 1`] = `
|
|
|
66
66
|
"inactiveItem": "home-outlined",
|
|
67
67
|
"key": "home",
|
|
68
68
|
},
|
|
69
|
-
|
|
69
|
+
{
|
|
70
70
|
"activeItem": "calendar",
|
|
71
|
-
"badge":
|
|
71
|
+
"badge": {
|
|
72
72
|
"type": "counter",
|
|
73
73
|
"value": 50,
|
|
74
74
|
},
|
|
@@ -96,15 +96,15 @@ exports[`ScrollableTabsHeader renders correctly 1`] = `
|
|
|
96
96
|
renderItem={[Function]}
|
|
97
97
|
scrollEventThrottle={50}
|
|
98
98
|
showsHorizontalScrollIndicator={false}
|
|
99
|
-
stickyHeaderIndices={
|
|
100
|
-
viewabilityConfigCallbackPairs={
|
|
99
|
+
stickyHeaderIndices={[]}
|
|
100
|
+
viewabilityConfigCallbackPairs={[]}
|
|
101
101
|
>
|
|
102
102
|
<View>
|
|
103
103
|
<View
|
|
104
104
|
onLayout={[Function]}
|
|
105
105
|
style={
|
|
106
|
-
|
|
107
|
-
|
|
106
|
+
[
|
|
107
|
+
{
|
|
108
108
|
"flexDirection": "row",
|
|
109
109
|
},
|
|
110
110
|
null,
|
|
@@ -124,7 +124,7 @@ exports[`ScrollableTabsHeader renders correctly 1`] = `
|
|
|
124
124
|
onResponderTerminationRequest={[Function]}
|
|
125
125
|
onStartShouldSetResponder={[Function]}
|
|
126
126
|
style={
|
|
127
|
-
|
|
127
|
+
{
|
|
128
128
|
"marginLeft": 0,
|
|
129
129
|
"paddingVertical": 8,
|
|
130
130
|
}
|
|
@@ -132,8 +132,8 @@ exports[`ScrollableTabsHeader renders correctly 1`] = `
|
|
|
132
132
|
>
|
|
133
133
|
<View
|
|
134
134
|
style={
|
|
135
|
-
|
|
136
|
-
|
|
135
|
+
[
|
|
136
|
+
{
|
|
137
137
|
"bottom": 0,
|
|
138
138
|
"left": 0,
|
|
139
139
|
"paddingVertical": 8,
|
|
@@ -148,12 +148,12 @@ exports[`ScrollableTabsHeader renders correctly 1`] = `
|
|
|
148
148
|
<View
|
|
149
149
|
collapsable={false}
|
|
150
150
|
style={
|
|
151
|
-
|
|
151
|
+
{
|
|
152
152
|
"backgroundColor": "#ccd2d3",
|
|
153
153
|
"borderRadius": 16,
|
|
154
154
|
"flex": 1,
|
|
155
|
-
"transform":
|
|
156
|
-
|
|
155
|
+
"transform": [
|
|
156
|
+
{
|
|
157
157
|
"scaleX": 1,
|
|
158
158
|
},
|
|
159
159
|
],
|
|
@@ -164,8 +164,8 @@ exports[`ScrollableTabsHeader renders correctly 1`] = `
|
|
|
164
164
|
</View>
|
|
165
165
|
<View
|
|
166
166
|
style={
|
|
167
|
-
|
|
168
|
-
|
|
167
|
+
[
|
|
168
|
+
{
|
|
169
169
|
"paddingHorizontal": 8,
|
|
170
170
|
"paddingVertical": 4,
|
|
171
171
|
},
|
|
@@ -178,15 +178,15 @@ exports[`ScrollableTabsHeader renders correctly 1`] = `
|
|
|
178
178
|
allowFontScaling={false}
|
|
179
179
|
numberOfLines={1}
|
|
180
180
|
style={
|
|
181
|
-
|
|
182
|
-
|
|
181
|
+
[
|
|
182
|
+
{
|
|
183
183
|
"color": "#001f23",
|
|
184
184
|
"fontFamily": "BeVietnamPro-SemiBold",
|
|
185
185
|
"fontSize": 16,
|
|
186
186
|
"letterSpacing": 0.24,
|
|
187
187
|
"lineHeight": 24,
|
|
188
188
|
},
|
|
189
|
-
|
|
189
|
+
{
|
|
190
190
|
"color": "#001f23",
|
|
191
191
|
},
|
|
192
192
|
]
|
|
@@ -204,8 +204,8 @@ exports[`ScrollableTabsHeader renders correctly 1`] = `
|
|
|
204
204
|
<View
|
|
205
205
|
onLayout={[Function]}
|
|
206
206
|
style={
|
|
207
|
-
|
|
208
|
-
|
|
207
|
+
[
|
|
208
|
+
{
|
|
209
209
|
"flexDirection": "row",
|
|
210
210
|
},
|
|
211
211
|
null,
|
|
@@ -225,7 +225,7 @@ exports[`ScrollableTabsHeader renders correctly 1`] = `
|
|
|
225
225
|
onResponderTerminationRequest={[Function]}
|
|
226
226
|
onStartShouldSetResponder={[Function]}
|
|
227
227
|
style={
|
|
228
|
-
|
|
228
|
+
{
|
|
229
229
|
"marginLeft": 12,
|
|
230
230
|
"paddingVertical": 8,
|
|
231
231
|
}
|
|
@@ -233,8 +233,8 @@ exports[`ScrollableTabsHeader renders correctly 1`] = `
|
|
|
233
233
|
>
|
|
234
234
|
<View
|
|
235
235
|
style={
|
|
236
|
-
|
|
237
|
-
|
|
236
|
+
[
|
|
237
|
+
{
|
|
238
238
|
"bottom": 0,
|
|
239
239
|
"left": 0,
|
|
240
240
|
"paddingVertical": 8,
|
|
@@ -249,12 +249,12 @@ exports[`ScrollableTabsHeader renders correctly 1`] = `
|
|
|
249
249
|
<View
|
|
250
250
|
collapsable={false}
|
|
251
251
|
style={
|
|
252
|
-
|
|
252
|
+
{
|
|
253
253
|
"backgroundColor": undefined,
|
|
254
254
|
"borderRadius": 16,
|
|
255
255
|
"flex": 1,
|
|
256
|
-
"transform":
|
|
257
|
-
|
|
256
|
+
"transform": [
|
|
257
|
+
{
|
|
258
258
|
"scaleX": 0,
|
|
259
259
|
},
|
|
260
260
|
],
|
|
@@ -265,8 +265,8 @@ exports[`ScrollableTabsHeader renders correctly 1`] = `
|
|
|
265
265
|
</View>
|
|
266
266
|
<View
|
|
267
267
|
style={
|
|
268
|
-
|
|
269
|
-
|
|
268
|
+
[
|
|
269
|
+
{
|
|
270
270
|
"paddingHorizontal": 8,
|
|
271
271
|
"paddingVertical": 4,
|
|
272
272
|
},
|
|
@@ -278,12 +278,12 @@ exports[`ScrollableTabsHeader renders correctly 1`] = `
|
|
|
278
278
|
<HeroIcon
|
|
279
279
|
name="speaker-outlined"
|
|
280
280
|
style={
|
|
281
|
-
|
|
282
|
-
|
|
281
|
+
[
|
|
282
|
+
{
|
|
283
283
|
"color": "#001f23",
|
|
284
284
|
"fontSize": 20,
|
|
285
285
|
},
|
|
286
|
-
|
|
286
|
+
{
|
|
287
287
|
"color": "#001f23",
|
|
288
288
|
},
|
|
289
289
|
]
|
|
@@ -299,8 +299,8 @@ exports[`ScrollableTabsHeader renders correctly 1`] = `
|
|
|
299
299
|
<View
|
|
300
300
|
onLayout={[Function]}
|
|
301
301
|
style={
|
|
302
|
-
|
|
303
|
-
|
|
302
|
+
[
|
|
303
|
+
{
|
|
304
304
|
"flexDirection": "row",
|
|
305
305
|
},
|
|
306
306
|
null,
|
|
@@ -320,7 +320,7 @@ exports[`ScrollableTabsHeader renders correctly 1`] = `
|
|
|
320
320
|
onResponderTerminationRequest={[Function]}
|
|
321
321
|
onStartShouldSetResponder={[Function]}
|
|
322
322
|
style={
|
|
323
|
-
|
|
323
|
+
{
|
|
324
324
|
"marginLeft": 12,
|
|
325
325
|
"paddingVertical": 8,
|
|
326
326
|
}
|
|
@@ -328,8 +328,8 @@ exports[`ScrollableTabsHeader renders correctly 1`] = `
|
|
|
328
328
|
>
|
|
329
329
|
<View
|
|
330
330
|
style={
|
|
331
|
-
|
|
332
|
-
|
|
331
|
+
[
|
|
332
|
+
{
|
|
333
333
|
"bottom": 0,
|
|
334
334
|
"left": 0,
|
|
335
335
|
"paddingVertical": 8,
|
|
@@ -344,12 +344,12 @@ exports[`ScrollableTabsHeader renders correctly 1`] = `
|
|
|
344
344
|
<View
|
|
345
345
|
collapsable={false}
|
|
346
346
|
style={
|
|
347
|
-
|
|
347
|
+
{
|
|
348
348
|
"backgroundColor": undefined,
|
|
349
349
|
"borderRadius": 16,
|
|
350
350
|
"flex": 1,
|
|
351
|
-
"transform":
|
|
352
|
-
|
|
351
|
+
"transform": [
|
|
352
|
+
{
|
|
353
353
|
"scaleX": 0,
|
|
354
354
|
},
|
|
355
355
|
],
|
|
@@ -360,8 +360,8 @@ exports[`ScrollableTabsHeader renders correctly 1`] = `
|
|
|
360
360
|
</View>
|
|
361
361
|
<View
|
|
362
362
|
style={
|
|
363
|
-
|
|
364
|
-
|
|
363
|
+
[
|
|
364
|
+
{
|
|
365
365
|
"paddingHorizontal": 8,
|
|
366
366
|
"paddingVertical": 4,
|
|
367
367
|
},
|
|
@@ -371,7 +371,7 @@ exports[`ScrollableTabsHeader renders correctly 1`] = `
|
|
|
371
371
|
>
|
|
372
372
|
<View
|
|
373
373
|
style={
|
|
374
|
-
|
|
374
|
+
{
|
|
375
375
|
"paddingHorizontal": 4,
|
|
376
376
|
}
|
|
377
377
|
}
|
|
@@ -379,12 +379,12 @@ exports[`ScrollableTabsHeader renders correctly 1`] = `
|
|
|
379
379
|
<HeroIcon
|
|
380
380
|
name="home-outlined"
|
|
381
381
|
style={
|
|
382
|
-
|
|
383
|
-
|
|
382
|
+
[
|
|
383
|
+
{
|
|
384
384
|
"color": "#001f23",
|
|
385
385
|
"fontSize": 20,
|
|
386
386
|
},
|
|
387
|
-
|
|
387
|
+
{
|
|
388
388
|
"color": "#001f23",
|
|
389
389
|
},
|
|
390
390
|
]
|
|
@@ -396,7 +396,7 @@ exports[`ScrollableTabsHeader renders correctly 1`] = `
|
|
|
396
396
|
<View
|
|
397
397
|
collapsable={false}
|
|
398
398
|
style={
|
|
399
|
-
|
|
399
|
+
{
|
|
400
400
|
"backgroundColor": "#cb300a",
|
|
401
401
|
"borderRadius": 999,
|
|
402
402
|
"height": 8,
|
|
@@ -404,8 +404,8 @@ exports[`ScrollableTabsHeader renders correctly 1`] = `
|
|
|
404
404
|
"position": "absolute",
|
|
405
405
|
"right": -2,
|
|
406
406
|
"top": -2,
|
|
407
|
-
"transform":
|
|
408
|
-
|
|
407
|
+
"transform": [
|
|
408
|
+
{
|
|
409
409
|
"scale": 1,
|
|
410
410
|
},
|
|
411
411
|
],
|
|
@@ -421,8 +421,8 @@ exports[`ScrollableTabsHeader renders correctly 1`] = `
|
|
|
421
421
|
<View
|
|
422
422
|
onLayout={[Function]}
|
|
423
423
|
style={
|
|
424
|
-
|
|
425
|
-
|
|
424
|
+
[
|
|
425
|
+
{
|
|
426
426
|
"flexDirection": "row",
|
|
427
427
|
},
|
|
428
428
|
null,
|
|
@@ -442,7 +442,7 @@ exports[`ScrollableTabsHeader renders correctly 1`] = `
|
|
|
442
442
|
onResponderTerminationRequest={[Function]}
|
|
443
443
|
onStartShouldSetResponder={[Function]}
|
|
444
444
|
style={
|
|
445
|
-
|
|
445
|
+
{
|
|
446
446
|
"marginLeft": 12,
|
|
447
447
|
"paddingVertical": 8,
|
|
448
448
|
}
|
|
@@ -450,8 +450,8 @@ exports[`ScrollableTabsHeader renders correctly 1`] = `
|
|
|
450
450
|
>
|
|
451
451
|
<View
|
|
452
452
|
style={
|
|
453
|
-
|
|
454
|
-
|
|
453
|
+
[
|
|
454
|
+
{
|
|
455
455
|
"bottom": 0,
|
|
456
456
|
"left": 0,
|
|
457
457
|
"paddingVertical": 8,
|
|
@@ -466,12 +466,12 @@ exports[`ScrollableTabsHeader renders correctly 1`] = `
|
|
|
466
466
|
<View
|
|
467
467
|
collapsable={false}
|
|
468
468
|
style={
|
|
469
|
-
|
|
469
|
+
{
|
|
470
470
|
"backgroundColor": undefined,
|
|
471
471
|
"borderRadius": 16,
|
|
472
472
|
"flex": 1,
|
|
473
|
-
"transform":
|
|
474
|
-
|
|
473
|
+
"transform": [
|
|
474
|
+
{
|
|
475
475
|
"scaleX": 0,
|
|
476
476
|
},
|
|
477
477
|
],
|
|
@@ -482,8 +482,8 @@ exports[`ScrollableTabsHeader renders correctly 1`] = `
|
|
|
482
482
|
</View>
|
|
483
483
|
<View
|
|
484
484
|
style={
|
|
485
|
-
|
|
486
|
-
|
|
485
|
+
[
|
|
486
|
+
{
|
|
487
487
|
"paddingHorizontal": 8,
|
|
488
488
|
"paddingVertical": 4,
|
|
489
489
|
},
|
|
@@ -493,8 +493,8 @@ exports[`ScrollableTabsHeader renders correctly 1`] = `
|
|
|
493
493
|
>
|
|
494
494
|
<View
|
|
495
495
|
style={
|
|
496
|
-
|
|
497
|
-
|
|
496
|
+
[
|
|
497
|
+
{
|
|
498
498
|
"alignItems": "center",
|
|
499
499
|
"flexDirection": "row",
|
|
500
500
|
},
|
|
@@ -505,12 +505,12 @@ exports[`ScrollableTabsHeader renders correctly 1`] = `
|
|
|
505
505
|
<HeroIcon
|
|
506
506
|
name="calendar-dates-outlined"
|
|
507
507
|
style={
|
|
508
|
-
|
|
509
|
-
|
|
508
|
+
[
|
|
509
|
+
{
|
|
510
510
|
"color": "#001f23",
|
|
511
511
|
"fontSize": 20,
|
|
512
512
|
},
|
|
513
|
-
|
|
513
|
+
{
|
|
514
514
|
"color": "#001f23",
|
|
515
515
|
},
|
|
516
516
|
]
|
|
@@ -522,7 +522,7 @@ exports[`ScrollableTabsHeader renders correctly 1`] = `
|
|
|
522
522
|
<View
|
|
523
523
|
collapsable={false}
|
|
524
524
|
style={
|
|
525
|
-
|
|
525
|
+
{
|
|
526
526
|
"alignItems": "center",
|
|
527
527
|
"backgroundColor": "#355bfb",
|
|
528
528
|
"borderRadius": 999,
|
|
@@ -532,8 +532,8 @@ exports[`ScrollableTabsHeader renders correctly 1`] = `
|
|
|
532
532
|
"minWidth": 20,
|
|
533
533
|
"opacity": 1,
|
|
534
534
|
"paddingHorizontal": 8,
|
|
535
|
-
"transform":
|
|
536
|
-
|
|
535
|
+
"transform": [
|
|
536
|
+
{
|
|
537
537
|
"scale": 1,
|
|
538
538
|
},
|
|
539
539
|
],
|
|
@@ -545,16 +545,16 @@ exports[`ScrollableTabsHeader renders correctly 1`] = `
|
|
|
545
545
|
<Text
|
|
546
546
|
allowFontScaling={false}
|
|
547
547
|
style={
|
|
548
|
-
|
|
549
|
-
|
|
548
|
+
[
|
|
549
|
+
{
|
|
550
550
|
"color": "#001f23",
|
|
551
551
|
"fontFamily": "BeVietnamPro-Regular",
|
|
552
552
|
"fontSize": 12,
|
|
553
553
|
"letterSpacing": 0.48,
|
|
554
554
|
"lineHeight": 16,
|
|
555
555
|
},
|
|
556
|
-
|
|
557
|
-
|
|
556
|
+
[
|
|
557
|
+
{
|
|
558
558
|
"color": "#ffffff",
|
|
559
559
|
"includeFontPadding": false,
|
|
560
560
|
"textAlign": "center",
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
exports[`TabWithBadge renders correctly with counter badge config 1`] = `
|
|
4
4
|
<View
|
|
5
5
|
style={
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
[
|
|
7
|
+
{
|
|
8
8
|
"alignItems": "center",
|
|
9
9
|
"flexDirection": "row",
|
|
10
10
|
},
|
|
@@ -16,7 +16,7 @@ exports[`TabWithBadge renders correctly with counter badge config 1`] = `
|
|
|
16
16
|
<View
|
|
17
17
|
collapsable={false}
|
|
18
18
|
style={
|
|
19
|
-
|
|
19
|
+
{
|
|
20
20
|
"alignItems": "center",
|
|
21
21
|
"backgroundColor": "#355bfb",
|
|
22
22
|
"borderRadius": 999,
|
|
@@ -26,8 +26,8 @@ exports[`TabWithBadge renders correctly with counter badge config 1`] = `
|
|
|
26
26
|
"minWidth": 20,
|
|
27
27
|
"opacity": 1,
|
|
28
28
|
"paddingHorizontal": 8,
|
|
29
|
-
"transform":
|
|
30
|
-
|
|
29
|
+
"transform": [
|
|
30
|
+
{
|
|
31
31
|
"scale": 1,
|
|
32
32
|
},
|
|
33
33
|
],
|
|
@@ -39,16 +39,16 @@ exports[`TabWithBadge renders correctly with counter badge config 1`] = `
|
|
|
39
39
|
<Text
|
|
40
40
|
allowFontScaling={false}
|
|
41
41
|
style={
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
[
|
|
43
|
+
{
|
|
44
44
|
"color": "#001f23",
|
|
45
45
|
"fontFamily": "BeVietnamPro-Regular",
|
|
46
46
|
"fontSize": 12,
|
|
47
47
|
"letterSpacing": 0.48,
|
|
48
48
|
"lineHeight": 16,
|
|
49
49
|
},
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
[
|
|
51
|
+
{
|
|
52
52
|
"color": "#ffffff",
|
|
53
53
|
"includeFontPadding": false,
|
|
54
54
|
"textAlign": "center",
|
|
@@ -70,7 +70,7 @@ exports[`TabWithBadge renders correctly with counter badge config 1`] = `
|
|
|
70
70
|
exports[`TabWithBadge renders correctly with status badge config 1`] = `
|
|
71
71
|
<View
|
|
72
72
|
style={
|
|
73
|
-
|
|
73
|
+
{
|
|
74
74
|
"paddingHorizontal": 4,
|
|
75
75
|
}
|
|
76
76
|
}
|
|
@@ -79,7 +79,7 @@ exports[`TabWithBadge renders correctly with status badge config 1`] = `
|
|
|
79
79
|
<View
|
|
80
80
|
collapsable={false}
|
|
81
81
|
style={
|
|
82
|
-
|
|
82
|
+
{
|
|
83
83
|
"backgroundColor": "#cb300a",
|
|
84
84
|
"borderRadius": 999,
|
|
85
85
|
"height": 8,
|
|
@@ -87,8 +87,8 @@ exports[`TabWithBadge renders correctly with status badge config 1`] = `
|
|
|
87
87
|
"position": "absolute",
|
|
88
88
|
"right": -2,
|
|
89
89
|
"top": -2,
|
|
90
|
-
"transform":
|
|
91
|
-
|
|
90
|
+
"transform": [
|
|
91
|
+
{
|
|
92
92
|
"scale": 1,
|
|
93
93
|
},
|
|
94
94
|
],
|