@hero-design/rn 8.52.2-rc2.0 → 8.54.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/.eslintrc.js +0 -1
- package/.turbo/turbo-build.log +2 -2
- package/CHANGELOG.md +11 -13
- package/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/es/index.js +1004 -705
- package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/lib/index.js +1003 -703
- package/package.json +7 -7
- package/sonar-project.properties +9 -0
- package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +4 -0
- package/src/components/Accordion/__tests__/__snapshots__/StyledAccordion.spec.tsx.snap +2 -0
- package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +3 -0
- package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +7 -0
- package/src/components/Attachment/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
- package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/StyledAvatarStack.spec.tsx.snap +2 -0
- package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/index.spec.tsx.snap +2 -0
- package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +3 -0
- package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +3 -0
- package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +6 -0
- package/src/components/Badge/__tests__/__snapshots__/Status.spec.tsx.snap +2 -0
- package/src/components/BottomNavigation/StyledBottomNavigation.tsx +60 -0
- package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +413 -0
- package/src/components/BottomNavigation/__tests__/index.spec.tsx +97 -0
- package/src/components/BottomNavigation/index.tsx +166 -0
- package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +21 -32
- package/src/components/BottomSheet/index.tsx +1 -1
- package/src/components/Box/__tests__/__snapshots__/index.spec.tsx.snap +21 -0
- package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/StyledLoadingIndicator.spec.tsx.snap +10 -0
- package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +10 -0
- package/src/components/Button/UtilityButton/__tests__/__snapshots__/index.spec.tsx.snap +2 -0
- package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +16 -0
- package/src/components/Button/__tests__/__snapshots__/IconButton.spec.tsx.snap +1 -0
- package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +32 -0
- package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +5 -0
- package/src/components/Card/DataCard/__tests__/__snapshots__/StyledDataCard.spec.tsx.snap +7 -0
- package/src/components/Card/DataCard/__tests__/__snapshots__/index.spec.tsx.snap +5 -0
- package/src/components/Card/__tests__/__snapshots__/StyledCard.spec.tsx.snap +1 -0
- package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +6 -0
- package/src/components/Carousel/__tests__/__snapshots__/CardCarousel.spec.tsx.snap +2 -0
- package/src/components/Carousel/__tests__/__snapshots__/StyledCardCarousel.spec.tsx.snap +4 -0
- package/src/components/Carousel/__tests__/__snapshots__/StyledCarousel.spec.tsx.snap +1 -0
- package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +803 -1
- package/src/components/Carousel/__tests__/index.spec.tsx +47 -37
- package/src/components/Checkbox/__tests__/__snapshots__/StyledCheckbox.spec.tsx.snap +8 -0
- package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +6 -0
- package/src/components/Checkbox/index.tsx +13 -1
- package/src/components/Chip/__tests__/__snapshots__/index.spec.tsx.snap +12 -0
- package/src/components/Collapse/__tests__/__snapshots__/StyledCollapse.spec.tsx.snap +2 -0
- package/src/components/Collapse/__tests__/__snapshots__/index.spec.tsx.snap +2 -0
- package/src/components/ContentNavigator/__tests__/__snapshots__/StyledContentNavigator.spec.tsx.snap +1 -0
- package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +3 -0
- package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.spec.tsx.snap +15 -0
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +1 -0
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerCalendar.spec.tsx.snap +1 -0
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +329 -309
- package/src/components/Divider/__tests__/__snapshots__/StyledDivider.spec.tsx.snap +12 -0
- package/src/components/Drawer/DragableDrawer/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
- package/src/components/Drawer/DragableDrawer/index.tsx +2 -2
- package/src/components/Drawer/__tests__/__snapshots__/index.spec.tsx.snap +3 -0
- package/src/components/Empty/__tests__/__snapshots__/index.spec.tsx.snap +2 -0
- package/src/components/Error/__tests__/__snapshots__/index.spec.tsx.snap +4 -0
- package/src/components/Error/index.tsx +20 -3
- package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +2 -0
- package/src/components/FAB/ActionGroup/index.tsx +14 -1
- package/src/components/FAB/__tests__/__snapshots__/AnimatedFABIcon.spec.tsx.snap +2 -0
- package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +3 -0
- package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +3 -0
- package/src/components/HeroDesignProvider/__tests__/__snapshots__/index.spec.tsx.snap +2 -0
- package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
- package/src/components/Icon/IconList.ts +9 -0
- package/src/components/Icon/__tests__/__snapshots__/index.spec.tsx.snap +4 -0
- package/src/components/Image/__tests__/__snapshots__/index.spec.tsx.snap +4 -0
- package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +2 -0
- package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +4 -0
- package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +4 -0
- package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +9 -0
- package/src/components/Modal/__tests__/__snapshots__/index.spec.tsx.snap +2 -0
- package/src/components/PageControl/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
- package/src/components/PinInput/__tests__/__snapshots__/PinCell.spec.tsx.snap +5 -0
- package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +4 -0
- package/src/components/Portal/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
- package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +5 -0
- package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +2 -0
- package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +1 -0
- package/src/components/Rate/__tests__/__snapshots__/index.spec.tsx.snap +3 -0
- package/src/components/RefreshControl/__tests__/__snapshots__/index.spec.tsx.snap +3 -0
- package/src/components/RichTextEditor/__tests__/__snapshots__/EditorToolbar.spec.tsx.snap +1 -0
- package/src/components/RichTextEditor/__tests__/__snapshots__/MentionList.spec.tsx.snap +1 -0
- package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +2 -0
- package/src/components/SectionHeading/__tests__/__snapshots__/StyledHeading.spec.tsx.snap +4 -0
- package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +6 -0
- package/src/components/SectionHeading/__tests__/index.spec.tsx +1 -0
- package/src/components/SectionHeading/index.tsx +57 -32
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +1 -0
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +4 -0
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +42 -128
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +1 -0
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +4 -0
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +35 -96
- package/src/components/Skeleton/__tests__/__snapshots__/index.spec.tsx.snap +7 -0
- package/src/components/Slider/__tests__/__snapshots__/index.spec.tsx.snap +3 -0
- package/src/components/Spinner/__tests__/__snapshots__/AnimatedSpinner.spec.tsx.snap +1 -0
- package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +24 -0
- package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
- package/src/components/Success/__tests__/__snapshots__/index.spec.tsx.snap +4 -0
- package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +3 -0
- package/src/components/Swipeable/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/Option.spec.tsx.snap +4 -0
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
- package/src/components/Switch/__tests__/__snapshots__/StyledSwitch.spec.tsx.snap +5 -0
- package/src/components/Switch/__tests__/__snapshots__/index.spec.tsx.snap +2 -0
- package/src/components/Tabs/__tests__/SceneView.spec.tsx +1 -1
- package/src/components/Tabs/__tests__/__snapshots__/SceneView.spec.tsx.snap +4 -0
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +3 -0
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +1 -0
- package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +2 -0
- package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +3 -0
- package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +10 -0
- package/src/components/Tag/index.tsx +12 -0
- package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +21 -0
- package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +17 -0
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +2 -0
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +330 -309
- package/src/components/Toast/StyledToast.tsx +9 -7
- package/src/components/Toast/Toast.tsx +4 -1
- package/src/components/Toast/ToastContainer.tsx +6 -2
- package/src/components/Toast/ToastContext.ts +5 -2
- package/src/components/Toast/ToastProvider.tsx +19 -2
- package/src/components/Toast/__tests__/ToastContainer.spec.tsx +15 -12
- package/src/components/Toast/__tests__/__snapshots__/Toast.spec.tsx.snap +7 -0
- package/src/components/Toast/__tests__/__snapshots__/ToastContainer.spec.tsx.snap +14 -6
- package/src/components/Toast/types.ts +5 -1
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +3 -0
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +8 -0
- package/src/components/Typography/Body/__tests__/__snapshots__/StyledBody.tsx.snap +16 -0
- package/src/components/Typography/Body/__tests__/__snapshots__/index.spec.tsx.snap +19 -0
- package/src/components/Typography/Caption/__tests__/__snapshots__/StyledCaption.spec.tsx.snap +10 -0
- package/src/components/Typography/Caption/__tests__/__snapshots__/index.spec.tsx.snap +13 -0
- package/src/components/Typography/Label/__tests__/__snapshots__/StyledLabel.tsx.snap +8 -0
- package/src/components/Typography/Label/__tests__/__snapshots__/index.spec.tsx.snap +11 -0
- package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +20 -0
- package/src/components/Typography/Title/__tests__/__snapshots__/StyledTitle.tsx.snap +20 -0
- package/src/components/Typography/Title/__tests__/__snapshots__/index.spec.tsx.snap +23 -0
- package/src/index.ts +2 -0
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +102 -0
- package/src/theme/components/badge.ts +28 -1
- package/src/theme/components/bottomNavigation.ts +27 -0
- package/src/theme/components/button.ts +24 -0
- package/src/theme/components/carousel.ts +28 -1
- package/src/theme/components/empty.ts +23 -1
- package/src/theme/components/error.ts +32 -1
- package/src/theme/components/fab.ts +13 -2
- package/src/theme/components/pinInput.ts +32 -0
- package/src/theme/components/success.ts +23 -1
- package/src/theme/components/tag.ts +28 -1
- package/src/theme/components/textInput.ts +5 -0
- package/src/theme/getTheme.ts +21 -18
- package/src/types.ts +2 -0
- package/types/components/Accordion/AccordionItem.d.ts +1 -1
- package/types/components/Accordion/StyledAccordion.d.ts +1 -1
- package/types/components/Avatar/AvatarStack/StyledAvatarStack.d.ts +1 -1
- package/types/components/Avatar/StyledAvatar.d.ts +2 -2
- package/types/components/Badge/StyledBadge.d.ts +2 -2
- package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +52 -0
- package/types/components/BottomNavigation/index.d.ts +45 -0
- package/types/components/BottomSheet/BottomSheetContext.d.ts +1 -1
- package/types/components/Box/config.d.ts +2 -2
- package/types/components/Box/types.d.ts +3 -3
- package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +1 -1
- package/types/components/Button/LoadingIndicator/index.d.ts +1 -1
- package/types/components/Button/StyledButton.d.ts +2 -2
- package/types/components/Carousel/CardCarousel.d.ts +1 -1
- package/types/components/Carousel/types.d.ts +2 -2
- package/types/components/Checkbox/StyledCheckbox.d.ts +1 -1
- package/types/components/Checkbox/index.d.ts +7 -2
- package/types/components/Chip/StyledChip.d.ts +1 -1
- package/types/components/Divider/StyledDivider.d.ts +1 -1
- package/types/components/Drawer/DragableDrawer/helpers.d.ts +1 -1
- package/types/components/Empty/StyledEmpty.d.ts +1 -1
- package/types/components/Error/StyledError.d.ts +1 -1
- package/types/components/Error/index.d.ts +9 -3
- package/types/components/FAB/ActionGroup/index.d.ts +6 -1
- package/types/components/FAB/AnimatedFABIcon.d.ts +1 -1
- package/types/components/FAB/FAB.d.ts +1 -1
- package/types/components/Icon/AnimatedIcon.d.ts +1 -1
- package/types/components/Icon/HeroIcon/index.d.ts +2 -2
- package/types/components/Icon/IconList.d.ts +1 -1
- package/types/components/Icon/index.d.ts +2 -2
- package/types/components/Icon/utils.d.ts +1 -1
- package/types/components/List/StyledListItem.d.ts +2 -2
- package/types/components/PinInput/StyledPinInput.d.ts +1 -1
- package/types/components/Portal/reducer.d.ts +1 -1
- package/types/components/Portal/types.d.ts +1 -1
- package/types/components/Progress/types.d.ts +1 -1
- package/types/components/Radio/types.d.ts +1 -1
- package/types/components/RefreshControl/index.d.ts +1 -1
- package/types/components/RichTextEditor/RichTextEditor.d.ts +1 -1
- package/types/components/RichTextEditor/types.d.ts +1 -1
- package/types/components/SectionHeading/StyledHeading.d.ts +1 -1
- package/types/components/SectionHeading/index.d.ts +11 -1
- package/types/components/Select/BaseOptionList.d.ts +1 -1
- package/types/components/Select/MultiSelect/OptionList.d.ts +1 -1
- package/types/components/Select/SingleSelect/OptionList.d.ts +1 -1
- package/types/components/Select/helpers.d.ts +1 -1
- package/types/components/Select/types.d.ts +6 -6
- package/types/components/Skeleton/StyledSkeleton.d.ts +2 -2
- package/types/components/Success/StyledSuccess.d.ts +1 -1
- package/types/components/Swipeable/StyledSwipeable.d.ts +1 -1
- package/types/components/Swipeable/index.d.ts +2 -2
- package/types/components/Switch/SelectorSwitch/index.d.ts +3 -3
- package/types/components/Switch/StyledSwitch.d.ts +1 -1
- package/types/components/Tabs/TabWithBadge.d.ts +3 -3
- package/types/components/Tabs/index.d.ts +2 -2
- package/types/components/Tag/StyledTag.d.ts +1 -1
- package/types/components/Tag/index.d.ts +6 -1
- package/types/components/TextInput/StyledTextInput.d.ts +2 -2
- package/types/components/TextInput/index.d.ts +1 -1
- package/types/components/Toast/StyledToast.d.ts +2 -0
- package/types/components/Toast/ToastContext.d.ts +3 -3
- package/types/components/Toast/ToastProvider.d.ts +2 -2
- package/types/components/Toast/index.d.ts +1 -1
- package/types/components/Toast/types.d.ts +7 -3
- package/types/components/Typography/Body/StyledBody.d.ts +1 -1
- package/types/components/Typography/Title/StyledTitle.d.ts +1 -1
- package/types/components/Typography/types.d.ts +1 -1
- package/types/index.d.ts +2 -1
- package/types/theme/ThemeSwitcher.d.ts +1 -1
- package/types/theme/components/badge.d.ts +24 -0
- package/types/theme/components/bottomNavigation.d.ts +23 -0
- package/types/theme/components/button.d.ts +20 -0
- package/types/theme/components/carousel.d.ts +24 -0
- package/types/theme/components/empty.d.ts +19 -0
- package/types/theme/components/error.d.ts +27 -0
- package/types/theme/components/fab.d.ts +19 -8
- package/types/theme/components/pinInput.d.ts +27 -0
- package/types/theme/components/success.d.ts +19 -0
- package/types/theme/components/tag.d.ts +24 -0
- package/types/theme/components/textInput.d.ts +5 -0
- package/types/theme/getTheme.d.ts +21 -19
- package/types/theme/global/colors/types.d.ts +3 -3
- package/types/theme/global/index.d.ts +1 -1
- package/types/theme/global/scale.d.ts +1 -1
- package/types/theme/global/shadows.d.ts +1 -1
- package/types/theme/global/typography.d.ts +1 -1
- package/types/types.d.ts +2 -1
|
@@ -265,6 +265,7 @@ exports[`TimePickerIOS renders correct with hide suffix 1`] = `
|
|
|
265
265
|
</View>
|
|
266
266
|
<View
|
|
267
267
|
pointerEvents="box-none"
|
|
268
|
+
position="bottom"
|
|
268
269
|
style={
|
|
269
270
|
[
|
|
270
271
|
{
|
|
@@ -542,371 +543,391 @@ exports[`TimePickerIOS renders correctly 1`] = `
|
|
|
542
543
|
</View>
|
|
543
544
|
</View>
|
|
544
545
|
</View>
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
{
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
"opacity": 0.4,
|
|
554
|
-
"position": "absolute",
|
|
555
|
-
"right": 0,
|
|
556
|
-
"top": 0,
|
|
557
|
-
}
|
|
558
|
-
}
|
|
559
|
-
/>
|
|
560
|
-
<View
|
|
561
|
-
collapsable={false}
|
|
562
|
-
style={
|
|
563
|
-
{
|
|
564
|
-
"bottom": 0,
|
|
565
|
-
"left": 0,
|
|
566
|
-
"opacity": 1,
|
|
567
|
-
"position": "absolute",
|
|
568
|
-
"right": 0,
|
|
569
|
-
"top": 0,
|
|
570
|
-
"transform": [
|
|
571
|
-
{
|
|
572
|
-
"translateY": 0,
|
|
573
|
-
},
|
|
574
|
-
],
|
|
575
|
-
}
|
|
576
|
-
}
|
|
577
|
-
>
|
|
578
|
-
<View
|
|
579
|
-
pointerEvents="box-none"
|
|
546
|
+
<RCTModalHostView
|
|
547
|
+
animationType="none"
|
|
548
|
+
hardwareAccelerated={false}
|
|
549
|
+
identifier={0}
|
|
550
|
+
onDismiss={[Function]}
|
|
551
|
+
onRequestClose={[Function]}
|
|
552
|
+
onStartShouldSetResponder={[Function]}
|
|
553
|
+
presentationStyle="overFullScreen"
|
|
580
554
|
style={
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
"flexDirection": "column-reverse",
|
|
585
|
-
"left": 0,
|
|
586
|
-
"position": "absolute",
|
|
587
|
-
"right": 0,
|
|
588
|
-
"top": 0,
|
|
589
|
-
},
|
|
590
|
-
undefined,
|
|
591
|
-
]
|
|
555
|
+
{
|
|
556
|
+
"position": "absolute",
|
|
557
|
+
}
|
|
592
558
|
}
|
|
559
|
+
transparent={true}
|
|
560
|
+
visible={true}
|
|
593
561
|
>
|
|
594
562
|
<View
|
|
595
|
-
|
|
563
|
+
collapsable={false}
|
|
596
564
|
style={
|
|
597
565
|
[
|
|
598
|
-
[
|
|
599
|
-
{
|
|
600
|
-
"flex": 1,
|
|
601
|
-
"flexDirection": "column-reverse",
|
|
602
|
-
},
|
|
603
|
-
undefined,
|
|
604
|
-
],
|
|
605
566
|
{
|
|
606
|
-
"
|
|
567
|
+
"flex": 1,
|
|
568
|
+
"left": 0,
|
|
569
|
+
"top": 0,
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
"backgroundColor": "transparent",
|
|
607
573
|
},
|
|
608
574
|
]
|
|
609
575
|
}
|
|
610
576
|
>
|
|
611
577
|
<View
|
|
612
|
-
|
|
613
|
-
{
|
|
614
|
-
"busy": undefined,
|
|
615
|
-
"checked": undefined,
|
|
616
|
-
"disabled": undefined,
|
|
617
|
-
"expanded": undefined,
|
|
618
|
-
"selected": undefined,
|
|
619
|
-
}
|
|
620
|
-
}
|
|
621
|
-
accessibilityValue={
|
|
622
|
-
{
|
|
623
|
-
"max": undefined,
|
|
624
|
-
"min": undefined,
|
|
625
|
-
"now": undefined,
|
|
626
|
-
"text": undefined,
|
|
627
|
-
}
|
|
628
|
-
}
|
|
629
|
-
accessible={true}
|
|
630
|
-
collapsable={false}
|
|
631
|
-
focusable={true}
|
|
632
|
-
onBlur={[Function]}
|
|
633
|
-
onClick={[Function]}
|
|
634
|
-
onFocus={[Function]}
|
|
635
|
-
onResponderGrant={[Function]}
|
|
636
|
-
onResponderMove={[Function]}
|
|
637
|
-
onResponderRelease={[Function]}
|
|
638
|
-
onResponderTerminate={[Function]}
|
|
639
|
-
onResponderTerminationRequest={[Function]}
|
|
640
|
-
onStartShouldSetResponder={[Function]}
|
|
578
|
+
pointerEvents="box-none"
|
|
641
579
|
style={
|
|
642
580
|
{
|
|
643
|
-
"
|
|
644
|
-
"bottom": 0,
|
|
645
|
-
"left": 0,
|
|
646
|
-
"opacity": 0.48,
|
|
647
|
-
"position": "absolute",
|
|
648
|
-
"right": 0,
|
|
649
|
-
"top": 0,
|
|
650
|
-
}
|
|
651
|
-
}
|
|
652
|
-
/>
|
|
653
|
-
<RCTSafeAreaView
|
|
654
|
-
collapsable={false}
|
|
655
|
-
style={
|
|
656
|
-
{
|
|
657
|
-
"backgroundColor": "#ffffff",
|
|
658
|
-
"borderTopLeftRadius": 16,
|
|
659
|
-
"borderTopRightRadius": 16,
|
|
660
|
-
"elevation": 10,
|
|
661
|
-
"maxHeight": "94%",
|
|
662
|
-
"shadowColor": "#001f23",
|
|
663
|
-
"shadowOffset": {
|
|
664
|
-
"height": 3,
|
|
665
|
-
"width": 0,
|
|
666
|
-
},
|
|
667
|
-
"shadowOpacity": 0.4,
|
|
668
|
-
"shadowRadius": 16,
|
|
669
|
-
"transform": [
|
|
670
|
-
{
|
|
671
|
-
"scaleY": 1,
|
|
672
|
-
},
|
|
673
|
-
{
|
|
674
|
-
"translateY": 0,
|
|
675
|
-
},
|
|
676
|
-
],
|
|
677
|
-
"width": "100%",
|
|
581
|
+
"flex": 1,
|
|
678
582
|
}
|
|
679
583
|
}
|
|
680
584
|
>
|
|
681
585
|
<View
|
|
586
|
+
collapsable={true}
|
|
587
|
+
pointerEvents="box-none"
|
|
682
588
|
style={
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
"paddingHorizontal": 16,
|
|
687
|
-
"paddingVertical": 8,
|
|
688
|
-
},
|
|
689
|
-
undefined,
|
|
690
|
-
]
|
|
589
|
+
{
|
|
590
|
+
"flex": 1,
|
|
591
|
+
}
|
|
691
592
|
}
|
|
692
593
|
>
|
|
693
594
|
<View
|
|
595
|
+
pointerEvents="box-none"
|
|
694
596
|
style={
|
|
695
597
|
[
|
|
696
598
|
{
|
|
697
|
-
"
|
|
698
|
-
"
|
|
599
|
+
"bottom": 0,
|
|
600
|
+
"flexDirection": "column-reverse",
|
|
601
|
+
"left": 0,
|
|
602
|
+
"position": "absolute",
|
|
603
|
+
"right": 0,
|
|
604
|
+
"top": 0,
|
|
699
605
|
},
|
|
700
606
|
undefined,
|
|
701
607
|
]
|
|
702
608
|
}
|
|
703
609
|
>
|
|
704
|
-
<
|
|
705
|
-
|
|
610
|
+
<View
|
|
611
|
+
onLayout={[Function]}
|
|
706
612
|
style={
|
|
707
613
|
[
|
|
614
|
+
[
|
|
615
|
+
{
|
|
616
|
+
"flex": 1,
|
|
617
|
+
"flexDirection": "column-reverse",
|
|
618
|
+
},
|
|
619
|
+
undefined,
|
|
620
|
+
],
|
|
708
621
|
{
|
|
709
|
-
"
|
|
710
|
-
"fontFamily": "BeVietnamPro-SemiBold",
|
|
711
|
-
"fontSize": 16,
|
|
712
|
-
"letterSpacing": 0.24,
|
|
713
|
-
"lineHeight": 24,
|
|
622
|
+
"paddingBottom": 0,
|
|
714
623
|
},
|
|
715
|
-
undefined,
|
|
716
624
|
]
|
|
717
625
|
}
|
|
718
|
-
themeIntent="body"
|
|
719
|
-
themeTypeface="neutral"
|
|
720
|
-
themeVariant="regular-bold"
|
|
721
626
|
>
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
"justifyContent": "center",
|
|
732
|
-
"marginLeft": 12,
|
|
733
|
-
"width": 48,
|
|
734
|
-
},
|
|
735
|
-
undefined,
|
|
736
|
-
]
|
|
737
|
-
}
|
|
738
|
-
>
|
|
739
|
-
<View
|
|
740
|
-
accessibilityState={
|
|
741
|
-
{
|
|
742
|
-
"busy": undefined,
|
|
743
|
-
"checked": undefined,
|
|
744
|
-
"disabled": undefined,
|
|
745
|
-
"expanded": undefined,
|
|
746
|
-
"selected": undefined,
|
|
747
|
-
}
|
|
748
|
-
}
|
|
749
|
-
accessibilityValue={
|
|
750
|
-
{
|
|
751
|
-
"max": undefined,
|
|
752
|
-
"min": undefined,
|
|
753
|
-
"now": undefined,
|
|
754
|
-
"text": undefined,
|
|
627
|
+
<View
|
|
628
|
+
accessibilityState={
|
|
629
|
+
{
|
|
630
|
+
"busy": undefined,
|
|
631
|
+
"checked": undefined,
|
|
632
|
+
"disabled": undefined,
|
|
633
|
+
"expanded": undefined,
|
|
634
|
+
"selected": undefined,
|
|
635
|
+
}
|
|
755
636
|
}
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
onResponderRelease={[Function]}
|
|
764
|
-
onResponderTerminate={[Function]}
|
|
765
|
-
onResponderTerminationRequest={[Function]}
|
|
766
|
-
onStartShouldSetResponder={[Function]}
|
|
767
|
-
style={
|
|
768
|
-
{
|
|
769
|
-
"opacity": 1,
|
|
637
|
+
accessibilityValue={
|
|
638
|
+
{
|
|
639
|
+
"max": undefined,
|
|
640
|
+
"min": undefined,
|
|
641
|
+
"now": undefined,
|
|
642
|
+
"text": undefined,
|
|
643
|
+
}
|
|
770
644
|
}
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
645
|
+
accessible={true}
|
|
646
|
+
collapsable={false}
|
|
647
|
+
focusable={true}
|
|
648
|
+
onBlur={[Function]}
|
|
649
|
+
onClick={[Function]}
|
|
650
|
+
onFocus={[Function]}
|
|
651
|
+
onResponderGrant={[Function]}
|
|
652
|
+
onResponderMove={[Function]}
|
|
653
|
+
onResponderRelease={[Function]}
|
|
654
|
+
onResponderTerminate={[Function]}
|
|
655
|
+
onResponderTerminationRequest={[Function]}
|
|
656
|
+
onStartShouldSetResponder={[Function]}
|
|
776
657
|
style={
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
658
|
+
{
|
|
659
|
+
"backgroundColor": "#000000",
|
|
660
|
+
"bottom": 0,
|
|
661
|
+
"left": 0,
|
|
662
|
+
"opacity": 0.48,
|
|
663
|
+
"position": "absolute",
|
|
664
|
+
"right": 0,
|
|
665
|
+
"top": 0,
|
|
666
|
+
}
|
|
784
667
|
}
|
|
785
|
-
themeIntent="text"
|
|
786
|
-
themeSize="xsmall"
|
|
787
668
|
/>
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
</View>
|
|
791
|
-
<View
|
|
792
|
-
style={
|
|
793
|
-
[
|
|
794
|
-
{
|
|
795
|
-
"height": 176,
|
|
796
|
-
},
|
|
797
|
-
undefined,
|
|
798
|
-
]
|
|
799
|
-
}
|
|
800
|
-
>
|
|
801
|
-
<Picker
|
|
802
|
-
display="spinner"
|
|
803
|
-
mode="time"
|
|
804
|
-
onChange={[Function]}
|
|
805
|
-
style={
|
|
806
|
-
{
|
|
807
|
-
"flex": 1,
|
|
808
|
-
}
|
|
809
|
-
}
|
|
810
|
-
testID="timePickerIOS"
|
|
811
|
-
textColor="#001f23"
|
|
812
|
-
value={1995-12-17T03:24:00.000Z}
|
|
813
|
-
/>
|
|
814
|
-
</View>
|
|
815
|
-
<View>
|
|
816
|
-
<View
|
|
817
|
-
style={
|
|
818
|
-
[
|
|
819
|
-
{
|
|
820
|
-
"alignItems": "center",
|
|
821
|
-
"flexDirection": "row",
|
|
822
|
-
"justifyContent": "flex-end",
|
|
823
|
-
"paddingHorizontal": 12,
|
|
824
|
-
"paddingVertical": 2,
|
|
825
|
-
},
|
|
826
|
-
undefined,
|
|
827
|
-
]
|
|
828
|
-
}
|
|
829
|
-
>
|
|
830
|
-
<View
|
|
831
|
-
accessibilityState={
|
|
832
|
-
{
|
|
833
|
-
"disabled": false,
|
|
834
|
-
}
|
|
835
|
-
}
|
|
836
|
-
accessibilityValue={
|
|
837
|
-
{
|
|
838
|
-
"max": undefined,
|
|
839
|
-
"min": undefined,
|
|
840
|
-
"now": undefined,
|
|
841
|
-
"text": undefined,
|
|
842
|
-
}
|
|
843
|
-
}
|
|
844
|
-
accessible={true}
|
|
845
|
-
focusable={true}
|
|
846
|
-
onClick={[Function]}
|
|
847
|
-
onResponderGrant={[Function]}
|
|
848
|
-
onResponderMove={[Function]}
|
|
849
|
-
onResponderRelease={[Function]}
|
|
850
|
-
onResponderTerminate={[Function]}
|
|
851
|
-
onResponderTerminationRequest={[Function]}
|
|
852
|
-
onStartShouldSetResponder={[Function]}
|
|
853
|
-
style={
|
|
854
|
-
[
|
|
855
|
-
{
|
|
856
|
-
"alignItems": "center",
|
|
857
|
-
"backgroundColor": "transparent",
|
|
858
|
-
"borderRadius": 4,
|
|
859
|
-
"borderWidth": 0,
|
|
860
|
-
"flexDirection": "row",
|
|
861
|
-
"height": 60,
|
|
862
|
-
"justifyContent": "center",
|
|
863
|
-
"padding": 12,
|
|
864
|
-
},
|
|
865
|
-
undefined,
|
|
866
|
-
]
|
|
867
|
-
}
|
|
868
|
-
>
|
|
869
|
-
<Text
|
|
870
|
-
allowFontScaling={false}
|
|
871
|
-
disabled={false}
|
|
872
|
-
ellipsizeMode="tail"
|
|
873
|
-
numberOfLines={1}
|
|
669
|
+
<RCTSafeAreaView
|
|
670
|
+
collapsable={false}
|
|
874
671
|
style={
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
672
|
+
{
|
|
673
|
+
"backgroundColor": "#ffffff",
|
|
674
|
+
"borderTopLeftRadius": 16,
|
|
675
|
+
"borderTopRightRadius": 16,
|
|
676
|
+
"elevation": 10,
|
|
677
|
+
"maxHeight": "94%",
|
|
678
|
+
"shadowColor": "#001f23",
|
|
679
|
+
"shadowOffset": {
|
|
680
|
+
"height": 3,
|
|
681
|
+
"width": 0,
|
|
882
682
|
},
|
|
883
|
-
|
|
683
|
+
"shadowOpacity": 0.4,
|
|
684
|
+
"shadowRadius": 16,
|
|
685
|
+
"transform": [
|
|
884
686
|
{
|
|
885
|
-
"
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
"
|
|
687
|
+
"scaleY": 1,
|
|
688
|
+
},
|
|
689
|
+
{
|
|
690
|
+
"translateY": 0,
|
|
889
691
|
},
|
|
890
|
-
undefined,
|
|
891
692
|
],
|
|
892
|
-
|
|
693
|
+
"width": "100%",
|
|
694
|
+
}
|
|
893
695
|
}
|
|
894
|
-
themeButtonVariant="text-primary"
|
|
895
|
-
themeIntent="body"
|
|
896
|
-
themeTypeface="neutral"
|
|
897
|
-
themeVariant="regular-bold"
|
|
898
696
|
>
|
|
899
|
-
|
|
900
|
-
|
|
697
|
+
<View
|
|
698
|
+
style={
|
|
699
|
+
[
|
|
700
|
+
{
|
|
701
|
+
"flexDirection": "row",
|
|
702
|
+
"paddingHorizontal": 16,
|
|
703
|
+
"paddingVertical": 8,
|
|
704
|
+
},
|
|
705
|
+
undefined,
|
|
706
|
+
]
|
|
707
|
+
}
|
|
708
|
+
>
|
|
709
|
+
<View
|
|
710
|
+
style={
|
|
711
|
+
[
|
|
712
|
+
{
|
|
713
|
+
"flex": 1,
|
|
714
|
+
"justifyContent": "center",
|
|
715
|
+
},
|
|
716
|
+
undefined,
|
|
717
|
+
]
|
|
718
|
+
}
|
|
719
|
+
>
|
|
720
|
+
<Text
|
|
721
|
+
allowFontScaling={false}
|
|
722
|
+
style={
|
|
723
|
+
[
|
|
724
|
+
{
|
|
725
|
+
"color": "#001f23",
|
|
726
|
+
"fontFamily": "BeVietnamPro-SemiBold",
|
|
727
|
+
"fontSize": 16,
|
|
728
|
+
"letterSpacing": 0.24,
|
|
729
|
+
"lineHeight": 24,
|
|
730
|
+
},
|
|
731
|
+
undefined,
|
|
732
|
+
]
|
|
733
|
+
}
|
|
734
|
+
themeIntent="body"
|
|
735
|
+
themeTypeface="neutral"
|
|
736
|
+
themeVariant="regular-bold"
|
|
737
|
+
>
|
|
738
|
+
Break time
|
|
739
|
+
</Text>
|
|
740
|
+
</View>
|
|
741
|
+
<View
|
|
742
|
+
style={
|
|
743
|
+
[
|
|
744
|
+
{
|
|
745
|
+
"alignItems": "center",
|
|
746
|
+
"height": 48,
|
|
747
|
+
"justifyContent": "center",
|
|
748
|
+
"marginLeft": 12,
|
|
749
|
+
"width": 48,
|
|
750
|
+
},
|
|
751
|
+
undefined,
|
|
752
|
+
]
|
|
753
|
+
}
|
|
754
|
+
>
|
|
755
|
+
<View
|
|
756
|
+
accessibilityState={
|
|
757
|
+
{
|
|
758
|
+
"busy": undefined,
|
|
759
|
+
"checked": undefined,
|
|
760
|
+
"disabled": undefined,
|
|
761
|
+
"expanded": undefined,
|
|
762
|
+
"selected": undefined,
|
|
763
|
+
}
|
|
764
|
+
}
|
|
765
|
+
accessibilityValue={
|
|
766
|
+
{
|
|
767
|
+
"max": undefined,
|
|
768
|
+
"min": undefined,
|
|
769
|
+
"now": undefined,
|
|
770
|
+
"text": undefined,
|
|
771
|
+
}
|
|
772
|
+
}
|
|
773
|
+
accessible={true}
|
|
774
|
+
collapsable={false}
|
|
775
|
+
focusable={true}
|
|
776
|
+
onClick={[Function]}
|
|
777
|
+
onResponderGrant={[Function]}
|
|
778
|
+
onResponderMove={[Function]}
|
|
779
|
+
onResponderRelease={[Function]}
|
|
780
|
+
onResponderTerminate={[Function]}
|
|
781
|
+
onResponderTerminationRequest={[Function]}
|
|
782
|
+
onStartShouldSetResponder={[Function]}
|
|
783
|
+
style={
|
|
784
|
+
{
|
|
785
|
+
"opacity": 1,
|
|
786
|
+
}
|
|
787
|
+
}
|
|
788
|
+
testID="bottom-sheet-close-icon"
|
|
789
|
+
>
|
|
790
|
+
<HeroIcon
|
|
791
|
+
name="cancel"
|
|
792
|
+
style={
|
|
793
|
+
[
|
|
794
|
+
{
|
|
795
|
+
"color": "#001f23",
|
|
796
|
+
"fontSize": 16,
|
|
797
|
+
},
|
|
798
|
+
undefined,
|
|
799
|
+
]
|
|
800
|
+
}
|
|
801
|
+
themeIntent="text"
|
|
802
|
+
themeSize="xsmall"
|
|
803
|
+
/>
|
|
804
|
+
</View>
|
|
805
|
+
</View>
|
|
806
|
+
</View>
|
|
807
|
+
<View
|
|
808
|
+
style={
|
|
809
|
+
[
|
|
810
|
+
{
|
|
811
|
+
"height": 176,
|
|
812
|
+
},
|
|
813
|
+
undefined,
|
|
814
|
+
]
|
|
815
|
+
}
|
|
816
|
+
>
|
|
817
|
+
<Picker
|
|
818
|
+
display="spinner"
|
|
819
|
+
mode="time"
|
|
820
|
+
onChange={[Function]}
|
|
821
|
+
style={
|
|
822
|
+
{
|
|
823
|
+
"flex": 1,
|
|
824
|
+
}
|
|
825
|
+
}
|
|
826
|
+
testID="timePickerIOS"
|
|
827
|
+
textColor="#001f23"
|
|
828
|
+
value={1995-12-17T03:24:00.000Z}
|
|
829
|
+
/>
|
|
830
|
+
</View>
|
|
831
|
+
<View>
|
|
832
|
+
<View
|
|
833
|
+
style={
|
|
834
|
+
[
|
|
835
|
+
{
|
|
836
|
+
"alignItems": "center",
|
|
837
|
+
"flexDirection": "row",
|
|
838
|
+
"justifyContent": "flex-end",
|
|
839
|
+
"paddingHorizontal": 12,
|
|
840
|
+
"paddingVertical": 2,
|
|
841
|
+
},
|
|
842
|
+
undefined,
|
|
843
|
+
]
|
|
844
|
+
}
|
|
845
|
+
>
|
|
846
|
+
<View
|
|
847
|
+
accessibilityState={
|
|
848
|
+
{
|
|
849
|
+
"disabled": false,
|
|
850
|
+
}
|
|
851
|
+
}
|
|
852
|
+
accessibilityValue={
|
|
853
|
+
{
|
|
854
|
+
"max": undefined,
|
|
855
|
+
"min": undefined,
|
|
856
|
+
"now": undefined,
|
|
857
|
+
"text": undefined,
|
|
858
|
+
}
|
|
859
|
+
}
|
|
860
|
+
accessible={true}
|
|
861
|
+
focusable={true}
|
|
862
|
+
onClick={[Function]}
|
|
863
|
+
onResponderGrant={[Function]}
|
|
864
|
+
onResponderMove={[Function]}
|
|
865
|
+
onResponderRelease={[Function]}
|
|
866
|
+
onResponderTerminate={[Function]}
|
|
867
|
+
onResponderTerminationRequest={[Function]}
|
|
868
|
+
onStartShouldSetResponder={[Function]}
|
|
869
|
+
style={
|
|
870
|
+
[
|
|
871
|
+
{
|
|
872
|
+
"alignItems": "center",
|
|
873
|
+
"backgroundColor": "transparent",
|
|
874
|
+
"borderRadius": 4,
|
|
875
|
+
"borderWidth": 0,
|
|
876
|
+
"flexDirection": "row",
|
|
877
|
+
"height": 60,
|
|
878
|
+
"justifyContent": "center",
|
|
879
|
+
"padding": 12,
|
|
880
|
+
},
|
|
881
|
+
undefined,
|
|
882
|
+
]
|
|
883
|
+
}
|
|
884
|
+
>
|
|
885
|
+
<Text
|
|
886
|
+
allowFontScaling={false}
|
|
887
|
+
disabled={false}
|
|
888
|
+
ellipsizeMode="tail"
|
|
889
|
+
numberOfLines={1}
|
|
890
|
+
style={
|
|
891
|
+
[
|
|
892
|
+
{
|
|
893
|
+
"color": "#001f23",
|
|
894
|
+
"fontFamily": "BeVietnamPro-SemiBold",
|
|
895
|
+
"fontSize": 16,
|
|
896
|
+
"letterSpacing": 0.24,
|
|
897
|
+
"lineHeight": 24,
|
|
898
|
+
},
|
|
899
|
+
[
|
|
900
|
+
{
|
|
901
|
+
"color": "#401960",
|
|
902
|
+
"flexShrink": 1,
|
|
903
|
+
"lineHeight": 22,
|
|
904
|
+
"textAlign": "center",
|
|
905
|
+
},
|
|
906
|
+
undefined,
|
|
907
|
+
],
|
|
908
|
+
]
|
|
909
|
+
}
|
|
910
|
+
themeButtonVariant="text-primary"
|
|
911
|
+
themeIntent="body"
|
|
912
|
+
themeTypeface="neutral"
|
|
913
|
+
themeVariant="regular-bold"
|
|
914
|
+
>
|
|
915
|
+
Confirm
|
|
916
|
+
</Text>
|
|
917
|
+
</View>
|
|
918
|
+
</View>
|
|
919
|
+
</View>
|
|
920
|
+
</RCTSafeAreaView>
|
|
901
921
|
</View>
|
|
902
922
|
</View>
|
|
903
923
|
</View>
|
|
904
|
-
</
|
|
924
|
+
</View>
|
|
905
925
|
</View>
|
|
906
|
-
</
|
|
926
|
+
</RCTModalHostView>
|
|
907
927
|
</View>
|
|
908
928
|
<View
|
|
909
929
|
pointerEvents="box-none"
|
|
930
|
+
position="bottom"
|
|
910
931
|
style={
|
|
911
932
|
[
|
|
912
933
|
{
|