@hero-design/rn 7.25.0 → 7.26.0

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 (144) hide show
  1. package/.turbo/turbo-build.log +9 -9
  2. package/assets/fonts/BeVietnamPro-Bold.ttf +0 -0
  3. package/assets/fonts/{be-vietnam-pro-light.ttf → BeVietnamPro-Light.ttf} +0 -0
  4. package/assets/fonts/{be-vietnam-pro-regular.ttf → BeVietnamPro-Regular.ttf} +0 -0
  5. package/assets/fonts/{be-vietnam-pro-semibold.ttf → BeVietnamPro-SemiBold.ttf} +0 -0
  6. package/assets/fonts/RebondGrotesque-Light.otf +0 -0
  7. package/assets/fonts/RebondGrotesque-Regular.otf +0 -0
  8. package/assets/fonts/RebondGrotesque-SemiBold.otf +0 -0
  9. package/{lib/assets/fonts/hero-icons.ttf → assets/fonts/hero-icons-mobile.ttf} +0 -0
  10. package/es/index.js +9154 -12299
  11. package/jest.config.js +6 -2
  12. package/{assets/fonts/hero-icons.ttf → lib/assets/fonts/hero-icons-mobile.ttf} +0 -0
  13. package/lib/index.js +9154 -12298
  14. package/package.json +4 -4
  15. package/rollup.config.js +1 -1
  16. package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +8 -0
  17. package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +12 -0
  18. package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +11 -0
  19. package/src/components/Attachment/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
  20. package/src/components/Avatar/{index.tsx → Avatar.tsx} +33 -18
  21. package/src/components/Avatar/AvatarStack/StyledAvatarStack.tsx +29 -0
  22. package/src/components/Avatar/AvatarStack/__tests__/StyledAvatarStack.spec.tsx +33 -0
  23. package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/StyledAvatarStack.spec.tsx.snap +80 -0
  24. package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/index.spec.tsx.snap +552 -0
  25. package/src/components/Avatar/AvatarStack/__tests__/index.spec.tsx +59 -0
  26. package/src/components/Avatar/AvatarStack/index.tsx +61 -0
  27. package/src/components/Avatar/AvatarStack/utils.ts +22 -0
  28. package/src/components/Avatar/StyledAvatar.tsx +6 -25
  29. package/src/components/Avatar/__tests__/StyledAvatar.spec.tsx +3 -19
  30. package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +3 -24
  31. package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +118 -20
  32. package/src/components/Avatar/__tests__/index.spec.tsx +25 -8
  33. package/src/components/Avatar/index.ts +6 -0
  34. package/src/components/Badge/__tests__/__snapshots__/Status.spec.tsx.snap +1 -0
  35. package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +4 -0
  36. package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +2 -0
  37. package/src/components/Button/UtilityButton/__tests__/__snapshots__/index.spec.tsx.snap +2 -0
  38. package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +11 -0
  39. package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +5 -0
  40. package/src/components/Card/DataCard/__tests__/__snapshots__/StyledDataCard.spec.tsx.snap +1 -1
  41. package/src/components/Card/DataCard/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
  42. package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +4 -0
  43. package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +4 -0
  44. package/src/components/ContentNavigator/__tests__/__snapshots__/StyledContentNavigator.spec.tsx.snap +1 -0
  45. package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +2 -0
  46. package/src/components/ContentNavigator/index.tsx +8 -12
  47. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +1 -0
  48. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +3 -0
  49. package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +12 -0
  50. package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +1 -0
  51. package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
  52. package/src/components/Icon/HeroIcon/index.tsx +5 -1
  53. package/src/components/Icon/IconList.ts +11 -0
  54. package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +4 -0
  55. package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +54 -31
  56. package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +4 -0
  57. package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +5 -1
  58. package/src/components/Progress/ProgressBar.tsx +19 -2
  59. package/src/components/Progress/ProgressCircle.tsx +30 -9
  60. package/src/components/Progress/StyledProgressBar.tsx +14 -7
  61. package/src/components/Progress/StyledProgressCircle.tsx +35 -24
  62. package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +337 -30
  63. package/src/components/Progress/__tests__/index.spec.js +15 -0
  64. package/src/components/Progress/constants.ts +16 -0
  65. package/src/components/Progress/types.ts +7 -1
  66. package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +2 -0
  67. package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +3 -0
  68. package/src/components/RichTextEditor/RichTextEditor.tsx +1 -1
  69. package/src/components/RichTextEditor/__mocks__/heroEditorApp.ts +2 -0
  70. package/src/components/RichTextEditor/__tests__/RichTextEditor.spec.tsx +36 -25
  71. package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +8 -4
  72. package/src/components/RichTextEditor/heroEditorApp.ts +3 -0
  73. package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +4 -0
  74. package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +1 -0
  75. package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +20 -0
  76. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +51 -0
  77. package/src/components/Select/MultiSelect/__tests__/index.spec.tsx +22 -0
  78. package/src/components/Select/MultiSelect/index.tsx +35 -13
  79. package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +1 -0
  80. package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +20 -0
  81. package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +46 -0
  82. package/src/components/Select/__tests__/__snapshots__/StyledSelect.spec.tsx.snap +1 -0
  83. package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +3 -0
  84. package/src/components/Swipeable/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
  85. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/Option.spec.tsx.snap +1 -0
  86. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
  87. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +2 -0
  88. package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +5 -0
  89. package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +22 -0
  90. package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +31 -0
  91. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +1 -0
  92. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +3 -0
  93. package/src/components/Toast/__tests__/__snapshots__/Toast.spec.tsx.snap +13 -0
  94. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +6 -0
  95. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +6 -0
  96. package/src/components/Typography/Text/StyledText.tsx +6 -2
  97. package/src/components/Typography/Text/__tests__/StyledText.spec.tsx +22 -0
  98. package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +63 -0
  99. package/src/components/Typography/Text/index.tsx +8 -0
  100. package/src/index.ts +2 -1
  101. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +84 -21
  102. package/src/theme/components/avatar.ts +29 -5
  103. package/src/theme/components/badge.ts +1 -1
  104. package/src/theme/components/button.ts +2 -2
  105. package/src/theme/components/empty.ts +2 -2
  106. package/src/theme/components/fab.ts +3 -3
  107. package/src/theme/components/pinInput.ts +2 -2
  108. package/src/theme/components/progress.ts +37 -9
  109. package/src/theme/components/tag.ts +1 -1
  110. package/src/theme/components/typography.ts +1 -7
  111. package/src/theme/global/colors/global.ts +12 -3
  112. package/src/theme/global/colors/types.ts +5 -0
  113. package/src/theme/global/scale.ts +6 -2
  114. package/src/theme/global/typography.ts +23 -5
  115. package/types/components/Avatar/Avatar.d.ts +33 -0
  116. package/types/components/Avatar/AvatarStack/StyledAvatarStack.d.ts +17 -0
  117. package/types/components/Avatar/AvatarStack/index.d.ts +23 -0
  118. package/types/components/Avatar/AvatarStack/utils.d.ts +4 -0
  119. package/types/components/Avatar/StyledAvatar.d.ts +2 -12
  120. package/types/components/Avatar/index.d.ts +6 -25
  121. package/types/components/Icon/IconList.d.ts +1 -1
  122. package/types/components/Icon/index.d.ts +1 -1
  123. package/types/components/Icon/utils.d.ts +1 -1
  124. package/types/components/Progress/ProgressBar.d.ts +1 -1
  125. package/types/components/Progress/ProgressCircle.d.ts +4 -2
  126. package/types/components/Progress/StyledProgressBar.d.ts +2 -0
  127. package/types/components/Progress/StyledProgressCircle.d.ts +2 -0
  128. package/types/components/Progress/constants.d.ts +15 -0
  129. package/types/components/Progress/index.d.ts +1 -1
  130. package/types/components/Progress/types.d.ts +1 -1
  131. package/types/components/RichTextEditor/__mocks__/heroEditorApp.d.ts +2 -0
  132. package/types/components/RichTextEditor/heroEditorApp.d.ts +2 -0
  133. package/types/components/Select/MultiSelect/index.d.ts +4 -1
  134. package/types/components/Typography/Text/StyledText.d.ts +1 -0
  135. package/types/components/Typography/Text/index.d.ts +7 -1
  136. package/types/index.d.ts +2 -2
  137. package/types/theme/components/avatar.d.ts +4 -2
  138. package/types/theme/components/progress.d.ts +30 -9
  139. package/types/theme/components/typography.d.ts +1 -5
  140. package/types/theme/global/colors/types.d.ts +5 -0
  141. package/types/theme/global/index.d.ts +5 -0
  142. package/types/theme/global/scale.d.ts +4 -1
  143. package/types/theme/global/typography.d.ts +9 -2
  144. package/src/components/Icon/HeroIcon/fonts/hero-icons.ttf +0 -0
