@hero-design/rn 8.44.0-alpha.0 → 8.45.0-test.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 +2 -2
- package/CHANGELOG.md +36 -0
- package/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/es/index.js +2772 -2661
- package/jest-setup.ts +2 -0
- package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/lib/index.js +2775 -2665
- package/package.json +23 -24
- package/rollup.config.js +0 -1
- package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +564 -384
- package/src/components/Accordion/__tests__/__snapshots__/StyledAccordion.spec.tsx.snap +76 -20
- package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +791 -605
- package/src/components/Accordion/index.tsx +1 -1
- package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +848 -567
- package/src/components/Attachment/__tests__/__snapshots__/index.spec.tsx.snap +172 -110
- package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/StyledAvatarStack.spec.tsx.snap +138 -70
- package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/index.spec.tsx.snap +745 -581
- package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +158 -57
- package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +273 -153
- package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +391 -223
- package/src/components/Badge/__tests__/__snapshots__/Status.spec.tsx.snap +119 -63
- package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +306 -242
- package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +317 -183
- package/src/components/Box/__tests__/__snapshots__/index.spec.tsx.snap +1042 -454
- package/src/components/Button/LoadingIndicator/StyledLoadingIndicator.tsx +6 -10
- package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/StyledLoadingIndicator.spec.tsx.snap +400 -140
- package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +1090 -880
- package/src/components/Button/StyledButton.tsx +4 -0
- package/src/components/Button/UtilityButton/__tests__/__snapshots__/index.spec.tsx.snap +196 -106
- package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +1675 -1125
- package/src/components/Button/__tests__/__snapshots__/IconButton.spec.tsx.snap +71 -26
- package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +1651 -665
- package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +555 -330
- package/src/components/Card/DataCard/__tests__/__snapshots__/StyledDataCard.spec.tsx.snap +265 -69
- package/src/components/Card/DataCard/__tests__/__snapshots__/index.spec.tsx.snap +205 -65
- package/src/components/Card/__tests__/__snapshots__/StyledCard.spec.tsx.snap +36 -8
- package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +292 -124
- package/src/components/Carousel/CardCarousel.tsx +10 -7
- package/src/components/Carousel/__tests__/__snapshots__/CardCarousel.spec.tsx.snap +486 -406
- package/src/components/Carousel/__tests__/__snapshots__/StyledCardCarousel.spec.tsx.snap +197 -70
- package/src/components/Carousel/__tests__/__snapshots__/StyledCarousel.spec.tsx.snap +41 -13
- package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +1742 -1526
- package/src/components/Carousel/__tests__/index.spec.tsx +50 -3
- package/src/components/Carousel/index.tsx +16 -22
- package/src/components/Checkbox/__tests__/__snapshots__/StyledCheckbox.spec.tsx.snap +404 -112
- package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +574 -334
- package/src/components/Chip/StyledChip.tsx +121 -0
- package/src/components/Chip/__tests__/__snapshots__/index.spec.tsx.snap +1483 -0
- package/src/components/Chip/__tests__/index.spec.tsx +136 -0
- package/src/components/Chip/index.tsx +82 -0
- package/src/components/Collapse/__tests__/__snapshots__/StyledCollapse.spec.tsx.snap +73 -17
- package/src/components/Collapse/__tests__/__snapshots__/index.spec.tsx.snap +94 -38
- package/src/components/Collapse/index.tsx +1 -1
- package/src/components/ContentNavigator/__tests__/__snapshots__/StyledContentNavigator.spec.tsx.snap +37 -9
- package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +424 -268
- package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.spec.tsx.snap +586 -466
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +200 -160
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerCalendar.spec.tsx.snap +192 -152
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +471 -389
- package/src/components/Divider/__tests__/__snapshots__/StyledDivider.spec.tsx.snap +464 -128
- package/src/components/Drawer/DragableDrawer/__tests__/__snapshots__/index.spec.tsx.snap +97 -69
- package/src/components/Drawer/__tests__/__snapshots__/index.spec.tsx.snap +327 -192
- package/src/components/Empty/__tests__/__snapshots__/index.spec.tsx.snap +169 -113
- package/src/components/Error/StyledError.tsx +2 -1
- package/src/components/Error/__tests__/__snapshots__/index.spec.tsx.snap +390 -262
- package/src/components/Error/__tests__/index.spec.tsx +9 -6
- package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +860 -723
- package/src/components/FAB/__tests__/__snapshots__/AnimatedFABIcon.spec.tsx.snap +98 -42
- package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +199 -99
- package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +293 -185
- package/src/components/HeroDesignProvider/__tests__/__snapshots__/index.spec.tsx.snap +45 -17
- package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
- package/src/components/Icon/IconList.ts +3 -0
- package/src/components/Icon/__tests__/__snapshots__/index.spec.tsx.snap +158 -46
- package/src/components/Image/__tests__/__snapshots__/index.spec.tsx.snap +164 -52
- package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +242 -170
- package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +760 -588
- package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +272 -128
- package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +477 -193
- package/src/components/Modal/__tests__/__snapshots__/index.spec.tsx.snap +169 -0
- package/src/components/Modal/__tests__/index.spec.tsx +99 -0
- package/src/components/Modal/index.tsx +178 -82
- package/src/components/PageControl/__tests__/__snapshots__/index.spec.tsx.snap +84 -41
- package/src/components/PageControl/index.tsx +1 -0
- package/src/components/PinInput/__tests__/StyledPinInput.spec.tsx +9 -4
- package/src/components/PinInput/__tests__/__snapshots__/PinCell.spec.tsx.snap +293 -153
- package/src/components/PinInput/__tests__/__snapshots__/StyledPinInput.spec.tsx.snap +15 -48
- package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +809 -697
- package/src/components/Portal/__tests__/PortalHost.spec.tsx +12 -14
- package/src/components/Portal/__tests__/__snapshots__/index.spec.tsx.snap +43 -15
- package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +743 -603
- package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +188 -116
- package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +257 -205
- package/src/components/Rate/__tests__/__snapshots__/index.spec.tsx.snap +864 -600
- package/src/components/RefreshControl/__tests__/__snapshots__/index.spec.tsx.snap +128 -44
- package/src/components/RichTextEditor/__tests__/EditorToolbar.spec.tsx +5 -2
- package/src/components/RichTextEditor/__tests__/RichTextEditor.spec.tsx +3 -3
- package/src/components/RichTextEditor/__tests__/__snapshots__/EditorToolbar.spec.tsx.snap +413 -266
- package/src/components/RichTextEditor/__tests__/__snapshots__/MentionList.spec.tsx.snap +64 -35
- package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +371 -297
- package/src/components/SectionHeading/__tests__/__snapshots__/StyledHeading.spec.tsx.snap +158 -46
- package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +394 -226
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +93 -57
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +2387 -2151
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +621 -28
- package/src/components/Select/MultiSelect/__tests__/index.spec.tsx +7 -6
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +73 -37
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +2321 -2085
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +473 -23
- package/src/components/Skeleton/__tests__/__snapshots__/index.spec.tsx.snap +490 -294
- package/src/components/Slider/__tests__/__snapshots__/index.spec.tsx.snap +117 -33
- package/src/components/Spinner/__tests__/__snapshots__/AnimatedSpinner.spec.tsx.snap +105 -77
- package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +1308 -636
- package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +121 -93
- package/src/components/Success/StyledSuccess.tsx +2 -1
- package/src/components/Success/__tests__/__snapshots__/index.spec.tsx.snap +388 -258
- package/src/components/Success/__tests__/index.spec.tsx +9 -6
- package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +210 -75
- package/src/components/Swipeable/__tests__/__snapshots__/index.spec.tsx.snap +58 -30
- package/src/components/Swipeable/index.tsx +3 -3
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/Option.spec.tsx.snap +226 -114
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +146 -109
- package/src/components/Switch/__tests__/__snapshots__/StyledSwitch.spec.tsx.snap +202 -62
- package/src/components/Switch/__tests__/__snapshots__/index.spec.tsx.snap +132 -68
- package/src/components/Tabs/__tests__/SceneView.spec.tsx +7 -7
- package/src/components/Tabs/__tests__/__snapshots__/SceneView.spec.tsx.snap +206 -94
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +2217 -1962
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +523 -455
- package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +121 -65
- package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +1641 -1398
- package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +554 -274
- package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +1542 -646
- package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +3177 -2701
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +390 -310
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +662 -540
- package/src/components/Toast/__tests__/__snapshots__/Toast.spec.tsx.snap +871 -573
- package/src/components/Toast/__tests__/__snapshots__/ToastContainer.spec.tsx.snap +180 -68
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +582 -426
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +683 -363
- package/src/components/Typography/Body/__tests__/__snapshots__/StyledBody.tsx.snap +704 -256
- package/src/components/Typography/Body/__tests__/__snapshots__/index.spec.tsx.snap +855 -323
- package/src/components/Typography/Caption/__tests__/__snapshots__/StyledCaption.spec.tsx.snap +430 -150
- package/src/components/Typography/Caption/__tests__/__snapshots__/index.spec.tsx.snap +572 -208
- package/src/components/Typography/Label/__tests__/__snapshots__/StyledLabel.tsx.snap +328 -104
- package/src/components/Typography/Label/__tests__/__snapshots__/index.spec.tsx.snap +462 -154
- package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +900 -340
- package/src/components/Typography/Title/__tests__/__snapshots__/StyledTitle.tsx.snap +880 -320
- package/src/components/Typography/Title/__tests__/__snapshots__/index.spec.tsx.snap +1035 -391
- package/src/index.ts +2 -2
- package/src/testHelpers/renderWithTheme.tsx +2 -2
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +38 -1
- package/src/theme/components/button.ts +0 -1
- package/src/theme/components/chip.ts +47 -0
- package/src/theme/getTheme.ts +3 -0
- package/testUtils/setup.tsx +0 -18
- package/tsconfig.json +4 -1
- package/types/components/Accordion/AccordionItem.d.ts +2 -1
- package/types/components/Accordion/index.d.ts +1 -1
- package/types/components/Attachment/index.d.ts +2 -1
- package/types/components/Avatar/Avatar.d.ts +2 -1
- package/types/components/Avatar/AvatarStack/index.d.ts +2 -2
- package/types/components/Avatar/index.d.ts +3 -2
- package/types/components/Badge/StyledBadge.d.ts +0 -4
- package/types/components/BottomSheet/Footer.d.ts +2 -1
- package/types/components/BottomSheet/Header.d.ts +2 -1
- package/types/components/BottomSheet/ScrollView.d.ts +1 -0
- package/types/components/BottomSheet/StyledBottomSheet.d.ts +0 -4
- package/types/components/Box/index.d.ts +2 -1
- package/types/components/Button/IconButton.d.ts +2 -1
- package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +3 -3
- package/types/components/Button/LoadingIndicator/index.d.ts +2 -1
- package/types/components/Button/UtilityButton/index.d.ts +2 -1
- package/types/components/Calendar/CalendarRowItem.d.ts +2 -1
- package/types/components/Calendar/StyledCalendar.d.ts +1 -1
- package/types/components/Calendar/index.d.ts +2 -1
- package/types/components/Carousel/CardCarousel.d.ts +1 -1
- package/types/components/Carousel/CarouselItem.d.ts +2 -1
- package/types/components/Carousel/index.d.ts +2 -2
- package/types/components/Checkbox/index.d.ts +2 -1
- package/types/components/Chip/StyledChip.d.ts +31 -0
- package/types/components/Chip/index.d.ts +27 -0
- package/types/components/Collapse/StyledCollapse.d.ts +0 -2
- package/types/components/Collapse/index.d.ts +2 -1
- package/types/components/ContentNavigator/index.d.ts +2 -1
- package/types/components/DatePicker/DatePickerAndroid.d.ts +2 -1
- package/types/components/DatePicker/DatePickerCalendar.d.ts +2 -1
- package/types/components/DatePicker/DatePickerIOS.d.ts +2 -1
- package/types/components/DatePicker/index.d.ts +2 -1
- package/types/components/Divider/index.d.ts +2 -1
- package/types/components/Drawer/StyledDrawer.d.ts +0 -6
- package/types/components/Error/StyledError.d.ts +3 -9
- package/types/components/FAB/ActionGroup/ActionItem.d.ts +2 -1
- package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +0 -4
- package/types/components/FAB/AnimatedFABIcon.d.ts +2 -1
- package/types/components/HeroDesignProvider/index.d.ts +2 -1
- package/types/components/Icon/AnimatedIcon.d.ts +2 -1
- package/types/components/Icon/IconList.d.ts +1 -1
- package/types/components/Icon/index.d.ts +3 -2
- package/types/components/Icon/utils.d.ts +1 -1
- package/types/components/Image/index.d.ts +1 -0
- package/types/components/Modal/index.d.ts +12 -8
- package/types/components/PageControl/StyledPageControl.d.ts +0 -2
- package/types/components/PageControl/index.d.ts +2 -1
- package/types/components/PinInput/PinCell.d.ts +2 -1
- package/types/components/Portal/PortalHost.d.ts +1 -1
- package/types/components/Portal/PortalProvider.d.ts +1 -1
- package/types/components/Portal/index.d.ts +2 -2
- package/types/components/Progress/ProgressBar.d.ts +1 -0
- package/types/components/Progress/StyledProgressBar.d.ts +0 -2
- package/types/components/Progress/index.d.ts +1 -0
- package/types/components/Rate/StyledRate.d.ts +0 -2
- package/types/components/Rate/index.d.ts +2 -1
- package/types/components/RefreshControl/index.d.ts +2 -1
- package/types/components/RichTextEditor/EditorToolbar.d.ts +2 -1
- package/types/components/RichTextEditor/MentionList.d.ts +2 -1
- package/types/components/RichTextEditor/index.d.ts +2 -2
- package/types/components/Select/BaseOptionList.d.ts +1 -1
- package/types/components/Select/Footer.d.ts +2 -1
- package/types/components/Select/MultiSelect/Option.d.ts +2 -1
- package/types/components/Select/MultiSelect/OptionList.d.ts +2 -1
- package/types/components/Select/MultiSelect/index.d.ts +1 -1
- package/types/components/Select/SingleSelect/Option.d.ts +2 -1
- package/types/components/Select/SingleSelect/OptionList.d.ts +1 -1
- package/types/components/Select/SingleSelect/StyledSingleSelect.d.ts +2 -1
- package/types/components/Select/SingleSelect/index.d.ts +1 -1
- package/types/components/Select/helpers.d.ts +1 -2
- package/types/components/Select/index.d.ts +2 -1
- package/types/components/Skeleton/index.d.ts +2 -1
- package/types/components/Slider/index.d.ts +2 -1
- package/types/components/Spinner/AnimatedSpinner.d.ts +2 -1
- package/types/components/Success/StyledSuccess.d.ts +3 -7
- package/types/components/Swipeable/SwipeableAction.d.ts +2 -2
- package/types/components/Swipeable/index.d.ts +3 -3
- package/types/components/Switch/SelectorSwitch/Option.d.ts +2 -1
- package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +0 -6
- package/types/components/Switch/StyledSwitch.d.ts +0 -2
- package/types/components/Tabs/ActiveTabIndicator.d.ts +2 -1
- package/types/components/Tabs/SceneView.d.ts +1 -1
- package/types/components/Tabs/ScrollableTabs.d.ts +2 -1
- package/types/components/Tabs/ScrollableTabsHeader.d.ts +2 -1
- package/types/components/Tabs/StyledScrollableTabs.d.ts +0 -4
- package/types/components/Tabs/StyledTabs.d.ts +0 -4
- package/types/components/Tabs/TabWithBadge.d.ts +2 -2
- package/types/components/Tabs/index.d.ts +2 -1
- package/types/components/TextInput/StyledTextInput.d.ts +1 -1
- package/types/components/TextInput/index.d.ts +1 -1
- package/types/components/TimePicker/TimePickerAndroid.d.ts +2 -1
- package/types/components/TimePicker/TimePickerIOS.d.ts +2 -1
- package/types/components/TimePicker/index.d.ts +2 -1
- package/types/components/Toast/StyledToast.d.ts +0 -2
- package/types/components/Toast/Toast.d.ts +1 -0
- package/types/components/Toast/ToastProvider.d.ts +2 -1
- package/types/components/Toast/index.d.ts +1 -1
- package/types/components/Toolbar/ToolbarGroup.d.ts +2 -1
- package/types/components/Toolbar/ToolbarItem.d.ts +2 -1
- package/types/components/Toolbar/index.d.ts +3 -2
- package/types/components/Typography/Body/index.d.ts +2 -1
- package/types/components/Typography/Caption/index.d.ts +2 -1
- package/types/components/Typography/Label/index.d.ts +2 -1
- package/types/components/Typography/Text/index.d.ts +2 -1
- package/types/components/Typography/Title/index.d.ts +2 -1
- package/types/index.d.ts +2 -2
- package/types/testHelpers/renderWithTheme.d.ts +1 -0
- package/types/theme/ThemeSwitcher.d.ts +2 -2
- package/types/theme/components/button.d.ts +0 -1
- package/types/theme/components/chip.d.ts +40 -0
- package/types/theme/getTheme.d.ts +2 -0
- package/.turbo/turbo-publish:npm.log +0 -0
- package/src/components/Modal/ModalContentWrapper.tsx +0 -112
- package/src/components/Modal/ModalPresenter/ModalPresenter.tsx +0 -135
- package/src/components/Modal/ModalPresenter/index.tsx +0 -9
- package/src/components/Modal/ModalProvider.tsx +0 -8
- package/types/components/Modal/ModalContentWrapper.d.ts +0 -16
- package/types/components/Modal/ModalPresenter/ModalPresenter.d.ts +0 -34
- package/types/components/Modal/ModalPresenter/index.d.ts +0 -3
- package/types/components/Modal/ModalProvider.d.ts +0 -5
|
@@ -2,39 +2,42 @@
|
|
|
2
2
|
|
|
3
3
|
exports[`ListItem renders correctly ListItem with children 1`] = `
|
|
4
4
|
<View
|
|
5
|
-
|
|
5
|
+
style={
|
|
6
6
|
{
|
|
7
|
-
"
|
|
7
|
+
"flex": 1,
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
|
-
accessible={true}
|
|
11
|
-
focusable={false}
|
|
12
|
-
onClick={[Function]}
|
|
13
|
-
onResponderGrant={[Function]}
|
|
14
|
-
onResponderMove={[Function]}
|
|
15
|
-
onResponderRelease={[Function]}
|
|
16
|
-
onResponderTerminate={[Function]}
|
|
17
|
-
onResponderTerminationRequest={[Function]}
|
|
18
|
-
onStartShouldSetResponder={[Function]}
|
|
19
|
-
style={
|
|
20
|
-
[
|
|
21
|
-
{
|
|
22
|
-
"backgroundColor": "#ffffff",
|
|
23
|
-
"borderRadius": 8,
|
|
24
|
-
"flexDirection": "row",
|
|
25
|
-
"padding": 16,
|
|
26
|
-
},
|
|
27
|
-
undefined,
|
|
28
|
-
]
|
|
29
|
-
}
|
|
30
10
|
>
|
|
31
11
|
<View
|
|
12
|
+
accessibilityState={
|
|
13
|
+
{
|
|
14
|
+
"disabled": false,
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
accessibilityValue={
|
|
18
|
+
{
|
|
19
|
+
"max": undefined,
|
|
20
|
+
"min": undefined,
|
|
21
|
+
"now": undefined,
|
|
22
|
+
"text": undefined,
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
accessible={true}
|
|
26
|
+
focusable={false}
|
|
27
|
+
onClick={[Function]}
|
|
28
|
+
onResponderGrant={[Function]}
|
|
29
|
+
onResponderMove={[Function]}
|
|
30
|
+
onResponderRelease={[Function]}
|
|
31
|
+
onResponderTerminate={[Function]}
|
|
32
|
+
onResponderTerminationRequest={[Function]}
|
|
33
|
+
onStartShouldSetResponder={[Function]}
|
|
32
34
|
style={
|
|
33
35
|
[
|
|
34
36
|
{
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
37
|
+
"backgroundColor": "#ffffff",
|
|
38
|
+
"borderRadius": 8,
|
|
39
|
+
"flexDirection": "row",
|
|
40
|
+
"padding": 16,
|
|
38
41
|
},
|
|
39
42
|
undefined,
|
|
40
43
|
]
|
|
@@ -42,470 +45,539 @@ exports[`ListItem renders correctly ListItem with children 1`] = `
|
|
|
42
45
|
>
|
|
43
46
|
<View
|
|
44
47
|
style={
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
48
|
+
[
|
|
49
|
+
{
|
|
50
|
+
"flex": 1,
|
|
51
|
+
"flexDirection": "column",
|
|
52
|
+
"flexGrow": 2,
|
|
53
|
+
},
|
|
54
|
+
undefined,
|
|
55
|
+
]
|
|
49
56
|
}
|
|
50
57
|
>
|
|
51
58
|
<View
|
|
52
59
|
style={
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
undefined,
|
|
58
|
-
]
|
|
60
|
+
{
|
|
61
|
+
"alignItems": "center",
|
|
62
|
+
"flexDirection": "row",
|
|
63
|
+
}
|
|
59
64
|
}
|
|
60
65
|
>
|
|
61
66
|
<View
|
|
62
|
-
accessibilityState={
|
|
63
|
-
{
|
|
64
|
-
"disabled": true,
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
accessible={true}
|
|
68
|
-
collapsable={false}
|
|
69
|
-
focusable={false}
|
|
70
|
-
onClick={[Function]}
|
|
71
|
-
onResponderGrant={[Function]}
|
|
72
|
-
onResponderMove={[Function]}
|
|
73
|
-
onResponderRelease={[Function]}
|
|
74
|
-
onResponderTerminate={[Function]}
|
|
75
|
-
onResponderTerminationRequest={[Function]}
|
|
76
|
-
onStartShouldSetResponder={[Function]}
|
|
77
67
|
style={
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
"width": 32,
|
|
85
|
-
}
|
|
68
|
+
[
|
|
69
|
+
{
|
|
70
|
+
"marginRight": 8,
|
|
71
|
+
},
|
|
72
|
+
undefined,
|
|
73
|
+
]
|
|
86
74
|
}
|
|
87
75
|
>
|
|
88
76
|
<View
|
|
77
|
+
accessibilityState={
|
|
78
|
+
{
|
|
79
|
+
"busy": undefined,
|
|
80
|
+
"checked": undefined,
|
|
81
|
+
"disabled": true,
|
|
82
|
+
"expanded": undefined,
|
|
83
|
+
"selected": undefined,
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
accessibilityValue={
|
|
87
|
+
{
|
|
88
|
+
"max": undefined,
|
|
89
|
+
"min": undefined,
|
|
90
|
+
"now": undefined,
|
|
91
|
+
"text": undefined,
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
accessible={true}
|
|
95
|
+
collapsable={false}
|
|
96
|
+
focusable={false}
|
|
97
|
+
onClick={[Function]}
|
|
98
|
+
onResponderGrant={[Function]}
|
|
99
|
+
onResponderMove={[Function]}
|
|
100
|
+
onResponderRelease={[Function]}
|
|
101
|
+
onResponderTerminate={[Function]}
|
|
102
|
+
onResponderTerminationRequest={[Function]}
|
|
103
|
+
onStartShouldSetResponder={[Function]}
|
|
89
104
|
style={
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
]
|
|
105
|
+
{
|
|
106
|
+
"backgroundColor": "#401960",
|
|
107
|
+
"borderRadius": 999,
|
|
108
|
+
"height": 32,
|
|
109
|
+
"opacity": 1,
|
|
110
|
+
"overflow": "hidden",
|
|
111
|
+
"width": 32,
|
|
112
|
+
}
|
|
99
113
|
}
|
|
100
114
|
>
|
|
101
|
-
<
|
|
102
|
-
allowFontScaling={false}
|
|
115
|
+
<View
|
|
103
116
|
style={
|
|
104
117
|
[
|
|
105
118
|
{
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
"
|
|
109
|
-
"
|
|
110
|
-
"lineHeight": 22,
|
|
119
|
+
"alignItems": "center",
|
|
120
|
+
"height": "100%",
|
|
121
|
+
"justifyContent": "center",
|
|
122
|
+
"width": "100%",
|
|
111
123
|
},
|
|
124
|
+
undefined,
|
|
125
|
+
]
|
|
126
|
+
}
|
|
127
|
+
>
|
|
128
|
+
<Text
|
|
129
|
+
allowFontScaling={false}
|
|
130
|
+
style={
|
|
112
131
|
[
|
|
113
132
|
{
|
|
114
|
-
"color": "#
|
|
133
|
+
"color": "#001f23",
|
|
115
134
|
"fontFamily": "BeVietnamPro-Regular",
|
|
116
|
-
"fontSize":
|
|
117
|
-
"
|
|
118
|
-
"
|
|
119
|
-
"textAlign": "center",
|
|
120
|
-
"textAlignVertical": "center",
|
|
135
|
+
"fontSize": 14,
|
|
136
|
+
"letterSpacing": 0.42,
|
|
137
|
+
"lineHeight": 22,
|
|
121
138
|
},
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
139
|
+
[
|
|
140
|
+
{
|
|
141
|
+
"color": "#ffffff",
|
|
142
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
143
|
+
"fontSize": 16,
|
|
144
|
+
"lineHeight": 0,
|
|
145
|
+
"overflow": "hidden",
|
|
146
|
+
"textAlign": "center",
|
|
147
|
+
"textAlignVertical": "center",
|
|
148
|
+
},
|
|
149
|
+
undefined,
|
|
150
|
+
],
|
|
151
|
+
]
|
|
152
|
+
}
|
|
153
|
+
themeFontSize="medium"
|
|
154
|
+
themeFontWeight="regular"
|
|
155
|
+
themeIntent="body"
|
|
156
|
+
themeSize="small"
|
|
157
|
+
themeTypeface="neutral"
|
|
158
|
+
>
|
|
159
|
+
ML
|
|
160
|
+
</Text>
|
|
161
|
+
</View>
|
|
134
162
|
</View>
|
|
135
163
|
</View>
|
|
136
|
-
|
|
137
|
-
<View
|
|
138
|
-
style={
|
|
139
|
-
[
|
|
140
|
-
{
|
|
141
|
-
"flex": 1,
|
|
142
|
-
},
|
|
143
|
-
undefined,
|
|
144
|
-
]
|
|
145
|
-
}
|
|
146
|
-
>
|
|
147
|
-
<Text
|
|
148
|
-
allowFontScaling={false}
|
|
164
|
+
<View
|
|
149
165
|
style={
|
|
150
166
|
[
|
|
151
167
|
{
|
|
152
|
-
"
|
|
153
|
-
"fontFamily": "BeVietnamPro-Regular",
|
|
154
|
-
"fontSize": 16,
|
|
155
|
-
"letterSpacing": 0.48,
|
|
156
|
-
"lineHeight": 24,
|
|
168
|
+
"flex": 1,
|
|
157
169
|
},
|
|
158
170
|
undefined,
|
|
159
171
|
]
|
|
160
172
|
}
|
|
161
|
-
themeIntent="body"
|
|
162
|
-
themeTypeface="neutral"
|
|
163
|
-
themeVariant="regular"
|
|
164
173
|
>
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
174
|
+
<Text
|
|
175
|
+
allowFontScaling={false}
|
|
176
|
+
style={
|
|
177
|
+
[
|
|
178
|
+
{
|
|
179
|
+
"color": "#001f23",
|
|
180
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
181
|
+
"fontSize": 16,
|
|
182
|
+
"letterSpacing": 0.48,
|
|
183
|
+
"lineHeight": 24,
|
|
184
|
+
},
|
|
185
|
+
undefined,
|
|
186
|
+
]
|
|
187
|
+
}
|
|
188
|
+
themeIntent="body"
|
|
189
|
+
themeTypeface="neutral"
|
|
190
|
+
themeVariant="regular"
|
|
191
|
+
>
|
|
192
|
+
Menu List
|
|
193
|
+
</Text>
|
|
194
|
+
<Text
|
|
195
|
+
allowFontScaling={false}
|
|
196
|
+
style={
|
|
197
|
+
[
|
|
198
|
+
{
|
|
199
|
+
"color": "#4d6265",
|
|
200
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
201
|
+
"fontSize": 12,
|
|
202
|
+
"letterSpacing": 0.48,
|
|
203
|
+
"lineHeight": 16,
|
|
204
|
+
},
|
|
205
|
+
undefined,
|
|
206
|
+
]
|
|
207
|
+
}
|
|
208
|
+
themeFontWeight="regular"
|
|
209
|
+
themeIntent="subdued"
|
|
210
|
+
>
|
|
211
|
+
Got a common question?
|
|
212
|
+
</Text>
|
|
213
|
+
</View>
|
|
214
|
+
<View
|
|
169
215
|
style={
|
|
170
216
|
[
|
|
171
217
|
{
|
|
172
|
-
"
|
|
173
|
-
"fontFamily": "BeVietnamPro-Regular",
|
|
174
|
-
"fontSize": 12,
|
|
175
|
-
"letterSpacing": 0.48,
|
|
176
|
-
"lineHeight": 16,
|
|
218
|
+
"marginLeft": 8,
|
|
177
219
|
},
|
|
178
220
|
undefined,
|
|
179
221
|
]
|
|
180
222
|
}
|
|
181
|
-
themeFontWeight="regular"
|
|
182
|
-
themeIntent="subdued"
|
|
183
223
|
>
|
|
184
|
-
|
|
185
|
-
|
|
224
|
+
<HeroIcon
|
|
225
|
+
name="arrow-right"
|
|
226
|
+
style={
|
|
227
|
+
[
|
|
228
|
+
{
|
|
229
|
+
"color": "#401960",
|
|
230
|
+
"fontSize": 20,
|
|
231
|
+
},
|
|
232
|
+
undefined,
|
|
233
|
+
]
|
|
234
|
+
}
|
|
235
|
+
themeIntent="primary"
|
|
236
|
+
themeSize="small"
|
|
237
|
+
/>
|
|
238
|
+
</View>
|
|
186
239
|
</View>
|
|
187
240
|
<View
|
|
188
241
|
style={
|
|
189
242
|
[
|
|
190
243
|
{
|
|
191
|
-
"
|
|
244
|
+
"alignItems": "flex-start",
|
|
245
|
+
"flexDirection": "column",
|
|
246
|
+
"justifyContent": "flex-start",
|
|
192
247
|
},
|
|
193
248
|
undefined,
|
|
194
249
|
]
|
|
195
250
|
}
|
|
196
251
|
>
|
|
197
|
-
<
|
|
198
|
-
name="arrow-right"
|
|
199
|
-
style={
|
|
200
|
-
[
|
|
201
|
-
{
|
|
202
|
-
"color": "#401960",
|
|
203
|
-
"fontSize": 20,
|
|
204
|
-
},
|
|
205
|
-
undefined,
|
|
206
|
-
]
|
|
207
|
-
}
|
|
208
|
-
themeIntent="primary"
|
|
209
|
-
themeSize="small"
|
|
210
|
-
/>
|
|
211
|
-
</View>
|
|
212
|
-
</View>
|
|
213
|
-
<View
|
|
214
|
-
style={
|
|
215
|
-
[
|
|
216
|
-
{
|
|
217
|
-
"alignItems": "flex-start",
|
|
218
|
-
"flexDirection": "column",
|
|
219
|
-
"justifyContent": "flex-start",
|
|
220
|
-
},
|
|
221
|
-
undefined,
|
|
222
|
-
]
|
|
223
|
-
}
|
|
224
|
-
>
|
|
225
|
-
<View
|
|
226
|
-
style={
|
|
227
|
-
{
|
|
228
|
-
"alignSelf": "stretch",
|
|
229
|
-
"flexDirection": "row",
|
|
230
|
-
"justifyContent": "space-between",
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
>
|
|
234
|
-
<Text
|
|
235
|
-
allowFontScaling={false}
|
|
236
|
-
style={
|
|
237
|
-
[
|
|
238
|
-
{
|
|
239
|
-
"color": "#001f23",
|
|
240
|
-
"fontFamily": "BeVietnamPro-Regular",
|
|
241
|
-
"fontSize": 16,
|
|
242
|
-
"letterSpacing": 0.48,
|
|
243
|
-
"lineHeight": 24,
|
|
244
|
-
},
|
|
245
|
-
undefined,
|
|
246
|
-
]
|
|
247
|
-
}
|
|
248
|
-
themeIntent="body"
|
|
249
|
-
themeTypeface="neutral"
|
|
250
|
-
themeVariant="regular"
|
|
251
|
-
>
|
|
252
|
-
Gross pay
|
|
253
|
-
</Text>
|
|
254
|
-
<Text
|
|
255
|
-
allowFontScaling={false}
|
|
256
|
-
style={
|
|
257
|
-
[
|
|
258
|
-
{
|
|
259
|
-
"color": "#001f23",
|
|
260
|
-
"fontFamily": "BeVietnamPro-Regular",
|
|
261
|
-
"fontSize": 16,
|
|
262
|
-
"letterSpacing": 0.48,
|
|
263
|
-
"lineHeight": 24,
|
|
264
|
-
},
|
|
265
|
-
undefined,
|
|
266
|
-
]
|
|
267
|
-
}
|
|
268
|
-
themeIntent="body"
|
|
269
|
-
themeTypeface="neutral"
|
|
270
|
-
themeVariant="regular"
|
|
271
|
-
>
|
|
272
|
-
$1052.03
|
|
273
|
-
</Text>
|
|
274
|
-
</View>
|
|
275
|
-
<View
|
|
276
|
-
style={
|
|
277
|
-
{
|
|
278
|
-
"alignSelf": "stretch",
|
|
279
|
-
"flexDirection": "row",
|
|
280
|
-
"justifyContent": "space-between",
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
>
|
|
284
|
-
<Text
|
|
285
|
-
allowFontScaling={false}
|
|
252
|
+
<View
|
|
286
253
|
style={
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
"letterSpacing": 0.48,
|
|
293
|
-
"lineHeight": 24,
|
|
294
|
-
},
|
|
295
|
-
undefined,
|
|
296
|
-
]
|
|
254
|
+
{
|
|
255
|
+
"alignSelf": "stretch",
|
|
256
|
+
"flexDirection": "row",
|
|
257
|
+
"justifyContent": "space-between",
|
|
258
|
+
}
|
|
297
259
|
}
|
|
298
|
-
themeIntent="body"
|
|
299
|
-
themeTypeface="neutral"
|
|
300
|
-
themeVariant="regular"
|
|
301
260
|
>
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
261
|
+
<Text
|
|
262
|
+
allowFontScaling={false}
|
|
263
|
+
style={
|
|
264
|
+
[
|
|
265
|
+
{
|
|
266
|
+
"color": "#001f23",
|
|
267
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
268
|
+
"fontSize": 16,
|
|
269
|
+
"letterSpacing": 0.48,
|
|
270
|
+
"lineHeight": 24,
|
|
271
|
+
},
|
|
272
|
+
undefined,
|
|
273
|
+
]
|
|
274
|
+
}
|
|
275
|
+
themeIntent="body"
|
|
276
|
+
themeTypeface="neutral"
|
|
277
|
+
themeVariant="regular"
|
|
278
|
+
>
|
|
279
|
+
Gross pay
|
|
280
|
+
</Text>
|
|
281
|
+
<Text
|
|
282
|
+
allowFontScaling={false}
|
|
283
|
+
style={
|
|
284
|
+
[
|
|
285
|
+
{
|
|
286
|
+
"color": "#001f23",
|
|
287
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
288
|
+
"fontSize": 16,
|
|
289
|
+
"letterSpacing": 0.48,
|
|
290
|
+
"lineHeight": 24,
|
|
291
|
+
},
|
|
292
|
+
undefined,
|
|
293
|
+
]
|
|
294
|
+
}
|
|
295
|
+
themeIntent="body"
|
|
296
|
+
themeTypeface="neutral"
|
|
297
|
+
themeVariant="regular"
|
|
298
|
+
>
|
|
299
|
+
$1052.03
|
|
300
|
+
</Text>
|
|
301
|
+
</View>
|
|
302
|
+
<View
|
|
306
303
|
style={
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
"letterSpacing": 0.48,
|
|
313
|
-
"lineHeight": 24,
|
|
314
|
-
},
|
|
315
|
-
undefined,
|
|
316
|
-
]
|
|
304
|
+
{
|
|
305
|
+
"alignSelf": "stretch",
|
|
306
|
+
"flexDirection": "row",
|
|
307
|
+
"justifyContent": "space-between",
|
|
308
|
+
}
|
|
317
309
|
}
|
|
318
|
-
themeIntent="body"
|
|
319
|
-
themeTypeface="neutral"
|
|
320
|
-
themeVariant="regular"
|
|
321
310
|
>
|
|
322
|
-
|
|
323
|
-
|
|
311
|
+
<Text
|
|
312
|
+
allowFontScaling={false}
|
|
313
|
+
style={
|
|
314
|
+
[
|
|
315
|
+
{
|
|
316
|
+
"color": "#001f23",
|
|
317
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
318
|
+
"fontSize": 16,
|
|
319
|
+
"letterSpacing": 0.48,
|
|
320
|
+
"lineHeight": 24,
|
|
321
|
+
},
|
|
322
|
+
undefined,
|
|
323
|
+
]
|
|
324
|
+
}
|
|
325
|
+
themeIntent="body"
|
|
326
|
+
themeTypeface="neutral"
|
|
327
|
+
themeVariant="regular"
|
|
328
|
+
>
|
|
329
|
+
Gross pay
|
|
330
|
+
</Text>
|
|
331
|
+
<Text
|
|
332
|
+
allowFontScaling={false}
|
|
333
|
+
style={
|
|
334
|
+
[
|
|
335
|
+
{
|
|
336
|
+
"color": "#001f23",
|
|
337
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
338
|
+
"fontSize": 16,
|
|
339
|
+
"letterSpacing": 0.48,
|
|
340
|
+
"lineHeight": 24,
|
|
341
|
+
},
|
|
342
|
+
undefined,
|
|
343
|
+
]
|
|
344
|
+
}
|
|
345
|
+
themeIntent="body"
|
|
346
|
+
themeTypeface="neutral"
|
|
347
|
+
themeVariant="regular"
|
|
348
|
+
>
|
|
349
|
+
$1052.03
|
|
350
|
+
</Text>
|
|
351
|
+
</View>
|
|
324
352
|
</View>
|
|
325
353
|
</View>
|
|
326
354
|
</View>
|
|
355
|
+
<View
|
|
356
|
+
pointerEvents="box-none"
|
|
357
|
+
position="bottom"
|
|
358
|
+
style={
|
|
359
|
+
[
|
|
360
|
+
{
|
|
361
|
+
"bottom": 0,
|
|
362
|
+
"elevation": 9999,
|
|
363
|
+
"flexDirection": "column-reverse",
|
|
364
|
+
"left": 0,
|
|
365
|
+
"paddingHorizontal": 24,
|
|
366
|
+
"paddingVertical": 16,
|
|
367
|
+
"position": "absolute",
|
|
368
|
+
"right": 0,
|
|
369
|
+
"top": 0,
|
|
370
|
+
},
|
|
371
|
+
undefined,
|
|
372
|
+
]
|
|
373
|
+
}
|
|
374
|
+
/>
|
|
327
375
|
</View>
|
|
328
376
|
`;
|
|
329
377
|
|
|
330
378
|
exports[`ListItem renders correctly ListItem with icon 1`] = `
|
|
331
379
|
<View
|
|
332
|
-
|
|
380
|
+
style={
|
|
333
381
|
{
|
|
334
|
-
"
|
|
382
|
+
"flex": 1,
|
|
335
383
|
}
|
|
336
384
|
}
|
|
337
|
-
accessible={true}
|
|
338
|
-
focusable={false}
|
|
339
|
-
onClick={[Function]}
|
|
340
|
-
onResponderGrant={[Function]}
|
|
341
|
-
onResponderMove={[Function]}
|
|
342
|
-
onResponderRelease={[Function]}
|
|
343
|
-
onResponderTerminate={[Function]}
|
|
344
|
-
onResponderTerminationRequest={[Function]}
|
|
345
|
-
onStartShouldSetResponder={[Function]}
|
|
346
|
-
style={
|
|
347
|
-
[
|
|
348
|
-
{
|
|
349
|
-
"backgroundColor": "#ffffff",
|
|
350
|
-
"borderRadius": 8,
|
|
351
|
-
"flexDirection": "row",
|
|
352
|
-
"padding": 16,
|
|
353
|
-
},
|
|
354
|
-
undefined,
|
|
355
|
-
]
|
|
356
|
-
}
|
|
357
|
-
testID="list-item"
|
|
358
385
|
>
|
|
359
386
|
<View
|
|
387
|
+
accessibilityState={
|
|
388
|
+
{
|
|
389
|
+
"disabled": false,
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
accessibilityValue={
|
|
393
|
+
{
|
|
394
|
+
"max": undefined,
|
|
395
|
+
"min": undefined,
|
|
396
|
+
"now": undefined,
|
|
397
|
+
"text": undefined,
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
accessible={true}
|
|
401
|
+
focusable={false}
|
|
402
|
+
onClick={[Function]}
|
|
403
|
+
onResponderGrant={[Function]}
|
|
404
|
+
onResponderMove={[Function]}
|
|
405
|
+
onResponderRelease={[Function]}
|
|
406
|
+
onResponderTerminate={[Function]}
|
|
407
|
+
onResponderTerminationRequest={[Function]}
|
|
408
|
+
onStartShouldSetResponder={[Function]}
|
|
360
409
|
style={
|
|
361
410
|
[
|
|
362
411
|
{
|
|
363
|
-
"
|
|
364
|
-
"
|
|
365
|
-
"
|
|
412
|
+
"backgroundColor": "#ffffff",
|
|
413
|
+
"borderRadius": 8,
|
|
414
|
+
"flexDirection": "row",
|
|
415
|
+
"padding": 16,
|
|
366
416
|
},
|
|
367
417
|
undefined,
|
|
368
418
|
]
|
|
369
419
|
}
|
|
420
|
+
testID="list-item"
|
|
370
421
|
>
|
|
371
422
|
<View
|
|
372
423
|
style={
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
424
|
+
[
|
|
425
|
+
{
|
|
426
|
+
"flex": 1,
|
|
427
|
+
"flexDirection": "column",
|
|
428
|
+
"flexGrow": 2,
|
|
429
|
+
},
|
|
430
|
+
undefined,
|
|
431
|
+
]
|
|
377
432
|
}
|
|
378
433
|
>
|
|
379
434
|
<View
|
|
380
435
|
style={
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
undefined,
|
|
386
|
-
]
|
|
436
|
+
{
|
|
437
|
+
"alignItems": "center",
|
|
438
|
+
"flexDirection": "row",
|
|
439
|
+
}
|
|
387
440
|
}
|
|
388
441
|
>
|
|
389
|
-
<
|
|
390
|
-
allowFontScaling={false}
|
|
442
|
+
<View
|
|
391
443
|
style={
|
|
392
444
|
[
|
|
393
445
|
{
|
|
394
|
-
"
|
|
395
|
-
"fontFamily": "BeVietnamPro-Regular",
|
|
396
|
-
"fontSize": 16,
|
|
397
|
-
"letterSpacing": 0.48,
|
|
398
|
-
"lineHeight": 24,
|
|
446
|
+
"flex": 1,
|
|
399
447
|
},
|
|
400
448
|
undefined,
|
|
401
449
|
]
|
|
402
450
|
}
|
|
403
|
-
themeIntent="body"
|
|
404
|
-
themeTypeface="neutral"
|
|
405
|
-
themeVariant="regular"
|
|
406
451
|
>
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
452
|
+
<Text
|
|
453
|
+
allowFontScaling={false}
|
|
454
|
+
style={
|
|
455
|
+
[
|
|
456
|
+
{
|
|
457
|
+
"color": "#001f23",
|
|
458
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
459
|
+
"fontSize": 16,
|
|
460
|
+
"letterSpacing": 0.48,
|
|
461
|
+
"lineHeight": 24,
|
|
462
|
+
},
|
|
463
|
+
undefined,
|
|
464
|
+
]
|
|
465
|
+
}
|
|
466
|
+
themeIntent="body"
|
|
467
|
+
themeTypeface="neutral"
|
|
468
|
+
themeVariant="regular"
|
|
469
|
+
>
|
|
470
|
+
List item
|
|
471
|
+
</Text>
|
|
472
|
+
<Text
|
|
473
|
+
allowFontScaling={false}
|
|
474
|
+
style={
|
|
475
|
+
[
|
|
476
|
+
{
|
|
477
|
+
"color": "#4d6265",
|
|
478
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
479
|
+
"fontSize": 12,
|
|
480
|
+
"letterSpacing": 0.48,
|
|
481
|
+
"lineHeight": 16,
|
|
482
|
+
},
|
|
483
|
+
undefined,
|
|
484
|
+
]
|
|
485
|
+
}
|
|
486
|
+
themeFontWeight="regular"
|
|
487
|
+
themeIntent="subdued"
|
|
488
|
+
>
|
|
489
|
+
subtitle
|
|
490
|
+
</Text>
|
|
491
|
+
</View>
|
|
492
|
+
<View
|
|
411
493
|
style={
|
|
412
494
|
[
|
|
413
495
|
{
|
|
414
|
-
"
|
|
415
|
-
"fontFamily": "BeVietnamPro-Regular",
|
|
416
|
-
"fontSize": 12,
|
|
417
|
-
"letterSpacing": 0.48,
|
|
418
|
-
"lineHeight": 16,
|
|
496
|
+
"marginLeft": 8,
|
|
419
497
|
},
|
|
420
498
|
undefined,
|
|
421
499
|
]
|
|
422
500
|
}
|
|
423
|
-
themeFontWeight="regular"
|
|
424
|
-
themeIntent="subdued"
|
|
425
501
|
>
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
style={
|
|
442
|
-
[
|
|
443
|
-
{
|
|
444
|
-
"color": "#401960",
|
|
445
|
-
"fontSize": 20,
|
|
446
|
-
},
|
|
447
|
-
undefined,
|
|
448
|
-
]
|
|
449
|
-
}
|
|
450
|
-
themeIntent="primary"
|
|
451
|
-
themeSize="small"
|
|
452
|
-
/>
|
|
502
|
+
<HeroIcon
|
|
503
|
+
name="checkmark"
|
|
504
|
+
style={
|
|
505
|
+
[
|
|
506
|
+
{
|
|
507
|
+
"color": "#401960",
|
|
508
|
+
"fontSize": 20,
|
|
509
|
+
},
|
|
510
|
+
undefined,
|
|
511
|
+
]
|
|
512
|
+
}
|
|
513
|
+
themeIntent="primary"
|
|
514
|
+
themeSize="small"
|
|
515
|
+
/>
|
|
516
|
+
</View>
|
|
453
517
|
</View>
|
|
454
518
|
</View>
|
|
455
519
|
</View>
|
|
520
|
+
<View
|
|
521
|
+
pointerEvents="box-none"
|
|
522
|
+
position="bottom"
|
|
523
|
+
style={
|
|
524
|
+
[
|
|
525
|
+
{
|
|
526
|
+
"bottom": 0,
|
|
527
|
+
"elevation": 9999,
|
|
528
|
+
"flexDirection": "column-reverse",
|
|
529
|
+
"left": 0,
|
|
530
|
+
"paddingHorizontal": 24,
|
|
531
|
+
"paddingVertical": 16,
|
|
532
|
+
"position": "absolute",
|
|
533
|
+
"right": 0,
|
|
534
|
+
"top": 0,
|
|
535
|
+
},
|
|
536
|
+
undefined,
|
|
537
|
+
]
|
|
538
|
+
}
|
|
539
|
+
/>
|
|
456
540
|
</View>
|
|
457
541
|
`;
|
|
458
542
|
|
|
459
543
|
exports[`ListItem renders correctly ListItem with leading status 1`] = `
|
|
460
544
|
<View
|
|
461
|
-
|
|
545
|
+
style={
|
|
462
546
|
{
|
|
463
|
-
"
|
|
547
|
+
"flex": 1,
|
|
464
548
|
}
|
|
465
549
|
}
|
|
466
|
-
accessible={true}
|
|
467
|
-
focusable={false}
|
|
468
|
-
onClick={[Function]}
|
|
469
|
-
onResponderGrant={[Function]}
|
|
470
|
-
onResponderMove={[Function]}
|
|
471
|
-
onResponderRelease={[Function]}
|
|
472
|
-
onResponderTerminate={[Function]}
|
|
473
|
-
onResponderTerminationRequest={[Function]}
|
|
474
|
-
onStartShouldSetResponder={[Function]}
|
|
475
|
-
style={
|
|
476
|
-
[
|
|
477
|
-
{
|
|
478
|
-
"backgroundColor": "#ffffff",
|
|
479
|
-
"borderRadius": 8,
|
|
480
|
-
"flexDirection": "row",
|
|
481
|
-
"padding": 16,
|
|
482
|
-
},
|
|
483
|
-
undefined,
|
|
484
|
-
]
|
|
485
|
-
}
|
|
486
550
|
>
|
|
487
551
|
<View
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
"borderRadius": 999,
|
|
493
|
-
"marginRight": 8,
|
|
494
|
-
"width": 8,
|
|
495
|
-
},
|
|
496
|
-
undefined,
|
|
497
|
-
]
|
|
552
|
+
accessibilityState={
|
|
553
|
+
{
|
|
554
|
+
"disabled": false,
|
|
555
|
+
}
|
|
498
556
|
}
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
557
|
+
accessibilityValue={
|
|
558
|
+
{
|
|
559
|
+
"max": undefined,
|
|
560
|
+
"min": undefined,
|
|
561
|
+
"now": undefined,
|
|
562
|
+
"text": undefined,
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
accessible={true}
|
|
566
|
+
focusable={false}
|
|
567
|
+
onClick={[Function]}
|
|
568
|
+
onResponderGrant={[Function]}
|
|
569
|
+
onResponderMove={[Function]}
|
|
570
|
+
onResponderRelease={[Function]}
|
|
571
|
+
onResponderTerminate={[Function]}
|
|
572
|
+
onResponderTerminationRequest={[Function]}
|
|
573
|
+
onStartShouldSetResponder={[Function]}
|
|
503
574
|
style={
|
|
504
575
|
[
|
|
505
576
|
{
|
|
506
|
-
"
|
|
507
|
-
"
|
|
508
|
-
"
|
|
577
|
+
"backgroundColor": "#ffffff",
|
|
578
|
+
"borderRadius": 8,
|
|
579
|
+
"flexDirection": "row",
|
|
580
|
+
"padding": 16,
|
|
509
581
|
},
|
|
510
582
|
undefined,
|
|
511
583
|
]
|
|
@@ -513,315 +585,415 @@ exports[`ListItem renders correctly ListItem with leading status 1`] = `
|
|
|
513
585
|
>
|
|
514
586
|
<View
|
|
515
587
|
style={
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
588
|
+
[
|
|
589
|
+
{
|
|
590
|
+
"backgroundColor": "#abacaf",
|
|
591
|
+
"borderRadius": 999,
|
|
592
|
+
"marginRight": 8,
|
|
593
|
+
"width": 8,
|
|
594
|
+
},
|
|
595
|
+
undefined,
|
|
596
|
+
]
|
|
597
|
+
}
|
|
598
|
+
testID="leadingStatus"
|
|
599
|
+
themeLeadingStatusIntent="archived"
|
|
600
|
+
/>
|
|
601
|
+
<View
|
|
602
|
+
style={
|
|
603
|
+
[
|
|
604
|
+
{
|
|
605
|
+
"flex": 1,
|
|
606
|
+
"flexDirection": "column",
|
|
607
|
+
"flexGrow": 2,
|
|
608
|
+
},
|
|
609
|
+
undefined,
|
|
610
|
+
]
|
|
520
611
|
}
|
|
521
612
|
>
|
|
522
613
|
<View
|
|
523
614
|
style={
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
undefined,
|
|
529
|
-
]
|
|
615
|
+
{
|
|
616
|
+
"alignItems": "center",
|
|
617
|
+
"flexDirection": "row",
|
|
618
|
+
}
|
|
530
619
|
}
|
|
531
620
|
>
|
|
532
|
-
<
|
|
533
|
-
allowFontScaling={false}
|
|
621
|
+
<View
|
|
534
622
|
style={
|
|
535
623
|
[
|
|
536
624
|
{
|
|
537
|
-
"
|
|
538
|
-
"fontFamily": "BeVietnamPro-Regular",
|
|
539
|
-
"fontSize": 16,
|
|
540
|
-
"letterSpacing": 0.48,
|
|
541
|
-
"lineHeight": 24,
|
|
625
|
+
"flex": 1,
|
|
542
626
|
},
|
|
543
627
|
undefined,
|
|
544
628
|
]
|
|
545
629
|
}
|
|
546
|
-
themeIntent="body"
|
|
547
|
-
themeTypeface="neutral"
|
|
548
|
-
themeVariant="regular"
|
|
549
630
|
>
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
631
|
+
<Text
|
|
632
|
+
allowFontScaling={false}
|
|
633
|
+
style={
|
|
634
|
+
[
|
|
635
|
+
{
|
|
636
|
+
"color": "#001f23",
|
|
637
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
638
|
+
"fontSize": 16,
|
|
639
|
+
"letterSpacing": 0.48,
|
|
640
|
+
"lineHeight": 24,
|
|
641
|
+
},
|
|
642
|
+
undefined,
|
|
643
|
+
]
|
|
644
|
+
}
|
|
645
|
+
themeIntent="body"
|
|
646
|
+
themeTypeface="neutral"
|
|
647
|
+
themeVariant="regular"
|
|
648
|
+
>
|
|
649
|
+
03:00 PM - 9:00 PM
|
|
650
|
+
</Text>
|
|
651
|
+
</View>
|
|
652
|
+
<View
|
|
565
653
|
style={
|
|
566
654
|
[
|
|
567
655
|
{
|
|
568
|
-
"
|
|
569
|
-
"fontSize": 20,
|
|
656
|
+
"marginLeft": 8,
|
|
570
657
|
},
|
|
571
658
|
undefined,
|
|
572
659
|
]
|
|
573
660
|
}
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
661
|
+
>
|
|
662
|
+
<HeroIcon
|
|
663
|
+
name="arrow-right"
|
|
664
|
+
style={
|
|
665
|
+
[
|
|
666
|
+
{
|
|
667
|
+
"color": "#401960",
|
|
668
|
+
"fontSize": 20,
|
|
669
|
+
},
|
|
670
|
+
undefined,
|
|
671
|
+
]
|
|
672
|
+
}
|
|
673
|
+
themeIntent="primary"
|
|
674
|
+
themeSize="small"
|
|
675
|
+
/>
|
|
676
|
+
</View>
|
|
577
677
|
</View>
|
|
578
678
|
</View>
|
|
579
679
|
</View>
|
|
680
|
+
<View
|
|
681
|
+
pointerEvents="box-none"
|
|
682
|
+
position="bottom"
|
|
683
|
+
style={
|
|
684
|
+
[
|
|
685
|
+
{
|
|
686
|
+
"bottom": 0,
|
|
687
|
+
"elevation": 9999,
|
|
688
|
+
"flexDirection": "column-reverse",
|
|
689
|
+
"left": 0,
|
|
690
|
+
"paddingHorizontal": 24,
|
|
691
|
+
"paddingVertical": 16,
|
|
692
|
+
"position": "absolute",
|
|
693
|
+
"right": 0,
|
|
694
|
+
"top": 0,
|
|
695
|
+
},
|
|
696
|
+
undefined,
|
|
697
|
+
]
|
|
698
|
+
}
|
|
699
|
+
/>
|
|
580
700
|
</View>
|
|
581
701
|
`;
|
|
582
702
|
|
|
583
703
|
exports[`ListItem renders correctly ListItem with prefix suffix is React.Element 1`] = `
|
|
584
704
|
<View
|
|
585
|
-
|
|
705
|
+
style={
|
|
586
706
|
{
|
|
587
|
-
"
|
|
707
|
+
"flex": 1,
|
|
588
708
|
}
|
|
589
709
|
}
|
|
590
|
-
accessible={true}
|
|
591
|
-
focusable={false}
|
|
592
|
-
onClick={[Function]}
|
|
593
|
-
onResponderGrant={[Function]}
|
|
594
|
-
onResponderMove={[Function]}
|
|
595
|
-
onResponderRelease={[Function]}
|
|
596
|
-
onResponderTerminate={[Function]}
|
|
597
|
-
onResponderTerminationRequest={[Function]}
|
|
598
|
-
onStartShouldSetResponder={[Function]}
|
|
599
|
-
style={
|
|
600
|
-
[
|
|
601
|
-
{
|
|
602
|
-
"backgroundColor": "#ffffff",
|
|
603
|
-
"borderRadius": 8,
|
|
604
|
-
"flexDirection": "row",
|
|
605
|
-
"padding": 16,
|
|
606
|
-
},
|
|
607
|
-
undefined,
|
|
608
|
-
]
|
|
609
|
-
}
|
|
610
|
-
testID="list-item"
|
|
611
710
|
>
|
|
612
711
|
<View
|
|
712
|
+
accessibilityState={
|
|
713
|
+
{
|
|
714
|
+
"disabled": false,
|
|
715
|
+
}
|
|
716
|
+
}
|
|
717
|
+
accessibilityValue={
|
|
718
|
+
{
|
|
719
|
+
"max": undefined,
|
|
720
|
+
"min": undefined,
|
|
721
|
+
"now": undefined,
|
|
722
|
+
"text": undefined,
|
|
723
|
+
}
|
|
724
|
+
}
|
|
725
|
+
accessible={true}
|
|
726
|
+
focusable={false}
|
|
727
|
+
onClick={[Function]}
|
|
728
|
+
onResponderGrant={[Function]}
|
|
729
|
+
onResponderMove={[Function]}
|
|
730
|
+
onResponderRelease={[Function]}
|
|
731
|
+
onResponderTerminate={[Function]}
|
|
732
|
+
onResponderTerminationRequest={[Function]}
|
|
733
|
+
onStartShouldSetResponder={[Function]}
|
|
613
734
|
style={
|
|
614
735
|
[
|
|
615
736
|
{
|
|
616
|
-
"
|
|
617
|
-
"
|
|
618
|
-
"
|
|
737
|
+
"backgroundColor": "#ffffff",
|
|
738
|
+
"borderRadius": 8,
|
|
739
|
+
"flexDirection": "row",
|
|
740
|
+
"padding": 16,
|
|
619
741
|
},
|
|
620
742
|
undefined,
|
|
621
743
|
]
|
|
622
744
|
}
|
|
745
|
+
testID="list-item"
|
|
623
746
|
>
|
|
624
747
|
<View
|
|
625
748
|
style={
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
749
|
+
[
|
|
750
|
+
{
|
|
751
|
+
"flex": 1,
|
|
752
|
+
"flexDirection": "column",
|
|
753
|
+
"flexGrow": 2,
|
|
754
|
+
},
|
|
755
|
+
undefined,
|
|
756
|
+
]
|
|
630
757
|
}
|
|
631
758
|
>
|
|
632
759
|
<View
|
|
633
760
|
style={
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
undefined,
|
|
639
|
-
]
|
|
761
|
+
{
|
|
762
|
+
"alignItems": "center",
|
|
763
|
+
"flexDirection": "row",
|
|
764
|
+
}
|
|
640
765
|
}
|
|
641
766
|
>
|
|
642
767
|
<View
|
|
643
|
-
accessibilityState={
|
|
644
|
-
{
|
|
645
|
-
"disabled": true,
|
|
646
|
-
}
|
|
647
|
-
}
|
|
648
|
-
accessible={true}
|
|
649
|
-
collapsable={false}
|
|
650
|
-
focusable={false}
|
|
651
|
-
onClick={[Function]}
|
|
652
|
-
onResponderGrant={[Function]}
|
|
653
|
-
onResponderMove={[Function]}
|
|
654
|
-
onResponderRelease={[Function]}
|
|
655
|
-
onResponderTerminate={[Function]}
|
|
656
|
-
onResponderTerminationRequest={[Function]}
|
|
657
|
-
onStartShouldSetResponder={[Function]}
|
|
658
768
|
style={
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
"width": 32,
|
|
666
|
-
}
|
|
769
|
+
[
|
|
770
|
+
{
|
|
771
|
+
"marginRight": 8,
|
|
772
|
+
},
|
|
773
|
+
undefined,
|
|
774
|
+
]
|
|
667
775
|
}
|
|
668
776
|
>
|
|
669
777
|
<View
|
|
778
|
+
accessibilityState={
|
|
779
|
+
{
|
|
780
|
+
"busy": undefined,
|
|
781
|
+
"checked": undefined,
|
|
782
|
+
"disabled": true,
|
|
783
|
+
"expanded": undefined,
|
|
784
|
+
"selected": undefined,
|
|
785
|
+
}
|
|
786
|
+
}
|
|
787
|
+
accessibilityValue={
|
|
788
|
+
{
|
|
789
|
+
"max": undefined,
|
|
790
|
+
"min": undefined,
|
|
791
|
+
"now": undefined,
|
|
792
|
+
"text": undefined,
|
|
793
|
+
}
|
|
794
|
+
}
|
|
795
|
+
accessible={true}
|
|
796
|
+
collapsable={false}
|
|
797
|
+
focusable={false}
|
|
798
|
+
onClick={[Function]}
|
|
799
|
+
onResponderGrant={[Function]}
|
|
800
|
+
onResponderMove={[Function]}
|
|
801
|
+
onResponderRelease={[Function]}
|
|
802
|
+
onResponderTerminate={[Function]}
|
|
803
|
+
onResponderTerminationRequest={[Function]}
|
|
804
|
+
onStartShouldSetResponder={[Function]}
|
|
670
805
|
style={
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
]
|
|
806
|
+
{
|
|
807
|
+
"backgroundColor": "#401960",
|
|
808
|
+
"borderRadius": 999,
|
|
809
|
+
"height": 32,
|
|
810
|
+
"opacity": 1,
|
|
811
|
+
"overflow": "hidden",
|
|
812
|
+
"width": 32,
|
|
813
|
+
}
|
|
680
814
|
}
|
|
681
815
|
>
|
|
682
|
-
<
|
|
683
|
-
allowFontScaling={false}
|
|
816
|
+
<View
|
|
684
817
|
style={
|
|
685
818
|
[
|
|
686
819
|
{
|
|
687
|
-
"
|
|
688
|
-
"
|
|
689
|
-
"
|
|
690
|
-
"
|
|
691
|
-
"lineHeight": 22,
|
|
820
|
+
"alignItems": "center",
|
|
821
|
+
"height": "100%",
|
|
822
|
+
"justifyContent": "center",
|
|
823
|
+
"width": "100%",
|
|
692
824
|
},
|
|
825
|
+
undefined,
|
|
826
|
+
]
|
|
827
|
+
}
|
|
828
|
+
>
|
|
829
|
+
<Text
|
|
830
|
+
allowFontScaling={false}
|
|
831
|
+
style={
|
|
693
832
|
[
|
|
694
833
|
{
|
|
695
|
-
"color": "#
|
|
834
|
+
"color": "#001f23",
|
|
696
835
|
"fontFamily": "BeVietnamPro-Regular",
|
|
697
|
-
"fontSize":
|
|
698
|
-
"
|
|
699
|
-
"
|
|
700
|
-
"textAlign": "center",
|
|
701
|
-
"textAlignVertical": "center",
|
|
836
|
+
"fontSize": 14,
|
|
837
|
+
"letterSpacing": 0.42,
|
|
838
|
+
"lineHeight": 22,
|
|
702
839
|
},
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
840
|
+
[
|
|
841
|
+
{
|
|
842
|
+
"color": "#ffffff",
|
|
843
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
844
|
+
"fontSize": 16,
|
|
845
|
+
"lineHeight": 0,
|
|
846
|
+
"overflow": "hidden",
|
|
847
|
+
"textAlign": "center",
|
|
848
|
+
"textAlignVertical": "center",
|
|
849
|
+
},
|
|
850
|
+
undefined,
|
|
851
|
+
],
|
|
852
|
+
]
|
|
853
|
+
}
|
|
854
|
+
themeFontSize="medium"
|
|
855
|
+
themeFontWeight="regular"
|
|
856
|
+
themeIntent="body"
|
|
857
|
+
themeSize="small"
|
|
858
|
+
themeTypeface="neutral"
|
|
859
|
+
>
|
|
860
|
+
ML
|
|
861
|
+
</Text>
|
|
862
|
+
</View>
|
|
715
863
|
</View>
|
|
716
864
|
</View>
|
|
717
|
-
|
|
718
|
-
<View
|
|
719
|
-
style={
|
|
720
|
-
[
|
|
721
|
-
{
|
|
722
|
-
"flex": 1,
|
|
723
|
-
},
|
|
724
|
-
undefined,
|
|
725
|
-
]
|
|
726
|
-
}
|
|
727
|
-
>
|
|
728
|
-
<Text
|
|
729
|
-
allowFontScaling={false}
|
|
730
|
-
style={
|
|
731
|
-
[
|
|
732
|
-
{
|
|
733
|
-
"color": "#001f23",
|
|
734
|
-
"fontFamily": "BeVietnamPro-Regular",
|
|
735
|
-
"fontSize": 16,
|
|
736
|
-
"letterSpacing": 0.48,
|
|
737
|
-
"lineHeight": 24,
|
|
738
|
-
},
|
|
739
|
-
undefined,
|
|
740
|
-
]
|
|
741
|
-
}
|
|
742
|
-
themeIntent="body"
|
|
743
|
-
themeTypeface="neutral"
|
|
744
|
-
themeVariant="regular"
|
|
745
|
-
>
|
|
746
|
-
List item
|
|
747
|
-
</Text>
|
|
748
|
-
<Text
|
|
749
|
-
allowFontScaling={false}
|
|
865
|
+
<View
|
|
750
866
|
style={
|
|
751
867
|
[
|
|
752
868
|
{
|
|
753
|
-
"
|
|
754
|
-
"fontFamily": "BeVietnamPro-Regular",
|
|
755
|
-
"fontSize": 12,
|
|
756
|
-
"letterSpacing": 0.48,
|
|
757
|
-
"lineHeight": 16,
|
|
869
|
+
"flex": 1,
|
|
758
870
|
},
|
|
759
871
|
undefined,
|
|
760
872
|
]
|
|
761
873
|
}
|
|
762
|
-
themeFontWeight="regular"
|
|
763
|
-
themeIntent="subdued"
|
|
764
874
|
>
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
<View
|
|
779
|
-
accessibilityState={
|
|
780
|
-
{
|
|
781
|
-
"disabled": false,
|
|
875
|
+
<Text
|
|
876
|
+
allowFontScaling={false}
|
|
877
|
+
style={
|
|
878
|
+
[
|
|
879
|
+
{
|
|
880
|
+
"color": "#001f23",
|
|
881
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
882
|
+
"fontSize": 16,
|
|
883
|
+
"letterSpacing": 0.48,
|
|
884
|
+
"lineHeight": 24,
|
|
885
|
+
},
|
|
886
|
+
undefined,
|
|
887
|
+
]
|
|
782
888
|
}
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
889
|
+
themeIntent="body"
|
|
890
|
+
themeTypeface="neutral"
|
|
891
|
+
themeVariant="regular"
|
|
892
|
+
>
|
|
893
|
+
List item
|
|
894
|
+
</Text>
|
|
895
|
+
<Text
|
|
896
|
+
allowFontScaling={false}
|
|
897
|
+
style={
|
|
898
|
+
[
|
|
899
|
+
{
|
|
900
|
+
"color": "#4d6265",
|
|
901
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
902
|
+
"fontSize": 12,
|
|
903
|
+
"letterSpacing": 0.48,
|
|
904
|
+
"lineHeight": 16,
|
|
905
|
+
},
|
|
906
|
+
undefined,
|
|
907
|
+
]
|
|
908
|
+
}
|
|
909
|
+
themeFontWeight="regular"
|
|
910
|
+
themeIntent="subdued"
|
|
911
|
+
>
|
|
912
|
+
subtitle
|
|
913
|
+
</Text>
|
|
914
|
+
</View>
|
|
915
|
+
<View
|
|
793
916
|
style={
|
|
794
917
|
[
|
|
795
918
|
{
|
|
796
|
-
"
|
|
797
|
-
"borderRadius": 999,
|
|
798
|
-
"display": "flex",
|
|
799
|
-
"height": 24,
|
|
800
|
-
"justifyContent": "center",
|
|
801
|
-
"paddingHorizontal": 4,
|
|
802
|
-
"width": 48,
|
|
919
|
+
"marginLeft": 8,
|
|
803
920
|
},
|
|
804
921
|
undefined,
|
|
805
922
|
]
|
|
806
923
|
}
|
|
807
|
-
testID="switch"
|
|
808
|
-
themeVariant="checked"
|
|
809
924
|
>
|
|
810
925
|
<View
|
|
811
|
-
|
|
812
|
-
style={
|
|
926
|
+
accessibilityState={
|
|
813
927
|
{
|
|
814
|
-
"
|
|
815
|
-
"
|
|
816
|
-
"
|
|
817
|
-
"
|
|
818
|
-
"
|
|
928
|
+
"busy": undefined,
|
|
929
|
+
"checked": undefined,
|
|
930
|
+
"disabled": false,
|
|
931
|
+
"expanded": undefined,
|
|
932
|
+
"selected": undefined,
|
|
819
933
|
}
|
|
820
934
|
}
|
|
821
|
-
|
|
935
|
+
accessible={true}
|
|
936
|
+
focusable={false}
|
|
937
|
+
onClick={[Function]}
|
|
938
|
+
onResponderGrant={[Function]}
|
|
939
|
+
onResponderMove={[Function]}
|
|
940
|
+
onResponderRelease={[Function]}
|
|
941
|
+
onResponderTerminate={[Function]}
|
|
942
|
+
onResponderTerminationRequest={[Function]}
|
|
943
|
+
onStartShouldSetResponder={[Function]}
|
|
944
|
+
style={
|
|
945
|
+
[
|
|
946
|
+
{
|
|
947
|
+
"backgroundColor": "#401960",
|
|
948
|
+
"borderRadius": 999,
|
|
949
|
+
"display": "flex",
|
|
950
|
+
"height": 24,
|
|
951
|
+
"justifyContent": "center",
|
|
952
|
+
"paddingHorizontal": 4,
|
|
953
|
+
"width": 48,
|
|
954
|
+
},
|
|
955
|
+
undefined,
|
|
956
|
+
]
|
|
957
|
+
}
|
|
958
|
+
testID="switch"
|
|
959
|
+
themeVariant="checked"
|
|
960
|
+
>
|
|
961
|
+
<View
|
|
962
|
+
collapsable={false}
|
|
963
|
+
style={
|
|
964
|
+
{
|
|
965
|
+
"backgroundColor": "#ffffff",
|
|
966
|
+
"borderRadius": 999,
|
|
967
|
+
"height": 16,
|
|
968
|
+
"left": 24,
|
|
969
|
+
"width": 16,
|
|
970
|
+
}
|
|
971
|
+
}
|
|
972
|
+
/>
|
|
973
|
+
</View>
|
|
822
974
|
</View>
|
|
823
975
|
</View>
|
|
824
976
|
</View>
|
|
825
977
|
</View>
|
|
978
|
+
<View
|
|
979
|
+
pointerEvents="box-none"
|
|
980
|
+
position="bottom"
|
|
981
|
+
style={
|
|
982
|
+
[
|
|
983
|
+
{
|
|
984
|
+
"bottom": 0,
|
|
985
|
+
"elevation": 9999,
|
|
986
|
+
"flexDirection": "column-reverse",
|
|
987
|
+
"left": 0,
|
|
988
|
+
"paddingHorizontal": 24,
|
|
989
|
+
"paddingVertical": 16,
|
|
990
|
+
"position": "absolute",
|
|
991
|
+
"right": 0,
|
|
992
|
+
"top": 0,
|
|
993
|
+
},
|
|
994
|
+
undefined,
|
|
995
|
+
]
|
|
996
|
+
}
|
|
997
|
+
/>
|
|
826
998
|
</View>
|
|
827
999
|
`;
|