@hero-design/rn 8.12.3 → 8.12.4
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 +2 -2
- package/es/index.js +47 -15
- package/lib/index.js +47 -15
- package/package.json +5 -5
- package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +8 -0
- package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +12 -0
- package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +13 -0
- package/src/components/Attachment/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
- package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/StyledAvatarStack.spec.tsx.snap +21 -4
- package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/index.spec.tsx.snap +189 -36
- package/src/components/Avatar/StyledAvatar.tsx +11 -4
- package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +21 -4
- package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +42 -8
- package/src/components/Badge/StyledBadge.tsx +4 -2
- package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +132 -42
- package/src/components/Badge/__tests__/__snapshots__/Status.spec.tsx.snap +1 -0
- package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +4 -0
- package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
- package/src/components/Button/UtilityButton/__tests__/__snapshots__/index.spec.tsx.snap +2 -0
- package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +10 -0
- package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +10 -0
- package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +5 -0
- package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +6 -0
- package/src/components/Carousel/__tests__/__snapshots__/CardCarousel.spec.tsx.snap +2 -0
- package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +16 -0
- package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +4 -0
- package/src/components/ContentNavigator/__tests__/__snapshots__/StyledContentNavigator.spec.tsx.snap +1 -0
- package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +2 -0
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +2 -0
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +4 -0
- package/src/components/Empty/StyledEmpty.tsx +14 -13
- package/src/components/Empty/__tests__/__snapshots__/index.spec.tsx.snap +76 -20
- package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +56 -16
- package/src/components/FAB/StyledFAB.tsx +3 -2
- package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +1 -0
- package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +22 -8
- package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +4 -0
- package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +53 -8
- package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +4 -0
- package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +4 -0
- package/src/components/PinInput/StyledPinInput.tsx +6 -3
- package/src/components/PinInput/__tests__/__snapshots__/PinCell.spec.tsx.snap +93 -18
- package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +73 -13
- package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +3 -0
- package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +2 -0
- package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +3 -0
- package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +4 -0
- package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +23 -1
- package/src/components/SectionHeading/__tests__/index.spec.tsx +2 -2
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +1 -0
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +20 -0
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +38 -0
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +1 -0
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +20 -0
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +35 -0
- package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +3 -0
- package/src/components/Swipeable/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/Option.spec.tsx.snap +1 -0
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +24 -7
- package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +22 -7
- package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +27 -7
- package/src/components/Tag/StyledTag.tsx +3 -2
- package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +167 -62
- package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +22 -0
- package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +51 -0
- package/src/components/TextInput/index.tsx +2 -0
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +5 -0
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +7 -0
- package/src/components/Toast/__tests__/__snapshots__/Toast.spec.tsx.snap +13 -0
- package/src/components/Typography/Text/index.tsx +2 -0
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +17 -0
- package/src/theme/components/avatar.ts +11 -1
- package/src/theme/components/badge.ts +5 -1
- package/src/theme/components/pinInput.ts +14 -1
- package/types/components/Avatar/StyledAvatar.d.ts +4 -5
- package/types/components/Badge/StyledBadge.d.ts +3 -5
- package/types/components/Empty/StyledEmpty.d.ts +5 -9
- package/types/components/FAB/StyledFAB.d.ts +3 -5
- package/types/components/PinInput/StyledPinInput.d.ts +5 -9
- package/types/components/Tag/StyledTag.d.ts +3 -5
- package/types/components/Typography/Text/index.d.ts +1 -1
- package/types/theme/components/avatar.d.ts +10 -0
- package/types/theme/components/badge.d.ts +3 -0
- package/types/theme/components/pinInput.d.ts +4 -0
|
@@ -24,19 +24,34 @@ exports[`Badge has danger style when intent is danger 1`] = `
|
|
|
24
24
|
themePadding="wideContent"
|
|
25
25
|
>
|
|
26
26
|
<Text
|
|
27
|
+
allowFontScaling={false}
|
|
27
28
|
style={
|
|
28
29
|
Array [
|
|
29
30
|
Object {
|
|
30
|
-
"color": "#
|
|
31
|
-
"fontFamily": "BeVietnamPro-
|
|
32
|
-
"fontSize":
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"textAlignVertical": "center",
|
|
31
|
+
"color": "#001f23",
|
|
32
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
33
|
+
"fontSize": 14,
|
|
34
|
+
"letterSpacing": 0.42,
|
|
35
|
+
"lineHeight": 22,
|
|
36
36
|
},
|
|
37
|
-
|
|
37
|
+
Array [
|
|
38
|
+
Object {
|
|
39
|
+
"color": "#ffffff",
|
|
40
|
+
"fontFamily": "BeVietnamPro-SemiBold",
|
|
41
|
+
"fontSize": 12,
|
|
42
|
+
"includeFontPadding": false,
|
|
43
|
+
"lineHeight": 20,
|
|
44
|
+
"textAlign": "center",
|
|
45
|
+
"textAlignVertical": "center",
|
|
46
|
+
},
|
|
47
|
+
undefined,
|
|
48
|
+
],
|
|
38
49
|
]
|
|
39
50
|
}
|
|
51
|
+
themeFontSize="medium"
|
|
52
|
+
themeFontWeight="regular"
|
|
53
|
+
themeIntent="body"
|
|
54
|
+
themeTypeface="neutral"
|
|
40
55
|
>
|
|
41
56
|
DECLINED
|
|
42
57
|
</Text>
|
|
@@ -67,19 +82,34 @@ exports[`Badge has info style when intent is info 1`] = `
|
|
|
67
82
|
themePadding="wideContent"
|
|
68
83
|
>
|
|
69
84
|
<Text
|
|
85
|
+
allowFontScaling={false}
|
|
70
86
|
style={
|
|
71
87
|
Array [
|
|
72
88
|
Object {
|
|
73
|
-
"color": "#
|
|
74
|
-
"fontFamily": "BeVietnamPro-
|
|
75
|
-
"fontSize":
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"textAlignVertical": "center",
|
|
89
|
+
"color": "#001f23",
|
|
90
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
91
|
+
"fontSize": 14,
|
|
92
|
+
"letterSpacing": 0.42,
|
|
93
|
+
"lineHeight": 22,
|
|
79
94
|
},
|
|
80
|
-
|
|
95
|
+
Array [
|
|
96
|
+
Object {
|
|
97
|
+
"color": "#ffffff",
|
|
98
|
+
"fontFamily": "BeVietnamPro-SemiBold",
|
|
99
|
+
"fontSize": 12,
|
|
100
|
+
"includeFontPadding": false,
|
|
101
|
+
"lineHeight": 20,
|
|
102
|
+
"textAlign": "center",
|
|
103
|
+
"textAlignVertical": "center",
|
|
104
|
+
},
|
|
105
|
+
undefined,
|
|
106
|
+
],
|
|
81
107
|
]
|
|
82
108
|
}
|
|
109
|
+
themeFontSize="medium"
|
|
110
|
+
themeFontWeight="regular"
|
|
111
|
+
themeIntent="body"
|
|
112
|
+
themeTypeface="neutral"
|
|
83
113
|
>
|
|
84
114
|
SUBMITTED
|
|
85
115
|
</Text>
|
|
@@ -110,19 +140,34 @@ exports[`Badge has info style when intent is primary 1`] = `
|
|
|
110
140
|
themePadding="wideContent"
|
|
111
141
|
>
|
|
112
142
|
<Text
|
|
143
|
+
allowFontScaling={false}
|
|
113
144
|
style={
|
|
114
145
|
Array [
|
|
115
146
|
Object {
|
|
116
|
-
"color": "#
|
|
117
|
-
"fontFamily": "BeVietnamPro-
|
|
118
|
-
"fontSize":
|
|
119
|
-
"
|
|
120
|
-
"
|
|
121
|
-
"textAlignVertical": "center",
|
|
147
|
+
"color": "#001f23",
|
|
148
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
149
|
+
"fontSize": 14,
|
|
150
|
+
"letterSpacing": 0.42,
|
|
151
|
+
"lineHeight": 22,
|
|
122
152
|
},
|
|
123
|
-
|
|
153
|
+
Array [
|
|
154
|
+
Object {
|
|
155
|
+
"color": "#ffffff",
|
|
156
|
+
"fontFamily": "BeVietnamPro-SemiBold",
|
|
157
|
+
"fontSize": 12,
|
|
158
|
+
"includeFontPadding": false,
|
|
159
|
+
"lineHeight": 20,
|
|
160
|
+
"textAlign": "center",
|
|
161
|
+
"textAlignVertical": "center",
|
|
162
|
+
},
|
|
163
|
+
undefined,
|
|
164
|
+
],
|
|
124
165
|
]
|
|
125
166
|
}
|
|
167
|
+
themeFontSize="medium"
|
|
168
|
+
themeFontWeight="regular"
|
|
169
|
+
themeIntent="body"
|
|
170
|
+
themeTypeface="neutral"
|
|
126
171
|
>
|
|
127
172
|
PRIMARY
|
|
128
173
|
</Text>
|
|
@@ -153,19 +198,34 @@ exports[`Badge has success style when intent is success 1`] = `
|
|
|
153
198
|
themePadding="wideContent"
|
|
154
199
|
>
|
|
155
200
|
<Text
|
|
201
|
+
allowFontScaling={false}
|
|
156
202
|
style={
|
|
157
203
|
Array [
|
|
158
204
|
Object {
|
|
159
|
-
"color": "#
|
|
160
|
-
"fontFamily": "BeVietnamPro-
|
|
161
|
-
"fontSize":
|
|
162
|
-
"
|
|
163
|
-
"
|
|
164
|
-
"textAlignVertical": "center",
|
|
205
|
+
"color": "#001f23",
|
|
206
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
207
|
+
"fontSize": 14,
|
|
208
|
+
"letterSpacing": 0.42,
|
|
209
|
+
"lineHeight": 22,
|
|
165
210
|
},
|
|
166
|
-
|
|
211
|
+
Array [
|
|
212
|
+
Object {
|
|
213
|
+
"color": "#ffffff",
|
|
214
|
+
"fontFamily": "BeVietnamPro-SemiBold",
|
|
215
|
+
"fontSize": 12,
|
|
216
|
+
"includeFontPadding": false,
|
|
217
|
+
"lineHeight": 20,
|
|
218
|
+
"textAlign": "center",
|
|
219
|
+
"textAlignVertical": "center",
|
|
220
|
+
},
|
|
221
|
+
undefined,
|
|
222
|
+
],
|
|
167
223
|
]
|
|
168
224
|
}
|
|
225
|
+
themeFontSize="medium"
|
|
226
|
+
themeFontWeight="regular"
|
|
227
|
+
themeIntent="body"
|
|
228
|
+
themeTypeface="neutral"
|
|
169
229
|
>
|
|
170
230
|
APPROVED
|
|
171
231
|
</Text>
|
|
@@ -196,19 +256,34 @@ exports[`Badge has warning style when intent is warning 1`] = `
|
|
|
196
256
|
themePadding="wideContent"
|
|
197
257
|
>
|
|
198
258
|
<Text
|
|
259
|
+
allowFontScaling={false}
|
|
199
260
|
style={
|
|
200
261
|
Array [
|
|
201
262
|
Object {
|
|
202
|
-
"color": "#
|
|
203
|
-
"fontFamily": "BeVietnamPro-
|
|
204
|
-
"fontSize":
|
|
205
|
-
"
|
|
206
|
-
"
|
|
207
|
-
"textAlignVertical": "center",
|
|
263
|
+
"color": "#001f23",
|
|
264
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
265
|
+
"fontSize": 14,
|
|
266
|
+
"letterSpacing": 0.42,
|
|
267
|
+
"lineHeight": 22,
|
|
208
268
|
},
|
|
209
|
-
|
|
269
|
+
Array [
|
|
270
|
+
Object {
|
|
271
|
+
"color": "#ffffff",
|
|
272
|
+
"fontFamily": "BeVietnamPro-SemiBold",
|
|
273
|
+
"fontSize": 12,
|
|
274
|
+
"includeFontPadding": false,
|
|
275
|
+
"lineHeight": 20,
|
|
276
|
+
"textAlign": "center",
|
|
277
|
+
"textAlignVertical": "center",
|
|
278
|
+
},
|
|
279
|
+
undefined,
|
|
280
|
+
],
|
|
210
281
|
]
|
|
211
282
|
}
|
|
283
|
+
themeFontSize="medium"
|
|
284
|
+
themeFontWeight="regular"
|
|
285
|
+
themeIntent="body"
|
|
286
|
+
themeTypeface="neutral"
|
|
212
287
|
>
|
|
213
288
|
PENDING
|
|
214
289
|
</Text>
|
|
@@ -240,19 +315,34 @@ exports[`Badge renders correctly with custom props 1`] = `
|
|
|
240
315
|
themePadding="wideContent"
|
|
241
316
|
>
|
|
242
317
|
<Text
|
|
318
|
+
allowFontScaling={false}
|
|
243
319
|
style={
|
|
244
320
|
Array [
|
|
245
321
|
Object {
|
|
246
|
-
"color": "#
|
|
247
|
-
"fontFamily": "BeVietnamPro-
|
|
248
|
-
"fontSize":
|
|
249
|
-
"
|
|
250
|
-
"
|
|
251
|
-
"textAlignVertical": "center",
|
|
322
|
+
"color": "#001f23",
|
|
323
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
324
|
+
"fontSize": 14,
|
|
325
|
+
"letterSpacing": 0.42,
|
|
326
|
+
"lineHeight": 22,
|
|
252
327
|
},
|
|
253
|
-
|
|
328
|
+
Array [
|
|
329
|
+
Object {
|
|
330
|
+
"color": "#ffffff",
|
|
331
|
+
"fontFamily": "BeVietnamPro-SemiBold",
|
|
332
|
+
"fontSize": 12,
|
|
333
|
+
"includeFontPadding": false,
|
|
334
|
+
"lineHeight": 20,
|
|
335
|
+
"textAlign": "center",
|
|
336
|
+
"textAlignVertical": "center",
|
|
337
|
+
},
|
|
338
|
+
undefined,
|
|
339
|
+
],
|
|
254
340
|
]
|
|
255
341
|
}
|
|
342
|
+
themeFontSize="medium"
|
|
343
|
+
themeFontWeight="regular"
|
|
344
|
+
themeIntent="body"
|
|
345
|
+
themeTypeface="neutral"
|
|
256
346
|
>
|
|
257
347
|
50+
|
|
258
348
|
</Text>
|
|
@@ -134,6 +134,7 @@ exports[`BottomNavigation renders correctly 1`] = `
|
|
|
134
134
|
themeSize="medium"
|
|
135
135
|
/>
|
|
136
136
|
<Text
|
|
137
|
+
allowFontScaling={false}
|
|
137
138
|
numberOfLines={1}
|
|
138
139
|
style={
|
|
139
140
|
Array [
|
|
@@ -196,6 +197,7 @@ exports[`BottomNavigation renders correctly 1`] = `
|
|
|
196
197
|
themeSize="medium"
|
|
197
198
|
/>
|
|
198
199
|
<Text
|
|
200
|
+
allowFontScaling={false}
|
|
199
201
|
numberOfLines={1}
|
|
200
202
|
style={
|
|
201
203
|
Array [
|
|
@@ -258,6 +260,7 @@ exports[`BottomNavigation renders correctly 1`] = `
|
|
|
258
260
|
themeSize="medium"
|
|
259
261
|
/>
|
|
260
262
|
<Text
|
|
263
|
+
allowFontScaling={false}
|
|
261
264
|
numberOfLines={1}
|
|
262
265
|
style={
|
|
263
266
|
Array [
|
|
@@ -320,6 +323,7 @@ exports[`BottomNavigation renders correctly 1`] = `
|
|
|
320
323
|
themeSize="medium"
|
|
321
324
|
/>
|
|
322
325
|
<Text
|
|
326
|
+
allowFontScaling={false}
|
|
323
327
|
numberOfLines={1}
|
|
324
328
|
style={
|
|
325
329
|
Array [
|
|
@@ -53,6 +53,7 @@ exports[`UtilityButton snapshot has intent primary style 1`] = `
|
|
|
53
53
|
/>
|
|
54
54
|
</View>
|
|
55
55
|
<Text
|
|
56
|
+
allowFontScaling={false}
|
|
56
57
|
style={
|
|
57
58
|
Array [
|
|
58
59
|
Object {
|
|
@@ -136,6 +137,7 @@ exports[`UtilityButton snapshot has intent text style 1`] = `
|
|
|
136
137
|
/>
|
|
137
138
|
</View>
|
|
138
139
|
<Text
|
|
140
|
+
allowFontScaling={false}
|
|
139
141
|
style={
|
|
140
142
|
Array [
|
|
141
143
|
Object {
|
|
@@ -32,6 +32,7 @@ exports[`Button renders correctly 1`] = `
|
|
|
32
32
|
}
|
|
33
33
|
>
|
|
34
34
|
<Text
|
|
35
|
+
allowFontScaling={false}
|
|
35
36
|
disabled={false}
|
|
36
37
|
ellipsizeMode="tail"
|
|
37
38
|
numberOfLines={1}
|
|
@@ -246,6 +247,7 @@ exports[`Button renders correctly 3`] = `
|
|
|
246
247
|
}
|
|
247
248
|
>
|
|
248
249
|
<Text
|
|
250
|
+
allowFontScaling={false}
|
|
249
251
|
disabled={true}
|
|
250
252
|
ellipsizeMode="tail"
|
|
251
253
|
numberOfLines={1}
|
|
@@ -316,6 +318,7 @@ exports[`Button renders correctly 4`] = `
|
|
|
316
318
|
}
|
|
317
319
|
>
|
|
318
320
|
<Text
|
|
321
|
+
allowFontScaling={false}
|
|
319
322
|
disabled={false}
|
|
320
323
|
ellipsizeMode="tail"
|
|
321
324
|
numberOfLines={1}
|
|
@@ -534,6 +537,7 @@ exports[`Button renders correctly 6`] = `
|
|
|
534
537
|
}
|
|
535
538
|
>
|
|
536
539
|
<Text
|
|
540
|
+
allowFontScaling={false}
|
|
537
541
|
disabled={true}
|
|
538
542
|
ellipsizeMode="tail"
|
|
539
543
|
numberOfLines={1}
|
|
@@ -602,6 +606,7 @@ exports[`Button renders correctly 7`] = `
|
|
|
602
606
|
}
|
|
603
607
|
>
|
|
604
608
|
<Text
|
|
609
|
+
allowFontScaling={false}
|
|
605
610
|
disabled={false}
|
|
606
611
|
ellipsizeMode="tail"
|
|
607
612
|
numberOfLines={1}
|
|
@@ -816,6 +821,7 @@ exports[`Button renders correctly 9`] = `
|
|
|
816
821
|
}
|
|
817
822
|
>
|
|
818
823
|
<Text
|
|
824
|
+
allowFontScaling={false}
|
|
819
825
|
disabled={true}
|
|
820
826
|
ellipsizeMode="tail"
|
|
821
827
|
numberOfLines={1}
|
|
@@ -884,6 +890,7 @@ exports[`Button renders correctly 10`] = `
|
|
|
884
890
|
}
|
|
885
891
|
>
|
|
886
892
|
<Text
|
|
893
|
+
allowFontScaling={false}
|
|
887
894
|
disabled={false}
|
|
888
895
|
ellipsizeMode="tail"
|
|
889
896
|
numberOfLines={1}
|
|
@@ -1098,6 +1105,7 @@ exports[`Button renders correctly 12`] = `
|
|
|
1098
1105
|
}
|
|
1099
1106
|
>
|
|
1100
1107
|
<Text
|
|
1108
|
+
allowFontScaling={false}
|
|
1101
1109
|
disabled={true}
|
|
1102
1110
|
ellipsizeMode="tail"
|
|
1103
1111
|
numberOfLines={1}
|
|
@@ -1166,6 +1174,7 @@ exports[`Button renders correctly 13`] = `
|
|
|
1166
1174
|
}
|
|
1167
1175
|
>
|
|
1168
1176
|
<Text
|
|
1177
|
+
allowFontScaling={false}
|
|
1169
1178
|
disabled={false}
|
|
1170
1179
|
ellipsizeMode="tail"
|
|
1171
1180
|
numberOfLines={1}
|
|
@@ -1380,6 +1389,7 @@ exports[`Button renders correctly 15`] = `
|
|
|
1380
1389
|
}
|
|
1381
1390
|
>
|
|
1382
1391
|
<Text
|
|
1392
|
+
allowFontScaling={false}
|
|
1383
1393
|
disabled={true}
|
|
1384
1394
|
ellipsizeMode="tail"
|
|
1385
1395
|
numberOfLines={1}
|
|
@@ -597,6 +597,7 @@ exports[`StyledButtonIconWrapper has right style 1`] = `
|
|
|
597
597
|
|
|
598
598
|
exports[`StyledButtonText has filled-danger style 1`] = `
|
|
599
599
|
<Text
|
|
600
|
+
allowFontScaling={false}
|
|
600
601
|
style={
|
|
601
602
|
Array [
|
|
602
603
|
Object {
|
|
@@ -631,6 +632,7 @@ exports[`StyledButtonText has filled-danger style 1`] = `
|
|
|
631
632
|
|
|
632
633
|
exports[`StyledButtonText has filled-primary style 1`] = `
|
|
633
634
|
<Text
|
|
635
|
+
allowFontScaling={false}
|
|
634
636
|
style={
|
|
635
637
|
Array [
|
|
636
638
|
Object {
|
|
@@ -665,6 +667,7 @@ exports[`StyledButtonText has filled-primary style 1`] = `
|
|
|
665
667
|
|
|
666
668
|
exports[`StyledButtonText has filled-secondary style 1`] = `
|
|
667
669
|
<Text
|
|
670
|
+
allowFontScaling={false}
|
|
668
671
|
style={
|
|
669
672
|
Array [
|
|
670
673
|
Object {
|
|
@@ -699,6 +702,7 @@ exports[`StyledButtonText has filled-secondary style 1`] = `
|
|
|
699
702
|
|
|
700
703
|
exports[`StyledButtonText has outlined-danger style 1`] = `
|
|
701
704
|
<Text
|
|
705
|
+
allowFontScaling={false}
|
|
702
706
|
style={
|
|
703
707
|
Array [
|
|
704
708
|
Object {
|
|
@@ -733,6 +737,7 @@ exports[`StyledButtonText has outlined-danger style 1`] = `
|
|
|
733
737
|
|
|
734
738
|
exports[`StyledButtonText has outlined-primary style 1`] = `
|
|
735
739
|
<Text
|
|
740
|
+
allowFontScaling={false}
|
|
736
741
|
style={
|
|
737
742
|
Array [
|
|
738
743
|
Object {
|
|
@@ -767,6 +772,7 @@ exports[`StyledButtonText has outlined-primary style 1`] = `
|
|
|
767
772
|
|
|
768
773
|
exports[`StyledButtonText has outlined-secondary style 1`] = `
|
|
769
774
|
<Text
|
|
775
|
+
allowFontScaling={false}
|
|
770
776
|
style={
|
|
771
777
|
Array [
|
|
772
778
|
Object {
|
|
@@ -801,6 +807,7 @@ exports[`StyledButtonText has outlined-secondary style 1`] = `
|
|
|
801
807
|
|
|
802
808
|
exports[`StyledButtonText has text-danger style 1`] = `
|
|
803
809
|
<Text
|
|
810
|
+
allowFontScaling={false}
|
|
804
811
|
style={
|
|
805
812
|
Array [
|
|
806
813
|
Object {
|
|
@@ -835,6 +842,7 @@ exports[`StyledButtonText has text-danger style 1`] = `
|
|
|
835
842
|
|
|
836
843
|
exports[`StyledButtonText has text-primary style 1`] = `
|
|
837
844
|
<Text
|
|
845
|
+
allowFontScaling={false}
|
|
838
846
|
style={
|
|
839
847
|
Array [
|
|
840
848
|
Object {
|
|
@@ -869,6 +877,7 @@ exports[`StyledButtonText has text-primary style 1`] = `
|
|
|
869
877
|
|
|
870
878
|
exports[`StyledButtonText has text-secondary style 1`] = `
|
|
871
879
|
<Text
|
|
880
|
+
allowFontScaling={false}
|
|
872
881
|
style={
|
|
873
882
|
Array [
|
|
874
883
|
Object {
|
|
@@ -903,6 +912,7 @@ exports[`StyledButtonText has text-secondary style 1`] = `
|
|
|
903
912
|
|
|
904
913
|
exports[`StyledButtonText renders disabled correctly 1`] = `
|
|
905
914
|
<Text
|
|
915
|
+
allowFontScaling={false}
|
|
906
916
|
disabled={true}
|
|
907
917
|
style={
|
|
908
918
|
Array [
|
|
@@ -42,6 +42,7 @@ exports[`CalendarRowItem renders correctly 1`] = `
|
|
|
42
42
|
}
|
|
43
43
|
>
|
|
44
44
|
<Text
|
|
45
|
+
allowFontScaling={false}
|
|
45
46
|
style={
|
|
46
47
|
Array [
|
|
47
48
|
Object {
|
|
@@ -124,6 +125,7 @@ exports[`CalendarRowItem renders correctly 2`] = `
|
|
|
124
125
|
}
|
|
125
126
|
>
|
|
126
127
|
<Text
|
|
128
|
+
allowFontScaling={false}
|
|
127
129
|
style={
|
|
128
130
|
Array [
|
|
129
131
|
Object {
|
|
@@ -206,6 +208,7 @@ exports[`CalendarRowItem renders correctly when is current date 1`] = `
|
|
|
206
208
|
}
|
|
207
209
|
>
|
|
208
210
|
<Text
|
|
211
|
+
allowFontScaling={false}
|
|
209
212
|
style={
|
|
210
213
|
Array [
|
|
211
214
|
Object {
|
|
@@ -288,6 +291,7 @@ exports[`CalendarRowItem renders correctly when selected, and is current date eq
|
|
|
288
291
|
}
|
|
289
292
|
>
|
|
290
293
|
<Text
|
|
294
|
+
allowFontScaling={false}
|
|
291
295
|
style={
|
|
292
296
|
Array [
|
|
293
297
|
Object {
|
|
@@ -370,6 +374,7 @@ exports[`CalendarRowItem renders correctly when selected, and is current date eq
|
|
|
370
374
|
}
|
|
371
375
|
>
|
|
372
376
|
<Text
|
|
377
|
+
allowFontScaling={false}
|
|
373
378
|
style={
|
|
374
379
|
Array [
|
|
375
380
|
Object {
|
|
@@ -15,6 +15,7 @@ exports[`Card renders correctly when intent is archived 1`] = `
|
|
|
15
15
|
themeIntent="archived"
|
|
16
16
|
>
|
|
17
17
|
<Text
|
|
18
|
+
allowFontScaling={false}
|
|
18
19
|
style={
|
|
19
20
|
Array [
|
|
20
21
|
Object {
|
|
@@ -52,6 +53,7 @@ exports[`Card renders correctly when intent is danger 1`] = `
|
|
|
52
53
|
themeIntent="danger"
|
|
53
54
|
>
|
|
54
55
|
<Text
|
|
56
|
+
allowFontScaling={false}
|
|
55
57
|
style={
|
|
56
58
|
Array [
|
|
57
59
|
Object {
|
|
@@ -89,6 +91,7 @@ exports[`Card renders correctly when intent is info 1`] = `
|
|
|
89
91
|
themeIntent="info"
|
|
90
92
|
>
|
|
91
93
|
<Text
|
|
94
|
+
allowFontScaling={false}
|
|
92
95
|
style={
|
|
93
96
|
Array [
|
|
94
97
|
Object {
|
|
@@ -126,6 +129,7 @@ exports[`Card renders correctly when intent is primary 1`] = `
|
|
|
126
129
|
themeIntent="primary"
|
|
127
130
|
>
|
|
128
131
|
<Text
|
|
132
|
+
allowFontScaling={false}
|
|
129
133
|
style={
|
|
130
134
|
Array [
|
|
131
135
|
Object {
|
|
@@ -163,6 +167,7 @@ exports[`Card renders correctly when intent is success 1`] = `
|
|
|
163
167
|
themeIntent="success"
|
|
164
168
|
>
|
|
165
169
|
<Text
|
|
170
|
+
allowFontScaling={false}
|
|
166
171
|
style={
|
|
167
172
|
Array [
|
|
168
173
|
Object {
|
|
@@ -198,6 +203,7 @@ exports[`Card renders correctly when intent is undefined 1`] = `
|
|
|
198
203
|
}
|
|
199
204
|
>
|
|
200
205
|
<Text
|
|
206
|
+
allowFontScaling={false}
|
|
201
207
|
style={
|
|
202
208
|
Array [
|
|
203
209
|
Object {
|
|
@@ -133,6 +133,7 @@ exports[`CardCarousel should render correctly 1`] = `
|
|
|
133
133
|
}
|
|
134
134
|
>
|
|
135
135
|
<Text
|
|
136
|
+
allowFontScaling={false}
|
|
136
137
|
style={
|
|
137
138
|
Array [
|
|
138
139
|
Object {
|
|
@@ -216,6 +217,7 @@ exports[`CardCarousel should render correctly 1`] = `
|
|
|
216
217
|
}
|
|
217
218
|
>
|
|
218
219
|
<Text
|
|
220
|
+
allowFontScaling={false}
|
|
219
221
|
style={
|
|
220
222
|
Array [
|
|
221
223
|
Object {
|
|
@@ -173,6 +173,7 @@ exports[`Carousel renders basic carousel 1`] = `
|
|
|
173
173
|
width={750}
|
|
174
174
|
>
|
|
175
175
|
<Text
|
|
176
|
+
allowFontScaling={false}
|
|
176
177
|
style={
|
|
177
178
|
Array [
|
|
178
179
|
Object {
|
|
@@ -202,6 +203,7 @@ exports[`Carousel renders basic carousel 1`] = `
|
|
|
202
203
|
Welcome to the new Employment Hero app
|
|
203
204
|
</Text>
|
|
204
205
|
<Text
|
|
206
|
+
allowFontScaling={false}
|
|
205
207
|
style={
|
|
206
208
|
Array [
|
|
207
209
|
Object {
|
|
@@ -307,6 +309,7 @@ exports[`Carousel renders basic carousel 1`] = `
|
|
|
307
309
|
}
|
|
308
310
|
/>
|
|
309
311
|
<Text
|
|
312
|
+
allowFontScaling={false}
|
|
310
313
|
style={
|
|
311
314
|
Array [
|
|
312
315
|
Object {
|
|
@@ -336,6 +339,7 @@ exports[`Carousel renders basic carousel 1`] = `
|
|
|
336
339
|
Same app with a new look!
|
|
337
340
|
</Text>
|
|
338
341
|
<Text
|
|
342
|
+
allowFontScaling={false}
|
|
339
343
|
style={
|
|
340
344
|
Array [
|
|
341
345
|
Object {
|
|
@@ -431,6 +435,7 @@ exports[`Carousel renders basic carousel 1`] = `
|
|
|
431
435
|
width={750}
|
|
432
436
|
>
|
|
433
437
|
<Text
|
|
438
|
+
allowFontScaling={false}
|
|
434
439
|
style={
|
|
435
440
|
Array [
|
|
436
441
|
Object {
|
|
@@ -460,6 +465,7 @@ exports[`Carousel renders basic carousel 1`] = `
|
|
|
460
465
|
Easier to get around
|
|
461
466
|
</Text>
|
|
462
467
|
<Text
|
|
468
|
+
allowFontScaling={false}
|
|
463
469
|
style={
|
|
464
470
|
Array [
|
|
465
471
|
Object {
|
|
@@ -553,6 +559,7 @@ exports[`Carousel renders basic carousel 1`] = `
|
|
|
553
559
|
width={750}
|
|
554
560
|
>
|
|
555
561
|
<Text
|
|
562
|
+
allowFontScaling={false}
|
|
556
563
|
style={
|
|
557
564
|
Array [
|
|
558
565
|
Object {
|
|
@@ -631,6 +638,7 @@ exports[`Carousel renders basic carousel 1`] = `
|
|
|
631
638
|
}
|
|
632
639
|
>
|
|
633
640
|
<Text
|
|
641
|
+
allowFontScaling={false}
|
|
634
642
|
disabled={false}
|
|
635
643
|
ellipsizeMode="tail"
|
|
636
644
|
numberOfLines={1}
|
|
@@ -916,6 +924,7 @@ exports[`Carousel should call skip call back when press skip 1`] = `
|
|
|
916
924
|
width={750}
|
|
917
925
|
>
|
|
918
926
|
<Text
|
|
927
|
+
allowFontScaling={false}
|
|
919
928
|
style={
|
|
920
929
|
Array [
|
|
921
930
|
Object {
|
|
@@ -945,6 +954,7 @@ exports[`Carousel should call skip call back when press skip 1`] = `
|
|
|
945
954
|
Welcome to the new Employment Hero app
|
|
946
955
|
</Text>
|
|
947
956
|
<Text
|
|
957
|
+
allowFontScaling={false}
|
|
948
958
|
style={
|
|
949
959
|
Array [
|
|
950
960
|
Object {
|
|
@@ -1050,6 +1060,7 @@ exports[`Carousel should call skip call back when press skip 1`] = `
|
|
|
1050
1060
|
}
|
|
1051
1061
|
/>
|
|
1052
1062
|
<Text
|
|
1063
|
+
allowFontScaling={false}
|
|
1053
1064
|
style={
|
|
1054
1065
|
Array [
|
|
1055
1066
|
Object {
|
|
@@ -1079,6 +1090,7 @@ exports[`Carousel should call skip call back when press skip 1`] = `
|
|
|
1079
1090
|
Same app with a new look!
|
|
1080
1091
|
</Text>
|
|
1081
1092
|
<Text
|
|
1093
|
+
allowFontScaling={false}
|
|
1082
1094
|
style={
|
|
1083
1095
|
Array [
|
|
1084
1096
|
Object {
|
|
@@ -1174,6 +1186,7 @@ exports[`Carousel should call skip call back when press skip 1`] = `
|
|
|
1174
1186
|
width={750}
|
|
1175
1187
|
>
|
|
1176
1188
|
<Text
|
|
1189
|
+
allowFontScaling={false}
|
|
1177
1190
|
style={
|
|
1178
1191
|
Array [
|
|
1179
1192
|
Object {
|
|
@@ -1203,6 +1216,7 @@ exports[`Carousel should call skip call back when press skip 1`] = `
|
|
|
1203
1216
|
Easier to get around
|
|
1204
1217
|
</Text>
|
|
1205
1218
|
<Text
|
|
1219
|
+
allowFontScaling={false}
|
|
1206
1220
|
style={
|
|
1207
1221
|
Array [
|
|
1208
1222
|
Object {
|
|
@@ -1296,6 +1310,7 @@ exports[`Carousel should call skip call back when press skip 1`] = `
|
|
|
1296
1310
|
width={750}
|
|
1297
1311
|
>
|
|
1298
1312
|
<Text
|
|
1313
|
+
allowFontScaling={false}
|
|
1299
1314
|
style={
|
|
1300
1315
|
Array [
|
|
1301
1316
|
Object {
|
|
@@ -1374,6 +1389,7 @@ exports[`Carousel should call skip call back when press skip 1`] = `
|
|
|
1374
1389
|
}
|
|
1375
1390
|
>
|
|
1376
1391
|
<Text
|
|
1392
|
+
allowFontScaling={false}
|
|
1377
1393
|
disabled={false}
|
|
1378
1394
|
ellipsizeMode="tail"
|
|
1379
1395
|
numberOfLines={1}
|