@@ -1,10 +1,9 @@
1
- import React, { forwardRef, useEffect } from 'react';
1
+ import React from 'react';
2
2
 
3
3
  import { act } from '@testing-library/react-native';
4
4
 
5
- import { View } from 'react-native';
6
5
  import { ThemeProvider } from '@emotion/react';
7
- import type { ComponentType, ReactElement } from 'react';
6
+ import type { ReactElement } from 'react';
8
7
  import type { RenderAPI } from '@testing-library/react-native';
9
8
  import * as Events from '../utils/events';
10
9
  import { emitter as EditorEventEmitter } from '../EditorEvent';
@@ -16,38 +15,50 @@ type OnMessageCallback = (event: {
16
15
  nativeEvent: { data: string };
17
16
  }) => void | undefined;
18
17
 
19
- interface MockWebViewProps {
20
- onMessage: OnMessageCallback;
21
- children: ReactElement;
22
- }
18
+ jest.mock('../heroEditorApp');
23
19
 
24
20
  let onMessageOfLatestRendering: OnMessageCallback;
25
21
 
26
22
  jest.mock('react-native-webview', () => {
27
- const MockWebView: ComponentType<{
28
- onMessage: OnMessageCallback;
29
- children: ReactElement;
30
- }> = forwardRef<View, MockWebViewProps>(
31
- ({ onMessage, ...restProps }, ref) => {
32
- useEffect(() => {
33
- onMessageOfLatestRendering = onMessage;
34
- });
35
- return <View ref={ref} testID="webview" {...restProps} />;
23
+ const react = jest.requireActual('react');
24
+
25
+ class WebView extends react.Component {
26
+ render() {
27
+ const { onMessage, ...restProps } = this.props;
28
+ onMessageOfLatestRendering = onMessage;
29
+ return react.createElement(
30
+ 'WebView',
31
+ {
32
+ testID: 'webview',
33
+ ...restProps,
34
+ },
35
+ this.props.children
36
+ );
36
37
  }
37
- );
38
+ }
39
+
40
+ return {
41
+ WebView,
42
+ default: WebView,
43
+ };
44
+ });
38
45
 
46
+ jest.mock('../utils/rnWebView', () => {
47
+ const WebView = jest.requireMock('react-native-webview');
48
+ const postMessageMock = jest.fn();
39
49
  return {
40
- WebView: MockWebView,
41
- default: MockWebView,
50
+ postMessage: (_element: ReactElement, message: string) => {
51
+ postMessageMock(message);
52
+ },
53
+ postMessageMock,
54
+ onMessageOfLatestRendering: WebView.onMessageOfLatestRendering,
42
55
  };
43
56
  });
44
57
 
45
- const postMessageMock = jest.fn();
46
- jest.mock('../utils/rnWebView', () => ({
47
- postMessage: (_element: ReactElement, message: string) => {
48
- postMessageMock(message);
49
- },
50
- }));
58
+ /* eslint-disable */
59
+ /// @ts-ignore
60
+ import { postMessageMock } from '../utils/rnWebView';
61
+ /* eslint-enable */
51
62
 
52
63
  describe('RichTextEditor', () => {
53
64
  it('should render correctly', () => {
@@ -101,12 +101,13 @@ exports[`RichTextEditor onMessage recevied event editor-layout should update hei
101
101
  themeFontSize="medium"
102
102
  themeFontWeight="regular"
103
103
  themeIntent="body"
104
+ themeTypeface="neutral"
104
105
  themeVariant="error"
105
106
  >
106
107
  Rich Text Editor
107
108
  </Text>
108
109
  </View>
109
- <View
110
+ <WebView
110
111
  accessible={true}
111
112
  focusable={true}
112
113
  height={480}
@@ -152,7 +153,7 @@ exports[`RichTextEditor onMessage recevied event editor-layout should update hei
152
153
  fontSize: 14
153
154
  }
154
155
  };
155
- [object Object]
156
+ mockHeroEditApp
156
157
  </script>
157
158
  </body>
158
159
  </html>
@@ -252,6 +253,7 @@ exports[`RichTextEditor onMessage recevied event editor-layout should update hei
252
253
  themeFontSize="medium"
253
254
  themeFontWeight="regular"
254
255
  themeIntent="body"
256
+ themeTypeface="neutral"
255
257
  >
256
258
  this is error
257
259
  </Text>
@@ -362,12 +364,13 @@ exports[`RichTextEditor should render correctly 1`] = `
362
364
  themeFontSize="medium"
363
365
  themeFontWeight="regular"
364
366
  themeIntent="body"
367
+ themeTypeface="neutral"
365
368
  themeVariant="error"
366
369
  >
367
370
  Rich Text Editor
368
371
  </Text>
369
372
  </View>
370
- <View
373
+ <WebView
371
374
  accessible={true}
372
375
  focusable={true}
373
376
  hideKeyboardAccessoryView={true}
@@ -412,7 +415,7 @@ exports[`RichTextEditor should render correctly 1`] = `
412
415
  fontSize: 14
413
416
  }
414
417
  };
415
- [object Object]
418
+ mockHeroEditApp
416
419
  </script>
417
420
  </body>
418
421
  </html>
@@ -512,6 +515,7 @@ exports[`RichTextEditor should render correctly 1`] = `
512
515
  themeFontSize="medium"
513
516
  themeFontWeight="regular"
514
517
  themeIntent="body"
518
+ themeTypeface="neutral"
515
519
  >
516
520
  this is error
517
521
  </Text>
@@ -0,0 +1,3 @@
1
+ import * as heroEditorApp from 'hero-editor/dist/app.js';
2
+
3
+ export default heroEditorApp;
@@ -70,6 +70,7 @@ exports[`SectionHeading allows to customise the icon 1`] = `
70
70
  themeFontSize="large"
71
71
  themeFontWeight="regular"
72
72
  themeIntent="primary"
73
+ themeTypeface="neutral"
73
74
  >
74
75
  test demo
75
76
  </Text>
@@ -148,6 +149,7 @@ exports[`SectionHeading render icon correctly 1`] = `
148
149
  themeFontSize="large"
149
150
  themeFontWeight="regular"
150
151
  themeIntent="body"
152
+ themeTypeface="neutral"
151
153
  >
152
154
  test demo
153
155
  </Text>
@@ -211,6 +213,7 @@ exports[`SectionHeading render right children correctly 1`] = `
211
213
  themeFontSize="large"
212
214
  themeFontWeight="regular"
213
215
  themeIntent="body"
216
+ themeTypeface="neutral"
214
217
  >
215
218
  test demo
216
219
  </Text>
@@ -277,6 +280,7 @@ exports[`SectionHeading renders correctly 1`] = `
277
280
  themeFontSize="large"
278
281
  themeFontWeight="regular"
279
282
  themeIntent="body"
283
+ themeTypeface="neutral"
280
284
  >
281
285
  test demo
282
286
  </Text>
@@ -51,6 +51,7 @@ exports[`Option renders correctly 1`] = `
51
51
  themeFontSize="large"
52
52
  themeFontWeight="regular"
53
53
  themeIntent="body"
54
+ themeTypeface="neutral"
54
55
  >
55
56
  testOption
56
57
  </Text>
@@ -124,6 +124,7 @@ exports[`OptionList render isLoading correctly 1`] = `
124
124
  themeFontSize="large"
125
125
  themeFontWeight="regular"
126
126
  themeIntent="body"
127
+ themeTypeface="neutral"
127
128
  >
128
129
  A
129
130
  </Text>
@@ -228,6 +229,7 @@ exports[`OptionList render isLoading correctly 1`] = `
228
229
  themeFontSize="large"
229
230
  themeFontWeight="regular"
230
231
  themeIntent="body"
232
+ themeTypeface="neutral"
231
233
  >
232
234
  A1
233
235
  </Text>
@@ -367,6 +369,7 @@ exports[`OptionList render isLoading correctly 1`] = `
367
369
  themeFontSize="large"
368
370
  themeFontWeight="regular"
369
371
  themeIntent="body"
372
+ themeTypeface="neutral"
370
373
  >
371
374
  B
372
375
  </Text>
@@ -471,6 +474,7 @@ exports[`OptionList render isLoading correctly 1`] = `
471
474
  themeFontSize="large"
472
475
  themeFontWeight="regular"
473
476
  themeIntent="body"
477
+ themeTypeface="neutral"
474
478
  >
475
479
  B1
476
480
  </Text>
@@ -582,6 +586,7 @@ exports[`OptionList render isLoading correctly 1`] = `
582
586
  themeFontSize="large"
583
587
  themeFontWeight="regular"
584
588
  themeIntent="body"
589
+ themeTypeface="neutral"
585
590
  >
586
591
  B2
587
592
  </Text>
@@ -912,6 +917,7 @@ exports[`OptionList renders correctly 1`] = `
912
917
  themeFontSize="large"
913
918
  themeFontWeight="regular"
914
919
  themeIntent="body"
920
+ themeTypeface="neutral"
915
921
  >
916
922
  A
917
923
  </Text>
@@ -1016,6 +1022,7 @@ exports[`OptionList renders correctly 1`] = `
1016
1022
  themeFontSize="large"
1017
1023
  themeFontWeight="regular"
1018
1024
  themeIntent="body"
1025
+ themeTypeface="neutral"
1019
1026
  >
1020
1027
  A1
1021
1028
  </Text>
@@ -1155,6 +1162,7 @@ exports[`OptionList renders correctly 1`] = `
1155
1162
  themeFontSize="large"
1156
1163
  themeFontWeight="regular"
1157
1164
  themeIntent="body"
1165
+ themeTypeface="neutral"
1158
1166
  >
1159
1167
  B
1160
1168
  </Text>
@@ -1259,6 +1267,7 @@ exports[`OptionList renders correctly 1`] = `
1259
1267
  themeFontSize="large"
1260
1268
  themeFontWeight="regular"
1261
1269
  themeIntent="body"
1270
+ themeTypeface="neutral"
1262
1271
  >
1263
1272
  B1
1264
1273
  </Text>
@@ -1370,6 +1379,7 @@ exports[`OptionList renders correctly 1`] = `
1370
1379
  themeFontSize="large"
1371
1380
  themeFontWeight="regular"
1372
1381
  themeIntent="body"
1382
+ themeTypeface="neutral"
1373
1383
  >
1374
1384
  B2
1375
1385
  </Text>
@@ -1540,6 +1550,7 @@ exports[`OptionList trigger onPress correctly on changing selection 1`] = `
1540
1550
  themeFontSize="large"
1541
1551
  themeFontWeight="regular"
1542
1552
  themeIntent="body"
1553
+ themeTypeface="neutral"
1543
1554
  >
1544
1555
  A
1545
1556
  </Text>
@@ -1644,6 +1655,7 @@ exports[`OptionList trigger onPress correctly on changing selection 1`] = `
1644
1655
  themeFontSize="large"
1645
1656
  themeFontWeight="regular"
1646
1657
  themeIntent="body"
1658
+ themeTypeface="neutral"
1647
1659
  >
1648
1660
  A1
1649
1661
  </Text>
@@ -1783,6 +1795,7 @@ exports[`OptionList trigger onPress correctly on changing selection 1`] = `
1783
1795
  themeFontSize="large"
1784
1796
  themeFontWeight="regular"
1785
1797
  themeIntent="body"
1798
+ themeTypeface="neutral"
1786
1799
  >
1787
1800
  B
1788
1801
  </Text>
@@ -1887,6 +1900,7 @@ exports[`OptionList trigger onPress correctly on changing selection 1`] = `
1887
1900
  themeFontSize="large"
1888
1901
  themeFontWeight="regular"
1889
1902
  themeIntent="body"
1903
+ themeTypeface="neutral"
1890
1904
  >
1891
1905
  B1
1892
1906
  </Text>
@@ -2023,6 +2037,7 @@ exports[`OptionList trigger onPress correctly on changing selection 1`] = `
2023
2037
  themeFontSize="large"
2024
2038
  themeFontWeight="regular"
2025
2039
  themeIntent="body"
2040
+ themeTypeface="neutral"
2026
2041
  >
2027
2042
  B2
2028
2043
  </Text>
@@ -2193,6 +2208,7 @@ exports[`OptionList trigger onPress correctly on select additional value 1`] = `
2193
2208
  themeFontSize="large"
2194
2209
  themeFontWeight="regular"
2195
2210
  themeIntent="body"
2211
+ themeTypeface="neutral"
2196
2212
  >
2197
2213
  A
2198
2214
  </Text>
@@ -2297,6 +2313,7 @@ exports[`OptionList trigger onPress correctly on select additional value 1`] = `
2297
2313
  themeFontSize="large"
2298
2314
  themeFontWeight="regular"
2299
2315
  themeIntent="body"
2316
+ themeTypeface="neutral"
2300
2317
  >
2301
2318
  A1
2302
2319
  </Text>
@@ -2436,6 +2453,7 @@ exports[`OptionList trigger onPress correctly on select additional value 1`] = `
2436
2453
  themeFontSize="large"
2437
2454
  themeFontWeight="regular"
2438
2455
  themeIntent="body"
2456
+ themeTypeface="neutral"
2439
2457
  >
2440
2458
  B
2441
2459
  </Text>
@@ -2540,6 +2558,7 @@ exports[`OptionList trigger onPress correctly on select additional value 1`] = `
2540
2558
  themeFontSize="large"
2541
2559
  themeFontWeight="regular"
2542
2560
  themeIntent="body"
2561
+ themeTypeface="neutral"
2543
2562
  >
2544
2563
  B1
2545
2564
  </Text>
@@ -2651,6 +2670,7 @@ exports[`OptionList trigger onPress correctly on select additional value 1`] = `
2651
2670
  themeFontSize="large"
2652
2671
  themeFontWeight="regular"
2653
2672
  themeIntent="body"
2673
+ themeTypeface="neutral"
2654
2674
  >
2655
2675
  B2
2656
2676
  </Text>