@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
@@ -2,64 +2,57 @@
2
2
 
3
3
  exports[`TimePickerIOS renders correct with hide suffix 1`] = `
4
4
  <View
5
- accessibilityState={
6
- {
7
- "busy": undefined,
8
- "checked": undefined,
9
- "disabled": false,
10
- "expanded": undefined,
11
- "selected": undefined,
12
- }
13
- }
14
- accessibilityValue={
15
- {
16
- "max": undefined,
17
- "min": undefined,
18
- "now": undefined,
19
- "text": undefined,
20
- }
21
- }
22
- accessible={true}
23
- collapsable={false}
24
- focusable={true}
25
- onClick={[Function]}
26
- onResponderGrant={[Function]}
27
- onResponderMove={[Function]}
28
- onResponderRelease={[Function]}
29
- onResponderTerminate={[Function]}
30
- onResponderTerminationRequest={[Function]}
31
- onStartShouldSetResponder={[Function]}
32
5
  style={
33
6
  {
34
- "opacity": 1,
7
+ "flex": 1,
35
8
  }
36
9
  }
37
10
  >
38
11
  <View
39
- pointerEvents="none"
40
- testID="timePickerInputIOS"
12
+ accessibilityState={
13
+ {
14
+ "busy": undefined,
15
+ "checked": undefined,
16
+ "disabled": false,
17
+ "expanded": undefined,
18
+ "selected": undefined,
19
+ }
20
+ }
21
+ accessibilityValue={
22
+ {
23
+ "max": undefined,
24
+ "min": undefined,
25
+ "now": undefined,
26
+ "text": undefined,
27
+ }
28
+ }
29
+ accessible={true}
30
+ collapsable={false}
31
+ focusable={true}
32
+ onClick={[Function]}
33
+ onResponderGrant={[Function]}
34
+ onResponderMove={[Function]}
35
+ onResponderRelease={[Function]}
36
+ onResponderTerminate={[Function]}
37
+ onResponderTerminationRequest={[Function]}
38
+ onStartShouldSetResponder={[Function]}
39
+ style={
40
+ {
41
+ "opacity": 1,
42
+ }
43
+ }
41
44
  >
42
45
  <View
43
- pointerEvents="auto"
44
- style={
45
- [
46
- {
47
- "marginTop": 8,
48
- "width": "100%",
49
- },
50
- undefined,
51
- ]
52
- }
46
+ pointerEvents="none"
47
+ testID="timePickerInputIOS"
53
48
  >
54
49
  <View
50
+ pointerEvents="auto"
55
51
  style={
56
52
  [
57
53
  {
58
- "alignItems": "center",
59
- "backgroundColor": "#ffffff",
60
- "borderRadius": 8,
61
- "flexDirection": "row",
62
- "padding": 16,
54
+ "marginTop": 8,
55
+ "width": "100%",
63
56
  },
64
57
  undefined,
65
58
  ]
@@ -69,237 +62,265 @@ exports[`TimePickerIOS renders correct with hide suffix 1`] = `
69
62
  style={
70
63
  [
71
64
  {
72
- "borderColor": "#001f23",
73
- "borderRadius": 8,
74
- "borderWidth": 1,
75
- "bottom": 0,
76
- "left": 0,
77
- "position": "absolute",
78
- "right": 0,
79
- "top": 0,
80
- },
81
- [
82
- {
83
- "backgroundColor": "#ffffff",
84
- },
85
- undefined,
86
- ],
87
- ]
88
- }
89
- testID="text-input-border"
90
- themeFocused={false}
91
- themeState="filled"
92
- />
93
- <View
94
- pointerEvents="none"
95
- style={
96
- [
97
- {
65
+ "alignItems": "center",
98
66
  "backgroundColor": "#ffffff",
67
+ "borderRadius": 8,
99
68
  "flexDirection": "row",
100
- "left": 16,
101
- "paddingHorizontal": 4,
102
- "position": "absolute",
103
- "top": -4,
104
- "zIndex": 1,
105
- },
106
- {
107
- "backgroundColor": "#ffffff",
69
+ "padding": 16,
108
70
  },
71
+ undefined,
109
72
  ]
110
73
  }
111
- testID="label-container"
112
74
  >
113
- <Text
114
- allowFontScaling={false}
75
+ <View
115
76
  style={
116
77
  [
117
78
  {
118
- "color": "#001f23",
119
- "fontFamily": "BeVietnamPro-Regular",
120
- "fontSize": 12,
121
- "letterSpacing": 0.48,
122
- "lineHeight": 16,
79
+ "borderColor": "#001f23",
80
+ "borderRadius": 8,
81
+ "borderWidth": 1,
82
+ "bottom": 0,
83
+ "left": 0,
84
+ "position": "absolute",
85
+ "right": 0,
86
+ "top": 0,
123
87
  },
124
88
  [
125
- {
126
- "color": "#001f23",
127
- "lineHeight": 12,
128
- },
129
89
  {
130
90
  "backgroundColor": "#ffffff",
131
91
  },
92
+ undefined,
132
93
  ],
133
94
  ]
134
95
  }
