@hero-design/rn 8.43.1 → 8.44.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 (133) hide show
  1. package/.turbo/turbo-build.log +1 -1
  2. package/CHANGELOG.md +10 -0
  3. package/assets/fonts/hero-icons-mobile.ttf +0 -0
  4. package/es/index.js +366 -359
  5. package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
  6. package/lib/index.js +366 -359
  7. package/package.json +1 -1
  8. package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +564 -452
  9. package/src/components/Accordion/__tests__/__snapshots__/StyledAccordion.spec.tsx.snap +76 -20
  10. package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +790 -706
  11. package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +848 -652
  12. package/src/components/Attachment/__tests__/__snapshots__/index.spec.tsx.snap +170 -142
  13. package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/StyledAvatarStack.spec.tsx.snap +138 -82
  14. package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/index.spec.tsx.snap +745 -689
  15. package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +157 -73
  16. package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +273 -189
  17. package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +391 -223
  18. package/src/components/Badge/__tests__/__snapshots__/Status.spec.tsx.snap +119 -63
  19. package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +306 -278
  20. package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +317 -233
  21. package/src/components/Box/__tests__/__snapshots__/index.spec.tsx.snap +1042 -454
  22. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/StyledLoadingIndicator.spec.tsx.snap +400 -120
  23. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +1090 -810
  24. package/src/components/Button/UtilityButton/__tests__/__snapshots__/index.spec.tsx.snap +196 -140
  25. package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +1666 -1218
  26. package/src/components/Button/__tests__/__snapshots__/IconButton.spec.tsx.snap +70 -42
  27. package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +1623 -727
  28. package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +555 -415
  29. package/src/components/Card/DataCard/__tests__/__snapshots__/StyledDataCard.spec.tsx.snap +265 -69
  30. package/src/components/Card/DataCard/__tests__/__snapshots__/index.spec.tsx.snap +205 -65
  31. package/src/components/Card/__tests__/__snapshots__/StyledCard.spec.tsx.snap +36 -8
  32. package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +292 -124
  33. package/src/components/Carousel/__tests__/__snapshots__/CardCarousel.spec.tsx.snap +486 -430
  34. package/src/components/Carousel/__tests__/__snapshots__/StyledCardCarousel.spec.tsx.snap +196 -84
  35. package/src/components/Carousel/__tests__/__snapshots__/StyledCarousel.spec.tsx.snap +41 -13
  36. package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +1720 -1636
  37. package/src/components/Carousel/__tests__/index.spec.tsx +7 -6
  38. package/src/components/Checkbox/__tests__/__snapshots__/StyledCheckbox.spec.tsx.snap +400 -176
  39. package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +574 -406
  40. package/src/components/Chip/__tests__/__snapshots__/index.spec.tsx.snap +1170 -834
  41. package/src/components/Collapse/__tests__/__snapshots__/StyledCollapse.spec.tsx.snap +73 -17
  42. package/src/components/Collapse/__tests__/__snapshots__/index.spec.tsx.snap +94 -38
  43. package/src/components/ContentNavigator/__tests__/__snapshots__/StyledContentNavigator.spec.tsx.snap +37 -9
  44. package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +421 -337
  45. package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.spec.tsx.snap +586 -502
  46. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +200 -172
  47. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerCalendar.spec.tsx.snap +192 -164
  48. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +471 -443
  49. package/src/components/Divider/__tests__/__snapshots__/StyledDivider.spec.tsx.snap +464 -128
  50. package/src/components/Drawer/DragableDrawer/__tests__/__snapshots__/index.spec.tsx.snap +97 -69
  51. package/src/components/Drawer/__tests__/__snapshots__/index.spec.tsx.snap +327 -243
  52. package/src/components/Empty/__tests__/__snapshots__/index.spec.tsx.snap +169 -113
  53. package/src/components/Error/__tests__/__snapshots__/index.spec.tsx.snap +323 -213
  54. package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +845 -789
  55. package/src/components/FAB/__tests__/__snapshots__/AnimatedFABIcon.spec.tsx.snap +98 -42
  56. package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +197 -113
  57. package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +290 -206
  58. package/src/components/HeroDesignProvider/__tests__/__snapshots__/index.spec.tsx.snap +45 -17
  59. package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
  60. package/src/components/Icon/IconList.ts +2 -0
  61. package/src/components/Icon/__tests__/__snapshots__/index.spec.tsx.snap +158 -46
  62. package/src/components/Image/__tests__/__snapshots__/index.spec.tsx.snap +164 -52
  63. package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +242 -186
  64. package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +761 -649
  65. package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +268 -156
  66. package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +473 -221
  67. package/src/components/Modal/__tests__/__snapshots__/index.spec.tsx.snap +60 -8
  68. package/src/components/PageControl/__tests__/__snapshots__/index.spec.tsx.snap +83 -55
  69. package/src/components/PinInput/__tests__/StyledPinInput.spec.tsx +9 -4
  70. package/src/components/PinInput/__tests__/__snapshots__/PinCell.spec.tsx.snap +293 -153
  71. package/src/components/PinInput/__tests__/__snapshots__/StyledPinInput.spec.tsx.snap +15 -48
  72. package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +809 -697
  73. package/src/components/Portal/__tests__/PortalHost.spec.tsx +12 -14
  74. package/src/components/Portal/__tests__/__snapshots__/index.spec.tsx.snap +43 -15
  75. package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +743 -603
  76. package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +188 -132
  77. package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +256 -228
  78. package/src/components/Rate/__tests__/__snapshots__/index.spec.tsx.snap +864 -780
  79. package/src/components/RefreshControl/__tests__/__snapshots__/index.spec.tsx.snap +128 -44
  80. package/src/components/RichTextEditor/__tests__/EditorToolbar.spec.tsx +5 -2
  81. package/src/components/RichTextEditor/__tests__/RichTextEditor.spec.tsx +3 -3
  82. package/src/components/RichTextEditor/__tests__/__snapshots__/EditorToolbar.spec.tsx.snap +406 -378
  83. package/src/components/RichTextEditor/__tests__/__snapshots__/MentionList.spec.tsx.snap +64 -36
  84. package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +371 -315
  85. package/src/components/SectionHeading/__tests__/__snapshots__/StyledHeading.spec.tsx.snap +158 -46
  86. package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +394 -226
  87. package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +93 -65
  88. package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +2402 -2290
  89. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +180 -24
  90. package/src/components/Select/MultiSelect/__tests__/index.spec.tsx +7 -6
  91. package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +73 -45
  92. package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +2309 -2197
  93. package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +150 -20
  94. package/src/components/Skeleton/__tests__/__snapshots__/index.spec.tsx.snap +490 -294
  95. package/src/components/Slider/__tests__/__snapshots__/index.spec.tsx.snap +117 -33
  96. package/src/components/Spinner/__tests__/__snapshots__/AnimatedSpinner.spec.tsx.snap +105 -77
  97. package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +1308 -636
  98. package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +121 -93
  99. package/src/components/Success/__tests__/__snapshots__/index.spec.tsx.snap +323 -213
  100. package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +210 -126
  101. package/src/components/Swipeable/__tests__/__snapshots__/index.spec.tsx.snap +58 -30
  102. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/Option.spec.tsx.snap +226 -114
  103. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +145 -117
  104. package/src/components/Switch/__tests__/__snapshots__/StyledSwitch.spec.tsx.snap +202 -62
  105. package/src/components/Switch/__tests__/__snapshots__/index.spec.tsx.snap +132 -76
  106. package/src/components/Tabs/__tests__/SceneView.spec.tsx +7 -7
  107. package/src/components/Tabs/__tests__/__snapshots__/SceneView.spec.tsx.snap +206 -94
  108. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +2214 -2130
  109. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +523 -495
  110. package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +121 -65
  111. package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +1637 -1553
  112. package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +554 -274
  113. package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +1542 -646
  114. package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +3177 -2701
  115. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +390 -334
  116. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +662 -606
  117. package/src/components/Toast/__tests__/__snapshots__/Toast.spec.tsx.snap +871 -675
  118. package/src/components/Toast/__tests__/__snapshots__/ToastContainer.spec.tsx.snap +180 -68
  119. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +582 -498
  120. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +683 -459
  121. package/src/components/Typography/Body/__tests__/__snapshots__/StyledBody.tsx.snap +704 -256
  122. package/src/components/Typography/Body/__tests__/__snapshots__/index.spec.tsx.snap +855 -323
  123. package/src/components/Typography/Caption/__tests__/__snapshots__/StyledCaption.spec.tsx.snap +430 -150
  124. package/src/components/Typography/Caption/__tests__/__snapshots__/index.spec.tsx.snap +572 -208
  125. package/src/components/Typography/Label/__tests__/__snapshots__/StyledLabel.tsx.snap +328 -104
  126. package/src/components/Typography/Label/__tests__/__snapshots__/index.spec.tsx.snap +462 -154
  127. package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +900 -340
  128. package/src/components/Typography/Title/__tests__/__snapshots__/StyledTitle.tsx.snap +880 -320
  129. package/src/components/Typography/Title/__tests__/__snapshots__/index.spec.tsx.snap +1035 -391
  130. package/src/testHelpers/renderWithTheme.tsx +2 -2
  131. package/types/components/Icon/IconList.d.ts +1 -1
  132. package/types/components/Icon/index.d.ts +1 -1
  133. package/types/components/Icon/utils.d.ts +1 -1
