@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.
Files changed (85) hide show
  1. package/.turbo/turbo-build.log +2 -2
  2. package/es/index.js +47 -15
  3. package/lib/index.js +47 -15
  4. package/package.json +5 -5
  5. package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +8 -0
  6. package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +12 -0
  7. package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +13 -0
  8. package/src/components/Attachment/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
  9. package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/StyledAvatarStack.spec.tsx.snap +21 -4
  10. package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/index.spec.tsx.snap +189 -36
  11. package/src/components/Avatar/StyledAvatar.tsx +11 -4
  12. package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +21 -4
  13. package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +42 -8
  14. package/src/components/Badge/StyledBadge.tsx +4 -2
  15. package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +132 -42
  16. package/src/components/Badge/__tests__/__snapshots__/Status.spec.tsx.snap +1 -0
  17. package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +4 -0
  18. package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
  19. package/src/components/Button/UtilityButton/__tests__/__snapshots__/index.spec.tsx.snap +2 -0
  20. package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +10 -0
  21. package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +10 -0
  22. package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +5 -0
  23. package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +6 -0
  24. package/src/components/Carousel/__tests__/__snapshots__/CardCarousel.spec.tsx.snap +2 -0
  25. package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +16 -0
  26. package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +4 -0
  27. package/src/components/ContentNavigator/__tests__/__snapshots__/StyledContentNavigator.spec.tsx.snap +1 -0
  28. package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +2 -0
  29. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +2 -0
  30. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +4 -0
  31. package/src/components/Empty/StyledEmpty.tsx +14 -13
  32. package/src/components/Empty/__tests__/__snapshots__/index.spec.tsx.snap +76 -20
  33. package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +56 -16
  34. package/src/components/FAB/StyledFAB.tsx +3 -2
  35. package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +1 -0
  36. package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +22 -8
  37. package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +4 -0
  38. package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +53 -8
  39. package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +4 -0
  40. package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +4 -0
  41. package/src/components/PinInput/StyledPinInput.tsx +6 -3
  42. package/src/components/PinInput/__tests__/__snapshots__/PinCell.spec.tsx.snap +93 -18
  43. package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +73 -13
  44. package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +3 -0
  45. package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +2 -0
  46. package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +3 -0
  47. package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +4 -0
  48. package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +23 -1
  49. package/src/components/SectionHeading/__tests__/index.spec.tsx +2 -2
  50. package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +1 -0
  51. package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +20 -0
  52. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +38 -0
  53. package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +1 -0
  54. package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +20 -0
  55. package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +35 -0
  56. package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +3 -0
  57. package/src/components/Swipeable/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
  58. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/Option.spec.tsx.snap +1 -0
  59. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
  60. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +24 -7
  61. package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +22 -7
  62. package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +27 -7
  63. package/src/components/Tag/StyledTag.tsx +3 -2
  64. package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +167 -62
  65. package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +22 -0
  66. package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +51 -0
  67. package/src/components/TextInput/index.tsx +2 -0
  68. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +5 -0
  69. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +7 -0
  70. package/src/components/Toast/__tests__/__snapshots__/Toast.spec.tsx.snap +13 -0
  71. package/src/components/Typography/Text/index.tsx +2 -0
  72. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +17 -0
  73. package/src/theme/components/avatar.ts +11 -1
  74. package/src/theme/components/badge.ts +5 -1
  75. package/src/theme/components/pinInput.ts +14 -1
  76. package/types/components/Avatar/StyledAvatar.d.ts +4 -5
  77. package/types/components/Badge/StyledBadge.d.ts +3 -5
  78. package/types/components/Empty/StyledEmpty.d.ts +5 -9
  79. package/types/components/FAB/StyledFAB.d.ts +3 -5
  80. package/types/components/PinInput/StyledPinInput.d.ts +5 -9
  81. package/types/components/Tag/StyledTag.d.ts +3 -5
  82. package/types/components/Typography/Text/index.d.ts +1 -1
  83. package/types/theme/components/avatar.d.ts +10 -0
  84. package/types/theme/components/badge.d.ts +3 -0
  85. package/types/theme/components/pinInput.d.ts +4 -0