135
- testID="input-label"
136
- themeFontWeight="regular"
137
- themeIntent="body"
96
+ testID="text-input-border"
97
+ themeFocused={false}
138
98
  themeState="filled"
99
+ />
100
+ <View
101
+ pointerEvents="none"
102
+ style={
103
+ [
104
+ {
105
+ "backgroundColor": "#ffffff",
106
+ "flexDirection": "row",
107
+ "left": 16,
108
+ "paddingHorizontal": 4,
109
+ "position": "absolute",
110
+ "top": -4,
111
+ "zIndex": 1,
112
+ },
113
+ {
114
+ "backgroundColor": "#ffffff",
115
+ },
116
+ ]
117
+ }
118
+ testID="label-container"
139
119
  >
140
- Break time
141
- </Text>
142
- </View>
143
- <View
144
- style={
145
- [
146
- {
147
- "alignItems": "center",
148
- "alignSelf": "stretch",
149
- "flexDirection": "row",
150
- "flexGrow": 2,
151
- "flexShrink": 1,
152
- },
153
- undefined,
154
- ]
155
- }
156
- >
157
- <TextInput
158
- accessibilityState={
159
- {
160
- "disabled": false,
120
+ <Text
121
+ allowFontScaling={false}
122
+ style={
123
+ [
124
+ {
125
+ "color": "#001f23",
126
+ "fontFamily": "BeVietnamPro-Regular",
127
+ "fontSize": 12,
128
+ "letterSpacing": 0.48,
129
+ "lineHeight": 16,
130
+ },
131
+ [
132
+ {
133
+ "color": "#001f23",
134
+ "lineHeight": 12,
135
+ },
136
+ {
137
+ "backgroundColor": "#ffffff",
138
+ },
139
+ ],
140
+ ]
161
141
  }
162
- }
163
- allowFontScaling={false}
164
- editable={true}
165
- onBlur={[Function]}
166
- onChangeText={[Function]}
167
- onFocus={[Function]}
168
- placeholder=" "
142
+ testID="input-label"
143
+ themeFontWeight="regular"
144
+ themeIntent="body"
145
+ themeState="filled"
146
+ >
147
+ Break time
148
+ </Text>
149
+ </View>
150
+ <View
169
151
  style={
170
152
  [
171
153
  {
154
+ "alignItems": "center",
172
155
  "alignSelf": "stretch",
156
+ "flexDirection": "row",
173
157
  "flexGrow": 2,
174
- "fontFamily": "BeVietnamPro-Regular",
175
- "fontSize": 16,
176
- "height": undefined,
177
- "marginHorizontal": 8,
178
- "maxHeight": 144,
179
- "paddingVertical": 0,
180
- "textAlignVertical": "center",
181
- },
182
- {
183
- "backgroundColor": "#ffffff",
184
- "color": "#001f23",
158
+ "flexShrink": 1,
185
159
  },
160
+ undefined,
186
161
  ]
187
162
  }
188
- testID="text-input"
189
- themeVariant="text"
190
- value="03:24 AM"
191
- />
163
+ >
164
+ <TextInput
165
+ accessibilityState={
166
+ {
167
+ "disabled": false,
168
+ }
169
+ }
170
+ allowFontScaling={false}
171
+ editable={true}
172
+ onBlur={[Function]}
173
+ onChangeText={[Function]}
174
+ onFocus={[Function]}
175
+ placeholder=" "
176
+ style={
177
+ [
178
+ {
179
+ "alignSelf": "stretch",
180
+ "flexGrow": 2,
181
+ "fontFamily": "BeVietnamPro-Regular",
182
+ "fontSize": 16,
183
+ "height": undefined,
184
+ "marginHorizontal": 8,
185
+ "maxHeight": 144,
186
+ "paddingVertical": 0,
187
+ "textAlignVertical": "center",
188
+ },
189
+ {
190
+ "backgroundColor": "#ffffff",
191
+ "color": "#001f23",
192
+ },
193
+ ]
194
+ }
195
+ testID="text-input"
196
+ themeVariant="text"
197
+ value="03:24 AM"
198
+ />
199
+ </View>
192
200
  </View>
193
- </View>
194
- <View
195
- style={
196
- [
197
- {
198
- "minHeight": 16,
199
- "paddingLeft": 16,
200
- "paddingTop": 2,
201
- },
202
- undefined,
203
- ]
204
- }
205
- >
206
201
  <View
207
202
  style={
208
203
  [
209
204
  {
210
- "flexDirection": "row",
211
- "justifyContent": "space-between",
205
+ "minHeight": 16,
206
+ "paddingLeft": 16,
207
+ "paddingTop": 2,
212
208
  },
213
209
  undefined,
214
210
  ]
215
211
  }
216
212
  >
217
- <Text
218
- allowFontScaling={false}
213
+ <View
219
214
  style={
220
215
  [
221
216
  {
222
- "color": "#001f23",
223
- "fontFamily": "BeVietnamPro-Regular",
224
- "fontSize": 12,
225
- "letterSpacing": 0.48,
226
- "lineHeight": 16,
217
+ "flexDirection": "row",
218
+ "justifyContent": "space-between",
227
219
  },
228
220
  undefined,
229
221
  ]
230
222
  }
231
- themeFontWeight="regular"
232
- themeIntent="body"
233
223
  >
234
- This is help text
235
- </Text>
224
+ <Text
225
+ allowFontScaling={false}
226
+ style={
227
+ [
228
+ {
229
+ "color": "#001f23",
230
+ "fontFamily": "BeVietnamPro-Regular",
231
+ "fontSize": 12,
232
+ "letterSpacing": 0.48,
233
+ "lineHeight": 16,
234
+ },
235
+ undefined,
236
+ ]
237
+ }
238
+ themeFontWeight="regular"
239
+ themeIntent="body"
240
+ >
241
+ This is help text
242
+ </Text>
243
+ </View>
236
244
  </View>
237
245
  </View>
238
246
  </View>
239
247
  </View>
248
+ <View
249
+ pointerEvents="box-none"
250
+ position="bottom"
251
+ style={
252
+ [
253
+ {
254
+ "bottom": 0,
255
+ "elevation": 9999,
256
+ "flexDirection": "column-reverse",
257
+ "left": 0,
258
+ "paddingHorizontal": 24,
259
+ "paddingVertical": 16,
260
+ "position": "absolute",
261
+ "right": 0,
262
+ "top": 0,
263
+ },
264
+ undefined,
265
+ ]
266
+ }
267
+ />
240
268
  </View>
241
269
  `;
242
270
 
243
271
  exports[`TimePickerIOS renders correctly 1`] = `
244
272
  <View
245
- accessibilityState={
246
- {
247
- "busy": undefined,
248
- "checked": undefined,
249
- "disabled": false,
250
- "expanded": undefined,
251
- "selected": undefined,
252
- }
253
- }
254
- accessibilityValue={
255
- {
256
- "max": undefined,
257
- "min": undefined,
258
- "now": undefined,
259
- "text": undefined,
260
- }
261
- }
262
- accessible={true}
263
- collapsable={false}
264
- focusable={true}
265
- onClick={[Function]}
266
- onResponderGrant={[Function]}
267
- onResponderMove={[Function]}
268
- onResponderRelease={[Function]}
269
- onResponderTerminate={[Function]}
270
- onResponderTerminationRequest={[Function]}
271
- onStartShouldSetResponder={[Function]}
272
273
  style={
273
274
  {
274
- "opacity": 1,
275
+ "flex": 1,
275
276
  }
276
277
  }
277
278
  >
278
279
  <View
279
- pointerEvents="none"
280
- testID="timePickerInputIOS"
280
+ accessibilityState={
281
+ {
282
+ "busy": undefined,
283
+ "checked": undefined,
284
+ "disabled": false,
285
+ "expanded": undefined,
286
+ "selected": undefined,
287
+ }
288
+ }
289
+ accessibilityValue={
290
+ {
291
+ "max": undefined,
292
+ "min": undefined,
293
+ "now": undefined,
294
+ "text": undefined,
295
+ }
296
+ }
297
+ accessible={true}
298
+ collapsable={false}
299
+ focusable={true}
300
+ onClick={[Function]}
301
+ onResponderGrant={[Function]}
302
+ onResponderMove={[Function]}
303
+ onResponderRelease={[Function]}
304
+ onResponderTerminate={[Function]}
305
+ onResponderTerminationRequest={[Function]}
306
+ onStartShouldSetResponder={[Function]}
307
+ style={
308
+ {
309
+ "opacity": 1,
310
+ }
311
+ }
281
312
  >
282
313
  <View
283
- pointerEvents="auto"
284
- style={
285
- [
286
- {
287
- "marginTop": 8,
288
- "width": "100%",
289
- },
290
- undefined,
291
- ]
292
- }
314
+ pointerEvents="none"
315
+ testID="timePickerInputIOS"
293
316
  >
294
317
  <View
318
+ pointerEvents="auto"
295
319
  style={
296
320
  [
297
321
  {
298
- "alignItems": "center",
299
- "backgroundColor": "#ffffff",
300
- "borderRadius": 8,
301
- "flexDirection": "row",
302
- "padding": 16,
322
+ "marginTop": 8,
323
+ "width": "100%",
303
324
  },
304
325
  undefined,
305
326
  ]
@@ -309,210 +330,215 @@ exports[`TimePickerIOS renders correctly 1`] = `
309
330
  style={
310
331
  [
311
332
  {
312
- "borderColor": "#001f23",
313
- "borderRadius": 8,
314
- "borderWidth": 1,
315
- "bottom": 0,
316
- "left": 0,
317
- "position": "absolute",
318
- "right": 0,
319
- "top": 0,
320
- },
321
- [
322
- {
323
- "backgroundColor": "#ffffff",
324
- },
325
- undefined,
326
- ],
327
- ]
328
- }
329
- testID="text-input-border"
330
- themeFocused={false}
331
- themeState="filled"
332
- />
333
- <View
334
- pointerEvents="none"
335
- style={
336
- [
337
- {
333
+ "alignItems": "center",
338
334
  "backgroundColor": "#ffffff",
335
+ "borderRadius": 8,
339
336
  "flexDirection": "row",
340
- "left": 16,
341
- "paddingHorizontal": 4,
342
- "position": "absolute",
343
- "top": -4,
344
- "zIndex": 1,
345
- },
346
- {
347
- "backgroundColor": "#ffffff",
337
+ "padding": 16,
348
338
  },
339
+ undefined,
349
340
  ]
350
341
  }
351
- testID="label-container"
352
342
  >
353
- <Text
354
- allowFontScaling={false}
343
+ <View
355
344
  style={
356
345
  [
357
346
  {
358
- "color": "#001f23",
359
- "fontFamily": "BeVietnamPro-Regular",
360
- "fontSize": 12,
361
- "letterSpacing": 0.48,
362
- "lineHeight": 16,
347
+ "borderColor": "#001f23",
348
+ "borderRadius": 8,
349
+ "borderWidth": 1,
350
+ "bottom": 0,
351
+ "left": 0,
352
+ "position": "absolute",
353
+ "right": 0,
354
+ "top": 0,
363
355
  },
364
356
  [
365
- {
366
- "color": "#001f23",
367
- "lineHeight": 12,
368
- },
369
357
  {
370
358
  "backgroundColor": "#ffffff",
371
359
  },
360
+ undefined,
372
361
  ],
373
362
  ]
374
363
  }
375
- testID="input-label"
376
- themeFontWeight="regular"
377
- themeIntent="body"
364
+ testID="text-input-border"
365
+ themeFocused={false}
378
366
  themeState="filled"
367
+ />
368
+ <View
369
+ pointerEvents="none"
370
+ style={
371
+ [
372
+ {
373
+ "backgroundColor": "#ffffff",
374
+ "flexDirection": "row",
375
+ "left": 16,
376
+ "paddingHorizontal": 4,
377
+ "position": "absolute",
378
+ "top": -4,
379
+ "zIndex": 1,
380
+ },
381
+ {
382
+ "backgroundColor": "#ffffff",
383
+ },
384
+ ]
385
+ }
386
+ testID="label-container"
379
387
  >
380
- Break time
381
- </Text>
382
- </View>
383
- <View
384
- style={
385
- [
386
- {
387
- "alignItems": "center",
388
- "alignSelf": "stretch",
389
- "flexDirection": "row",
390
- "flexGrow": 2,
391
- "flexShrink": 1,
392
- },
393
- undefined,
394
- ]
395
- }
396
- >
397
- <TextInput
398
- accessibilityState={
399
- {
400
- "disabled": false,
388
+ <Text
389
+ allowFontScaling={false}
390
+ style={
391
+ [
392
+ {
393
+ "color": "#001f23",
394
+ "fontFamily": "BeVietnamPro-Regular",
395
+ "fontSize": 12,
396
+ "letterSpacing": 0.48,
397
+ "lineHeight": 16,
398
+ },
399
+ [
400
+ {
401
+ "color": "#001f23",
402
+ "lineHeight": 12,
403
+ },
404
+ {
405
+ "backgroundColor": "#ffffff",
406
+ },
407
+ ],
408
+ ]
401
409
  }
402
- }
403
- allowFontScaling={false}
404
- editable={true}
405
- onBlur={[Function]}
406
- onChangeText={[Function]}
407
- onFocus={[Function]}
408
- placeholder=" "
410
+ testID="input-label"
411
+ themeFontWeight="regular"
412
+ themeIntent="body"
413
+ themeState="filled"
414
+ >
415
+ Break time
416
+ </Text>
417
+ </View>
418
+ <View
409
419
  style={
410
420
  [
411
421
  {
422
+ "alignItems": "center",
412
423
  "alignSelf": "stretch",
424
+ "flexDirection": "row",
413
425
  "flexGrow": 2,
414
- "fontFamily": "BeVietnamPro-Regular",
415
- "fontSize": 16,
416
- "height": undefined,
417
- "marginHorizontal": 8,
418
- "maxHeight": 144,
419
- "paddingVertical": 0,
420
- "textAlignVertical": "center",
426
+ "flexShrink": 1,
421
427
  },
428
+ undefined,
429
+ ]
430
+ }
431
+ >
432
+ <TextInput
433
+ accessibilityState={
434
+ {
435
+ "disabled": false,
436
+ }
437
+ }
438
+ allowFontScaling={false}
439
+ editable={true}
440
+ onBlur={[Function]}
441
+ onChangeText={[Function]}
442
+ onFocus={[Function]}
443
+ placeholder=" "
444
+ style={
445
+ [
446
+ {
447
+ "alignSelf": "stretch",
448
+ "flexGrow": 2,
449
+ "fontFamily": "BeVietnamPro-Regular",
450
+ "fontSize": 16,
451
+ "height": undefined,
452
+ "marginHorizontal": 8,
453
+ "maxHeight": 144,
454
+ "paddingVertical": 0,
455
+ "textAlignVertical": "center",
456
+ },
457
+ {
458
+ "backgroundColor": "#ffffff",
459
+ "color": "#001f23",
460
+ },
461
+ ]
462
+ }
463
+ testID="text-input"
464
+ themeVariant="text"
465
+ value="03:24 AM"
466
+ />
467
+ </View>
468
+ <HeroIcon
469
+ name="clock-3"
470
+ style={
471
+ [
422
472
  {
423
- "backgroundColor": "#ffffff",
424
473
  "color": "#001f23",
474
+ "fontSize": 24,
425
475
  },
476
+ undefined,
426
477
  ]
427
478
  }
428
- testID="text-input"
429
- themeVariant="text"
430
- value="03:24 AM"
479
+ testID="input-suffix"
480
+ themeIntent="text"
481
+ themeSize="medium"
431
482
  />
432
483
  </View>
433
- <HeroIcon
434
- name="clock-3"
435
- style={
436
- [
437
- {
438
- "color": "#001f23",
439
- "fontSize": 24,
440
- },
441
- undefined,
442
- ]
443
- }
444
- testID="input-suffix"
445
- themeIntent="text"
446
- themeSize="medium"
447
- />
448
- </View>
449
- <View
450
- style={
451
- [
452
- {
453
- "minHeight": 16,
454
- "paddingLeft": 16,
455
- "paddingTop": 2,
456
- },
457
- undefined,
458
- ]
459
- }
460
- >
461
484
  <View
462
485
  style={
463
486
  [
464
487
  {
465
- "flexDirection": "row",
466
- "justifyContent": "space-between",
488
+ "minHeight": 16,
489
+ "paddingLeft": 16,
490
+ "paddingTop": 2,
467
491
  },
468
492
  undefined,
469
493
  ]
470
494
  }
471
- />
495
+ >
496
+ <View
497
+ style={
498
+ [
499
+ {
500
+ "flexDirection": "row",
501
+ "justifyContent": "space-between",
502
+ },
503
+ undefined,
504
+ ]
505
+ }
506
+ />
507
+ </View>
472
508
  </View>
473
509
  </View>
474
- </View>
475
- <RCTModalHostView
476
- animationType="none"
477
- hardwareAccelerated={false}
478
- identifier={0}
479
- onDismiss={[Function]}
480
- onRequestClose={[Function]}
481
- onStartShouldSetResponder={[Function]}
482
- presentationStyle="overFullScreen"
483
- style={
484
- {
485
- "position": "absolute",
486
- }
487
- }
488
- transparent={true}
489
- visible={true}
490
- >
491
- <View
492
- collapsable={false}
510
+ <RCTModalHostView
511
+ animationType="none"
512
+ hardwareAccelerated={false}
513
+ identifier={0}
514
+ onDismiss={[Function]}
515
+ onRequestClose={[Function]}
516
+ onStartShouldSetResponder={[Function]}
517
+ presentationStyle="overFullScreen"
493
518
  style={
494
- [
495
- {
496
- "flex": 1,
497
- "left": 0,
498
- "top": 0,
499
- },
500
- {
501
- "backgroundColor": "transparent",
502
- },
503
- ]
519
+ {
520
+ "position": "absolute",
521
+ }
504
522
  }
523
+ transparent={true}
524
+ visible={true}
505
525
  >
506
526
  <View
507
- pointerEvents="box-none"
527
+ collapsable={false}
508
528
  style={
509
- {
510
- "flex": 1,
511
- }
529
+ [
530
+ {
531
+ "flex": 1,
532
+ "left": 0,
533
+ "top": 0,
534
+ },
535
+ {
536
+ "backgroundColor": "transparent",
537
+ },
538
+ ]
512
539
  }
513
540
  >
514
541
  <View
515
- collapsable={true}
516
542
  pointerEvents="box-none"
517
543
  style={
518
544
  {
@@ -521,337 +547,367 @@ exports[`TimePickerIOS renders correctly 1`] = `
521
547
  }
522
548
  >
523
549
  <View
550
+ collapsable={true}
524
551
  pointerEvents="box-none"
525
552
  style={
526
- [
527
- {
528
- "bottom": 0,
529
- "flexDirection": "column-reverse",
530
- "left": 0,
531
- "position": "absolute",
532
- "right": 0,
533
- "top": 0,
534
- },
535
- undefined,
536
- ]
553
+ {
554
+ "flex": 1,
555
+ }
537
556
  }
538
557
  >
539
558
  <View
540
- onLayout={[Function]}
559
+ pointerEvents="box-none"
541
560
  style={
542
561
  [
543
- [
544
- {
545
- "flex": 1,
546
- "flexDirection": "column-reverse",
547
- },
548
- undefined,
549
- ],
550
562
  {
551
- "paddingBottom": 0,
552
- },
553
- ]
554
- }
555
- >
556
- <View
557
- accessibilityState={
558
- {
559
- "busy": undefined,
560
- "checked": undefined,
561
- "disabled": undefined,
562
- "expanded": undefined,
563
- "selected": undefined,
564
- }
565
- }
566
- accessibilityValue={
567
- {
568
- "max": undefined,
569
- "min": undefined,
570
- "now": undefined,
571
- "text": undefined,
572
- }
573
- }
574
- accessible={true}
575
- collapsable={false}
576
- focusable={true}
577
- onBlur={[Function]}
578
- onClick={[Function]}
579
- onFocus={[Function]}
580
- onResponderGrant={[Function]}
581
- onResponderMove={[Function]}
582
- onResponderRelease={[Function]}
583
- onResponderTerminate={[Function]}
584
- onResponderTerminationRequest={[Function]}
585
- onStartShouldSetResponder={[Function]}
586
- style={
587
- {
588
- "backgroundColor": "#000000",
589
563
  "bottom": 0,
564
+ "flexDirection": "column-reverse",
590
565
  "left": 0,
591
- "opacity": 0.48,
592
566
  "position": "absolute",
593
567
  "right": 0,
594
568
  "top": 0,
595
- }
596
- }
597
- />
598
- <RCTSafeAreaView
599
- collapsable={false}
569
+ },
570
+ undefined,
571
+ ]
572
+ }
573
+ >
574
+ <View
575
+ onLayout={[Function]}
600
576
  style={
601
- {
602
- "backgroundColor": "#ffffff",
603
- "borderTopLeftRadius": 16,
604
- "borderTopRightRadius": 16,
605
- "elevation": 10,
606
- "maxHeight": "94%",
607
- "shadowColor": "#001f23",
608
- "shadowOffset": {
609
- "height": 3,
610
- "width": 0,
611
- },
612
- "shadowOpacity": 0.4,
613
- "shadowRadius": 16,
614
- "transform": [
615
- {
616
- "scaleY": 1,
617
- },
577
+ [
578
+ [
618
579
  {
619
- "translateY": 0,
580
+ "flex": 1,
581
+ "flexDirection": "column-reverse",
620
582
  },
583
+ undefined,
621
584
  ],
622
- "width": "100%",
623
- }
585
+ {
586
+ "paddingBottom": 0,
587
+ },
588
+ ]
624
589
  }
625
590
  >
626
591
  <View
592
+ accessibilityState={
593
+ {
594
+ "busy": undefined,
595
+ "checked": undefined,
596
+ "disabled": undefined,
597
+ "expanded": undefined,
598
+ "selected": undefined,
599
+ }
600
+ }
601
+ accessibilityValue={
602
+ {
603
+ "max": undefined,
604
+ "min": undefined,
605
+ "now": undefined,
606
+ "text": undefined,
607
+ }
608
+ }
609
+ accessible={true}
610
+ collapsable={false}
611
+ focusable={true}
612
+ onBlur={[Function]}
613
+ onClick={[Function]}
614
+ onFocus={[Function]}
615
+ onResponderGrant={[Function]}
616
+ onResponderMove={[Function]}
617
+ onResponderRelease={[Function]}
618
+ onResponderTerminate={[Function]}
619
+ onResponderTerminationRequest={[Function]}
620
+ onStartShouldSetResponder={[Function]}
627
621
  style={
628
- [
629
- {
630
- "flexDirection": "row",
631
- "paddingHorizontal": 16,
632
- "paddingVertical": 8,
622
+ {
623
+ "backgroundColor": "#000000",
624
+ "bottom": 0,
625
+ "left": 0,
626
+ "opacity": 0.48,
627
+ "position": "absolute",
628
+ "right": 0,
629
+ "top": 0,
630
+ }
631
+ }
632
+ />
633
+ <RCTSafeAreaView
634
+ collapsable={false}
635
+ style={
636
+ {
637
+ "backgroundColor": "#ffffff",
638
+ "borderTopLeftRadius": 16,
639
+ "borderTopRightRadius": 16,
640
+ "elevation": 10,
641
+ "maxHeight": "94%",
642
+ "shadowColor": "#001f23",
643
+ "shadowOffset": {
644
+ "height": 3,
645
+ "width": 0,
633
646
  },
634
- undefined,
635
- ]
647
+ "shadowOpacity": 0.4,
648
+ "shadowRadius": 16,
649
+ "transform": [
650
+ {
651
+ "scaleY": 1,
652
+ },
653
+ {
654
+ "translateY": 0,
655
+ },
656
+ ],
657
+ "width": "100%",
658
+ }
636
659
  }
637
660
  >
638
661
  <View
639
662
  style={
640
663
  [
641
664
  {
642
- "flex": 1,
643
- "justifyContent": "center",
665
+ "flexDirection": "row",
666
+ "paddingHorizontal": 16,
667
+ "paddingVertical": 8,
644
668
  },
645
669
  undefined,
646
670
  ]
647
671
  }
648
672
  >
649
- <Text
650
- allowFontScaling={false}
673
+ <View
651
674
  style={
652
675
  [
653
676
  {
654
- "color": "#001f23",
655
- "fontFamily": "BeVietnamPro-SemiBold",
656
- "fontSize": 16,
657
- "letterSpacing": 0.24,
658
- "lineHeight": 24,
677
+ "flex": 1,
678
+ "justifyContent": "center",
659
679
  },
660
680
  undefined,
661
681
  ]
662
682
  }
663
- themeIntent="body"
664
- themeTypeface="neutral"
665
- themeVariant="regular-bold"
666
683
  >
667
- Break time
668
- </Text>
669
- </View>
670
- <View
671
- style={
672
- [
673
- {
674
- "alignItems": "center",
675
- "height": 48,
676
- "justifyContent": "center",
677
- "marginLeft": 12,
678
- "width": 48,
679
- },
680
- undefined,
681
- ]
682
- }
683
- >
684
- <View
685
- accessibilityState={
686
- {
687
- "busy": undefined,
688
- "checked": undefined,
689
- "disabled": undefined,
690
- "expanded": undefined,
691
- "selected": undefined,
692
- }
693
- }
694
- accessibilityValue={
695
- {
696
- "max": undefined,
697
- "min": undefined,
698
- "now": undefined,
699
- "text": undefined,
700
- }
701
- }
702
- accessible={true}
703
- collapsable={false}
704
- focusable={true}
705
- onClick={[Function]}
706
- onResponderGrant={[Function]}
707
- onResponderMove={[Function]}
708
- onResponderRelease={[Function]}
709
- onResponderTerminate={[Function]}
710
- onResponderTerminationRequest={[Function]}
711
- onStartShouldSetResponder={[Function]}
712
- style={
713
- {
714
- "opacity": 1,
715
- }
716
- }
717
- testID="bottom-sheet-close-icon"
718
- >
719
- <HeroIcon
720
- name="cancel"
684
+ <Text
685
+ allowFontScaling={false}
721
686
  style={
722
687
  [
723
688
  {
724
689
  "color": "#001f23",
690
+ "fontFamily": "BeVietnamPro-SemiBold",
725
691
  "fontSize": 16,
692
+ "letterSpacing": 0.24,
693
+ "lineHeight": 24,
726
694
  },
727
695
  undefined,
728
696
  ]
729
697
  }
730
- themeIntent="text"
731
- themeSize="xsmall"
732
- />
698
+ themeIntent="body"
699
+ themeTypeface="neutral"
700
+ themeVariant="regular-bold"
701
+ >
702
+ Break time
703
+ </Text>
733
704
  </View>
734
- </View>
735
- </View>
736
- <View
737
- style={
738
- [
739
- {
740
- "height": 176,
741
- },
742
- undefined,
743
- ]
744
- }
745
- >
746
- <Picker
747
- display="spinner"
748
- mode="time"
749
- onChange={[Function]}
750
- style={
751
- {
752
- "flex": 1,
705
+ <View
706
+ style={
707
+ [
708
+ {
709
+ "alignItems": "center",
710
+ "height": 48,
711
+ "justifyContent": "center",
712
+ "marginLeft": 12,
713
+ "width": 48,
714
+ },
715
+ undefined,
716
+ ]
753
717
  }
754
- }
755
- testID="timePickerIOS"
756
- textColor="#001f23"
757
- value={1995-12-17T03:24:00.000Z}
758
- />
759
- </View>
760
- <View>
718
+ >
719
+ <View
720
+ accessibilityState={
721
+ {
722
+ "busy": undefined,
723
+ "checked": undefined,
724
+ "disabled": undefined,
725
+ "expanded": undefined,
726
+ "selected": undefined,
727
+ }
728
+ }
729
+ accessibilityValue={
730
+ {
731
+ "max": undefined,
732
+ "min": undefined,
733
+ "now": undefined,
734
+ "text": undefined,
735
+ }
736
+ }
737
+ accessible={true}
738
+ collapsable={false}
739
+ focusable={true}
740
+ onClick={[Function]}
741
+ onResponderGrant={[Function]}
742
+ onResponderMove={[Function]}
743
+ onResponderRelease={[Function]}
744
+ onResponderTerminate={[Function]}
745
+ onResponderTerminationRequest={[Function]}
746
+ onStartShouldSetResponder={[Function]}
747
+ style={
748
+ {
749
+ "opacity": 1,
750
+ }
751
+ }
752
+ testID="bottom-sheet-close-icon"
753
+ >
754
+ <HeroIcon
755
+ name="cancel"
756
+ style={
757
+ [
758
+ {
759
+ "color": "#001f23",
760
+ "fontSize": 16,
761
+ },
762
+ undefined,
763
+ ]
764
+ }
765
+ themeIntent="text"
766
+ themeSize="xsmall"
767
+ />
768
+ </View>
769
+ </View>
770
+ </View>
761
771
  <View
762
772
  style={
763
773
  [
764
774
  {
765
- "alignItems": "center",
766
- "flexDirection": "row",
767
- "justifyContent": "flex-end",
768
- "paddingHorizontal": 12,
769
- "paddingVertical": 2,
775
+ "height": 176,
770
776
  },
771
777
  undefined,
772
778
  ]
773
779
  }
774
780
  >
775
- <View
776
- accessibilityState={
777
- {
778
- "disabled": false,
779
- }
780
- }
781
- accessibilityValue={
781
+ <Picker
782
+ display="spinner"
783
+ mode="time"
784
+ onChange={[Function]}
785
+ style={
782
786
  {
783
- "max": undefined,
784
- "min": undefined,
785
- "now": undefined,
786
- "text": undefined,
787
+ "flex": 1,
787
788
  }
788
789
  }
789
- accessible={true}
790
- focusable={true}
791
- onClick={[Function]}
792
- onResponderGrant={[Function]}
793
- onResponderMove={[Function]}
794
- onResponderRelease={[Function]}
795
- onResponderTerminate={[Function]}
796
- onResponderTerminationRequest={[Function]}
797
- onStartShouldSetResponder={[Function]}
790
+ testID="timePickerIOS"
791
+ textColor="#001f23"
792
+ value={1995-12-17T03:24:00.000Z}
793
+ />
794
+ </View>
795
+ <View>
796
+ <View
798
797
  style={
799
798
  [
800
799
  {
801
800
  "alignItems": "center",
802
- "backgroundColor": "transparent",
803
- "borderRadius": 4,
804
- "borderWidth": 0,
805
801
  "flexDirection": "row",
806
- "height": 60,
807
- "justifyContent": "center",
808
- "padding": 12,
802
+ "justifyContent": "flex-end",
803
+ "paddingHorizontal": 12,
804
+ "paddingVertical": 2,
809
805
  },
810
806
  undefined,
811
807
  ]
812
808
  }
813
809
  >
814
- <Text
815
- allowFontScaling={false}
816
- disabled={false}
817
- ellipsizeMode="tail"
818
- numberOfLines={1}
810
+ <View
811
+ accessibilityState={
812
+ {
813
+ "disabled": false,
814
+ }
815
+ }
816
+ accessibilityValue={
817
+ {
818
+ "max": undefined,
819
+ "min": undefined,
820
+ "now": undefined,
821
+ "text": undefined,
822
+ }
823
+ }
824
+ accessible={true}
825
+ focusable={true}
826
+ onClick={[Function]}
827
+ onResponderGrant={[Function]}
828
+ onResponderMove={[Function]}
829
+ onResponderRelease={[Function]}
830
+ onResponderTerminate={[Function]}
831
+ onResponderTerminationRequest={[Function]}
832
+ onStartShouldSetResponder={[Function]}
819
833
  style={
820
834
  [
821
835
  {
822
- "color": "#001f23",
823
- "fontFamily": "BeVietnamPro-SemiBold",
824
- "fontSize": 16,
825
- "letterSpacing": 0.24,
826
- "lineHeight": 24,
836
+ "alignItems": "center",
837
+ "backgroundColor": "transparent",
838
+ "borderRadius": 4,
839
+ "borderWidth": 0,
840
+ "flexDirection": "row",
841
+ "height": 60,
842
+ "justifyContent": "center",
843
+ "padding": 12,
827
844
  },
828
- [
829
- {
830
- "color": "#401960",
831
- "flexShrink": 1,
832
- "lineHeight": 22,
833
- "textAlign": "center",
834
- },
835
- undefined,
836
- ],
845
+ undefined,
837
846
  ]
838
847
  }
839
- themeButtonVariant="text-primary"
840
- themeIntent="body"
841
- themeTypeface="neutral"
842
- themeVariant="regular-bold"
843
848
  >
844
- Confirm
845
- </Text>
849
+ <Text
850
+ allowFontScaling={false}
851
+ disabled={false}
852
+ ellipsizeMode="tail"
853
+ numberOfLines={1}
854
+ style={
855
+ [
856
+ {
857
+ "color": "#001f23",
858
+ "fontFamily": "BeVietnamPro-SemiBold",
859
+ "fontSize": 16,
860
+ "letterSpacing": 0.24,
861
+ "lineHeight": 24,
862
+ },
863
+ [
864
+ {
865
+ "color": "#401960",
866
+ "flexShrink": 1,
867
+ "lineHeight": 22,
868
+ "textAlign": "center",
869
+ },
870
+ undefined,
871
+ ],
872
+ ]
873
+ }
874
+ themeButtonVariant="text-primary"
875
+ themeIntent="body"
876
+ themeTypeface="neutral"
877
+ themeVariant="regular-bold"
878
+ >
879
+ Confirm
880
+ </Text>
881
+ </View>
846
882
  </View>
847
883
  </View>
848
- </View>
849
- </RCTSafeAreaView>
884
+ </RCTSafeAreaView>
885
+ </View>
850
886
  </View>
851
887
  </View>
852
888
  </View>
853
889
  </View>
854
- </View>
855
- </RCTModalHostView>
890
+ </RCTModalHostView>
891
+ </View>
892
+ <View
893
+ pointerEvents="box-none"
894
+ position="bottom"
895
+ style={
896
+ [
897
+ {
898
+ "bottom": 0,
899
+ "elevation": 9999,
900
+ "flexDirection": "column-reverse",
901
+ "left": 0,
902
+ "paddingHorizontal": 24,
903
+ "paddingVertical": 16,
904
+ "position": "absolute",
905
+ "right": 0,
906
+ "top": 0,
907
+ },
908
+ undefined,
909
+ ]
910
+ }
911
+ />
856
912
  </View>
857
913
  `;