@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[`Avatar fallbacks to title when there image failed to load 1`] = `
|
|
4
4
|
<View
|
|
5
5
|
accessibilityState={
|
|
6
|
-
|
|
6
|
+
{
|
|
7
7
|
"disabled": true,
|
|
8
8
|
}
|
|
9
9
|
}
|
|
@@ -18,7 +18,7 @@ exports[`Avatar fallbacks to title when there image failed to load 1`] = `
|
|
|
18
18
|
onResponderTerminationRequest={[Function]}
|
|
19
19
|
onStartShouldSetResponder={[Function]}
|
|
20
20
|
style={
|
|
21
|
-
|
|
21
|
+
{
|
|
22
22
|
"backgroundColor": "#401960",
|
|
23
23
|
"borderRadius": 999,
|
|
24
24
|
"height": 32,
|
|
@@ -30,8 +30,8 @@ exports[`Avatar fallbacks to title when there image failed to load 1`] = `
|
|
|
30
30
|
>
|
|
31
31
|
<View
|
|
32
32
|
style={
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
[
|
|
34
|
+
{
|
|
35
35
|
"alignItems": "center",
|
|
36
36
|
"height": "100%",
|
|
37
37
|
"justifyContent": "center",
|
|
@@ -44,16 +44,16 @@ exports[`Avatar fallbacks to title when there image failed to load 1`] = `
|
|
|
44
44
|
<Text
|
|
45
45
|
allowFontScaling={false}
|
|
46
46
|
style={
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
[
|
|
48
|
+
{
|
|
49
49
|
"color": "#001f23",
|
|
50
50
|
"fontFamily": "BeVietnamPro-Regular",
|
|
51
51
|
"fontSize": 14,
|
|
52
52
|
"letterSpacing": 0.42,
|
|
53
53
|
"lineHeight": 22,
|
|
54
54
|
},
|
|
55
|
-
|
|
56
|
-
|
|
55
|
+
[
|
|
56
|
+
{
|
|
57
57
|
"color": "#ffffff",
|
|
58
58
|
"fontFamily": "BeVietnamPro-Regular",
|
|
59
59
|
"fontSize": 16,
|
|
@@ -80,13 +80,13 @@ exports[`Avatar fallbacks to title when there image failed to load 1`] = `
|
|
|
80
80
|
onLoad={[Function]}
|
|
81
81
|
resizeMode="cover"
|
|
82
82
|
source={
|
|
83
|
-
|
|
83
|
+
{
|
|
84
84
|
"uri": "error URI",
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
style={
|
|
88
|
-
|
|
89
|
-
|
|
88
|
+
[
|
|
89
|
+
{
|
|
90
90
|
"height": 32,
|
|
91
91
|
"width": 32,
|
|
92
92
|
},
|
|
@@ -102,7 +102,7 @@ exports[`Avatar fallbacks to title when there image failed to load 1`] = `
|
|
|
102
102
|
exports[`Avatar prioritizes source over title 1`] = `
|
|
103
103
|
<View
|
|
104
104
|
accessibilityState={
|
|
105
|
-
|
|
105
|
+
{
|
|
106
106
|
"disabled": true,
|
|
107
107
|
}
|
|
108
108
|
}
|
|
@@ -117,7 +117,7 @@ exports[`Avatar prioritizes source over title 1`] = `
|
|
|
117
117
|
onResponderTerminationRequest={[Function]}
|
|
118
118
|
onStartShouldSetResponder={[Function]}
|
|
119
119
|
style={
|
|
120
|
-
|
|
120
|
+
{
|
|
121
121
|
"backgroundColor": "#401960",
|
|
122
122
|
"borderRadius": 999,
|
|
123
123
|
"height": 32,
|
|
@@ -133,13 +133,13 @@ exports[`Avatar prioritizes source over title 1`] = `
|
|
|
133
133
|
onLoad={[Function]}
|
|
134
134
|
resizeMode="cover"
|
|
135
135
|
source={
|
|
136
|
-
|
|
136
|
+
{
|
|
137
137
|
"uri": "https://i.pravatar.cc/300",
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
140
|
style={
|
|
141
|
-
|
|
142
|
-
|
|
141
|
+
[
|
|
142
|
+
{
|
|
143
143
|
"height": 32,
|
|
144
144
|
"width": 32,
|
|
145
145
|
},
|
|
@@ -155,7 +155,7 @@ exports[`Avatar prioritizes source over title 1`] = `
|
|
|
155
155
|
exports[`Avatar shows title when there is no source 1`] = `
|
|
156
156
|
<View
|
|
157
157
|
accessibilityState={
|
|
158
|
-
|
|
158
|
+
{
|
|
159
159
|
"disabled": true,
|
|
160
160
|
}
|
|
161
161
|
}
|
|
@@ -170,7 +170,7 @@ exports[`Avatar shows title when there is no source 1`] = `
|
|
|
170
170
|
onResponderTerminationRequest={[Function]}
|
|
171
171
|
onStartShouldSetResponder={[Function]}
|
|
172
172
|
style={
|
|
173
|
-
|
|
173
|
+
{
|
|
174
174
|
"backgroundColor": "#401960",
|
|
175
175
|
"borderRadius": 999,
|
|
176
176
|
"height": 32,
|
|
@@ -183,8 +183,8 @@ exports[`Avatar shows title when there is no source 1`] = `
|
|
|
183
183
|
>
|
|
184
184
|
<View
|
|
185
185
|
style={
|
|
186
|
-
|
|
187
|
-
|
|
186
|
+
[
|
|
187
|
+
{
|
|
188
188
|
"alignItems": "center",
|
|
189
189
|
"height": "100%",
|
|
190
190
|
"justifyContent": "center",
|
|
@@ -197,16 +197,16 @@ exports[`Avatar shows title when there is no source 1`] = `
|
|
|
197
197
|
<Text
|
|
198
198
|
allowFontScaling={false}
|
|
199
199
|
style={
|
|
200
|
-
|
|
201
|
-
|
|
200
|
+
[
|
|
201
|
+
{
|
|
202
202
|
"color": "#001f23",
|
|
203
203
|
"fontFamily": "BeVietnamPro-Regular",
|
|
204
204
|
"fontSize": 14,
|
|
205
205
|
"letterSpacing": 0.42,
|
|
206
206
|
"lineHeight": 22,
|
|
207
207
|
},
|
|
208
|
-
|
|
209
|
-
|
|
208
|
+
[
|
|
209
|
+
{
|
|
210
210
|
"color": "#ffffff",
|
|
211
211
|
"fontFamily": "BeVietnamPro-Regular",
|
|
212
212
|
"fontSize": 16,
|
|
@@ -4,7 +4,7 @@ exports[`Badge has danger style when intent is danger 1`] = `
|
|
|
4
4
|
<View
|
|
5
5
|
collapsable={false}
|
|
6
6
|
style={
|
|
7
|
-
|
|
7
|
+
{
|
|
8
8
|
"alignItems": "center",
|
|
9
9
|
"backgroundColor": "#cb300a",
|
|
10
10
|
"borderRadius": 999,
|
|
@@ -13,8 +13,8 @@ exports[`Badge has danger style when intent is danger 1`] = `
|
|
|
13
13
|
"minWidth": 20,
|
|
14
14
|
"opacity": 1,
|
|
15
15
|
"paddingHorizontal": 8,
|
|
16
|
-
"transform":
|
|
17
|
-
|
|
16
|
+
"transform": [
|
|
17
|
+
{
|
|
18
18
|
"scale": 1,
|
|
19
19
|
},
|
|
20
20
|
],
|
|
@@ -26,16 +26,16 @@ exports[`Badge has danger style when intent is danger 1`] = `
|
|
|
26
26
|
<Text
|
|
27
27
|
allowFontScaling={false}
|
|
28
28
|
style={
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
[
|
|
30
|
+
{
|
|
31
31
|
"color": "#001f23",
|
|
32
32
|
"fontFamily": "BeVietnamPro-Regular",
|
|
33
33
|
"fontSize": 12,
|
|
34
34
|
"letterSpacing": 0.48,
|
|
35
35
|
"lineHeight": 16,
|
|
36
36
|
},
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
[
|
|
38
|
+
{
|
|
39
39
|
"color": "#ffffff",
|
|
40
40
|
"includeFontPadding": false,
|
|
41
41
|
"textAlign": "center",
|
|
@@ -57,7 +57,7 @@ exports[`Badge has info style when intent is info 1`] = `
|
|
|
57
57
|
<View
|
|
58
58
|
collapsable={false}
|
|
59
59
|
style={
|
|
60
|
-
|
|
60
|
+
{
|
|
61
61
|
"alignItems": "center",
|
|
62
62
|
"backgroundColor": "#355bfb",
|
|
63
63
|
"borderRadius": 999,
|
|
@@ -66,8 +66,8 @@ exports[`Badge has info style when intent is info 1`] = `
|
|
|
66
66
|
"minWidth": 20,
|
|
67
67
|
"opacity": 1,
|
|
68
68
|
"paddingHorizontal": 8,
|
|
69
|
-
"transform":
|
|
70
|
-
|
|
69
|
+
"transform": [
|
|
70
|
+
{
|
|
71
71
|
"scale": 1,
|
|
72
72
|
},
|
|
73
73
|
],
|
|
@@ -79,16 +79,16 @@ exports[`Badge has info style when intent is info 1`] = `
|
|
|
79
79
|
<Text
|
|
80
80
|
allowFontScaling={false}
|
|
81
81
|
style={
|
|
82
|
-
|
|
83
|
-
|
|
82
|
+
[
|
|
83
|
+
{
|
|
84
84
|
"color": "#001f23",
|
|
85
85
|
"fontFamily": "BeVietnamPro-Regular",
|
|
86
86
|
"fontSize": 12,
|
|
87
87
|
"letterSpacing": 0.48,
|
|
88
88
|
"lineHeight": 16,
|
|
89
89
|
},
|
|
90
|
-
|
|
91
|
-
|
|
90
|
+
[
|
|
91
|
+
{
|
|
92
92
|
"color": "#ffffff",
|
|
93
93
|
"includeFontPadding": false,
|
|
94
94
|
"textAlign": "center",
|
|
@@ -110,7 +110,7 @@ exports[`Badge has info style when intent is primary 1`] = `
|
|
|
110
110
|
<View
|
|
111
111
|
collapsable={false}
|
|
112
112
|
style={
|
|
113
|
-
|
|
113
|
+
{
|
|
114
114
|
"alignItems": "center",
|
|
115
115
|
"backgroundColor": "#401960",
|
|
116
116
|
"borderRadius": 999,
|
|
@@ -119,8 +119,8 @@ exports[`Badge has info style when intent is primary 1`] = `
|
|
|
119
119
|
"minWidth": 20,
|
|
120
120
|
"opacity": 1,
|
|
121
121
|
"paddingHorizontal": 8,
|
|
122
|
-
"transform":
|
|
123
|
-
|
|
122
|
+
"transform": [
|
|
123
|
+
{
|
|
124
124
|
"scale": 1,
|
|
125
125
|
},
|
|
126
126
|
],
|
|
@@ -132,16 +132,16 @@ exports[`Badge has info style when intent is primary 1`] = `
|
|
|
132
132
|
<Text
|
|
133
133
|
allowFontScaling={false}
|
|
134
134
|
style={
|
|
135
|
-
|
|
136
|
-
|
|
135
|
+
[
|
|
136
|
+
{
|
|
137
137
|
"color": "#001f23",
|
|
138
138
|
"fontFamily": "BeVietnamPro-Regular",
|
|
139
139
|
"fontSize": 12,
|
|
140
140
|
"letterSpacing": 0.48,
|
|
141
141
|
"lineHeight": 16,
|
|
142
142
|
},
|
|
143
|
-
|
|
144
|
-
|
|
143
|
+
[
|
|
144
|
+
{
|
|
145
145
|
"color": "#ffffff",
|
|
146
146
|
"includeFontPadding": false,
|
|
147
147
|
"textAlign": "center",
|
|
@@ -163,7 +163,7 @@ exports[`Badge has success style when intent is success 1`] = `
|
|
|
163
163
|
<View
|
|
164
164
|
collapsable={false}
|
|
165
165
|
style={
|
|
166
|
-
|
|
166
|
+
{
|
|
167
167
|
"alignItems": "center",
|
|
168
168
|
"backgroundColor": "#017d6d",
|
|
169
169
|
"borderRadius": 999,
|
|
@@ -172,8 +172,8 @@ exports[`Badge has success style when intent is success 1`] = `
|
|
|
172
172
|
"minWidth": 20,
|
|
173
173
|
"opacity": 1,
|
|
174
174
|
"paddingHorizontal": 8,
|
|
175
|
-
"transform":
|
|
176
|
-
|
|
175
|
+
"transform": [
|
|
176
|
+
{
|
|
177
177
|
"scale": 1,
|
|
178
178
|
},
|
|
179
179
|
],
|
|
@@ -185,16 +185,16 @@ exports[`Badge has success style when intent is success 1`] = `
|
|
|
185
185
|
<Text
|
|
186
186
|
allowFontScaling={false}
|
|
187
187
|
style={
|
|
188
|
-
|
|
189
|
-
|
|
188
|
+
[
|
|
189
|
+
{
|
|
190
190
|
"color": "#001f23",
|
|
191
191
|
"fontFamily": "BeVietnamPro-Regular",
|
|
192
192
|
"fontSize": 12,
|
|
193
193
|
"letterSpacing": 0.48,
|
|
194
194
|
"lineHeight": 16,
|
|
195
195
|
},
|
|
196
|
-
|
|
197
|
-
|
|
196
|
+
[
|
|
197
|
+
{
|
|
198
198
|
"color": "#ffffff",
|
|
199
199
|
"includeFontPadding": false,
|
|
200
200
|
"textAlign": "center",
|
|
@@ -216,7 +216,7 @@ exports[`Badge has warning style when intent is warning 1`] = `
|
|
|
216
216
|
<View
|
|
217
217
|
collapsable={false}
|
|
218
218
|
style={
|
|
219
|
-
|
|
219
|
+
{
|
|
220
220
|
"alignItems": "center",
|
|
221
221
|
"backgroundColor": "#ac5d00",
|
|
222
222
|
"borderRadius": 999,
|
|
@@ -225,8 +225,8 @@ exports[`Badge has warning style when intent is warning 1`] = `
|
|
|
225
225
|
"minWidth": 20,
|
|
226
226
|
"opacity": 1,
|
|
227
227
|
"paddingHorizontal": 8,
|
|
228
|
-
"transform":
|
|
229
|
-
|
|
228
|
+
"transform": [
|
|
229
|
+
{
|
|
230
230
|
"scale": 1,
|
|
231
231
|
},
|
|
232
232
|
],
|
|
@@ -238,16 +238,16 @@ exports[`Badge has warning style when intent is warning 1`] = `
|
|
|
238
238
|
<Text
|
|
239
239
|
allowFontScaling={false}
|
|
240
240
|
style={
|
|
241
|
-
|
|
242
|
-
|
|
241
|
+
[
|
|
242
|
+
{
|
|
243
243
|
"color": "#001f23",
|
|
244
244
|
"fontFamily": "BeVietnamPro-Regular",
|
|
245
245
|
"fontSize": 12,
|
|
246
246
|
"letterSpacing": 0.48,
|
|
247
247
|
"lineHeight": 16,
|
|
248
248
|
},
|
|
249
|
-
|
|
250
|
-
|
|
249
|
+
[
|
|
250
|
+
{
|
|
251
251
|
"color": "#ffffff",
|
|
252
252
|
"includeFontPadding": false,
|
|
253
253
|
"textAlign": "center",
|
|
@@ -269,7 +269,7 @@ exports[`Badge renders correctly with custom props 1`] = `
|
|
|
269
269
|
<View
|
|
270
270
|
collapsable={false}
|
|
271
271
|
style={
|
|
272
|
-
|
|
272
|
+
{
|
|
273
273
|
"alignItems": "center",
|
|
274
274
|
"backgroundColor": "#017d6d",
|
|
275
275
|
"borderRadius": 999,
|
|
@@ -278,8 +278,8 @@ exports[`Badge renders correctly with custom props 1`] = `
|
|
|
278
278
|
"minWidth": 20,
|
|
279
279
|
"opacity": 1,
|
|
280
280
|
"paddingHorizontal": 8,
|
|
281
|
-
"transform":
|
|
282
|
-
|
|
281
|
+
"transform": [
|
|
282
|
+
{
|
|
283
283
|
"scale": 1,
|
|
284
284
|
},
|
|
285
285
|
],
|
|
@@ -292,16 +292,16 @@ exports[`Badge renders correctly with custom props 1`] = `
|
|
|
292
292
|
<Text
|
|
293
293
|
allowFontScaling={false}
|
|
294
294
|
style={
|
|
295
|
-
|
|
296
|
-
|
|
295
|
+
[
|
|
296
|
+
{
|
|
297
297
|
"color": "#001f23",
|
|
298
298
|
"fontFamily": "BeVietnamPro-Regular",
|
|
299
299
|
"fontSize": 12,
|
|
300
300
|
"letterSpacing": 0.48,
|
|
301
301
|
"lineHeight": 16,
|
|
302
302
|
},
|
|
303
|
-
|
|
304
|
-
|
|
303
|
+
[
|
|
304
|
+
{
|
|
305
305
|
"color": "#ffffff",
|
|
306
306
|
"includeFontPadding": false,
|
|
307
307
|
"textAlign": "center",
|
|
@@ -5,8 +5,8 @@ exports[`Status Badge renders correctly 1`] = `
|
|
|
5
5
|
<HeroIcon
|
|
6
6
|
name="activate"
|
|
7
7
|
style={
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
[
|
|
9
|
+
{
|
|
10
10
|
"color": "#001f23",
|
|
11
11
|
"fontSize": 24,
|
|
12
12
|
},
|
|
@@ -20,7 +20,7 @@ exports[`Status Badge renders correctly 1`] = `
|
|
|
20
20
|
<View
|
|
21
21
|
collapsable={false}
|
|
22
22
|
style={
|
|
23
|
-
|
|
23
|
+
{
|
|
24
24
|
"backgroundColor": "#cb300a",
|
|
25
25
|
"borderRadius": 999,
|
|
26
26
|
"height": 8,
|
|
@@ -28,8 +28,8 @@ exports[`Status Badge renders correctly 1`] = `
|
|
|
28
28
|
"position": "absolute",
|
|
29
29
|
"right": -2,
|
|
30
30
|
"top": -2,
|
|
31
|
-
"transform":
|
|
32
|
-
|
|
31
|
+
"transform": [
|
|
32
|
+
{
|
|
33
33
|
"scale": 1,
|
|
34
34
|
},
|
|
35
35
|
],
|
|
@@ -46,8 +46,8 @@ exports[`Status Badge renders correctly with intent 1`] = `
|
|
|
46
46
|
<Text
|
|
47
47
|
allowFontScaling={false}
|
|
48
48
|
style={
|
|
49
|
-
|
|
50
|
-
|
|
49
|
+
[
|
|
50
|
+
{
|
|
51
51
|
"color": "#001f23",
|
|
52
52
|
"fontFamily": "BeVietnamPro-Regular",
|
|
53
53
|
"fontSize": 14,
|
|
@@ -66,7 +66,7 @@ exports[`Status Badge renders correctly with intent 1`] = `
|
|
|
66
66
|
<View
|
|
67
67
|
collapsable={false}
|
|
68
68
|
style={
|
|
69
|
-
|
|
69
|
+
{
|
|
70
70
|
"backgroundColor": "#017d6d",
|
|
71
71
|
"borderRadius": 999,
|
|
72
72
|
"height": 8,
|
|
@@ -74,8 +74,8 @@ exports[`Status Badge renders correctly with intent 1`] = `
|
|
|
74
74
|
"position": "absolute",
|
|
75
75
|
"right": -2,
|
|
76
76
|
"top": -2,
|
|
77
|
-
"transform":
|
|
78
|
-
|
|
77
|
+
"transform": [
|
|
78
|
+
{
|
|
79
79
|
"scale": 1,
|
|
80
80
|
},
|
|
81
81
|
],
|
|
@@ -4,8 +4,8 @@ exports[`BottomNavigation 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[`BottomNavigation renders correctly 1`] = `
|
|
|
14
14
|
>
|
|
15
15
|
<View
|
|
16
16
|
style={
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
[
|
|
18
|
+
{
|
|
19
19
|
"flex": 1,
|
|
20
20
|
"overflow": "hidden",
|
|
21
21
|
},
|
|
@@ -25,8 +25,8 @@ exports[`BottomNavigation renders correctly 1`] = `
|
|
|
25
25
|
>
|
|
26
26
|
<View
|
|
27
27
|
style={
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
[
|
|
29
|
+
{
|
|
30
30
|
"flex": 1,
|
|
31
31
|
},
|
|
32
32
|
undefined,
|
|
@@ -40,8 +40,8 @@ exports[`BottomNavigation renders correctly 1`] = `
|
|
|
40
40
|
pointerEvents="auto"
|
|
41
41
|
removeClippedSubviews={false}
|
|
42
42
|
style={
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
[
|
|
44
|
+
{
|
|
45
45
|
"display": "flex",
|
|
46
46
|
"flex": 1,
|
|
47
47
|
},
|
|
@@ -57,8 +57,8 @@ exports[`BottomNavigation renders correctly 1`] = `
|
|
|
57
57
|
</View>
|
|
58
58
|
<View
|
|
59
59
|
style={
|
|
60
|
-
|
|
61
|
-
|
|
60
|
+
[
|
|
61
|
+
{
|
|
62
62
|
"backgroundColor": "#ffffff",
|
|
63
63
|
"elevation": 10,
|
|
64
64
|
"height": 72,
|
|
@@ -66,7 +66,7 @@ exports[`BottomNavigation renders correctly 1`] = `
|
|
|
66
66
|
"paddingLeft": 0,
|
|
67
67
|
"paddingRight": 0,
|
|
68
68
|
"shadowColor": "#401960",
|
|
69
|
-
"shadowOffset":
|
|
69
|
+
"shadowOffset": {
|
|
70
70
|
"height": 3,
|
|
71
71
|
"width": 0,
|
|
72
72
|
},
|
|
@@ -77,7 +77,7 @@ exports[`BottomNavigation renders correctly 1`] = `
|
|
|
77
77
|
]
|
|
78
78
|
}
|
|
79
79
|
themeInsets={
|
|
80
|
-
|
|
80
|
+
{
|
|
81
81
|
"bottom": 0,
|
|
82
82
|
"left": 0,
|
|
83
83
|
"right": 0,
|
|
@@ -87,8 +87,8 @@ exports[`BottomNavigation renders correctly 1`] = `
|
|
|
87
87
|
>
|
|
88
88
|
<View
|
|
89
89
|
style={
|
|
90
|
-
|
|
91
|
-
|
|
90
|
+
[
|
|
91
|
+
{
|
|
92
92
|
"alignItems": "center",
|
|
93
93
|
"flex": 1,
|
|
94
94
|
"flexDirection": "row",
|
|
@@ -109,8 +109,8 @@ exports[`BottomNavigation renders correctly 1`] = `
|
|
|
109
109
|
onResponderTerminationRequest={[Function]}
|
|
110
110
|
onStartShouldSetResponder={[Function]}
|
|
111
111
|
style={
|
|
112
|
-
|
|
113
|
-
|
|
112
|
+
[
|
|
113
|
+
{
|
|
114
114
|
"alignItems": "center",
|
|
115
115
|
"flex": 1,
|
|
116
116
|
},
|
|
@@ -121,8 +121,8 @@ exports[`BottomNavigation renders correctly 1`] = `
|
|
|
121
121
|
<HeroIcon
|
|
122
122
|
name="home"
|
|
123
123
|
style={
|
|
124
|
-
|
|
125
|
-
|
|
124
|
+
[
|
|
125
|
+
{
|
|
126
126
|
"color": "#401960",
|
|
127
127
|
"fontSize": 24,
|
|
128
128
|
},
|
|
@@ -137,16 +137,16 @@ exports[`BottomNavigation renders correctly 1`] = `
|
|
|
137
137
|
allowFontScaling={false}
|
|
138
138
|
numberOfLines={1}
|
|
139
139
|
style={
|
|
140
|
-
|
|
141
|
-
|
|
140
|
+
[
|
|
141
|
+
{
|
|
142
142
|
"color": "#401960",
|
|
143
143
|
"fontFamily": "BeVietnamPro-SemiBold",
|
|
144
144
|
"fontSize": 12,
|
|
145
145
|
"letterSpacing": 0.24,
|
|
146
146
|
"lineHeight": 16,
|
|
147
147
|
},
|
|
148
|
-
|
|
149
|
-
|
|
148
|
+
[
|
|
149
|
+
{
|
|
150
150
|
"marginTop": 4,
|
|
151
151
|
},
|
|
152
152
|
undefined,
|
|
@@ -170,8 +170,8 @@ exports[`BottomNavigation renders correctly 1`] = `
|
|
|
170
170
|
onResponderTerminationRequest={[Function]}
|
|
171
171
|
onStartShouldSetResponder={[Function]}
|
|
172
172
|
style={
|
|
173
|
-
|
|
174
|
-
|
|
173
|
+
[
|
|
174
|
+
{
|
|
175
175
|
"alignItems": "center",
|
|
176
176
|
"flex": 1,
|
|
177
177
|
},
|
|
@@ -182,8 +182,8 @@ exports[`BottomNavigation renders correctly 1`] = `
|
|
|
182
182
|
<HeroIcon
|
|
183
183
|
name="speaker-outlined"
|
|
184
184
|
style={
|
|
185
|
-
|
|
186
|
-
|
|
185
|
+
[
|
|
186
|
+
{
|
|
187
187
|
"color": "#001f23",
|
|
188
188
|
"fontSize": 24,
|
|
189
189
|
},
|
|
@@ -198,16 +198,16 @@ exports[`BottomNavigation renders correctly 1`] = `
|
|
|
198
198
|
allowFontScaling={false}
|
|
199
199
|
numberOfLines={1}
|
|
200
200
|
style={
|
|
201
|
-
|
|
202
|
-
|
|
201
|
+
[
|
|
202
|
+
{
|
|
203
203
|
"color": "#001f23",
|
|
204
204
|
"fontFamily": "BeVietnamPro-SemiBold",
|
|
205
205
|
"fontSize": 12,
|
|
206
206
|
"letterSpacing": 0.24,
|
|
207
207
|
"lineHeight": 16,
|
|
208
208
|
},
|
|
209
|
-
|
|
210
|
-
|
|
209
|
+
[
|
|
210
|
+
{
|
|
211
211
|
"marginTop": 4,
|
|
212
212
|
},
|
|
213
213
|
undefined,
|
|
@@ -231,8 +231,8 @@ exports[`BottomNavigation renders correctly 1`] = `
|
|
|
231
231
|
onResponderTerminationRequest={[Function]}
|
|
232
232
|
onStartShouldSetResponder={[Function]}
|
|
233
233
|
style={
|
|
234
|
-
|
|
235
|
-
|
|
234
|
+
[
|
|
235
|
+
{
|
|
236
236
|
"alignItems": "center",
|
|
237
237
|
"flex": 1,
|
|
238
238
|
},
|
|
@@ -243,8 +243,8 @@ exports[`BottomNavigation renders correctly 1`] = `
|
|
|
243
243
|
<HeroIcon
|
|
244
244
|
name="bell-outlined"
|
|
245
245
|
style={
|
|
246
|
-
|
|
247
|
-
|
|
246
|
+
[
|
|
247
|
+
{
|
|
248
248
|
"color": "#001f23",
|
|
249
249
|
"fontSize": 24,
|
|
250
250
|
},
|
|
@@ -259,16 +259,16 @@ exports[`BottomNavigation renders correctly 1`] = `
|
|
|
259
259
|
allowFontScaling={false}
|
|
260
260
|
numberOfLines={1}
|
|
261
261
|
style={
|
|
262
|
-
|
|
263
|
-
|
|
262
|
+
[
|
|
263
|
+
{
|
|
264
264
|
"color": "#001f23",
|
|
265
265
|
"fontFamily": "BeVietnamPro-SemiBold",
|
|
266
266
|
"fontSize": 12,
|
|
267
267
|
"letterSpacing": 0.24,
|
|
268
268
|
"lineHeight": 16,
|
|
269
269
|
},
|
|
270
|
-
|
|
271
|
-
|
|
270
|
+
[
|
|
271
|
+
{
|
|
272
272
|
"marginTop": 4,
|
|
273
273
|
},
|
|
274
274
|
undefined,
|
|
@@ -292,8 +292,8 @@ exports[`BottomNavigation renders correctly 1`] = `
|
|
|
292
292
|
onResponderTerminationRequest={[Function]}
|
|
293
293
|
onStartShouldSetResponder={[Function]}
|
|
294
294
|
style={
|
|
295
|
-
|
|
296
|
-
|
|
295
|
+
[
|
|
296
|
+
{
|
|
297
297
|
"alignItems": "center",
|
|
298
298
|
"flex": 1,
|
|
299
299
|
},
|
|
@@ -304,8 +304,8 @@ exports[`BottomNavigation renders correctly 1`] = `
|
|
|
304
304
|
<HeroIcon
|
|
305
305
|
name="user-outlined"
|
|
306
306
|
style={
|
|
307
|
-
|
|
308
|
-
|
|
307
|
+
[
|
|
308
|
+
{
|
|
309
309
|
"color": "#001f23",
|
|
310
310
|
"fontSize": 24,
|
|
311
311
|
},
|
|
@@ -320,16 +320,16 @@ exports[`BottomNavigation renders correctly 1`] = `
|
|
|
320
320
|
allowFontScaling={false}
|
|
321
321
|
numberOfLines={1}
|
|
322
322
|
style={
|
|
323
|
-
|
|
324
|
-
|
|
323
|
+
[
|
|
324
|
+
{
|
|
325
325
|
"color": "#001f23",
|
|
326
326
|
"fontFamily": "BeVietnamPro-SemiBold",
|
|
327
327
|
"fontSize": 12,
|
|
328
328
|
"letterSpacing": 0.24,
|
|
329
329
|
"lineHeight": 16,
|
|
330
330
|
},
|
|
331
|
-
|
|
332
|
-
|
|
331
|
+
[
|
|
332
|
+
{
|
|
333
333
|
"marginTop": 4,
|
|
334
334
|
},
|
|
335
335
|
undefined,
|