@@ -99,18 +99,35 @@ exports[`ListItem renders correctly ListItem with children 1`] = `
99
99
  }
100
100
  >
101
101
  <Text
102
+ allowFontScaling={false}
102
103
  style={
103
104
  Array [
104
105
  Object {
105
- "color": "#ffffff",
106
+ "color": "#001f23",
106
107
  "fontFamily": "BeVietnamPro-Regular",
107
- "fontSize": 16,
108
- "overflow": "hidden",
108
+ "fontSize": 14,
109
+ "letterSpacing": 0.42,
110
+ "lineHeight": 22,
109
111
  },
110
- undefined,
112
+ Array [
113
+ Object {
114
+ "color": "#ffffff",
115
+ "fontFamily": "BeVietnamPro-Regular",
116
+ "fontSize": 16,
117
+ "lineHeight": 0,
118
+ "overflow": "hidden",
119
+ "textAlign": "center",
120
+ "textAlignVertical": "center",
121
+ },
122
+ undefined,
123
+ ],
111
124
  ]
112
125
  }
126
+ themeFontSize="medium"
127
+ themeFontWeight="regular"
128
+ themeIntent="body"
113
129
  themeSize="small"
130
+ themeTypeface="neutral"
114
131
  >
115
132
  ML
116
133
  </Text>
@@ -128,6 +145,7 @@ exports[`ListItem renders correctly ListItem with children 1`] = `
128
145
  }
129
146
  >
130
147
  <Text
