@hero-design/rn 8.52.0 → 8.52.2-rc2.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.
- package/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +26 -0
- package/es/index.js +399 -709
- package/lib/index.js +397 -708
- package/package.json +7 -7
- package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +0 -4
- package/src/components/Accordion/__tests__/__snapshots__/StyledAccordion.spec.tsx.snap +0 -2
- package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +0 -3
- package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +0 -7
- package/src/components/Attachment/__tests__/__snapshots__/index.spec.tsx.snap +0 -1
- package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/StyledAvatarStack.spec.tsx.snap +0 -2
- package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/index.spec.tsx.snap +0 -2
- package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +0 -3
- package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +0 -3
- package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +0 -6
- package/src/components/Badge/__tests__/__snapshots__/Status.spec.tsx.snap +0 -2
- package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +32 -21
- package/src/components/BottomSheet/index.tsx +1 -1
- package/src/components/Box/__tests__/__snapshots__/index.spec.tsx.snap +0 -21
- package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/StyledLoadingIndicator.spec.tsx.snap +0 -10
- package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +0 -10
- package/src/components/Button/UtilityButton/__tests__/__snapshots__/index.spec.tsx.snap +0 -2
- package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +0 -16
- package/src/components/Button/__tests__/__snapshots__/IconButton.spec.tsx.snap +0 -1
- package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +0 -32
- package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +0 -5
- package/src/components/Card/DataCard/__tests__/__snapshots__/StyledDataCard.spec.tsx.snap +0 -7
- package/src/components/Card/DataCard/__tests__/__snapshots__/index.spec.tsx.snap +0 -5
- package/src/components/Card/__tests__/__snapshots__/StyledCard.spec.tsx.snap +0 -1
- package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +0 -6
- package/src/components/Carousel/CardCarousel.tsx +1 -5
- package/src/components/Carousel/StyledCardCarousel.tsx +1 -16
- package/src/components/Carousel/__tests__/__snapshots__/CardCarousel.spec.tsx.snap +92 -174
- package/src/components/Carousel/__tests__/__snapshots__/StyledCardCarousel.spec.tsx.snap +0 -4
- package/src/components/Carousel/__tests__/__snapshots__/StyledCarousel.spec.tsx.snap +0 -1
- package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +1 -803
- package/src/components/Carousel/__tests__/index.spec.tsx +37 -47
- package/src/components/Checkbox/__tests__/__snapshots__/StyledCheckbox.spec.tsx.snap +0 -8
- package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +0 -6
- package/src/components/Checkbox/index.tsx +1 -13
- package/src/components/Chip/__tests__/__snapshots__/index.spec.tsx.snap +0 -12
- package/src/components/Collapse/__tests__/__snapshots__/StyledCollapse.spec.tsx.snap +0 -2
- package/src/components/Collapse/__tests__/__snapshots__/index.spec.tsx.snap +0 -2
- package/src/components/ContentNavigator/__tests__/__snapshots__/StyledContentNavigator.spec.tsx.snap +0 -1
- package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +0 -3
- package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.spec.tsx.snap +0 -15
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +0 -1
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerCalendar.spec.tsx.snap +0 -1
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +309 -329
- package/src/components/Divider/__tests__/__snapshots__/StyledDivider.spec.tsx.snap +0 -12
- package/src/components/Drawer/DragableDrawer/__tests__/__snapshots__/index.spec.tsx.snap +0 -1
- package/src/components/Drawer/__tests__/__snapshots__/index.spec.tsx.snap +0 -3
- package/src/components/Empty/__tests__/__snapshots__/index.spec.tsx.snap +0 -2
- package/src/components/Error/__tests__/__snapshots__/index.spec.tsx.snap +0 -4
- package/src/components/Error/index.tsx +3 -20
- package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +0 -2
- package/src/components/FAB/ActionGroup/index.tsx +1 -14
- package/src/components/FAB/__tests__/__snapshots__/AnimatedFABIcon.spec.tsx.snap +0 -2
- package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +0 -3
- package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +0 -3
- package/src/components/HeroDesignProvider/__tests__/__snapshots__/index.spec.tsx.snap +0 -2
- package/src/components/Icon/__tests__/__snapshots__/index.spec.tsx.snap +0 -4
- package/src/components/Image/__tests__/__snapshots__/index.spec.tsx.snap +0 -4
- package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +0 -2
- package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +0 -4
- package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +0 -4
- package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +0 -9
- package/src/components/Modal/__tests__/__snapshots__/index.spec.tsx.snap +0 -2
- package/src/components/PageControl/__tests__/__snapshots__/index.spec.tsx.snap +0 -1
- package/src/components/PinInput/__tests__/__snapshots__/PinCell.spec.tsx.snap +0 -5
- package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +0 -4
- package/src/components/Portal/__tests__/__snapshots__/index.spec.tsx.snap +0 -1
- package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +0 -5
- package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +0 -2
- package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +0 -1
- package/src/components/Rate/__tests__/__snapshots__/index.spec.tsx.snap +0 -3
- package/src/components/RefreshControl/__tests__/__snapshots__/index.spec.tsx.snap +0 -3
- package/src/components/RichTextEditor/__tests__/__snapshots__/EditorToolbar.spec.tsx.snap +0 -1
- package/src/components/RichTextEditor/__tests__/__snapshots__/MentionList.spec.tsx.snap +0 -1
- package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +0 -2
- package/src/components/SectionHeading/__tests__/__snapshots__/StyledHeading.spec.tsx.snap +0 -4
- package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +0 -6
- package/src/components/SectionHeading/__tests__/index.spec.tsx +0 -1
- package/src/components/SectionHeading/index.tsx +32 -57
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +0 -1
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +0 -4
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +128 -42
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +0 -1
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +0 -4
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +96 -35
- package/src/components/Skeleton/__tests__/__snapshots__/index.spec.tsx.snap +0 -7
- package/src/components/Slider/__tests__/__snapshots__/index.spec.tsx.snap +0 -3
- package/src/components/Spinner/__tests__/__snapshots__/AnimatedSpinner.spec.tsx.snap +0 -1
- package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +0 -24
- package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +0 -1
- package/src/components/Success/__tests__/__snapshots__/index.spec.tsx.snap +0 -4
- package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +0 -3
- package/src/components/Swipeable/__tests__/__snapshots__/index.spec.tsx.snap +0 -1
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/Option.spec.tsx.snap +0 -4
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +0 -1
- package/src/components/Switch/__tests__/__snapshots__/StyledSwitch.spec.tsx.snap +0 -5
- package/src/components/Switch/__tests__/__snapshots__/index.spec.tsx.snap +0 -2
- package/src/components/Tabs/__tests__/SceneView.spec.tsx +1 -1
- package/src/components/Tabs/__tests__/__snapshots__/SceneView.spec.tsx.snap +0 -4
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +0 -3
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +0 -1
- package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +0 -2
- package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +0 -3
- package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +0 -10
- package/src/components/Tag/index.tsx +0 -12
- package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +0 -21
- package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +0 -17
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +0 -2
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +309 -330
- package/src/components/Toast/StyledToast.tsx +7 -9
- package/src/components/Toast/Toast.tsx +1 -4
- package/src/components/Toast/ToastContainer.tsx +2 -6
- package/src/components/Toast/ToastContext.ts +2 -5
- package/src/components/Toast/ToastProvider.tsx +2 -19
- package/src/components/Toast/__tests__/ToastContainer.spec.tsx +12 -15
- package/src/components/Toast/__tests__/__snapshots__/Toast.spec.tsx.snap +0 -7
- package/src/components/Toast/__tests__/__snapshots__/ToastContainer.spec.tsx.snap +6 -14
- package/src/components/Toast/types.ts +1 -5
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +0 -3
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +0 -8
- package/src/components/Typography/Body/__tests__/__snapshots__/StyledBody.tsx.snap +0 -16
- package/src/components/Typography/Body/__tests__/__snapshots__/index.spec.tsx.snap +0 -19
- package/src/components/Typography/Caption/__tests__/__snapshots__/StyledCaption.spec.tsx.snap +0 -10
- package/src/components/Typography/Caption/__tests__/__snapshots__/index.spec.tsx.snap +0 -13
- package/src/components/Typography/Label/__tests__/__snapshots__/StyledLabel.tsx.snap +0 -8
- package/src/components/Typography/Label/__tests__/__snapshots__/index.spec.tsx.snap +0 -11
- package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +0 -20
- package/src/components/Typography/Title/__tests__/__snapshots__/StyledTitle.tsx.snap +0 -20
- package/src/components/Typography/Title/__tests__/__snapshots__/index.spec.tsx.snap +0 -23
- package/src/index.ts +0 -2
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +0 -112
- package/src/theme/components/badge.ts +1 -28
- package/src/theme/components/button.ts +0 -24
- package/src/theme/components/cardCarousel.ts +1 -8
- package/src/theme/components/carousel.ts +1 -28
- package/src/theme/components/empty.ts +1 -23
- package/src/theme/components/error.ts +1 -32
- package/src/theme/components/fab.ts +2 -13
- package/src/theme/components/pinInput.ts +0 -32
- package/src/theme/components/success.ts +1 -23
- package/src/theme/components/tag.ts +1 -28
- package/src/theme/components/textInput.ts +0 -5
- package/src/theme/getTheme.ts +18 -21
- package/src/types.ts +0 -2
- package/types/components/Carousel/StyledCardCarousel.d.ts +1 -7
- package/types/components/Checkbox/index.d.ts +1 -6
- package/types/components/Error/index.d.ts +3 -9
- package/types/components/FAB/ActionGroup/index.d.ts +0 -5
- package/types/components/SectionHeading/index.d.ts +1 -11
- package/types/components/Tag/index.d.ts +1 -6
- package/types/components/Toast/StyledToast.d.ts +0 -2
- package/types/components/Toast/ToastContext.d.ts +2 -2
- package/types/components/Toast/ToastProvider.d.ts +1 -1
- package/types/components/Toast/index.d.ts +1 -1
- package/types/components/Toast/types.d.ts +1 -5
- package/types/index.d.ts +1 -2
- package/types/theme/components/badge.d.ts +0 -24
- package/types/theme/components/button.d.ts +0 -20
- package/types/theme/components/cardCarousel.d.ts +0 -10
- package/types/theme/components/carousel.d.ts +0 -24
- package/types/theme/components/empty.d.ts +0 -19
- package/types/theme/components/error.d.ts +0 -27
- package/types/theme/components/fab.d.ts +8 -19
- package/types/theme/components/pinInput.d.ts +0 -27
- package/types/theme/components/success.d.ts +0 -19
- package/types/theme/components/tag.d.ts +0 -24
- package/types/theme/components/textInput.d.ts +0 -5
- package/types/theme/getTheme.d.ts +18 -20
- package/types/types.d.ts +1 -2
- package/src/components/BottomNavigation/StyledBottomNavigation.tsx +0 -60
- package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +0 -413
- package/src/components/BottomNavigation/__tests__/index.spec.tsx +0 -97
- package/src/components/BottomNavigation/index.tsx +0 -166
- package/src/theme/components/bottomNavigation.ts +0 -27
- package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +0 -52
- package/types/components/BottomNavigation/index.d.ts +0 -45
- package/types/theme/components/bottomNavigation.d.ts +0 -23
|
@@ -257,391 +257,371 @@ exports[`DatePickerIOS renders correctly 1`] = `
|
|
|
257
257
|
</View>
|
|
258
258
|
</View>
|
|
259
259
|
</View>
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
260
|
+
</View>
|
|
261
|
+
<View
|
|
262
|
+
collapsable={false}
|
|
263
|
+
style={
|
|
264
|
+
{
|
|
265
|
+
"backgroundColor": "transparent",
|
|
266
|
+
"bottom": 0,
|
|
267
|
+
"left": 0,
|
|
268
|
+
"opacity": 0.4,
|
|
269
|
+
"position": "absolute",
|
|
270
|
+
"right": 0,
|
|
271
|
+
"top": 0,
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
/>
|
|
275
|
+
<View
|
|
276
|
+
collapsable={false}
|
|
277
|
+
style={
|
|
278
|
+
{
|
|
279
|
+
"bottom": 0,
|
|
280
|
+
"left": 0,
|
|
281
|
+
"opacity": 1,
|
|
282
|
+
"position": "absolute",
|
|
283
|
+
"right": 0,
|
|
284
|
+
"top": 0,
|
|
285
|
+
"transform": [
|
|
286
|
+
{
|
|
287
|
+
"translateY": 0,
|
|
288
|
+
},
|
|
289
|
+
],
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
>
|
|
293
|
+
<View
|
|
294
|
+
pointerEvents="box-none"
|
|
268
295
|
style={
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
296
|
+
[
|
|
297
|
+
{
|
|
298
|
+
"bottom": 0,
|
|
299
|
+
"flexDirection": "column-reverse",
|
|
300
|
+
"left": 0,
|
|
301
|
+
"position": "absolute",
|
|
302
|
+
"right": 0,
|
|
303
|
+
"top": 0,
|
|
304
|
+
},
|
|
305
|
+
undefined,
|
|
306
|
+
]
|
|
272
307
|
}
|
|
273
|
-
transparent={true}
|
|
274
|
-
visible={true}
|
|
275
308
|
>
|
|
276
309
|
<View
|
|
277
|
-
|
|
310
|
+
onLayout={[Function]}
|
|
278
311
|
style={
|
|
279
312
|
[
|
|
313
|
+
[
|
|
314
|
+
{
|
|
315
|
+
"flex": 1,
|
|
316
|
+
"flexDirection": "column-reverse",
|
|
317
|
+
},
|
|
318
|
+
undefined,
|
|
319
|
+
],
|
|
280
320
|
{
|
|
281
|
-
"
|
|
282
|
-
"left": 0,
|
|
283
|
-
"top": 0,
|
|
284
|
-
},
|
|
285
|
-
{
|
|
286
|
-
"backgroundColor": "transparent",
|
|
321
|
+
"paddingBottom": 0,
|
|
287
322
|
},
|
|
288
323
|
]
|
|
289
324
|
}
|
|
290
325
|
>
|
|
291
326
|
<View
|
|
292
|
-
|
|
327
|
+
accessibilityState={
|
|
328
|
+
{
|
|
329
|
+
"busy": undefined,
|
|
330
|
+
"checked": undefined,
|
|
331
|
+
"disabled": undefined,
|
|
332
|
+
"expanded": undefined,
|
|
333
|
+
"selected": undefined,
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
accessibilityValue={
|
|
337
|
+
{
|
|
338
|
+
"max": undefined,
|
|
339
|
+
"min": undefined,
|
|
340
|
+
"now": undefined,
|
|
341
|
+
"text": undefined,
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
accessible={true}
|
|
345
|
+
collapsable={false}
|
|
346
|
+
focusable={true}
|
|
347
|
+
onBlur={[Function]}
|
|
348
|
+
onClick={[Function]}
|
|
349
|
+
onFocus={[Function]}
|
|
350
|
+
onResponderGrant={[Function]}
|
|
351
|
+
onResponderMove={[Function]}
|
|
352
|
+
onResponderRelease={[Function]}
|
|
353
|
+
onResponderTerminate={[Function]}
|
|
354
|
+
onResponderTerminationRequest={[Function]}
|
|
355
|
+
onStartShouldSetResponder={[Function]}
|
|
293
356
|
style={
|
|
294
357
|
{
|
|
295
|
-
"
|
|
358
|
+
"backgroundColor": "#000000",
|
|
359
|
+
"bottom": 0,
|
|
360
|
+
"left": 0,
|
|
361
|
+
"opacity": 0.48,
|
|
362
|
+
"position": "absolute",
|
|
363
|
+
"right": 0,
|
|
364
|
+
"top": 0,
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
/>
|
|
368
|
+
<RCTSafeAreaView
|
|
369
|
+
collapsable={false}
|
|
370
|
+
style={
|
|
371
|
+
{
|
|
372
|
+
"backgroundColor": "#ffffff",
|
|
373
|
+
"borderTopLeftRadius": 16,
|
|
374
|
+
"borderTopRightRadius": 16,
|
|
375
|
+
"elevation": 10,
|
|
376
|
+
"maxHeight": "94%",
|
|
377
|
+
"shadowColor": "#001f23",
|
|
378
|
+
"shadowOffset": {
|
|
379
|
+
"height": 3,
|
|
380
|
+
"width": 0,
|
|
381
|
+
},
|
|
382
|
+
"shadowOpacity": 0.4,
|
|
383
|
+
"shadowRadius": 16,
|
|
384
|
+
"transform": [
|
|
385
|
+
{
|
|
386
|
+
"scaleY": 1,
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
"translateY": 0,
|
|
390
|
+
},
|
|
391
|
+
],
|
|
392
|
+
"width": "100%",
|
|
296
393
|
}
|
|
297
394
|
}
|
|
298
395
|
>
|
|
299
396
|
<View
|
|
300
|
-
collapsable={true}
|
|
301
|
-
pointerEvents="box-none"
|
|
302
397
|
style={
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
398
|
+
[
|
|
399
|
+
{
|
|
400
|
+
"flexDirection": "row",
|
|
401
|
+
"paddingHorizontal": 16,
|
|
402
|
+
"paddingVertical": 8,
|
|
403
|
+
},
|
|
404
|
+
undefined,
|
|
405
|
+
]
|
|
306
406
|
}
|
|
307
407
|
>
|
|
308
408
|
<View
|
|
309
|
-
pointerEvents="box-none"
|
|
310
409
|
style={
|
|
311
410
|
[
|
|
312
411
|
{
|
|
313
|
-
"
|
|
314
|
-
"
|
|
315
|
-
"left": 0,
|
|
316
|
-
"position": "absolute",
|
|
317
|
-
"right": 0,
|
|
318
|
-
"top": 0,
|
|
412
|
+
"flex": 1,
|
|
413
|
+
"justifyContent": "center",
|
|
319
414
|
},
|
|
320
415
|
undefined,
|
|
321
416
|
]
|
|
322
417
|
}
|
|
323
418
|
>
|
|
324
|
-
<
|
|
325
|
-
|
|
419
|
+
<Text
|
|
420
|
+
allowFontScaling={false}
|
|
326
421
|
style={
|
|
327
422
|
[
|
|
328
|
-
[
|
|
329
|
-
{
|
|
330
|
-
"flex": 1,
|
|
331
|
-
"flexDirection": "column-reverse",
|
|
332
|
-
},
|
|
333
|
-
undefined,
|
|
334
|
-
],
|
|
335
423
|
{
|
|
336
|
-
"
|
|
424
|
+
"color": "#001f23",
|
|
425
|
+
"fontFamily": "BeVietnamPro-SemiBold",
|
|
426
|
+
"fontSize": 16,
|
|
427
|
+
"letterSpacing": 0.24,
|
|
428
|
+
"lineHeight": 24,
|
|
337
429
|
},
|
|
430
|
+
undefined,
|
|
338
431
|
]
|
|
339
432
|
}
|
|
433
|
+
themeIntent="body"
|
|
434
|
+
themeTypeface="neutral"
|
|
435
|
+
themeVariant="regular-bold"
|
|
340
436
|
>
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
437
|
+
Start date
|
|
438
|
+
</Text>
|
|
439
|
+
</View>
|
|
440
|
+
<View
|
|
441
|
+
style={
|
|
442
|
+
[
|
|
443
|
+
{
|
|
444
|
+
"alignItems": "center",
|
|
445
|
+
"height": 48,
|
|
446
|
+
"justifyContent": "center",
|
|
447
|
+
"marginLeft": 12,
|
|
448
|
+
"width": 48,
|
|
449
|
+
},
|
|
450
|
+
undefined,
|
|
451
|
+
]
|
|
452
|
+
}
|
|
453
|
+
>
|
|
454
|
+
<View
|
|
455
|
+
accessibilityState={
|
|
456
|
+
{
|
|
457
|
+
"busy": undefined,
|
|
458
|
+
"checked": undefined,
|
|
459
|
+
"disabled": undefined,
|
|
460
|
+
"expanded": undefined,
|
|
461
|
+
"selected": undefined,
|
|
350
462
|
}
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
463
|
+
}
|
|
464
|
+
accessibilityValue={
|
|
465
|
+
{
|
|
466
|
+
"max": undefined,
|
|
467
|
+
"min": undefined,
|
|
468
|
+
"now": undefined,
|
|
469
|
+
"text": undefined,
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
accessible={true}
|
|
473
|
+
collapsable={false}
|
|
474
|
+
focusable={true}
|
|
475
|
+
onClick={[Function]}
|
|
476
|
+
onResponderGrant={[Function]}
|
|
477
|
+
onResponderMove={[Function]}
|
|
478
|
+
onResponderRelease={[Function]}
|
|
479
|
+
onResponderTerminate={[Function]}
|
|
480
|
+
onResponderTerminationRequest={[Function]}
|
|
481
|
+
onStartShouldSetResponder={[Function]}
|
|
482
|
+
style={
|
|
483
|
+
{
|
|
484
|
+
"opacity": 1,
|
|
358
485
|
}
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
onFocus={[Function]}
|
|
365
|
-
onResponderGrant={[Function]}
|
|
366
|
-
onResponderMove={[Function]}
|
|
367
|
-
onResponderRelease={[Function]}
|
|
368
|
-
onResponderTerminate={[Function]}
|
|
369
|
-
onResponderTerminationRequest={[Function]}
|
|
370
|
-
onStartShouldSetResponder={[Function]}
|
|
486
|
+
}
|
|
487
|
+
testID="bottom-sheet-close-icon"
|
|
488
|
+
>
|
|
489
|
+
<HeroIcon
|
|
490
|
+
name="cancel"
|
|
371
491
|
style={
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
"top": 0,
|
|
380
|
-
}
|
|
492
|
+
[
|
|
493
|
+
{
|
|
494
|
+
"color": "#001f23",
|
|
495
|
+
"fontSize": 16,
|
|
496
|
+
},
|
|
497
|
+
undefined,
|
|
498
|
+
]
|
|
381
499
|
}
|
|
500
|
+
themeIntent="text"
|
|
501
|
+
themeSize="xsmall"
|
|
382
502
|
/>
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
503
|
+
</View>
|
|
504
|
+
</View>
|
|
505
|
+
</View>
|
|
506
|
+
<View
|
|
507
|
+
style={
|
|
508
|
+
[
|
|
509
|
+
{
|
|
510
|
+
"height": 176,
|
|
511
|
+
},
|
|
512
|
+
undefined,
|
|
513
|
+
]
|
|
514
|
+
}
|
|
515
|
+
>
|
|
516
|
+
<Picker
|
|
517
|
+
display="spinner"
|
|
518
|
+
mode="date"
|
|
519
|
+
onChange={[Function]}
|
|
520
|
+
style={
|
|
521
|
+
{
|
|
522
|
+
"flex": 1,
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
testID="datePickerIOS"
|
|
526
|
+
textColor="#001f23"
|
|
527
|
+
value={1995-12-21T00:00:00.000Z}
|
|
528
|
+
/>
|
|
529
|
+
</View>
|
|
530
|
+
<View>
|
|
531
|
+
<View
|
|
532
|
+
style={
|
|
533
|
+
[
|
|
534
|
+
{
|
|
535
|
+
"alignItems": "center",
|
|
536
|
+
"flexDirection": "row",
|
|
537
|
+
"justifyContent": "flex-end",
|
|
538
|
+
"paddingHorizontal": 12,
|
|
539
|
+
"paddingVertical": 2,
|
|
540
|
+
},
|
|
541
|
+
undefined,
|
|
542
|
+
]
|
|
543
|
+
}
|
|
544
|
+
>
|
|
545
|
+
<View
|
|
546
|
+
accessibilityState={
|
|
547
|
+
{
|
|
548
|
+
"disabled": false,
|
|
549
|
+
}
|
|
550
|
+
}
|
|
551
|
+
accessibilityValue={
|
|
552
|
+
{
|
|
553
|
+
"max": undefined,
|
|
554
|
+
"min": undefined,
|
|
555
|
+
"now": undefined,
|
|
556
|
+
"text": undefined,
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
accessible={true}
|
|
560
|
+
focusable={true}
|
|
561
|
+
onClick={[Function]}
|
|
562
|
+
onResponderGrant={[Function]}
|
|
563
|
+
onResponderMove={[Function]}
|
|
564
|
+
onResponderRelease={[Function]}
|
|
565
|
+
onResponderTerminate={[Function]}
|
|
566
|
+
onResponderTerminationRequest={[Function]}
|
|
567
|
+
onStartShouldSetResponder={[Function]}
|
|
568
|
+
style={
|
|
569
|
+
[
|
|
386
570
|
{
|
|
387
|
-
"
|
|
388
|
-
"
|
|
389
|
-
"
|
|
390
|
-
"
|
|
391
|
-
"
|
|
392
|
-
"
|
|
393
|
-
"
|
|
394
|
-
|
|
395
|
-
|
|
571
|
+
"alignItems": "center",
|
|
572
|
+
"backgroundColor": "transparent",
|
|
573
|
+
"borderRadius": 4,
|
|
574
|
+
"borderWidth": 0,
|
|
575
|
+
"flexDirection": "row",
|
|
576
|
+
"height": 60,
|
|
577
|
+
"justifyContent": "center",
|
|
578
|
+
"padding": 12,
|
|
579
|
+
},
|
|
580
|
+
undefined,
|
|
581
|
+
]
|
|
582
|
+
}
|
|
583
|
+
>
|
|
584
|
+
<Text
|
|
585
|
+
allowFontScaling={false}
|
|
586
|
+
disabled={false}
|
|
587
|
+
ellipsizeMode="tail"
|
|
588
|
+
numberOfLines={1}
|
|
589
|
+
style={
|
|
590
|
+
[
|
|
591
|
+
{
|
|
592
|
+
"color": "#001f23",
|
|
593
|
+
"fontFamily": "BeVietnamPro-SemiBold",
|
|
594
|
+
"fontSize": 16,
|
|
595
|
+
"letterSpacing": 0.24,
|
|
596
|
+
"lineHeight": 24,
|
|
396
597
|
},
|
|
397
|
-
|
|
398
|
-
"shadowRadius": 16,
|
|
399
|
-
"transform": [
|
|
400
|
-
{
|
|
401
|
-
"scaleY": 1,
|
|
402
|
-
},
|
|
598
|
+
[
|
|
403
599
|
{
|
|
404
|
-
"
|
|
600
|
+
"color": "#401960",
|
|
601
|
+
"flexShrink": 1,
|
|
602
|
+
"lineHeight": 22,
|
|
603
|
+
"textAlign": "center",
|
|
405
604
|
},
|
|
605
|
+
undefined,
|
|
406
606
|
],
|
|
407
|
-
|
|
408
|
-
}
|
|
607
|
+
]
|
|
409
608
|
}
|
|
609
|
+
themeButtonVariant="text-primary"
|
|
610
|
+
themeIntent="body"
|
|
611
|
+
themeTypeface="neutral"
|
|
612
|
+
themeVariant="regular-bold"
|
|
410
613
|
>
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
[
|
|
414
|
-
{
|
|
415
|
-
"flexDirection": "row",
|
|
416
|
-
"paddingHorizontal": 16,
|
|
417
|
-
"paddingVertical": 8,
|
|
418
|
-
},
|
|
419
|
-
undefined,
|
|
420
|
-
]
|
|
421
|
-
}
|
|
422
|
-
>
|
|
423
|
-
<View
|
|
424
|
-
style={
|
|
425
|
-
[
|
|
426
|
-
{
|
|
427
|
-
"flex": 1,
|
|
428
|
-
"justifyContent": "center",
|
|
429
|
-
},
|
|
430
|
-
undefined,
|
|
431
|
-
]
|
|
432
|
-
}
|
|
433
|
-
>
|
|
434
|
-
<Text
|
|
435
|
-
allowFontScaling={false}
|
|
436
|
-
style={
|
|
437
|
-
[
|
|
438
|
-
{
|
|
439
|
-
"color": "#001f23",
|
|
440
|
-
"fontFamily": "BeVietnamPro-SemiBold",
|
|
441
|
-
"fontSize": 16,
|
|
442
|
-
"letterSpacing": 0.24,
|
|
443
|
-
"lineHeight": 24,
|
|
444
|
-
},
|
|
445
|
-
undefined,
|
|
446
|
-
]
|
|
447
|
-
}
|
|
448
|
-
themeIntent="body"
|
|
449
|
-
themeTypeface="neutral"
|
|
450
|
-
themeVariant="regular-bold"
|
|
451
|
-
>
|
|
452
|
-
Start date
|
|
453
|
-
</Text>
|
|
454
|
-
</View>
|
|
455
|
-
<View
|
|
456
|
-
style={
|
|
457
|
-
[
|
|
458
|
-
{
|
|
459
|
-
"alignItems": "center",
|
|
460
|
-
"height": 48,
|
|
461
|
-
"justifyContent": "center",
|
|
462
|
-
"marginLeft": 12,
|
|
463
|
-
"width": 48,
|
|
464
|
-
},
|
|
465
|
-
undefined,
|
|
466
|
-
]
|
|
467
|
-
}
|
|
468
|
-
>
|
|
469
|
-
<View
|
|
470
|
-
accessibilityState={
|
|
471
|
-
{
|
|
472
|
-
"busy": undefined,
|
|
473
|
-
"checked": undefined,
|
|
474
|
-
"disabled": undefined,
|
|
475
|
-
"expanded": undefined,
|
|
476
|
-
"selected": undefined,
|
|
477
|
-
}
|
|
478
|
-
}
|
|
479
|
-
accessibilityValue={
|
|
480
|
-
{
|
|
481
|
-
"max": undefined,
|
|
482
|
-
"min": undefined,
|
|
483
|
-
"now": undefined,
|
|
484
|
-
"text": undefined,
|
|
485
|
-
}
|
|
486
|
-
}
|
|
487
|
-
accessible={true}
|
|
488
|
-
collapsable={false}
|
|
489
|
-
focusable={true}
|
|
490
|
-
onClick={[Function]}
|
|
491
|
-
onResponderGrant={[Function]}
|
|
492
|
-
onResponderMove={[Function]}
|
|
493
|
-
onResponderRelease={[Function]}
|
|
494
|
-
onResponderTerminate={[Function]}
|
|
495
|
-
onResponderTerminationRequest={[Function]}
|
|
496
|
-
onStartShouldSetResponder={[Function]}
|
|
497
|
-
style={
|
|
498
|
-
{
|
|
499
|
-
"opacity": 1,
|
|
500
|
-
}
|
|
501
|
-
}
|
|
502
|
-
testID="bottom-sheet-close-icon"
|
|
503
|
-
>
|
|
504
|
-
<HeroIcon
|
|
505
|
-
name="cancel"
|
|
506
|
-
style={
|
|
507
|
-
[
|
|
508
|
-
{
|
|
509
|
-
"color": "#001f23",
|
|
510
|
-
"fontSize": 16,
|
|
511
|
-
},
|
|
512
|
-
undefined,
|
|
513
|
-
]
|
|
514
|
-
}
|
|
515
|
-
themeIntent="text"
|
|
516
|
-
themeSize="xsmall"
|
|
517
|
-
/>
|
|
518
|
-
</View>
|
|
519
|
-
</View>
|
|
520
|
-
</View>
|
|
521
|
-
<View
|
|
522
|
-
style={
|
|
523
|
-
[
|
|
524
|
-
{
|
|
525
|
-
"height": 176,
|
|
526
|
-
},
|
|
527
|
-
undefined,
|
|
528
|
-
]
|
|
529
|
-
}
|
|
530
|
-
>
|
|
531
|
-
<Picker
|
|
532
|
-
display="spinner"
|
|
533
|
-
mode="date"
|
|
534
|
-
onChange={[Function]}
|
|
535
|
-
style={
|
|
536
|
-
{
|
|
537
|
-
"flex": 1,
|
|
538
|
-
}
|
|
539
|
-
}
|
|
540
|
-
testID="datePickerIOS"
|
|
541
|
-
textColor="#001f23"
|
|
542
|
-
value={1995-12-21T00:00:00.000Z}
|
|
543
|
-
/>
|
|
544
|
-
</View>
|
|
545
|
-
<View>
|
|
546
|
-
<View
|
|
547
|
-
style={
|
|
548
|
-
[
|
|
549
|
-
{
|
|
550
|
-
"alignItems": "center",
|
|
551
|
-
"flexDirection": "row",
|
|
552
|
-
"justifyContent": "flex-end",
|
|
553
|
-
"paddingHorizontal": 12,
|
|
554
|
-
"paddingVertical": 2,
|
|
555
|
-
},
|
|
556
|
-
undefined,
|
|
557
|
-
]
|
|
558
|
-
}
|
|
559
|
-
>
|
|
560
|
-
<View
|
|
561
|
-
accessibilityState={
|
|
562
|
-
{
|
|
563
|
-
"disabled": false,
|
|
564
|
-
}
|
|
565
|
-
}
|
|
566
|
-
accessibilityValue={
|
|
567
|
-
{
|
|
568
|
-
"max": undefined,
|
|
569
|
-
"min": undefined,
|
|
570
|
-
"now": undefined,
|
|
571
|
-
"text": undefined,
|
|
572
|
-
}
|
|
573
|
-
}
|
|
574
|
-
accessible={true}
|
|
575
|
-
focusable={true}
|
|
576
|
-
onClick={[Function]}
|
|
577
|
-
onResponderGrant={[Function]}
|
|
578
|
-
onResponderMove={[Function]}
|
|
579
|
-
onResponderRelease={[Function]}
|
|
580
|
-
onResponderTerminate={[Function]}
|
|
581
|
-
onResponderTerminationRequest={[Function]}
|
|
582
|
-
onStartShouldSetResponder={[Function]}
|
|
583
|
-
style={
|
|
584
|
-
[
|
|
585
|
-
{
|
|
586
|
-
"alignItems": "center",
|
|
587
|
-
"backgroundColor": "transparent",
|
|
588
|
-
"borderRadius": 4,
|
|
589
|
-
"borderWidth": 0,
|
|
590
|
-
"flexDirection": "row",
|
|
591
|
-
"height": 60,
|
|
592
|
-
"justifyContent": "center",
|
|
593
|
-
"padding": 12,
|
|
594
|
-
},
|
|
595
|
-
undefined,
|
|
596
|
-
]
|
|
597
|
-
}
|
|
598
|
-
>
|
|
599
|
-
<Text
|
|
600
|
-
allowFontScaling={false}
|
|
601
|
-
disabled={false}
|
|
602
|
-
ellipsizeMode="tail"
|
|
603
|
-
numberOfLines={1}
|
|
604
|
-
style={
|
|
605
|
-
[
|
|
606
|
-
{
|
|
607
|
-
"color": "#001f23",
|
|
608
|
-
"fontFamily": "BeVietnamPro-SemiBold",
|
|
609
|
-
"fontSize": 16,
|
|
610
|
-
"letterSpacing": 0.24,
|
|
611
|
-
"lineHeight": 24,
|
|
612
|
-
},
|
|
613
|
-
[
|
|
614
|
-
{
|
|
615
|
-
"color": "#401960",
|
|
616
|
-
"flexShrink": 1,
|
|
617
|
-
"lineHeight": 22,
|
|
618
|
-
"textAlign": "center",
|
|
619
|
-
},
|
|
620
|
-
undefined,
|
|
621
|
-
],
|
|
622
|
-
]
|
|
623
|
-
}
|
|
624
|
-
themeButtonVariant="text-primary"
|
|
625
|
-
themeIntent="body"
|
|
626
|
-
themeTypeface="neutral"
|
|
627
|
-
themeVariant="regular-bold"
|
|
628
|
-
>
|
|
629
|
-
Confirm
|
|
630
|
-
</Text>
|
|
631
|
-
</View>
|
|
632
|
-
</View>
|
|
633
|
-
</View>
|
|
634
|
-
</RCTSafeAreaView>
|
|
614
|
+
Confirm
|
|
615
|
+
</Text>
|
|
635
616
|
</View>
|
|
636
617
|
</View>
|
|
637
618
|
</View>
|
|
638
|
-
</
|
|
619
|
+
</RCTSafeAreaView>
|
|
639
620
|
</View>
|
|
640
|
-
</
|
|
621
|
+
</View>
|
|
641
622
|
</View>
|
|
642
623
|
<View
|
|
643
624
|
pointerEvents="box-none"
|
|
644
|
-
position="bottom"
|
|
645
625
|
style={
|
|
646
626
|
[
|
|
647
627
|
{
|