@@ -3,416 +3,500 @@
3
3
  exports[`rendering renders correctly 1`] = `
4
4
  <View
5
5
  style={
6
- [
7
- {
8
- "flex": 1,
9
- "flexDirection": "row",
10
- "justifyContent": "space-between",
11
- },
12
- undefined,
13
- ]
6
+ {
7
+ "flex": 1,
8
+ }
14
9
  }
15
10
  >
16
11
  <View
17
- accessibilityState={
18
- {
19
- "busy": undefined,
20
- "checked": undefined,
21
- "disabled": false,
22
- "expanded": undefined,
23
- "selected": undefined,
24
- }
25
- }
26
- accessibilityValue={
27
- {
28
- "max": undefined,
29
- "min": undefined,
30
- "now": undefined,
31
- "text": undefined,
32
- }
33
- }
34
- accessible={true}
35
- collapsable={false}
36
- focusable={true}
37
- onClick={[Function]}
38
- onResponderGrant={[Function]}
39
- onResponderMove={[Function]}
40
- onResponderRelease={[Function]}
41
- onResponderTerminate={[Function]}
42
- onResponderTerminationRequest={[Function]}
43
- onStartShouldSetResponder={[Function]}
44
- style={
45
- {
46
- "opacity": 1,
47
- }
48
- }
49
- testID="previous-icon-button"
50
- >
51
- <HeroIcon
52
- name="arrow-left"
53
- style={
54
- [
55
- {
56
- "color": "#001f23",
57
- "fontSize": 24,
58
- },
59
- undefined,
60
- ]
61
- }
62
- themeIntent="text"
63
- themeSize="medium"
64
- />
65
- </View>
66
- <Text
67
- allowFontScaling={false}
68
12
  style={
69
13
  [
70
14
  {
71
- "color": "#001f23",
72
- "fontFamily": "BeVietnamPro-SemiBold",
73
- "fontSize": 14,
74
- "letterSpacing": 0.24,
75
- "lineHeight": 22,
76
- },
77
- {
78
- "paddingHorizontal": 8,
15
+ "flex": 1,
16
+ "flexDirection": "row",
17
+ "justifyContent": "space-between",
79
18
  },
19
+ undefined,
80
20
  ]
81
21
  }
82
- testID="content-navigator-value"
83
- themeIntent="body"
84
- themeTypeface="neutral"
85
- themeVariant="small-bold"
86
22
  >
87
- 20
88
- </Text>
89
- <View
90
- accessibilityState={
91
- {
92
- "busy": undefined,
93
- "checked": undefined,
94
- "disabled": false,
95
- "expanded": undefined,
96
- "selected": undefined,
23
+ <View
24
+ accessibilityState={
25
+ {
26
+ "busy": undefined,
27
+ "checked": undefined,
28
+ "disabled": false,
29
+ "expanded": undefined,
30
+ "selected": undefined,
31
+ }
97
32
  }
98
- }
99
- accessibilityValue={
100
- {
101
- "max": undefined,
102
- "min": undefined,
103
- "now": undefined,
104
- "text": undefined,
33
+ accessibilityValue={
34
+ {
35
+ "max": undefined,
36
+ "min": undefined,
37
+ "now": undefined,
38
+ "text": undefined,
39
+ }
105
40
  }
106
- }
107
- accessible={true}
108
- collapsable={false}
109
- focusable={true}
110
- onClick={[Function]}
111
- onResponderGrant={[Function]}
112
- onResponderMove={[Function]}
113
- onResponderRelease={[Function]}
114
- onResponderTerminate={[Function]}
115
- onResponderTerminationRequest={[Function]}
116
- onStartShouldSetResponder={[Function]}
117
- style={
118
- {
119
- "opacity": 1,
41
+ accessible={true}
42
+ collapsable={false}
43
+ focusable={true}
44
+ onClick={[Function]}
45
+ onResponderGrant={[Function]}
46
+ onResponderMove={[Function]}
47
+ onResponderRelease={[Function]}
48
+ onResponderTerminate={[Function]}
49
+ onResponderTerminationRequest={[Function]}
50
+ onStartShouldSetResponder={[Function]}
51
+ style={
52
+ {
53
+ "opacity": 1,
54
+ }
120
55
  }
121
- }
122
- testID="next-icon-button"
123
- >
124
- <HeroIcon
125
- name="arrow-right"
56
+ testID="previous-icon-button"
57
+ >
58
+ <HeroIcon
59
+ name="arrow-left"
60
+ style={
61
+ [
62
+ {
63
+ "color": "#001f23",
64
+ "fontSize": 24,
65
+ },
66
+ undefined,
67
+ ]
68
+ }
69
+ themeIntent="text"
70
+ themeSize="medium"
71
+ />
72
+ </View>
73
+ <Text
74
+ allowFontScaling={false}
126
75
  style={
127
76
  [
128
77
  {
129
78
  "color": "#001f23",
130
- "fontSize": 24,
79
+ "fontFamily": "BeVietnamPro-SemiBold",
80
+ "fontSize": 14,
81
+ "letterSpacing": 0.24,
82
+ "lineHeight": 22,
83
+ },
84
+ {
85
+ "paddingHorizontal": 8,
131
86
  },
132
- undefined,
133
87
  ]
134
88
  }
135
- themeIntent="text"
136
- themeSize="medium"
137
- />
89
+ testID="content-navigator-value"
90
+ themeIntent="body"
91
+ themeTypeface="neutral"
92
+ themeVariant="small-bold"
93
+ >
94
+ 20
95
+ </Text>
96
+ <View
97
+ accessibilityState={
98
+ {
99
+ "busy": undefined,
100
+ "checked": undefined,
101
+ "disabled": false,
102
+ "expanded": undefined,
103
+ "selected": undefined,
104
+ }
105
+ }
106
+ accessibilityValue={
107
+ {
108
+ "max": undefined,
109
+ "min": undefined,
110
+ "now": undefined,
111
+ "text": undefined,
112
+ }
113
+ }
114
+ accessible={true}
115
+ collapsable={false}
116
+ focusable={true}
117
+ onClick={[Function]}
118
+ onResponderGrant={[Function]}
119
+ onResponderMove={[Function]}
120
+ onResponderRelease={[Function]}
121
+ onResponderTerminate={[Function]}
122
+ onResponderTerminationRequest={[Function]}
123
+ onStartShouldSetResponder={[Function]}
124
+ style={
125
+ {
126
+ "opacity": 1,
127
+ }
128
+ }
129
+ testID="next-icon-button"
130
+ >
131
+ <HeroIcon
132
+ name="arrow-right"
133
+ style={
134
+ [
135
+ {
136
+ "color": "#001f23",
137
+ "fontSize": 24,
138
+ },
139
+ undefined,
140
+ ]
141
+ }
142
+ themeIntent="text"
143
+ themeSize="medium"
144
+ />
145
+ </View>
138
146
  </View>
147
+ <View
148
+ pointerEvents="box-none"
149
+ position="bottom"
150
+ style={
151
+ [
152
+ {
153
+ "bottom": 0,
154
+ "elevation": 9999,
155
+ "flexDirection": "column-reverse",
156
+ "left": 0,
157
+ "paddingHorizontal": 24,
158
+ "paddingVertical": 16,
159
+ "position": "absolute",
160
+ "right": 0,
161
+ "top": 0,
162
+ },
163
+ undefined,
164
+ ]
165
+ }
166
+ />
139
167
  </View>
140
168
  `;
