@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
|
@@ -4,7 +4,7 @@ exports[`Toast Icon render custom icon correctly 1`] = `
|
|
|
4
4
|
<View
|
|
5
5
|
collapsable={false}
|
|
6
6
|
style={
|
|
7
|
-
|
|
7
|
+
{
|
|
8
8
|
"backgroundColor": "#b5c3fd",
|
|
9
9
|
"borderRadius": 0,
|
|
10
10
|
"elevation": 3,
|
|
@@ -12,14 +12,14 @@ exports[`Toast Icon render custom icon correctly 1`] = `
|
|
|
12
12
|
"minHeight": 48,
|
|
13
13
|
"opacity": 0,
|
|
14
14
|
"shadowColor": "#001f23",
|
|
15
|
-
"shadowOffset":
|
|
15
|
+
"shadowOffset": {
|
|
16
16
|
"height": 2,
|
|
17
17
|
"width": 0,
|
|
18
18
|
},
|
|
19
19
|
"shadowOpacity": 0.12,
|
|
20
20
|
"shadowRadius": 4,
|
|
21
|
-
"transform":
|
|
22
|
-
|
|
21
|
+
"transform": [
|
|
22
|
+
{
|
|
23
23
|
"translateY": 20,
|
|
24
24
|
},
|
|
25
25
|
],
|
|
@@ -31,8 +31,8 @@ exports[`Toast Icon render custom icon correctly 1`] = `
|
|
|
31
31
|
<View
|
|
32
32
|
showDivider={false}
|
|
33
33
|
style={
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
[
|
|
35
|
+
{
|
|
36
36
|
"borderColor": "#e8e9ea",
|
|
37
37
|
"borderRightWidth": 0,
|
|
38
38
|
"flex": 1,
|
|
@@ -45,8 +45,8 @@ exports[`Toast Icon render custom icon correctly 1`] = `
|
|
|
45
45
|
>
|
|
46
46
|
<View
|
|
47
47
|
style={
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
[
|
|
49
|
+
{
|
|
50
50
|
"alignItems": "center",
|
|
51
51
|
"paddingLeft": 12,
|
|
52
52
|
},
|
|
@@ -58,8 +58,8 @@ exports[`Toast Icon render custom icon correctly 1`] = `
|
|
|
58
58
|
<HeroIcon
|
|
59
59
|
name="home"
|
|
60
60
|
style={
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
[
|
|
62
|
+
{
|
|
63
63
|
"color": "#001f23",
|
|
64
64
|
"fontSize": 20,
|
|
65
65
|
},
|
|
@@ -72,8 +72,8 @@ exports[`Toast Icon render custom icon correctly 1`] = `
|
|
|
72
72
|
</View>
|
|
73
73
|
<View
|
|
74
74
|
style={
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
[
|
|
76
|
+
{
|
|
77
77
|
"flex": 1,
|
|
78
78
|
"paddingHorizontal": 12,
|
|
79
79
|
},
|
|
@@ -84,8 +84,8 @@ exports[`Toast Icon render custom icon correctly 1`] = `
|
|
|
84
84
|
<Text
|
|
85
85
|
allowFontScaling={false}
|
|
86
86
|
style={
|
|
87
|
-
|
|
88
|
-
|
|
87
|
+
[
|
|
88
|
+
{
|
|
89
89
|
"color": "#001f23",
|
|
90
90
|
"fontFamily": "BeVietnamPro-Regular",
|
|
91
91
|
"fontSize": 14,
|
|
@@ -110,7 +110,7 @@ exports[`Toast renders correctly when intent is error 1`] = `
|
|
|
110
110
|
<View
|
|
111
111
|
collapsable={false}
|
|
112
112
|
style={
|
|
113
|
-
|
|
113
|
+
{
|
|
114
114
|
"backgroundColor": "#f46363",
|
|
115
115
|
"borderRadius": 0,
|
|
116
116
|
"elevation": 3,
|
|
@@ -118,14 +118,14 @@ exports[`Toast renders correctly when intent is error 1`] = `
|
|
|
118
118
|
"minHeight": 48,
|
|
119
119
|
"opacity": 0,
|
|
120
120
|
"shadowColor": "#001f23",
|
|
121
|
-
"shadowOffset":
|
|
121
|
+
"shadowOffset": {
|
|
122
122
|
"height": 2,
|
|
123
123
|
"width": 0,
|
|
124
124
|
},
|
|
125
125
|
"shadowOpacity": 0.12,
|
|
126
126
|
"shadowRadius": 4,
|
|
127
|
-
"transform":
|
|
128
|
-
|
|
127
|
+
"transform": [
|
|
128
|
+
{
|
|
129
129
|
"translateY": 20,
|
|
130
130
|
},
|
|
131
131
|
],
|
|
@@ -137,8 +137,8 @@ exports[`Toast renders correctly when intent is error 1`] = `
|
|
|
137
137
|
<View
|
|
138
138
|
showDivider={true}
|
|
139
139
|
style={
|
|
140
|
-
|
|
141
|
-
|
|
140
|
+
[
|
|
141
|
+
{
|
|
142
142
|
"borderColor": "#e8e9ea",
|
|
143
143
|
"borderRightWidth": 1,
|
|
144
144
|
"flex": 1,
|
|
@@ -151,8 +151,8 @@ exports[`Toast renders correctly when intent is error 1`] = `
|
|
|
151
151
|
>
|
|
152
152
|
<View
|
|
153
153
|
style={
|
|
154
|
-
|
|
155
|
-
|
|
154
|
+
[
|
|
155
|
+
{
|
|
156
156
|
"alignItems": "center",
|
|
157
157
|
"paddingLeft": 12,
|
|
158
158
|
},
|
|
@@ -164,8 +164,8 @@ exports[`Toast renders correctly when intent is error 1`] = `
|
|
|
164
164
|
<HeroIcon
|
|
165
165
|
name="circle-warning"
|
|
166
166
|
style={
|
|
167
|
-
|
|
168
|
-
|
|
167
|
+
[
|
|
168
|
+
{
|
|
169
169
|
"color": "#001f23",
|
|
170
170
|
"fontSize": 20,
|
|
171
171
|
},
|
|
@@ -178,8 +178,8 @@ exports[`Toast renders correctly when intent is error 1`] = `
|
|
|
178
178
|
</View>
|
|
179
179
|
<View
|
|
180
180
|
style={
|
|
181
|
-
|
|
182
|
-
|
|
181
|
+
[
|
|
182
|
+
{
|
|
183
183
|
"flex": 1,
|
|
184
184
|
"paddingHorizontal": 12,
|
|
185
185
|
},
|
|
@@ -190,8 +190,8 @@ exports[`Toast renders correctly when intent is error 1`] = `
|
|
|
190
190
|
<Text
|
|
191
191
|
allowFontScaling={false}
|
|
192
192
|
style={
|
|
193
|
-
|
|
194
|
-
|
|
193
|
+
[
|
|
194
|
+
{
|
|
195
195
|
"color": "#001f23",
|
|
196
196
|
"fontFamily": "BeVietnamPro-Regular",
|
|
197
197
|
"fontSize": 14,
|
|
@@ -221,7 +221,7 @@ exports[`Toast renders correctly when intent is error 1`] = `
|
|
|
221
221
|
onResponderTerminationRequest={[Function]}
|
|
222
222
|
onStartShouldSetResponder={[Function]}
|
|
223
223
|
style={
|
|
224
|
-
|
|
224
|
+
{
|
|
225
225
|
"justifyContent": "center",
|
|
226
226
|
"opacity": 1,
|
|
227
227
|
"paddingHorizontal": 12,
|
|
@@ -232,8 +232,8 @@ exports[`Toast renders correctly when intent is error 1`] = `
|
|
|
232
232
|
<Text
|
|
233
233
|
allowFontScaling={false}
|
|
234
234
|
style={
|
|
235
|
-
|
|
236
|
-
|
|
235
|
+
[
|
|
236
|
+
{
|
|
237
237
|
"color": "#001f23",
|
|
238
238
|
"fontFamily": "BeVietnamPro-SemiBold",
|
|
239
239
|
"fontSize": 14,
|
|
@@ -257,7 +257,7 @@ exports[`Toast renders correctly when intent is info 1`] = `
|
|
|
257
257
|
<View
|
|
258
258
|
collapsable={false}
|
|
259
259
|
style={
|
|
260
|
-
|
|
260
|
+
{
|
|
261
261
|
"backgroundColor": "#b5c3fd",
|
|
262
262
|
"borderRadius": 0,
|
|
263
263
|
"elevation": 3,
|
|
@@ -265,14 +265,14 @@ exports[`Toast renders correctly when intent is info 1`] = `
|
|
|
265
265
|
"minHeight": 48,
|
|
266
266
|
"opacity": 0,
|
|
267
267
|
"shadowColor": "#001f23",
|
|
268
|
-
"shadowOffset":
|
|
268
|
+
"shadowOffset": {
|
|
269
269
|
"height": 2,
|
|
270
270
|
"width": 0,
|
|
271
271
|
},
|
|
272
272
|
"shadowOpacity": 0.12,
|
|
273
273
|
"shadowRadius": 4,
|
|
274
|
-
"transform":
|
|
275
|
-
|
|
274
|
+
"transform": [
|
|
275
|
+
{
|
|
276
276
|
"translateY": 20,
|
|
277
277
|
},
|
|
278
278
|
],
|
|
@@ -284,8 +284,8 @@ exports[`Toast renders correctly when intent is info 1`] = `
|
|
|
284
284
|
<View
|
|
285
285
|
showDivider={true}
|
|
286
286
|
style={
|
|
287
|
-
|
|
288
|
-
|
|
287
|
+
[
|
|
288
|
+
{
|
|
289
289
|
"borderColor": "#e8e9ea",
|
|
290
290
|
"borderRightWidth": 1,
|
|
291
291
|
"flex": 1,
|
|
@@ -298,8 +298,8 @@ exports[`Toast renders correctly when intent is info 1`] = `
|
|
|
298
298
|
>
|
|
299
299
|
<View
|
|
300
300
|
style={
|
|
301
|
-
|
|
302
|
-
|
|
301
|
+
[
|
|
302
|
+
{
|
|
303
303
|
"alignItems": "center",
|
|
304
304
|
"paddingLeft": 12,
|
|
305
305
|
},
|
|
@@ -311,8 +311,8 @@ exports[`Toast renders correctly when intent is info 1`] = `
|
|
|
311
311
|
<HeroIcon
|
|
312
312
|
name="circle-info"
|
|
313
313
|
style={
|
|
314
|
-
|
|
315
|
-
|
|
314
|
+
[
|
|
315
|
+
{
|
|
316
316
|
"color": "#001f23",
|
|
317
317
|
"fontSize": 20,
|
|
318
318
|
},
|
|
@@ -325,8 +325,8 @@ exports[`Toast renders correctly when intent is info 1`] = `
|
|
|
325
325
|
</View>
|
|
326
326
|
<View
|
|
327
327
|
style={
|
|
328
|
-
|
|
329
|
-
|
|
328
|
+
[
|
|
329
|
+
{
|
|
330
330
|
"flex": 1,
|
|
331
331
|
"paddingHorizontal": 12,
|
|
332
332
|
},
|
|
@@ -337,8 +337,8 @@ exports[`Toast renders correctly when intent is info 1`] = `
|
|
|
337
337
|
<Text
|
|
338
338
|
allowFontScaling={false}
|
|
339
339
|
style={
|
|
340
|
-
|
|
341
|
-
|
|
340
|
+
[
|
|
341
|
+
{
|
|
342
342
|
"color": "#001f23",
|
|
343
343
|
"fontFamily": "BeVietnamPro-Regular",
|
|
344
344
|
"fontSize": 14,
|
|
@@ -368,7 +368,7 @@ exports[`Toast renders correctly when intent is info 1`] = `
|
|
|
368
368
|
onResponderTerminationRequest={[Function]}
|
|
369
369
|
onStartShouldSetResponder={[Function]}
|
|
370
370
|
style={
|
|
371
|
-
|
|
371
|
+
{
|
|
372
372
|
"justifyContent": "center",
|
|
373
373
|
"opacity": 1,
|
|
374
374
|
"paddingHorizontal": 12,
|
|
@@ -379,8 +379,8 @@ exports[`Toast renders correctly when intent is info 1`] = `
|
|
|
379
379
|
<Text
|
|
380
380
|
allowFontScaling={false}
|
|
381
381
|
style={
|
|
382
|
-
|
|
383
|
-
|
|
382
|
+
[
|
|
383
|
+
{
|
|
384
384
|
"color": "#001f23",
|
|
385
385
|
"fontFamily": "BeVietnamPro-SemiBold",
|
|
386
386
|
"fontSize": 14,
|
|
@@ -404,7 +404,7 @@ exports[`Toast renders correctly when intent is notification 1`] = `
|
|
|
404
404
|
<View
|
|
405
405
|
collapsable={false}
|
|
406
406
|
style={
|
|
407
|
-
|
|
407
|
+
{
|
|
408
408
|
"backgroundColor": "#ffffff",
|
|
409
409
|
"borderRadius": 0,
|
|
410
410
|
"elevation": 3,
|
|
@@ -412,14 +412,14 @@ exports[`Toast renders correctly when intent is notification 1`] = `
|
|
|
412
412
|
"minHeight": 48,
|
|
413
413
|
"opacity": 0,
|
|
414
414
|
"shadowColor": "#001f23",
|
|
415
|
-
"shadowOffset":
|
|
415
|
+
"shadowOffset": {
|
|
416
416
|
"height": 2,
|
|
417
417
|
"width": 0,
|
|
418
418
|
},
|
|
419
419
|
"shadowOpacity": 0.12,
|
|
420
420
|
"shadowRadius": 4,
|
|
421
|
-
"transform":
|
|
422
|
-
|
|
421
|
+
"transform": [
|
|
422
|
+
{
|
|
423
423
|
"translateY": 20,
|
|
424
424
|
},
|
|
425
425
|
],
|
|
@@ -431,8 +431,8 @@ exports[`Toast renders correctly when intent is notification 1`] = `
|
|
|
431
431
|
<View
|
|
432
432
|
showDivider={true}
|
|
433
433
|
style={
|
|
434
|
-
|
|
435
|
-
|
|
434
|
+
[
|
|
435
|
+
{
|
|
436
436
|
"borderColor": "#e8e9ea",
|
|
437
437
|
"borderRightWidth": 1,
|
|
438
438
|
"flex": 1,
|
|
@@ -445,8 +445,8 @@ exports[`Toast renders correctly when intent is notification 1`] = `
|
|
|
445
445
|
>
|
|
446
446
|
<View
|
|
447
447
|
style={
|
|
448
|
-
|
|
449
|
-
|
|
448
|
+
[
|
|
449
|
+
{
|
|
450
450
|
"flex": 1,
|
|
451
451
|
"paddingHorizontal": 12,
|
|
452
452
|
},
|
|
@@ -457,8 +457,8 @@ exports[`Toast renders correctly when intent is notification 1`] = `
|
|
|
457
457
|
<Text
|
|
458
458
|
allowFontScaling={false}
|
|
459
459
|
style={
|
|
460
|
-
|
|
461
|
-
|
|
460
|
+
[
|
|
461
|
+
{
|
|
462
462
|
"color": "#001f23",
|
|
463
463
|
"fontFamily": "BeVietnamPro-Regular",
|
|
464
464
|
"fontSize": 14,
|
|
@@ -488,7 +488,7 @@ exports[`Toast renders correctly when intent is notification 1`] = `
|
|
|
488
488
|
onResponderTerminationRequest={[Function]}
|
|
489
489
|
onStartShouldSetResponder={[Function]}
|
|
490
490
|
style={
|
|
491
|
-
|
|
491
|
+
{
|
|
492
492
|
"justifyContent": "center",
|
|
493
493
|
"opacity": 1,
|
|
494
494
|
"paddingHorizontal": 12,
|
|
@@ -499,8 +499,8 @@ exports[`Toast renders correctly when intent is notification 1`] = `
|
|
|
499
499
|
<Text
|
|
500
500
|
allowFontScaling={false}
|
|
501
501
|
style={
|
|
502
|
-
|
|
503
|
-
|
|
502
|
+
[
|
|
503
|
+
{
|
|
504
504
|
"color": "#001f23",
|
|
505
505
|
"fontFamily": "BeVietnamPro-SemiBold",
|
|
506
506
|
"fontSize": 14,
|
|
@@ -524,7 +524,7 @@ exports[`Toast renders correctly when intent is snackbar 1`] = `
|
|
|
524
524
|
<View
|
|
525
525
|
collapsable={false}
|
|
526
526
|
style={
|
|
527
|
-
|
|
527
|
+
{
|
|
528
528
|
"backgroundColor": "#001f23",
|
|
529
529
|
"borderRadius": 0,
|
|
530
530
|
"elevation": 3,
|
|
@@ -532,14 +532,14 @@ exports[`Toast renders correctly when intent is snackbar 1`] = `
|
|
|
532
532
|
"minHeight": 48,
|
|
533
533
|
"opacity": 0,
|
|
534
534
|
"shadowColor": "#001f23",
|
|
535
|
-
"shadowOffset":
|
|
535
|
+
"shadowOffset": {
|
|
536
536
|
"height": 2,
|
|
537
537
|
"width": 0,
|
|
538
538
|
},
|
|
539
539
|
"shadowOpacity": 0.12,
|
|
540
540
|
"shadowRadius": 4,
|
|
541
|
-
"transform":
|
|
542
|
-
|
|
541
|
+
"transform": [
|
|
542
|
+
{
|
|
543
543
|
"translateY": 20,
|
|
544
544
|
},
|
|
545
545
|
],
|
|
@@ -551,8 +551,8 @@ exports[`Toast renders correctly when intent is snackbar 1`] = `
|
|
|
551
551
|
<View
|
|
552
552
|
showDivider={true}
|
|
553
553
|
style={
|
|
554
|
-
|
|
555
|
-
|
|
554
|
+
[
|
|
555
|
+
{
|
|
556
556
|
"borderColor": "#e8e9ea",
|
|
557
557
|
"borderRightWidth": 1,
|
|
558
558
|
"flex": 1,
|
|
@@ -565,8 +565,8 @@ exports[`Toast renders correctly when intent is snackbar 1`] = `
|
|
|
565
565
|
>
|
|
566
566
|
<View
|
|
567
567
|
style={
|
|
568
|
-
|
|
569
|
-
|
|
568
|
+
[
|
|
569
|
+
{
|
|
570
570
|
"flex": 1,
|
|
571
571
|
"paddingHorizontal": 12,
|
|
572
572
|
},
|
|
@@ -577,8 +577,8 @@ exports[`Toast renders correctly when intent is snackbar 1`] = `
|
|
|
577
577
|
<Text
|
|
578
578
|
allowFontScaling={false}
|
|
579
579
|
style={
|
|
580
|
-
|
|
581
|
-
|
|
580
|
+
[
|
|
581
|
+
{
|
|
582
582
|
"color": "#ffffff",
|
|
583
583
|
"fontFamily": "BeVietnamPro-Regular",
|
|
584
584
|
"fontSize": 14,
|
|
@@ -608,7 +608,7 @@ exports[`Toast renders correctly when intent is snackbar 1`] = `
|
|
|
608
608
|
onResponderTerminationRequest={[Function]}
|
|
609
609
|
onStartShouldSetResponder={[Function]}
|
|
610
610
|
style={
|
|
611
|
-
|
|
611
|
+
{
|
|
612
612
|
"justifyContent": "center",
|
|
613
613
|
"opacity": 1,
|
|
614
614
|
"paddingHorizontal": 12,
|
|
@@ -619,8 +619,8 @@ exports[`Toast renders correctly when intent is snackbar 1`] = `
|
|
|
619
619
|
<Text
|
|
620
620
|
allowFontScaling={false}
|
|
621
621
|
style={
|
|
622
|
-
|
|
623
|
-
|
|
622
|
+
[
|
|
623
|
+
{
|
|
624
624
|
"color": "#ffffff",
|
|
625
625
|
"fontFamily": "BeVietnamPro-SemiBold",
|
|
626
626
|
"fontSize": 14,
|
|
@@ -644,7 +644,7 @@ exports[`Toast renders correctly when intent is success 1`] = `
|
|
|
644
644
|
<View
|
|
645
645
|
collapsable={false}
|
|
646
646
|
style={
|
|
647
|
-
|
|
647
|
+
{
|
|
648
648
|
"backgroundColor": "#5ace7d",
|
|
649
649
|
"borderRadius": 0,
|
|
650
650
|
"elevation": 3,
|
|
@@ -652,14 +652,14 @@ exports[`Toast renders correctly when intent is success 1`] = `
|
|
|
652
652
|
"minHeight": 48,
|
|
653
653
|
"opacity": 0,
|
|
654
654
|
"shadowColor": "#001f23",
|
|
655
|
-
"shadowOffset":
|
|
655
|
+
"shadowOffset": {
|
|
656
656
|
"height": 2,
|
|
657
657
|
"width": 0,
|
|
658
658
|
},
|
|
659
659
|
"shadowOpacity": 0.12,
|
|
660
660
|
"shadowRadius": 4,
|
|
661
|
-
"transform":
|
|
662
|
-
|
|
661
|
+
"transform": [
|
|
662
|
+
{
|
|
663
663
|
"translateY": 20,
|
|
664
664
|
},
|
|
665
665
|
],
|
|
@@ -671,8 +671,8 @@ exports[`Toast renders correctly when intent is success 1`] = `
|
|
|
671
671
|
<View
|
|
672
672
|
showDivider={true}
|
|
673
673
|
style={
|
|
674
|
-
|
|
675
|
-
|
|
674
|
+
[
|
|
675
|
+
{
|
|
676
676
|
"borderColor": "#e8e9ea",
|
|
677
677
|
"borderRightWidth": 1,
|
|
678
678
|
"flex": 1,
|
|
@@ -685,8 +685,8 @@ exports[`Toast renders correctly when intent is success 1`] = `
|
|
|
685
685
|
>
|
|
686
686
|
<View
|
|
687
687
|
style={
|
|
688
|
-
|
|
689
|
-
|
|
688
|
+
[
|
|
689
|
+
{
|
|
690
690
|
"alignItems": "center",
|
|
691
691
|
"paddingLeft": 12,
|
|
692
692
|
},
|
|
@@ -698,8 +698,8 @@ exports[`Toast renders correctly when intent is success 1`] = `
|
|
|
698
698
|
<HeroIcon
|
|
699
699
|
name="circle-ok"
|
|
700
700
|
style={
|
|
701
|
-
|
|
702
|
-
|
|
701
|
+
[
|
|
702
|
+
{
|
|
703
703
|
"color": "#001f23",
|
|
704
704
|
"fontSize": 20,
|
|
705
705
|
},
|
|
@@ -712,8 +712,8 @@ exports[`Toast renders correctly when intent is success 1`] = `
|
|
|
712
712
|
</View>
|
|
713
713
|
<View
|
|
714
714
|
style={
|
|
715
|
-
|
|
716
|
-
|
|
715
|
+
[
|
|
716
|
+
{
|
|
717
717
|
"flex": 1,
|
|
718
718
|
"paddingHorizontal": 12,
|
|
719
719
|
},
|
|
@@ -724,8 +724,8 @@ exports[`Toast renders correctly when intent is success 1`] = `
|
|
|
724
724
|
<Text
|
|
725
725
|
allowFontScaling={false}
|
|
726
726
|
style={
|
|
727
|
-
|
|
728
|
-
|
|
727
|
+
[
|
|
728
|
+
{
|
|
729
729
|
"color": "#001f23",
|
|
730
730
|
"fontFamily": "BeVietnamPro-Regular",
|
|
731
731
|
"fontSize": 14,
|
|
@@ -755,7 +755,7 @@ exports[`Toast renders correctly when intent is success 1`] = `
|
|
|
755
755
|
onResponderTerminationRequest={[Function]}
|
|
756
756
|
onStartShouldSetResponder={[Function]}
|
|
757
757
|
style={
|
|
758
|
-
|
|
758
|
+
{
|
|
759
759
|
"justifyContent": "center",
|
|
760
760
|
"opacity": 1,
|
|
761
761
|
"paddingHorizontal": 12,
|
|
@@ -766,8 +766,8 @@ exports[`Toast renders correctly when intent is success 1`] = `
|
|
|
766
766
|
<Text
|
|
767
767
|
allowFontScaling={false}
|
|
768
768
|
style={
|
|
769
|
-
|
|
770
|
-
|
|
769
|
+
[
|
|
770
|
+
{
|
|
771
771
|
"color": "#001f23",
|
|
772
772
|
"fontFamily": "BeVietnamPro-SemiBold",
|
|
773
773
|
"fontSize": 14,
|
|
@@ -791,7 +791,7 @@ exports[`Toast renders correctly when intent is warning 1`] = `
|
|
|
791
791
|
<View
|
|
792
792
|
collapsable={false}
|
|
793
793
|
style={
|
|
794
|
-
|
|
794
|
+
{
|
|
795
795
|
"backgroundColor": "#ffbe71",
|
|
796
796
|
"borderRadius": 0,
|
|
797
797
|
"elevation": 3,
|
|
@@ -799,14 +799,14 @@ exports[`Toast renders correctly when intent is warning 1`] = `
|
|
|
799
799
|
"minHeight": 48,
|
|
800
800
|
"opacity": 0,
|
|
801
801
|
"shadowColor": "#001f23",
|
|
802
|
-
"shadowOffset":
|
|
802
|
+
"shadowOffset": {
|
|
803
803
|
"height": 2,
|
|
804
804
|
"width": 0,
|
|
805
805
|
},
|
|
806
806
|
"shadowOpacity": 0.12,
|
|
807
807
|
"shadowRadius": 4,
|
|
808
|
-
"transform":
|
|
809
|
-
|
|
808
|
+
"transform": [
|
|
809
|
+
{
|
|
810
810
|
"translateY": 20,
|
|
811
811
|
},
|
|
812
812
|
],
|
|
@@ -818,8 +818,8 @@ exports[`Toast renders correctly when intent is warning 1`] = `
|
|
|
818
818
|
<View
|
|
819
819
|
showDivider={true}
|
|
820
820
|
style={
|
|
821
|
-
|
|
822
|
-
|
|
821
|
+
[
|
|
822
|
+
{
|
|
823
823
|
"borderColor": "#e8e9ea",
|
|
824
824
|
"borderRightWidth": 1,
|
|
825
825
|
"flex": 1,
|
|
@@ -832,8 +832,8 @@ exports[`Toast renders correctly when intent is warning 1`] = `
|
|
|
832
832
|
>
|
|
833
833
|
<View
|
|
834
834
|
style={
|
|
835
|
-
|
|
836
|
-
|
|
835
|
+
[
|
|
836
|
+
{
|
|
837
837
|
"alignItems": "center",
|
|
838
838
|
"paddingLeft": 12,
|
|
839
839
|
},
|
|
@@ -845,8 +845,8 @@ exports[`Toast renders correctly when intent is warning 1`] = `
|
|
|
845
845
|
<HeroIcon
|
|
846
846
|
name="warning"
|
|
847
847
|
style={
|
|
848
|
-
|
|
849
|
-
|
|
848
|
+
[
|
|
849
|
+
{
|
|
850
850
|
"color": "#001f23",
|
|
851
851
|
"fontSize": 20,
|
|
852
852
|
},
|
|
@@ -859,8 +859,8 @@ exports[`Toast renders correctly when intent is warning 1`] = `
|
|
|
859
859
|
</View>
|
|
860
860
|
<View
|
|
861
861
|
style={
|
|
862
|
-
|
|
863
|
-
|
|
862
|
+
[
|
|
863
|
+
{
|
|
864
864
|
"flex": 1,
|
|
865
865
|
"paddingHorizontal": 12,
|
|
866
866
|
},
|
|
@@ -871,8 +871,8 @@ exports[`Toast renders correctly when intent is warning 1`] = `
|
|
|
871
871
|
<Text
|
|
872
872
|
allowFontScaling={false}
|
|
873
873
|
style={
|
|
874
|
-
|
|
875
|
-
|
|
874
|
+
[
|
|
875
|
+
{
|
|
876
876
|
"color": "#001f23",
|
|
877
877
|
"fontFamily": "BeVietnamPro-Regular",
|
|
878
878
|
"fontSize": 14,
|
|
@@ -902,7 +902,7 @@ exports[`Toast renders correctly when intent is warning 1`] = `
|
|
|
902
902
|
onResponderTerminationRequest={[Function]}
|
|
903
903
|
onStartShouldSetResponder={[Function]}
|
|
904
904
|
style={
|
|
905
|
-
|
|
905
|
+
{
|
|
906
906
|
"justifyContent": "center",
|
|
907
907
|
"opacity": 1,
|
|
908
908
|
"paddingHorizontal": 12,
|
|
@@ -913,8 +913,8 @@ exports[`Toast renders correctly when intent is warning 1`] = `
|
|
|
913
913
|
<Text
|
|
914
914
|
allowFontScaling={false}
|
|
915
915
|
style={
|
|
916
|
-
|
|
917
|
-
|
|
916
|
+
[
|
|
917
|
+
{
|
|
918
918
|
"color": "#001f23",
|
|
919
919
|
"fontFamily": "BeVietnamPro-SemiBold",
|
|
920
920
|
"fontSize": 14,
|
|
@@ -5,8 +5,8 @@ exports[`ToastContainer renders correctly with displayType: single, position: bo
|
|
|
5
5
|
pointerEvents="box-none"
|
|
6
6
|
position="bottom"
|
|
7
7
|
style={
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
[
|
|
9
|
+
{
|
|
10
10
|
"bottom": 0,
|
|
11
11
|
"elevation": 9999,
|
|
12
12
|
"flexDirection": "column-reverse",
|
|
@@ -28,8 +28,8 @@ exports[`ToastContainer renders correctly with displayType: single, position: to
|
|
|
28
28
|
pointerEvents="box-none"
|
|
29
29
|
position="top"
|
|
30
30
|
style={
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
[
|
|
32
|
+
{
|
|
33
33
|
"bottom": 0,
|
|
34
34
|
"elevation": 9999,
|
|
35
35
|
"flexDirection": "column",
|
|
@@ -51,8 +51,8 @@ exports[`ToastContainer renders correctly with displayType: stack, position: bot
|
|
|
51
51
|
pointerEvents="box-none"
|
|
52
52
|
position="bottom"
|
|
53
53
|
style={
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
[
|
|
55
|
+
{
|
|
56
56
|
"bottom": 0,
|
|
57
57
|
"elevation": 9999,
|
|
58
58
|
"flexDirection": "column-reverse",
|
|
@@ -74,8 +74,8 @@ exports[`ToastContainer renders correctly with displayType: stack, position: top
|
|
|
74
74
|
pointerEvents="box-none"
|
|
75
75
|
position="top"
|
|
76
76
|
style={
|
|
77
|
-
|
|
78
|
-
|
|
77
|
+
[
|
|
78
|
+
{
|
|
79
79
|
"bottom": 0,
|
|
80
80
|
"elevation": 9999,
|
|
81
81
|
"flexDirection": "column",
|