148
+ allowFontScaling={false}
131
149
  style={
132
150
  Array [
133
151
  Object {
@@ -148,6 +166,7 @@ exports[`ListItem renders correctly ListItem with children 1`] = `
148
166
  Menu List
149
167
  </Text>
150
168
  <Text
169
+ allowFontScaling={false}
151
170
  style={
152
171
  Array [
153
172
  Object {
@@ -216,6 +235,7 @@ exports[`ListItem renders correctly ListItem with children 1`] = `
216
235
  }
217
236
  >
218
237
  <Text
238
+ allowFontScaling={false}
219
239
  style={
220
240
  Array [
221
241
  Object {
@@ -236,6 +256,7 @@ exports[`ListItem renders correctly ListItem with children 1`] = `
236
256
  Gross pay
237
257
  </Text>
238
258
  <Text
259
+ allowFontScaling={false}
239
260
  style={
240
261
  Array [
241
262
  Object {
@@ -266,6 +287,7 @@ exports[`ListItem renders correctly ListItem with children 1`] = `
266
287
  }
267
288
  >
268
289
  <Text
290
+ allowFontScaling={false}
269
291
  style={
270
292
  Array [
271
293
  Object {
@@ -286,6 +308,7 @@ exports[`ListItem renders correctly ListItem with children 1`] = `
286
308
  Gross pay
287
309
  </Text>
288
310
  <Text
311
+ allowFontScaling={false}
289
312
  style={
290
313
  Array [
291
314
  Object {
@@ -370,6 +393,7 @@ exports[`ListItem renders correctly ListItem with icon 1`] = `
370
393
  }
371
394
  >
372
395
  <Text
396
+ allowFontScaling={false}
373
397
  style={
374
398
  Array [
375
399
  Object {
@@ -390,6 +414,7 @@ exports[`ListItem renders correctly ListItem with icon 1`] = `
390
414
  List item
391
415
  </Text>
392
416
  <Text
417
+ allowFontScaling={false}
393
418
  style={
394
419
  Array [
395
420
  Object {
@@ -513,6 +538,7 @@ exports[`ListItem renders correctly ListItem with leading status 1`] = `
513
538
  }
514
539
  >
515
540
  <Text
541
+ allowFontScaling={false}
516
542
  style={
517
543
  Array [
518
544
  Object {
@@ -663,18 +689,35 @@ exports[`ListItem renders correctly ListItem with prefix suffix is React.Element
663
689
  }
664
690
  >
665
691
  <Text
692
+ allowFontScaling={false}
666
693
  style={
667
694
  Array [
668
695
  Object {
669
- "color": "#ffffff",
696
+ "color": "#001f23",
670
697
  "fontFamily": "BeVietnamPro-Regular",
671
- "fontSize": 16,
672
- "overflow": "hidden",
698
+ "fontSize": 14,
699
+ "letterSpacing": 0.42,
700
+ "lineHeight": 22,
673
701
  },
674
- undefined,
702
+ Array [
703
+ Object {
704
+ "color": "#ffffff",
705
+ "fontFamily": "BeVietnamPro-Regular",
706
+ "fontSize": 16,
707
+ "lineHeight": 0,
708
+ "overflow": "hidden",
709
+ "textAlign": "center",
710
+ "textAlignVertical": "center",
711
+ },
712
+ undefined,
713
+ ],
675
714
  ]
676
715
  }
716
+ themeFontSize="medium"
717
+ themeFontWeight="regular"
718
+ themeIntent="body"
677
719
  themeSize="small"
720
+ themeTypeface="neutral"
678
721
  >
679
722
  ML
680
723
  </Text>
@@ -692,6 +735,7 @@ exports[`ListItem renders correctly ListItem with prefix suffix is React.Element
692
735
  }
693
736
  >
694
737
  <Text
738
+ allowFontScaling={false}
695
739
  style={
696
740
  Array [
697
741
  Object {
@@ -712,6 +756,7 @@ exports[`ListItem renders correctly ListItem with prefix suffix is React.Element
712
756
  List item
713
757
  </Text>
714
758
  <Text
759
+ allowFontScaling={false}
715
760
  style={
716
761
  Array [
717
762
  Object {
@@ -26,6 +26,7 @@ exports[`StyledListItemContainer renders correctly themeSelected false themeDisa
26
26
  }
27
27
  >
28
28
  <Text
29
+ allowFontScaling={false}
29
30
  style={
30
31
  Array [
31
32
  Object {
@@ -74,6 +75,7 @@ exports[`StyledListItemContainer renders correctly themeSelected false themeDisa
74
75
  }
75
76
  >
76
77
  <Text
78
+ allowFontScaling={false}
77
79
  style={
78
80
  Array [
79
81
  Object {
@@ -122,6 +124,7 @@ exports[`StyledListItemContainer renders correctly themeSelected true themeDisab
122
124
  }
123
125
  >
124
126
  <Text
127
+ allowFontScaling={false}
125
128
  style={
126
129
  Array [
127
130
  Object {
@@ -170,6 +173,7 @@ exports[`StyledListItemContainer renders correctly themeSelected true themeDisab
170
173
  }
171
174
  >
172
175
  <Text
176
+ allowFontScaling={false}
173
177
  style={
174
178
  Array [
175
179
  Object {
@@ -118,6 +118,7 @@ exports[`ListItemContainer renders correctly themeSelected false themeVariant ca
118
118
  }
119
119
  >
120
120
  <Text
121
+ allowFontScaling={false}
121
122
  style={
122
123
  Array [
123
124
  Object {
@@ -163,6 +164,7 @@ exports[`ListItemContainer renders correctly themeSelected false themeVariant fu
163
164
  }
164
165
  >
165
166
  <Text
167
+ allowFontScaling={false}
166
168
  style={
167
169
  Array [
168
170
  Object {
@@ -218,6 +220,7 @@ exports[`ListItemContainer renders correctly themeSelected true themeVariant car
218
220
  }
219
221
  >
220
222
  <Text
223
+ allowFontScaling={false}
221
224
  style={
222
225
  Array [
223
226
  Object {
@@ -263,6 +266,7 @@ exports[`ListItemContainer renders correctly themeSelected true themeVariant ful
263
266
  }
264
267
  >
265
268
  <Text
269
+ allowFontScaling={false}
266
270
  style={
267
271
  Array [
268
272
  Object {
@@ -1,5 +1,6 @@
1
1
  import styled from '@emotion/native';
2
- import { Text, TextInput, View } from 'react-native';
2
+ import { TextInput, View } from 'react-native';
3
+ import Typography from '../Typography';
3
4
 
4
5
  export const StyledWrapper = styled(View)(() => ({
5
6
  alignContent: 'flex-start',
@@ -26,11 +27,12 @@ export const StyledCell = styled(View)<{
26
27
  borderColor: theme.__hd__.pinInput.colors[themeState],
27
28
  }));
28
29
 
29
- export const StyledCellText = styled(Text)<{
30
+ export const StyledCellText = styled(Typography.Text)<{
30
31
  themeState: State;
31
32
  }>(({ theme, themeState }) => ({
32
33
  fontFamily: theme.__hd__.pinInput.fonts.cellText,
33
34
  fontSize: theme.__hd__.pinInput.fontSizes.cellText,
35
+ lineHeight: theme.__hd__.pinInput.lineHeights.cellText,
34
36
  color: theme.__hd__.pinInput.colors[themeState],
35
37
  }));
36
38
 
@@ -78,9 +80,10 @@ export const StyledHiddenInput = styled(TextInput)<{ themePinLength: number }>(
78
80
  export const StyledErrorContainer = styled(View)(({ theme }) => ({
79
81
  flexDirection: 'row',
80
82
  paddingTop: theme.__hd__.pinInput.space.errorMessagePadding,
83
+ alignItems: 'center',
81
84
  }));
82
85
 
83
- export const StyledErrorMessage = styled(Text)(({ theme }) => ({
86
+ export const StyledErrorMessage = styled(Typography.Text)(({ theme }) => ({
84
87
  fontFamily: theme.__hd__.pinInput.fonts.errorMessage,
85
88
  fontSize: theme.__hd__.pinInput.fontSizes.errorMessage,
86
89
  color: theme.__hd__.pinInput.colors.error,
@@ -20,17 +20,32 @@ exports[`PinCell renders correctly when focused is false, state is default 1`] =
20
20
  themeState="default"
21
21
  >
22
22
  <Text
23
+ allowFontScaling={false}
23
24
  style={
24
25
  Array [
25
26
  Object {
26
27
  "color": "#001f23",
27
- "fontFamily": "BeVietnamPro-SemiBold",
28
- "fontSize": 28,
28
+ "fontFamily": "BeVietnamPro-Regular",
29
+ "fontSize": 14,
30
+ "letterSpacing": 0.42,
31
+ "lineHeight": 22,
29
32
  },
30
- undefined,
33
+ Array [
34
+ Object {
35
+ "color": "#001f23",
36
+ "fontFamily": "BeVietnamPro-SemiBold",
37
+ "fontSize": 28,
38
+ "lineHeight": 36,
39
+ },
40
+ undefined,
41
+ ],
31
42
  ]
32
43
  }
44
+ themeFontSize="medium"
45
+ themeFontWeight="regular"
46
+ themeIntent="body"
33
47
  themeState="default"
48
+ themeTypeface="neutral"
34
49
  >
35
50
  1
36
51
  </Text>
@@ -57,17 +72,32 @@ exports[`PinCell renders correctly when focused is false, state is disabled 1`]
57
72
  themeState="disabled"
58
73
  >
59
74
  <Text
75
+ allowFontScaling={false}
60
76
  style={
61
77
  Array [
62
78
  Object {
63
- "color": "#bfc1c5",
64
- "fontFamily": "BeVietnamPro-SemiBold",
65
- "fontSize": 28,
79
+ "color": "#001f23",
80
+ "fontFamily": "BeVietnamPro-Regular",
81
+ "fontSize": 14,
82
+ "letterSpacing": 0.42,
83
+ "lineHeight": 22,
66
84
  },
67
- undefined,
85
+ Array [
86
+ Object {
87
+ "color": "#bfc1c5",
88
+ "fontFamily": "BeVietnamPro-SemiBold",
89
+ "fontSize": 28,
90
+ "lineHeight": 36,
91
+ },
92
+ undefined,
93
+ ],
68
94
  ]
69
95
  }
96
+ themeFontSize="medium"
97
+ themeFontWeight="regular"
98
+ themeIntent="body"
70
99
  themeState="disabled"
100
+ themeTypeface="neutral"
71
101
  >
72
102
  1
73
103
  </Text>
@@ -94,17 +124,32 @@ exports[`PinCell renders correctly when focused is false, state is error 1`] = `
94
124
  themeState="error"
95
125
  >
96
126
  <Text
127
+ allowFontScaling={false}
97
128
  style={
98
129
  Array [
99
130
  Object {
100
- "color": "#de350b",
101
- "fontFamily": "BeVietnamPro-SemiBold",
102
- "fontSize": 28,
131
+ "color": "#001f23",
132
+ "fontFamily": "BeVietnamPro-Regular",
133
+ "fontSize": 14,
134
+ "letterSpacing": 0.42,
135
+ "lineHeight": 22,
103
136
  },
104
- undefined,
137
+ Array [
138
+ Object {
139
+ "color": "#de350b",
140
+ "fontFamily": "BeVietnamPro-SemiBold",
141
+ "fontSize": 28,
142
+ "lineHeight": 36,
143
+ },
144
+ undefined,
145
+ ],
105
146
  ]
106
147
  }
148
+ themeFontSize="medium"
149
+ themeFontWeight="regular"
150
+ themeIntent="body"
107
151
  themeState="error"
152
+ themeTypeface="neutral"
108
153
  >
109
154
  1
110
155
  </Text>
@@ -131,17 +176,32 @@ exports[`PinCell renders correctly when focused is true, state is default 1`] =
131
176
  themeState="default"
132
177
  >
133
178
  <Text
179
+ allowFontScaling={false}
134
180
  style={
135
181
  Array [
136
182
  Object {
137
183
  "color": "#001f23",
138
- "fontFamily": "BeVietnamPro-SemiBold",
139
- "fontSize": 28,
184
+ "fontFamily": "BeVietnamPro-Regular",
185
+ "fontSize": 14,
186
+ "letterSpacing": 0.42,
187
+ "lineHeight": 22,
140
188
  },
141
- undefined,
189
+ Array [
190
+ Object {
191
+ "color": "#001f23",
192
+ "fontFamily": "BeVietnamPro-SemiBold",
193
+ "fontSize": 28,
194
+ "lineHeight": 36,
195
+ },
196
+ undefined,
197
+ ],
142
198
  ]
143
199
  }
200
+ themeFontSize="medium"
201
+ themeFontWeight="regular"
202
+ themeIntent="body"
144
203
  themeState="default"
204
+ themeTypeface="neutral"
145
205
  >
146
206
  1
147
207
  </Text>
@@ -168,17 +228,32 @@ exports[`PinCell renders correctly when focused is true, state is error 1`] = `
168
228
  themeState="error"
169
229
  >
170
230
  <Text
231
+ allowFontScaling={false}
171
232
  style={
172
233
  Array [
173
234
  Object {
174
- "color": "#de350b",
175
- "fontFamily": "BeVietnamPro-SemiBold",
176
- "fontSize": 28,
235
+ "color": "#001f23",
236
+ "fontFamily": "BeVietnamPro-Regular",
237
+ "fontSize": 14,
238
+ "letterSpacing": 0.42,
239
+ "lineHeight": 22,
177
240
  },
178
- undefined,
241
+ Array [
242
+ Object {
243
+ "color": "#de350b",
244
+ "fontFamily": "BeVietnamPro-SemiBold",
245
+ "fontSize": 28,
246
+ "lineHeight": 36,
247
+ },
248
+ undefined,
249
+ ],
179
250
  ]
180
251
  }
252
+ themeFontSize="medium"
253
+ themeFontWeight="regular"
254
+ themeIntent="body"
181
255
  themeState="error"
256
+ themeTypeface="neutral"
182
257
  >
183
258
  1
184
259
  </Text>
@@ -492,17 +492,32 @@ exports[`rendering renders correctly when length is 6 and secure is false 1`] =
492
492
  themeState="default"
493
493
  >
494
494
  <Text
495
+ allowFontScaling={false}
495
496
  style={
496
497
  Array [
497
498
  Object {
498
499
  "color": "#001f23",
499
- "fontFamily": "BeVietnamPro-SemiBold",
500
- "fontSize": 28,
500
+ "fontFamily": "BeVietnamPro-Regular",
501
+ "fontSize": 14,
502
+ "letterSpacing": 0.42,
503
+ "lineHeight": 22,
501
504
  },
502
- undefined,
505
+ Array [
506
+ Object {
507
+ "color": "#001f23",
508
+ "fontFamily": "BeVietnamPro-SemiBold",
509
+ "fontSize": 28,
510
+ "lineHeight": 36,
511
+ },
512
+ undefined,
513
+ ],
503
514
  ]
504
515
  }
516
+ themeFontSize="medium"
517
+ themeFontWeight="regular"
518
+ themeIntent="body"
505
519
  themeState="default"
520
+ themeTypeface="neutral"
506
521
  >
507
522
  1
508
523
  </Text>
@@ -536,17 +551,32 @@ exports[`rendering renders correctly when length is 6 and secure is false 1`] =
536
551
  themeState="default"
537
552
  >
538
553
  <Text
554
+ allowFontScaling={false}
539
555
  style={
540
556
  Array [
541
557
  Object {
542
558
  "color": "#001f23",
543
- "fontFamily": "BeVietnamPro-SemiBold",
544
- "fontSize": 28,
559
+ "fontFamily": "BeVietnamPro-Regular",
560
+ "fontSize": 14,
561
+ "letterSpacing": 0.42,
562
+ "lineHeight": 22,
545
563
  },
546
- undefined,
564
+ Array [
565
+ Object {
566
+ "color": "#001f23",
567
+ "fontFamily": "BeVietnamPro-SemiBold",
568
+ "fontSize": 28,
569
+ "lineHeight": 36,
570
+ },
571
+ undefined,
572
+ ],
547
573
  ]
548
574
  }
575
+ themeFontSize="medium"
576
+ themeFontWeight="regular"
577
+ themeIntent="body"
549
578
  themeState="default"
579
+ themeTypeface="neutral"
550
580
  >
551
581
  2
552
582
  </Text>
@@ -580,17 +610,32 @@ exports[`rendering renders correctly when length is 6 and secure is false 1`] =
580
610
  themeState="default"
581
611
  >
582
612
  <Text
613
+ allowFontScaling={false}
583
614
  style={
584
615
  Array [
585
616
  Object {
586
617
  "color": "#001f23",
587
- "fontFamily": "BeVietnamPro-SemiBold",
588
- "fontSize": 28,
618
+ "fontFamily": "BeVietnamPro-Regular",
619
+ "fontSize": 14,
620
+ "letterSpacing": 0.42,
621
+ "lineHeight": 22,
589
622
  },
590
- undefined,
623
+ Array [
624
+ Object {
625
+ "color": "#001f23",
626
+ "fontFamily": "BeVietnamPro-SemiBold",
627
+ "fontSize": 28,
628
+ "lineHeight": 36,
629
+ },
630
+ undefined,
631
+ ],
591
632
  ]
592
633
  }
634
+ themeFontSize="medium"
635
+ themeFontWeight="regular"
636
+ themeIntent="body"
593
637
  themeState="default"
638
+ themeTypeface="neutral"
594
639
  >
595
640
  3
596
641
  </Text>
@@ -961,6 +1006,7 @@ exports[`rendering renders correctly when there is error 1`] = `
961
1006
  style={
962
1007
  Array [
963
1008
  Object {
1009
+ "alignItems": "center",
964
1010
  "flexDirection": "row",
965
1011
  "paddingTop": 4,
966
1012
  },
@@ -984,17 +1030,31 @@ exports[`rendering renders correctly when there is error 1`] = `
984
1030
  themeSize="xsmall"
985
1031
  />
986
1032
  <Text
1033
+ allowFontScaling={false}
987
1034
  style={
988
1035
  Array [
989
1036
  Object {
990
- "color": "#de350b",
1037
+ "color": "#001f23",
991
1038
  "fontFamily": "BeVietnamPro-Regular",
992
- "fontSize": 12,
993
- "paddingLeft": 4,
1039
+ "fontSize": 14,
1040
+ "letterSpacing": 0.42,
1041
+ "lineHeight": 22,
994
1042
  },
995
- undefined,
1043
+ Array [
1044
+ Object {
1045
+ "color": "#de350b",
1046
+ "fontFamily": "BeVietnamPro-Regular",
1047
+ "fontSize": 12,
1048
+ "paddingLeft": 4,
1049
+ },
1050
+ undefined,
1051
+ ],
996
1052
  ]
997
1053
  }
1054
+ themeFontSize="medium"
1055
+ themeFontWeight="regular"
1056
+ themeIntent="body"
1057
+ themeTypeface="neutral"
998
1058
  >
999
1059
  PIN is not correct
1000
1060
  </Text>
@@ -342,6 +342,7 @@ exports[`Progress.Circle allows to custom value renderer 1`] = `
342
342
  }
343
343
  >
344
344
  <Text
345
+ allowFontScaling={false}
345
346
  style={
346
347
  Array [
347
348
  Object {
@@ -632,6 +633,7 @@ exports[`Progress.Circle renders correctly 1`] = `
632
633
  }
633
634
  >
634
635
  <Text
636
+ allowFontScaling={false}
635
637
  style={
636
638
  Array [
637
639
  Object {
@@ -922,6 +924,7 @@ exports[`Progress.Circle renders correctly with intent 1`] = `
922
924
  }
923
925
  >
924
926
  <Text
927
+ allowFontScaling={false}
925
928
  style={
926
929
  Array [
927
930
  Object {
@@ -41,6 +41,7 @@ exports[`rendering renders correctly when checked 1`] = `
41
41
  }
42
42
  >
43
43
  <Text
44
+ allowFontScaling={false}
44
45
  style={
45
46
  Array [
46
47
  Object {
@@ -147,6 +148,7 @@ exports[`rendering renders correctly when not checked 1`] = `
147
148
  }
148
149
  >
149
150
  <Text
151
+ allowFontScaling={false}
150
152
  style={
151
153
  Array [
152
154
  Object {
@@ -42,6 +42,7 @@ exports[`rendering renders correctly 1`] = `
42
42
  }
43
43
  >
44
44
  <Text
45
+ allowFontScaling={false}
45
46
  style={
46
47
  Array [
47
48
  Object {
@@ -140,6 +141,7 @@ exports[`rendering renders correctly 1`] = `
140
141
  }
141
142
  >
142
143
  <Text
144
+ allowFontScaling={false}
143
145
  style={
144
146
  Array [
145
147
  Object {
@@ -238,6 +240,7 @@ exports[`rendering renders correctly 1`] = `
238
240
  }
239
241
  >
240
242
  <Text
243
+ allowFontScaling={false}
241
244
  style={
242
245
  Array [
243
246
  Object {
@@ -78,6 +78,7 @@ exports[`RichTextEditor onMessage recevied event editor-layout should update hei
78
78
  }
79
79
  >
80
80
  <Text
81
+ allowFontScaling={false}
81
82
  style={
82
83
  Array [
83
84
  Object {
@@ -235,6 +236,7 @@ exports[`RichTextEditor onMessage recevied event editor-layout should update hei
235
236
  themeSize="xsmall"
236
237
  />
237
238
  <Text
239
+ allowFontScaling={false}
238
240
  style={
239
241
  Array [
240
242
  Object {
@@ -346,6 +348,7 @@ exports[`RichTextEditor should render correctly 1`] = `
346
348
  }
347
349
  >
348
350
  <Text
351
+ allowFontScaling={false}
349
352
  style={
350
353
  Array [
351
354
  Object {
@@ -502,6 +505,7 @@ exports[`RichTextEditor should render correctly 1`] = `
502
505
  themeSize="xsmall"
503
506
  />
504
507
  <Text
508
+ allowFontScaling={false}
505
509
  style={
506
510
  Array [
507
511
  Object {