141
169
 
142
170
  exports[`rendering renders correctly when icon buttons are disabled 1`] = `
143
171
  <View
144
172
  style={
145
- [
146
- {
147
- "flex": 1,
148
- "flexDirection": "row",
149
- "justifyContent": "space-between",
150
- },
151
- undefined,
152
- ]
173
+ {
174
+ "flex": 1,
175
+ }
153
176
  }
154
177
  >
155
178
  <View
156
- accessibilityState={
157
- {
158
- "busy": undefined,
159
- "checked": undefined,
160
- "disabled": true,
161
- "expanded": undefined,
162
- "selected": undefined,
163
- }
164
- }
165
- accessibilityValue={
166
- {
167
- "max": undefined,
168
- "min": undefined,
169
- "now": undefined,
170
- "text": undefined,
171
- }
172
- }
173
- accessible={true}
174
- collapsable={false}
175
- focusable={true}
176
- onClick={[Function]}
177
- onResponderGrant={[Function]}
178
- onResponderMove={[Function]}
179
- onResponderRelease={[Function]}
180
- onResponderTerminate={[Function]}
181
- onResponderTerminationRequest={[Function]}
182
- onStartShouldSetResponder={[Function]}
183
- style={
184
- {
185
- "opacity": 1,
186
- }
187
- }
188
- testID="previous-icon-button"
189
- >
190
- <HeroIcon
191
- name="arrow-left"
192
- style={
193
- [
194
- {
195
- "color": "#bfc1c5",
196
- "fontSize": 24,
197
- },
198
- undefined,
199
- ]
200
- }
201
- themeIntent="disabled-text"
202
- themeSize="medium"
203
- />
204
- </View>
205
- <Text
206
- allowFontScaling={false}
207
179
  style={
208
180
  [
209
181
  {
210
- "color": "#001f23",
211
- "fontFamily": "BeVietnamPro-SemiBold",
212
- "fontSize": 14,
213
- "letterSpacing": 0.24,
214
- "lineHeight": 22,
215
- },
216
- {
217
- "paddingHorizontal": 8,
182
+ "flex": 1,
183
+ "flexDirection": "row",
184
+ "justifyContent": "space-between",
218
185
  },
186
+ undefined,
219
187
  ]
220
188
  }
221
- testID="content-navigator-value"
222
- themeIntent="body"
223
- themeTypeface="neutral"
224
- themeVariant="small-bold"
225
189
  >
226
- 20
227
- </Text>
228
- <View
229
- accessibilityState={
230
- {
231
- "busy": undefined,
232
- "checked": undefined,
233
- "disabled": true,
234
- "expanded": undefined,
235
- "selected": undefined,
190
+ <View
191
+ accessibilityState={
192
+ {
193
+ "busy": undefined,
194
+ "checked": undefined,
195
+ "disabled": true,
196
+ "expanded": undefined,
197
+ "selected": undefined,
198
+ }
236
199
  }
237
- }
238
- accessibilityValue={
239
- {
240
- "max": undefined,
241
- "min": undefined,
242
- "now": undefined,
243
- "text": undefined,
200
+ accessibilityValue={
201
+ {
202
+ "max": undefined,
203
+ "min": undefined,
204
+ "now": undefined,
205
+ "text": undefined,
206
+ }
244
207
  }
245
- }
246
- accessible={true}
247
- collapsable={false}
248
- focusable={true}
249
- onClick={[Function]}
250
- onResponderGrant={[Function]}
251
- onResponderMove={[Function]}
252
- onResponderRelease={[Function]}
253
- onResponderTerminate={[Function]}
254
- onResponderTerminationRequest={[Function]}
255
- onStartShouldSetResponder={[Function]}
256
- style={
257
- {
258
- "opacity": 1,
208
+ accessible={true}
209
+ collapsable={false}
210
+ focusable={true}
211
+ onClick={[Function]}
212
+ onResponderGrant={[Function]}
213
+ onResponderMove={[Function]}
214
+ onResponderRelease={[Function]}
215
+ onResponderTerminate={[Function]}
216
+ onResponderTerminationRequest={[Function]}
217
+ onStartShouldSetResponder={[Function]}
218
+ style={
219
+ {
220
+ "opacity": 1,
221
+ }
259
222
  }
260
- }
261
- testID="next-icon-button"
262
- >
263
- <HeroIcon
264
- name="arrow-right"
223
+ testID="previous-icon-button"
224
+ >
225
+ <HeroIcon
226
+ name="arrow-left"
227
+ style={
228
+ [
229
+ {
230
+ "color": "#bfc1c5",
231
+ "fontSize": 24,
232
+ },
233
+ undefined,
234
+ ]
235
+ }
236
+ themeIntent="disabled-text"
237
+ themeSize="medium"
238
+ />
239
+ </View>
240
+ <Text
241
+ allowFontScaling={false}
265
242
  style={
266
243
  [
267
244
  {
268
- "color": "#bfc1c5",
269
- "fontSize": 24,
245
+ "color": "#001f23",
246
+ "fontFamily": "BeVietnamPro-SemiBold",
247
+ "fontSize": 14,
248
+ "letterSpacing": 0.24,
249
+ "lineHeight": 22,
250
+ },
251
+ {
252
+ "paddingHorizontal": 8,
270
253
  },
271
- undefined,
272
254
  ]
273
255
  }
274
- themeIntent="disabled-text"
275
- themeSize="medium"
276
- />
256
+ testID="content-navigator-value"
257
+ themeIntent="body"
258
+ themeTypeface="neutral"
259
+ themeVariant="small-bold"
260
+ >
261
+ 20
262
+ </Text>
263
+ <View
264
+ accessibilityState={
265
+ {
266
+ "busy": undefined,
267
+ "checked": undefined,
268
+ "disabled": true,
269
+ "expanded": undefined,
270
+ "selected": undefined,
271
+ }
272
+ }
273
+ accessibilityValue={
274
+ {
275
+ "max": undefined,
276
+ "min": undefined,
277
+ "now": undefined,
278
+ "text": undefined,
279
+ }
280
+ }
281
+ accessible={true}
282
+ collapsable={false}
283
+ focusable={true}
284
+ onClick={[Function]}
285
+ onResponderGrant={[Function]}
286
+ onResponderMove={[Function]}
287
+ onResponderRelease={[Function]}
288
+ onResponderTerminate={[Function]}
289
+ onResponderTerminationRequest={[Function]}
290
+ onStartShouldSetResponder={[Function]}
291
+ style={
292
+ {
293
+ "opacity": 1,
294
+ }
295
+ }
296
+ testID="next-icon-button"
297
+ >
298
+ <HeroIcon
299
+ name="arrow-right"
300
+ style={
301
+ [
302
+ {
303
+ "color": "#bfc1c5",
304
+ "fontSize": 24,
305
+ },
306
+ undefined,
307
+ ]
308
+ }
309
+ themeIntent="disabled-text"
310
+ themeSize="medium"
311
+ />
312
+ </View>
277
313
  </View>
314
+ <View
315
+ pointerEvents="box-none"
316
+ position="bottom"
317
+ style={
318
+ [
319
+ {
320
+ "bottom": 0,
321
+ "elevation": 9999,
322
+ "flexDirection": "column-reverse",
323
+ "left": 0,
324
+ "paddingHorizontal": 24,
325
+ "paddingVertical": 16,
326
+ "position": "absolute",
327
+ "right": 0,
328
+ "top": 0,
329
+ },
330
+ undefined,
331
+ ]
332
+ }
333
+ />
278
334
  </View>
279
335
  `;
