@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
@@ -109,6 +109,7 @@ Array [
109
109
  }
110
110
  >
111
111
  <Text
112
+ allowFontScaling={false}
112
113
  style={
113
114
  Array [
114
115
  Object {
@@ -147,6 +148,7 @@ Array [
147
148
  "disabled": false,
148
149
  }
149
150
  }
151
+ allowFontScaling={false}
150
152
  editable={true}
151
153
  multiline={true}
152
154
  onBlur={[Function]}
@@ -334,6 +336,7 @@ Array [
334
336
  }
335
337
  >
336
338
  <Text
339
+ allowFontScaling={false}
337
340
  style={
338
341
  Array [
339
342
  Object {
@@ -520,6 +523,7 @@ Array [
520
523
  }
521
524
  />
522
525
  <Text
526
+ allowFontScaling={false}
523
527
  style={
524
528
  Array [
525
529
  Object {
@@ -639,6 +643,7 @@ Array [
639
643
  }
640
644
  >
641
645
  <Text
646
+ allowFontScaling={false}
642
647
  style={
643
648
  Array [
644
649
  Object {
@@ -659,6 +664,7 @@ Array [
659
664
  Daniel
660
665
  </Text>
661
666
  <Text
667
+ allowFontScaling={false}
662
668
  style={
663
669
  Array [
664
670
  Object {
@@ -786,6 +792,7 @@ Array [
786
792
  }
787
793
  >
788
794
  <Text
795
+ allowFontScaling={false}
789
796
  style={
790
797
  Array [
791
798
  Object {
@@ -806,6 +813,7 @@ Array [
806
813
  Daemon
807
814
  </Text>
808
815
  <Text
816
+ allowFontScaling={false}
809
817
  style={
810
818
  Array [
811
819
  Object {
@@ -930,6 +938,7 @@ Array [
930
938
  }
931
939
  />
932
940
  <Text
941
+ allowFontScaling={false}
933
942
  style={
934
943
  Array [
935
944
  Object {
@@ -1049,6 +1058,7 @@ Array [
1049
1058
  }
1050
1059
  >
1051
1060
  <Text
1061
+ allowFontScaling={false}
1052
1062
  style={
1053
1063
  Array [
1054
1064
  Object {
@@ -1069,6 +1079,7 @@ Array [
1069
1079
  Jennifer
1070
1080
  </Text>
1071
1081
  <Text
1082
+ allowFontScaling={false}
1072
1083
  style={
1073
1084
  Array [
1074
1085
  Object {
@@ -1196,6 +1207,7 @@ Array [
1196
1207
  }
1197
1208
  >
1198
1209
  <Text
1210
+ allowFontScaling={false}
1199
1211
  style={
1200
1212
  Array [
1201
1213
  Object {
@@ -1216,6 +1228,7 @@ Array [
1216
1228
  Josh
1217
1229
  </Text>
1218
1230
  <Text
1231
+ allowFontScaling={false}
1219
1232
  style={
1220
1233
  Array [
1221
1234
  Object {
@@ -1401,6 +1414,7 @@ Array [
1401
1414
  testID="label-container"
1402
1415
  >
1403
1416
  <Text
1417
+ allowFontScaling={false}
1404
1418
  style={
1405
1419
  Array [
1406
1420
  Object {
@@ -1450,6 +1464,7 @@ Array [
1450
1464
  "disabled": false,
1451
1465
  }
1452
1466
  }
1467
+ allowFontScaling={false}
1453
1468
  editable={true}
1454
1469
  multiline={true}
1455
1470
  onBlur={[Function]}
@@ -1626,6 +1641,7 @@ Array [
1626
1641
  testID="label-container"
1627
1642
  >
1628
1643
  <Text
1644
+ allowFontScaling={false}
1629
1645
  style={
1630
1646
  Array [
1631
1647
  Object {
@@ -1675,6 +1691,7 @@ Array [
1675
1691
  "disabled": false,
1676
1692
  }
1677
1693
  }
1694
+ allowFontScaling={false}
1678
1695
  editable={true}
1679
1696
  multiline={true}
1680
1697
  onBlur={[Function]}
@@ -1863,6 +1880,7 @@ Array [
1863
1880
  }
1864
1881
  >
1865
1882
  <Text
1883
+ allowFontScaling={false}
1866
1884
  style={
1867
1885
  Array [
1868
1886
  Object {
@@ -2109,6 +2127,7 @@ Array [
2109
2127
  }
2110
2128
  >
2111
2129
  <Text
2130
+ allowFontScaling={false}
2112
2131
  style={
2113
2132
  Array [
2114
2133
  Object {
@@ -2236,6 +2255,7 @@ Array [
2236
2255
  }
2237
2256
  >
2238
2257
  <Text
2258
+ allowFontScaling={false}
2239
2259
  style={
2240
2260
  Array [
2241
2261
  Object {
@@ -2363,6 +2383,7 @@ Array [
2363
2383
  }
2364
2384
  >
2365
2385
  <Text
2386
+ allowFontScaling={false}
2366
2387
  style={
2367
2388
  Array [
2368
2389
  Object {
@@ -2490,6 +2511,7 @@ Array [
2490
2511
  }
2491
2512
  >
2492
2513
  <Text
2514
+ allowFontScaling={false}
2493
2515
  style={
2494
2516
  Array [
2495
2517
  Object {
@@ -2617,6 +2639,7 @@ Array [
2617
2639
  }
2618
2640
  >
2619
2641
  <Text
2642
+ allowFontScaling={false}
2620
2643
  style={
2621
2644
  Array [
2622
2645
  Object {
@@ -2744,6 +2767,7 @@ Array [
2744
2767
  }
2745
2768
  >
2746
2769
  <Text
2770
+ allowFontScaling={false}
2747
2771
  style={
2748
2772
  Array [
2749
2773
  Object {
@@ -2872,6 +2896,7 @@ Array [
2872
2896
  }
2873
2897
  >
2874
2898
  <Text
2899
+ allowFontScaling={false}
2875
2900
  style={
2876
2901
  Array [
2877
2902
  Object {
@@ -3059,6 +3084,7 @@ Array [
3059
3084
  testID="label-container"
3060
3085
  >
3061
3086
  <Text
3087
+ allowFontScaling={false}
3062
3088
  style={
3063
3089
  Array [
3064
3090
  Object {
@@ -3108,6 +3134,7 @@ Array [
3108
3134
  "disabled": true,
3109
3135
  }
3110
3136
  }
3137
+ allowFontScaling={false}
3111
3138
  editable={true}
3112
3139
  multiline={true}
3113
3140
  onBlur={[Function]}
@@ -3297,6 +3324,7 @@ Array [
3297
3324
  testID="label-container"
3298
3325
  >
3299
3326
  <Text
3327
+ allowFontScaling={false}
3300
3328
  style={
3301
3329
  Array [
3302
3330
  Object {
@@ -3346,6 +3374,7 @@ Array [
3346
3374
  "disabled": false,
3347
3375
  }
3348
3376
  }
3377
+ allowFontScaling={false}
3349
3378
  editable={true}
3350
3379
  multiline={true}
3351
3380
  onBlur={[Function]}
@@ -3534,6 +3563,7 @@ Array [
3534
3563
  }
3535
3564
  >
3536
3565
  <Text
3566
+ allowFontScaling={false}
3537
3567
  style={
3538
3568
  Array [
3539
3569
  Object {
@@ -3712,6 +3742,7 @@ Array [
3712
3742
  }
3713
3743
  />
3714
3744
  <Text
3745
+ allowFontScaling={false}
3715
3746
  style={
3716
3747
  Array [
3717
3748
  Object {
@@ -3822,6 +3853,7 @@ Array [
3822
3853
  }
3823
3854
  >
3824
3855
  <Text
3856
+ allowFontScaling={false}
3825
3857
  style={
3826
3858
  Array [
3827
3859
  Object {
@@ -3937,6 +3969,7 @@ Array [
3937
3969
  }
3938
3970
  />
3939
3971
  <Text
3972
+ allowFontScaling={false}
3940
3973
  style={
3941
3974
  Array [
3942
3975
  Object {
@@ -4047,6 +4080,7 @@ Array [
4047
4080
  }
4048
4081
  >
4049
4082
  <Text
4083
+ allowFontScaling={false}
4050
4084
  style={
4051
4085
  Array [
4052
4086
  Object {
@@ -4164,6 +4198,7 @@ Array [
4164
4198
  }
4165
4199
  >
4166
4200
  <Text
4201
+ allowFontScaling={false}
4167
4202
  style={
4168
4203
  Array [
4169
4204
  Object {
@@ -21,6 +21,7 @@ exports[`rendering renders correctly when intent is danger 1`] = `
21
21
  }
22
22
  >
23
23
  <Text
24
+ allowFontScaling={false}
24
25
  style={
25
26
  Array [
26
27
  Object {
@@ -64,6 +65,7 @@ exports[`rendering renders correctly when intent is primary 1`] = `
64
65
  }
65
66
  >
66
67
  <Text
68
+ allowFontScaling={false}
67
69
  style={
68
70
  Array [
69
71
  Object {
@@ -107,6 +109,7 @@ exports[`rendering renders correctly when intent is success 1`] = `
107
109
  }
108
110
  >
109
111
  <Text
112
+ allowFontScaling={false}
110
113
  style={
111
114
  Array [
112
115
  Object {
@@ -10,6 +10,7 @@ exports[`Swipeable renders correctly 1`] = `
10
10
  renderRightActions={[Function]}
11
11
  >
12
12
  <Text
13
+ allowFontScaling={false}
13
14
  style={
14
15
  Array [
15
16
  Object {
@@ -84,6 +84,7 @@ exports[`Option renders correctly when selected 1`] = `
84
84
  testID="selector-switch-status-badge"
85
85
  >
86
86
  <Text
87
+ allowFontScaling={false}
87
88
  style={
88
89
  Array [
89
90
  Object {
@@ -40,6 +40,7 @@ exports[`SelectorSwitch renders correctly 1`] = `
40
40
  }
41
41
  >
42
42
  <Text
43
+ allowFontScaling={false}
43
44
  style={
44
45
  Array [
45
46
  Object {
@@ -63,6 +63,7 @@ exports[`Tabs.Scroll renders correctly 1`] = `
63
63
  />
64
64
  </View>
65
65
  <Text
66
+ allowFontScaling={false}
66
67
  style={
67
68
  Array [
68
69
  Object {
@@ -265,6 +266,7 @@ exports[`Tabs.Scroll renders correctly 1`] = `
265
266
  >
266
267
  <View>
267
268
  <Text
269
+ allowFontScaling={false}
268
270
  numberOfLines={1}
269
271
  style={
270
272
  Array [
@@ -633,19 +635,34 @@ exports[`Tabs.Scroll renders correctly 1`] = `
633
635
  themePadding="wideContent"
634
636
  >
635
637
  <Text
638
+ allowFontScaling={false}
636
639
  style={
637
640
  Array [
638
641
  Object {
639
- "color": "#ffffff",
640
- "fontFamily": "BeVietnamPro-SemiBold",
641
- "fontSize": 12,
642
- "includeFontPadding": false,
643
- "textAlign": "center",
644
- "textAlignVertical": "center",
642
+ "color": "#001f23",
643
+ "fontFamily": "BeVietnamPro-Regular",
644
+ "fontSize": 14,
645
+ "letterSpacing": 0.42,
646
+ "lineHeight": 22,
645
647
  },
646
- undefined,
648
+ Array [
649
+ Object {
650
+ "color": "#ffffff",
651
+ "fontFamily": "BeVietnamPro-SemiBold",
652
+ "fontSize": 12,
653
+ "includeFontPadding": false,
654
+ "lineHeight": 20,
655
+ "textAlign": "center",
656
+ "textAlignVertical": "center",
657
+ },
658
+ undefined,
659
+ ],
647
660
  ]
648
661
  }
662
+ themeFontSize="medium"
663
+ themeFontWeight="regular"
664
+ themeIntent="body"
665
+ themeTypeface="neutral"
649
666
  >
650
667
  50
651
668
  </Text>
@@ -37,19 +37,34 @@ exports[`TabWithBadge renders correctly with counter badge config 1`] = `
37
37
  themePadding="wideContent"
38
38
  >
39
39
  <Text
40
+ allowFontScaling={false}
40
41
  style={
41
42
  Array [
42
43
  Object {
43
- "color": "#ffffff",
44
- "fontFamily": "BeVietnamPro-SemiBold",
45
- "fontSize": 12,
46
- "includeFontPadding": false,
47
- "textAlign": "center",
48
- "textAlignVertical": "center",
44
+ "color": "#001f23",
45
+ "fontFamily": "BeVietnamPro-Regular",
46
+ "fontSize": 14,
47
+ "letterSpacing": 0.42,
48
+ "lineHeight": 22,
49
49
  },
50
- undefined,
50
+ Array [
51
+ Object {
52
+ "color": "#ffffff",
53
+ "fontFamily": "BeVietnamPro-SemiBold",
54
+ "fontSize": 12,
55
+ "includeFontPadding": false,
56
+ "lineHeight": 20,
57
+ "textAlign": "center",
58
+ "textAlignVertical": "center",
59
+ },
60
+ undefined,
61
+ ],
51
62
  ]
52
63
  }
64
+ themeFontSize="medium"
65
+ themeFontWeight="regular"
66
+ themeIntent="body"
67
+ themeTypeface="neutral"
53
68
  >
54
69
  10
55
70
  </Text>
@@ -63,6 +63,7 @@ exports[`Tabs renders correctly 1`] = `
63
63
  />
64
64
  </View>
65
65
  <Text
66
+ allowFontScaling={false}
66
67
  style={
67
68
  Array [
68
69
  Object {
@@ -157,6 +158,7 @@ exports[`Tabs renders correctly 1`] = `
157
158
  >
158
159
  <View>
159
160
  <Text
161
+ allowFontScaling={false}
160
162
  numberOfLines={1}
161
163
  style={
162
164
  Array [
@@ -204,6 +206,7 @@ exports[`Tabs renders correctly 1`] = `
204
206
  >
205
207
  <View>
206
208
  <Text
209
+ allowFontScaling={false}
207
210
  numberOfLines={1}
208
211
  style={
209
212
  Array [
@@ -257,6 +260,7 @@ exports[`Tabs renders correctly 1`] = `
257
260
  }
258
261
  >
259
262
  <Text
263
+ allowFontScaling={false}
260
264
  numberOfLines={1}
261
265
  style={
262
266
  Array [
@@ -335,6 +339,7 @@ exports[`Tabs renders correctly 1`] = `
335
339
  }
336
340
  >
337
341
  <Text
342
+ allowFontScaling={false}
338
343
  numberOfLines={1}
339
344
  style={
340
345
  Array [
@@ -381,19 +386,34 @@ exports[`Tabs renders correctly 1`] = `
381
386
  themePadding="wideContent"
382
387
  >
383
388
  <Text
389
+ allowFontScaling={false}
384
390
  style={
385
391
  Array [
386
392
  Object {
387
- "color": "#ffffff",
388
- "fontFamily": "BeVietnamPro-SemiBold",
389
- "fontSize": 12,
390
- "includeFontPadding": false,
391
- "textAlign": "center",
392
- "textAlignVertical": "center",
393
+ "color": "#001f23",
394
+ "fontFamily": "BeVietnamPro-Regular",
395
+ "fontSize": 14,
396
+ "letterSpacing": 0.42,
397
+ "lineHeight": 22,
393
398
  },
394
- undefined,
399
+ Array [
400
+ Object {
401
+ "color": "#ffffff",
402
+ "fontFamily": "BeVietnamPro-SemiBold",
403
+ "fontSize": 12,
404
+ "includeFontPadding": false,
405
+ "lineHeight": 20,
406
+ "textAlign": "center",
407
+ "textAlignVertical": "center",
408
+ },
409
+ undefined,
410
+ ],
395
411
  ]
396
412
  }
413
+ themeFontSize="medium"
414
+ themeFontWeight="regular"
415
+ themeIntent="body"
416
+ themeTypeface="neutral"
397
417
  >
398
418
  50
399
419
  </Text>
@@ -1,6 +1,7 @@
1
- import { View, Text } from 'react-native';
1
+ import { View } from 'react-native';
2
2
  import styled from '@emotion/native';
3
3
  import { Theme } from '../../theme';
4
+ import Typography from '../Typography';
4
5
 
5
6
  type ThemeIntent =
6
7
  | 'primary'
@@ -43,7 +44,7 @@ const StyledView = styled(View)<{
43
44
  };
44
45
  });
45
46
 
46
- const StyledText = styled(Text)<{
47
+ const StyledText = styled(Typography.Text)<{
47
48
  themeIntent: ThemeIntent;
48
49
  themeVariant: ThemeVariant;
49
50
  }>(({ themeIntent, themeVariant, theme }) => {