@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,8 +3,8 @@
|
|
|
3
3
|
exports[`Tag renders correctly when intent is danger 1`] = `
|
|
4
4
|
<View
|
|
5
5
|
style={
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
[
|
|
7
|
+
{
|
|
8
8
|
"backgroundColor": "#fcebe7",
|
|
9
9
|
"borderRadius": 4,
|
|
10
10
|
"paddingHorizontal": 8,
|
|
@@ -18,16 +18,16 @@ exports[`Tag renders correctly when intent is danger 1`] = `
|
|
|
18
18
|
<Text
|
|
19
19
|
allowFontScaling={false}
|
|
20
20
|
style={
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
[
|
|
22
|
+
{
|
|
23
23
|
"color": "#001f23",
|
|
24
24
|
"fontFamily": "BeVietnamPro-SemiBold",
|
|
25
25
|
"fontSize": 12,
|
|
26
26
|
"letterSpacing": 0.24,
|
|
27
27
|
"lineHeight": 16,
|
|
28
28
|
},
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
[
|
|
30
|
+
{
|
|
31
31
|
"color": "#cb300a",
|
|
32
32
|
"includeFontPadding": false,
|
|
33
33
|
"textAlign": "center",
|
|
@@ -48,8 +48,8 @@ exports[`Tag renders correctly when intent is danger 1`] = `
|
|
|
48
48
|
exports[`Tag renders correctly when intent is danger 2`] = `
|
|
49
49
|
<View
|
|
50
50
|
style={
|
|
51
|
-
|
|
52
|
-
|
|
51
|
+
[
|
|
52
|
+
{
|
|
53
53
|
"backgroundColor": "#fcebe7",
|
|
54
54
|
"borderRadius": 4,
|
|
55
55
|
"paddingHorizontal": 8,
|
|
@@ -63,16 +63,16 @@ exports[`Tag renders correctly when intent is danger 2`] = `
|
|
|
63
63
|
<Text
|
|
64
64
|
allowFontScaling={false}
|
|
65
65
|
style={
|
|
66
|
-
|
|
67
|
-
|
|
66
|
+
[
|
|
67
|
+
{
|
|
68
68
|
"color": "#001f23",
|
|
69
69
|
"fontFamily": "BeVietnamPro-SemiBold",
|
|
70
70
|
"fontSize": 12,
|
|
71
71
|
"letterSpacing": 0.24,
|
|
72
72
|
"lineHeight": 16,
|
|
73
73
|
},
|
|
74
|
-
|
|
75
|
-
|
|
74
|
+
[
|
|
75
|
+
{
|
|
76
76
|
"color": "#cb300a",
|
|
77
77
|
"includeFontPadding": false,
|
|
78
78
|
"textAlign": "center",
|
|
@@ -93,8 +93,8 @@ exports[`Tag renders correctly when intent is danger 2`] = `
|
|
|
93
93
|
exports[`Tag renders correctly when intent is info 1`] = `
|
|
94
94
|
<View
|
|
95
95
|
style={
|
|
96
|
-
|
|
97
|
-
|
|
96
|
+
[
|
|
97
|
+
{
|
|
98
98
|
"backgroundColor": "#ecf0ff",
|
|
99
99
|
"borderRadius": 4,
|
|
100
100
|
"paddingHorizontal": 8,
|
|
@@ -108,16 +108,16 @@ exports[`Tag renders correctly when intent is info 1`] = `
|
|
|
108
108
|
<Text
|
|
109
109
|
allowFontScaling={false}
|
|
110
110
|
style={
|
|
111
|
-
|
|
112
|
-
|
|
111
|
+
[
|
|
112
|
+
{
|
|
113
113
|
"color": "#001f23",
|
|
114
114
|
"fontFamily": "BeVietnamPro-SemiBold",
|
|
115
115
|
"fontSize": 12,
|
|
116
116
|
"letterSpacing": 0.24,
|
|
117
117
|
"lineHeight": 16,
|
|
118
118
|
},
|
|
119
|
-
|
|
120
|
-
|
|
119
|
+
[
|
|
120
|
+
{
|
|
121
121
|
"color": "#355bfb",
|
|
122
122
|
"includeFontPadding": false,
|
|
123
123
|
"textAlign": "center",
|
|
@@ -138,8 +138,8 @@ exports[`Tag renders correctly when intent is info 1`] = `
|
|
|
138
138
|
exports[`Tag renders correctly when intent is info 2`] = `
|
|
139
139
|
<View
|
|
140
140
|
style={
|
|
141
|
-
|
|
142
|
-
|
|
141
|
+
[
|
|
142
|
+
{
|
|
143
143
|
"backgroundColor": "#ecf0ff",
|
|
144
144
|
"borderRadius": 4,
|
|
145
145
|
"paddingHorizontal": 8,
|
|
@@ -153,16 +153,16 @@ exports[`Tag renders correctly when intent is info 2`] = `
|
|
|
153
153
|
<Text
|
|
154
154
|
allowFontScaling={false}
|
|
155
155
|
style={
|
|
156
|
-
|
|
157
|
-
|
|
156
|
+
[
|
|
157
|
+
{
|
|
158
158
|
"color": "#001f23",
|
|
159
159
|
"fontFamily": "BeVietnamPro-SemiBold",
|
|
160
160
|
"fontSize": 12,
|
|
161
161
|
"letterSpacing": 0.24,
|
|
162
162
|
"lineHeight": 16,
|
|
163
163
|
},
|
|
164
|
-
|
|
165
|
-
|
|
164
|
+
[
|
|
165
|
+
{
|
|
166
166
|
"color": "#355bfb",
|
|
167
167
|
"includeFontPadding": false,
|
|
168
168
|
"textAlign": "center",
|
|
@@ -183,8 +183,8 @@ exports[`Tag renders correctly when intent is info 2`] = `
|
|
|
183
183
|
exports[`Tag renders correctly when intent is primary 1`] = `
|
|
184
184
|
<View
|
|
185
185
|
style={
|
|
186
|
-
|
|
187
|
-
|
|
186
|
+
[
|
|
187
|
+
{
|
|
188
188
|
"backgroundColor": "#ece8ef",
|
|
189
189
|
"borderRadius": 4,
|
|
190
190
|
"paddingHorizontal": 8,
|
|
@@ -198,16 +198,16 @@ exports[`Tag renders correctly when intent is primary 1`] = `
|
|
|
198
198
|
<Text
|
|
199
199
|
allowFontScaling={false}
|
|
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
|
"color": "#401960",
|
|
212
212
|
"includeFontPadding": false,
|
|
213
213
|
"textAlign": "center",
|
|
@@ -228,8 +228,8 @@ exports[`Tag renders correctly when intent is primary 1`] = `
|
|
|
228
228
|
exports[`Tag renders correctly when intent is primary 2`] = `
|
|
229
229
|
<View
|
|
230
230
|
style={
|
|
231
|
-
|
|
232
|
-
|
|
231
|
+
[
|
|
232
|
+
{
|
|
233
233
|
"backgroundColor": "#ece8ef",
|
|
234
234
|
"borderRadius": 4,
|
|
235
235
|
"paddingHorizontal": 8,
|
|
@@ -243,16 +243,16 @@ exports[`Tag renders correctly when intent is primary 2`] = `
|
|
|
243
243
|
<Text
|
|
244
244
|
allowFontScaling={false}
|
|
245
245
|
style={
|
|
246
|
-
|
|
247
|
-
|
|
246
|
+
[
|
|
247
|
+
{
|
|
248
248
|
"color": "#001f23",
|
|
249
249
|
"fontFamily": "BeVietnamPro-SemiBold",
|
|
250
250
|
"fontSize": 12,
|
|
251
251
|
"letterSpacing": 0.24,
|
|
252
252
|
"lineHeight": 16,
|
|
253
253
|
},
|
|
254
|
-
|
|
255
|
-
|
|
254
|
+
[
|
|
255
|
+
{
|
|
256
256
|
"color": "#401960",
|
|
257
257
|
"includeFontPadding": false,
|
|
258
258
|
"textAlign": "center",
|
|
@@ -273,8 +273,8 @@ exports[`Tag renders correctly when intent is primary 2`] = `
|
|
|
273
273
|
exports[`Tag renders correctly when intent is success 1`] = `
|
|
274
274
|
<View
|
|
275
275
|
style={
|
|
276
|
-
|
|
277
|
-
|
|
276
|
+
[
|
|
277
|
+
{
|
|
278
278
|
"backgroundColor": "#f0fef4",
|
|
279
279
|
"borderRadius": 4,
|
|
280
280
|
"paddingHorizontal": 8,
|
|
@@ -288,16 +288,16 @@ exports[`Tag renders correctly when intent is success 1`] = `
|
|
|
288
288
|
<Text
|
|
289
289
|
allowFontScaling={false}
|
|
290
290
|
style={
|
|
291
|
-
|
|
292
|
-
|
|
291
|
+
[
|
|
292
|
+
{
|
|
293
293
|
"color": "#001f23",
|
|
294
294
|
"fontFamily": "BeVietnamPro-SemiBold",
|
|
295
295
|
"fontSize": 12,
|
|
296
296
|
"letterSpacing": 0.24,
|
|
297
297
|
"lineHeight": 16,
|
|
298
298
|
},
|
|
299
|
-
|
|
300
|
-
|
|
299
|
+
[
|
|
300
|
+
{
|
|
301
301
|
"color": "#017d6d",
|
|
302
302
|
"includeFontPadding": false,
|
|
303
303
|
"textAlign": "center",
|
|
@@ -318,8 +318,8 @@ exports[`Tag renders correctly when intent is success 1`] = `
|
|
|
318
318
|
exports[`Tag renders correctly when intent is warning 1`] = `
|
|
319
319
|
<View
|
|
320
320
|
style={
|
|
321
|
-
|
|
322
|
-
|
|
321
|
+
[
|
|
322
|
+
{
|
|
323
323
|
"backgroundColor": "#fff6eb",
|
|
324
324
|
"borderRadius": 4,
|
|
325
325
|
"paddingHorizontal": 8,
|
|
@@ -333,16 +333,16 @@ exports[`Tag renders correctly when intent is warning 1`] = `
|
|
|
333
333
|
<Text
|
|
334
334
|
allowFontScaling={false}
|
|
335
335
|
style={
|
|
336
|
-
|
|
337
|
-
|
|
336
|
+
[
|
|
337
|
+
{
|
|
338
338
|
"color": "#001f23",
|
|
339
339
|
"fontFamily": "BeVietnamPro-SemiBold",
|
|
340
340
|
"fontSize": 12,
|
|
341
341
|
"letterSpacing": 0.24,
|
|
342
342
|
"lineHeight": 16,
|
|
343
343
|
},
|
|
344
|
-
|
|
345
|
-
|
|
344
|
+
[
|
|
345
|
+
{
|
|
346
346
|
"color": "#ac5d00",
|
|
347
347
|
"includeFontPadding": false,
|
|
348
348
|
"textAlign": "center",
|
|
@@ -363,8 +363,8 @@ exports[`Tag renders correctly when intent is warning 1`] = `
|
|
|
363
363
|
exports[`Tag renders correctly when intent is warning 2`] = `
|
|
364
364
|
<View
|
|
365
365
|
style={
|
|
366
|
-
|
|
367
|
-
|
|
366
|
+
[
|
|
367
|
+
{
|
|
368
368
|
"backgroundColor": "#fff6eb",
|
|
369
369
|
"borderRadius": 4,
|
|
370
370
|
"paddingHorizontal": 8,
|
|
@@ -378,16 +378,16 @@ exports[`Tag renders correctly when intent is warning 2`] = `
|
|
|
378
378
|
<Text
|
|
379
379
|
allowFontScaling={false}
|
|
380
380
|
style={
|
|
381
|
-
|
|
382
|
-
|
|
381
|
+
[
|
|
382
|
+
{
|
|
383
383
|
"color": "#001f23",
|
|
384
384
|
"fontFamily": "BeVietnamPro-SemiBold",
|
|
385
385
|
"fontSize": 12,
|
|
386
386
|
"letterSpacing": 0.24,
|
|
387
387
|
"lineHeight": 16,
|
|
388
388
|
},
|
|
389
|
-
|
|
390
|
-
|
|
389
|
+
[
|
|
390
|
+
{
|
|
391
391
|
"color": "#ac5d00",
|
|
392
392
|
"includeFontPadding": false,
|
|
393
393
|
"textAlign": "center",
|
|
@@ -408,8 +408,8 @@ exports[`Tag renders correctly when intent is warning 2`] = `
|
|
|
408
408
|
exports[`Tag renders correctly with custom content 1`] = `
|
|
409
409
|
<View
|
|
410
410
|
style={
|
|
411
|
-
|
|
412
|
-
|
|
411
|
+
[
|
|
412
|
+
{
|
|
413
413
|
"backgroundColor": "#ece8ef",
|
|
414
414
|
"borderRadius": 4,
|
|
415
415
|
"paddingHorizontal": 8,
|
|
@@ -423,8 +423,8 @@ exports[`Tag renders correctly with custom content 1`] = `
|
|
|
423
423
|
<Text
|
|
424
424
|
allowFontScaling={false}
|
|
425
425
|
style={
|
|
426
|
-
|
|
427
|
-
|
|
426
|
+
[
|
|
427
|
+
{
|
|
428
428
|
"color": "#001f23",
|
|
429
429
|
"fontFamily": "BeVietnamPro-Regular",
|
|
430
430
|
"fontSize": 14,
|