280
336
 
281
337
  exports[`rendering renders correctly with large 1`] = `
282
338
  <View
283
339
  style={
284
- [
285
- {
286
- "flex": 1,
287
- "flexDirection": "row",
288
- "justifyContent": "space-between",
289
- },
290
- undefined,
291
- ]
340
+ {
341
+ "flex": 1,
342
+ }
292
343
  }
293
344
  >
294
345
  <View
295
- accessibilityState={
296
- {
297
- "busy": undefined,
298
- "checked": undefined,
299
- "disabled": false,
300
- "expanded": undefined,
301
- "selected": undefined,
302
- }
303
- }
304
- accessibilityValue={
305
- {
306
- "max": undefined,
307
- "min": undefined,
308
- "now": undefined,
309
- "text": undefined,
310
- }
311
- }
312
- accessible={true}
313
- collapsable={false}
314
- focusable={true}
315
- onClick={[Function]}
316
- onResponderGrant={[Function]}
317
- onResponderMove={[Function]}
318
- onResponderRelease={[Function]}
319
- onResponderTerminate={[Function]}
320
- onResponderTerminationRequest={[Function]}
321
- onStartShouldSetResponder={[Function]}
322
- style={
323
- {
324
- "opacity": 1,
325
- }
326
- }
327
- testID="previous-icon-button"
328
- >
329
- <HeroIcon
330
- name="arrow-left"
331
- style={
332
- [
333
- {
334
- "color": "#001f23",
335
- "fontSize": 24,
336
- },
337
- undefined,
338
- ]
339
- }
340
- themeIntent="text"
341
- themeSize="medium"
342
- />
343
- </View>
344
- <Text
345
- allowFontScaling={false}
346
346
  style={
347
347
  [
348
348
  {
349
- "color": "#001f23",
350
- "fontFamily": "BeVietnamPro-SemiBold",
351
- "fontSize": 18,
352
- "letterSpacing": 0.24,
353
- "lineHeight": 28,
354
- },
355
- {
356
- "paddingHorizontal": 8,
349
+ "flex": 1,
350
+ "flexDirection": "row",
351
+ "justifyContent": "space-between",
357
352
  },
353
+ undefined,
358
354
  ]
359
355
  }
360
- testID="content-navigator-value"
361
- themeIntent="body"
362
- themeLevel="h5"
363
- themeTypeface="neutral"
364
356
  >
365
- 20
366
- </Text>
367
- <View
368
- accessibilityState={
369
- {
370
- "busy": undefined,
371
- "checked": undefined,
372
- "disabled": false,
373
- "expanded": undefined,
374
- "selected": undefined,
357
+ <View
358
+ accessibilityState={
359
+ {
360
+ "busy": undefined,
361
+ "checked": undefined,
362
+ "disabled": false,
363
+ "expanded": undefined,
364
+ "selected": undefined,
365
+ }
375
366
  }
376
- }
377
- accessibilityValue={
378
- {
379
- "max": undefined,
380
- "min": undefined,
381
- "now": undefined,
382
- "text": undefined,
367
+ accessibilityValue={
368
+ {
369
+ "max": undefined,
370
+ "min": undefined,
371
+ "now": undefined,
372
+ "text": undefined,
373
+ }
383
374
  }
384
- }
385
- accessible={true}
386
- collapsable={false}
387
- focusable={true}
388
- onClick={[Function]}
389
- onResponderGrant={[Function]}
390
- onResponderMove={[Function]}
391
- onResponderRelease={[Function]}
392
- onResponderTerminate={[Function]}
393
- onResponderTerminationRequest={[Function]}
394
- onStartShouldSetResponder={[Function]}
395
- style={
396
- {
397
- "opacity": 1,
375
+ accessible={true}
376
+ collapsable={false}
377
+ focusable={true}
378
+ onClick={[Function]}
379
+ onResponderGrant={[Function]}
380
+ onResponderMove={[Function]}
381
+ onResponderRelease={[Function]}
382
+ onResponderTerminate={[Function]}
383
+ onResponderTerminationRequest={[Function]}
384
+ onStartShouldSetResponder={[Function]}
385
+ style={
386
+ {
387
+ "opacity": 1,
388
+ }
398
389
  }
399
- }
400
- testID="next-icon-button"
401
- >
402
- <HeroIcon
403
- name="arrow-right"
390
+ testID="previous-icon-button"
391
+ >
392
+ <HeroIcon
393
+ name="arrow-left"
394
+ style={
395
+ [
396
+ {
397
+ "color": "#001f23",
398
+ "fontSize": 24,
399
+ },
400
+ undefined,
401
+ ]
402
+ }
403
+ themeIntent="text"
404
+ themeSize="medium"
405
+ />
406
+ </View>
407
+ <Text
408
+ allowFontScaling={false}
404
409
  style={
405
410
  [
406
411
  {
407
412
  "color": "#001f23",
408
- "fontSize": 24,
413
+ "fontFamily": "BeVietnamPro-SemiBold",
414
+ "fontSize": 18,
415
+ "letterSpacing": 0.24,
416
+ "lineHeight": 28,
417
+ },
418
+ {
419
+ "paddingHorizontal": 8,
409
420
  },
410
- undefined,
411
421
  ]
412
422
  }
413
- themeIntent="text"
414
- themeSize="medium"
415
- />
423
+ testID="content-navigator-value"
424
+ themeIntent="body"
425
+ themeLevel="h5"
426
+ themeTypeface="neutral"
427
+ >
428
+ 20
429
+ </Text>
430
+ <View
431
+ accessibilityState={
432
+ {
433
+ "busy": undefined,
434
+ "checked": undefined,
435
+ "disabled": false,
436
+ "expanded": undefined,
437
+ "selected": undefined,
438
+ }
439
+ }
440
+ accessibilityValue={
441
+ {
442
+ "max": undefined,
443
+ "min": undefined,
444
+ "now": undefined,
445
+ "text": undefined,
446
+ }
447
+ }
448
+ accessible={true}
449
+ collapsable={false}
450
+ focusable={true}
451
+ onClick={[Function]}
452
+ onResponderGrant={[Function]}
453
+ onResponderMove={[Function]}
454
+ onResponderRelease={[Function]}
455
+ onResponderTerminate={[Function]}
456
+ onResponderTerminationRequest={[Function]}
457
+ onStartShouldSetResponder={[Function]}
458
+ style={
459
+ {
460
+ "opacity": 1,
461
+ }
462
+ }
463
+ testID="next-icon-button"
464
+ >
465
+ <HeroIcon
466
+ name="arrow-right"
467
+ style={
468
+ [
469
+ {
470
+ "color": "#001f23",
471
+ "fontSize": 24,
472
+ },
473
+ undefined,
474
+ ]
475
+ }
476
+ themeIntent="text"
477
+ themeSize="medium"
478
+ />
479
+ </View>
416
480
  </View>
481
+ <View
482
+ pointerEvents="box-none"
483
+ position="bottom"
484
+ style={
485
+ [
486
+ {
487
+ "bottom": 0,
488
+ "elevation": 9999,
489
+ "flexDirection": "column-reverse",
490
+ "left": 0,
491
+ "paddingHorizontal": 24,
492
+ "paddingVertical": 16,
493
+ "position": "absolute",
494
+ "right": 0,
495
+ "top": 0,
496
+ },
497
+ undefined,
498
+ ]
499
+ }
500
+ />
417
501
  </View>
418
502
  `;