@hero-design/rn 8.43.1 → 8.44.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +10 -0
- package/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/es/index.js +366 -359
- package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/lib/index.js +366 -359
- package/package.json +1 -1
- package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +564 -452
- package/src/components/Accordion/__tests__/__snapshots__/StyledAccordion.spec.tsx.snap +76 -20
- package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +790 -706
- package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +848 -652
- package/src/components/Attachment/__tests__/__snapshots__/index.spec.tsx.snap +170 -142
- package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/StyledAvatarStack.spec.tsx.snap +138 -82
- package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/index.spec.tsx.snap +745 -689
- package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +157 -73
- package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +273 -189
- 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 -278
- package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +317 -233
- package/src/components/Box/__tests__/__snapshots__/index.spec.tsx.snap +1042 -454
- package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/StyledLoadingIndicator.spec.tsx.snap +400 -120
- package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +1090 -810
- package/src/components/Button/UtilityButton/__tests__/__snapshots__/index.spec.tsx.snap +196 -140
- package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +1666 -1218
- package/src/components/Button/__tests__/__snapshots__/IconButton.spec.tsx.snap +70 -42
- package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +1623 -727
- package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +555 -415
- 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/__tests__/__snapshots__/CardCarousel.spec.tsx.snap +486 -430
- package/src/components/Carousel/__tests__/__snapshots__/StyledCardCarousel.spec.tsx.snap +196 -84
- package/src/components/Carousel/__tests__/__snapshots__/StyledCarousel.spec.tsx.snap +41 -13
- package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +1720 -1636
- package/src/components/Carousel/__tests__/index.spec.tsx +7 -6
- package/src/components/Checkbox/__tests__/__snapshots__/StyledCheckbox.spec.tsx.snap +400 -176
- package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +574 -406
- package/src/components/Chip/__tests__/__snapshots__/index.spec.tsx.snap +1170 -834
- 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/ContentNavigator/__tests__/__snapshots__/StyledContentNavigator.spec.tsx.snap +37 -9
- package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +421 -337
- package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.spec.tsx.snap +586 -502
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +200 -172
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerCalendar.spec.tsx.snap +192 -164
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +471 -443
- 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 -243
- package/src/components/Empty/__tests__/__snapshots__/index.spec.tsx.snap +169 -113
- package/src/components/Error/__tests__/__snapshots__/index.spec.tsx.snap +323 -213
- package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +845 -789
- package/src/components/FAB/__tests__/__snapshots__/AnimatedFABIcon.spec.tsx.snap +98 -42
- package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +197 -113
- package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +290 -206
- 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 +2 -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 -186
- package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +761 -649
- package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +268 -156
- package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +473 -221
- package/src/components/Modal/__tests__/__snapshots__/index.spec.tsx.snap +60 -8
- package/src/components/PageControl/__tests__/__snapshots__/index.spec.tsx.snap +83 -55
- 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 -132
- package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +256 -228
- package/src/components/Rate/__tests__/__snapshots__/index.spec.tsx.snap +864 -780
- 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 +406 -378
- package/src/components/RichTextEditor/__tests__/__snapshots__/MentionList.spec.tsx.snap +64 -36
- package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +371 -315
- 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 -65
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +2402 -2290
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +180 -24
- package/src/components/Select/MultiSelect/__tests__/index.spec.tsx +7 -6
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +73 -45
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +2309 -2197
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +150 -20
- 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/__tests__/__snapshots__/index.spec.tsx.snap +323 -213
- package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +210 -126
- package/src/components/Swipeable/__tests__/__snapshots__/index.spec.tsx.snap +58 -30
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/Option.spec.tsx.snap +226 -114
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +145 -117
- package/src/components/Switch/__tests__/__snapshots__/StyledSwitch.spec.tsx.snap +202 -62
- package/src/components/Switch/__tests__/__snapshots__/index.spec.tsx.snap +132 -76
- 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 +2214 -2130
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +523 -495
- package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +121 -65
- package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +1637 -1553
- 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 -334
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +662 -606
- package/src/components/Toast/__tests__/__snapshots__/Toast.spec.tsx.snap +871 -675
- package/src/components/Toast/__tests__/__snapshots__/ToastContainer.spec.tsx.snap +180 -68
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +582 -498
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +683 -459
- 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/testHelpers/renderWithTheme.tsx +2 -2
- package/types/components/Icon/IconList.d.ts +1 -1
- package/types/components/Icon/index.d.ts +1 -1
- package/types/components/Icon/utils.d.ts +1 -1
|
@@ -2,47 +2,42 @@
|
|
|
2
2
|
|
|
3
3
|
exports[`ListItem renders correctly ListItem with children 1`] = `
|
|
4
4
|
<View
|
|
5
|
-
|
|
6
|
-
{
|
|
7
|
-
"disabled": false,
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
accessibilityValue={
|
|
5
|
+
style={
|
|
11
6
|
{
|
|
12
|
-
"
|
|
13
|
-
"min": undefined,
|
|
14
|
-
"now": undefined,
|
|
15
|
-
"text": undefined,
|
|
7
|
+
"flex": 1,
|
|
16
8
|
}
|
|
17
9
|
}
|
|
18
|
-
accessible={true}
|
|
19
|
-
focusable={false}
|
|
20
|
-
onClick={[Function]}
|
|
21
|
-
onResponderGrant={[Function]}
|
|
22
|
-
onResponderMove={[Function]}
|
|
23
|
-
onResponderRelease={[Function]}
|
|
24
|
-
onResponderTerminate={[Function]}
|
|
25
|
-
onResponderTerminationRequest={[Function]}
|
|
26
|
-
onStartShouldSetResponder={[Function]}
|
|
27
|
-
style={
|
|
28
|
-
[
|
|
29
|
-
{
|
|
30
|
-
"backgroundColor": "#ffffff",
|
|
31
|
-
"borderRadius": 8,
|
|
32
|
-
"flexDirection": "row",
|
|
33
|
-
"padding": 16,
|
|
34
|
-
},
|
|
35
|
-
undefined,
|
|
36
|
-
]
|
|
37
|
-
}
|
|
38
10
|
>
|
|
39
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]}
|
|
40
34
|
style={
|
|
41
35
|
[
|
|
42
36
|
{
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
37
|
+
"backgroundColor": "#ffffff",
|
|
38
|
+
"borderRadius": 8,
|
|
39
|
+
"flexDirection": "row",
|
|
40
|
+
"padding": 16,
|
|
46
41
|
},
|
|
47
42
|
undefined,
|
|
48
43
|
]
|
|
@@ -50,498 +45,539 @@ exports[`ListItem renders correctly ListItem with children 1`] = `
|
|
|
50
45
|
>
|
|
51
46
|
<View
|
|
52
47
|
style={
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
48
|
+
[
|
|
49
|
+
{
|
|
50
|
+
"flex": 1,
|
|
51
|
+
"flexDirection": "column",
|
|
52
|
+
"flexGrow": 2,
|
|
53
|
+
},
|
|
54
|
+
undefined,
|
|
55
|
+
]
|
|
57
56
|
}
|
|
58
57
|
>
|
|
59
58
|
<View
|
|
60
59
|
style={
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
undefined,
|
|
66
|
-
]
|
|
60
|
+
{
|
|
61
|
+
"alignItems": "center",
|
|
62
|
+
"flexDirection": "row",
|
|
63
|
+
}
|
|
67
64
|
}
|
|
68
65
|
>
|
|
69
66
|
<View
|
|
70
|
-
accessibilityState={
|
|
71
|
-
{
|
|
72
|
-
"busy": undefined,
|
|
73
|
-
"checked": undefined,
|
|
74
|
-
"disabled": true,
|
|
75
|
-
"expanded": undefined,
|
|
76
|
-
"selected": undefined,
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
accessibilityValue={
|
|
80
|
-
{
|
|
81
|
-
"max": undefined,
|
|
82
|
-
"min": undefined,
|
|
83
|
-
"now": undefined,
|
|
84
|
-
"text": undefined,
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
accessible={true}
|
|
88
|
-
collapsable={false}
|
|
89
|
-
focusable={false}
|
|
90
|
-
onClick={[Function]}
|
|
91
|
-
onResponderGrant={[Function]}
|
|
92
|
-
onResponderMove={[Function]}
|
|
93
|
-
onResponderRelease={[Function]}
|
|
94
|
-
onResponderTerminate={[Function]}
|
|
95
|
-
onResponderTerminationRequest={[Function]}
|
|
96
|
-
onStartShouldSetResponder={[Function]}
|
|
97
67
|
style={
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
"width": 32,
|
|
105
|
-
}
|
|
68
|
+
[
|
|
69
|
+
{
|
|
70
|
+
"marginRight": 8,
|
|
71
|
+
},
|
|
72
|
+
undefined,
|
|
73
|
+
]
|
|
106
74
|
}
|
|
107
75
|
>
|
|
108
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]}
|
|
109
104
|
style={
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
]
|
|
105
|
+
{
|
|
106
|
+
"backgroundColor": "#401960",
|
|
107
|
+
"borderRadius": 999,
|
|
108
|
+
"height": 32,
|
|
109
|
+
"opacity": 1,
|
|
110
|
+
"overflow": "hidden",
|
|
111
|
+
"width": 32,
|
|
112
|
+
}
|
|
119
113
|
}
|
|
120
114
|
>
|
|
121
|
-
<
|
|
122
|
-
allowFontScaling={false}
|
|
115
|
+
<View
|
|
123
116
|
style={
|
|
124
117
|
[
|
|
125
118
|
{
|
|
126
|
-
"
|
|
127
|
-
"
|
|
128
|
-
"
|
|
129
|
-
"
|
|
130
|
-
"lineHeight": 22,
|
|
119
|
+
"alignItems": "center",
|
|
120
|
+
"height": "100%",
|
|
121
|
+
"justifyContent": "center",
|
|
122
|
+
"width": "100%",
|
|
131
123
|
},
|
|
124
|
+
undefined,
|
|
125
|
+
]
|
|
126
|
+
}
|
|
127
|
+
>
|
|
128
|
+
<Text
|
|
129
|
+
allowFontScaling={false}
|
|
130
|
+
style={
|
|
132
131
|
[
|
|
133
132
|
{
|
|
134
|
-
"color": "#
|
|
133
|
+
"color": "#001f23",
|
|
135
134
|
"fontFamily": "BeVietnamPro-Regular",
|
|
136
|
-
"fontSize":
|
|
137
|
-
"
|
|
138
|
-
"
|
|
139
|
-
"textAlign": "center",
|
|
140
|
-
"textAlignVertical": "center",
|
|
135
|
+
"fontSize": 14,
|
|
136
|
+
"letterSpacing": 0.42,
|
|
137
|
+
"lineHeight": 22,
|
|
141
138
|
},
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
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>
|
|
154
162
|
</View>
|
|
155
163
|
</View>
|
|
156
|
-
|
|
157
|
-
<View
|
|
158
|
-
style={
|
|
159
|
-
[
|
|
160
|
-
{
|
|
161
|
-
"flex": 1,
|
|
162
|
-
},
|
|
163
|
-
undefined,
|
|
164
|
-
]
|
|
165
|
-
}
|
|
166
|
-
>
|
|
167
|
-
<Text
|
|
168
|
-
allowFontScaling={false}
|
|
164
|
+
<View
|
|
169
165
|
style={
|
|
170
166
|
[
|
|
171
167
|
{
|
|
172
|
-
"
|
|
173
|
-
"fontFamily": "BeVietnamPro-Regular",
|
|
174
|
-
"fontSize": 16,
|
|
175
|
-
"letterSpacing": 0.48,
|
|
176
|
-
"lineHeight": 24,
|
|
168
|
+
"flex": 1,
|
|
177
169
|
},
|
|
178
170
|
undefined,
|
|
179
171
|
]
|
|
180
172
|
}
|
|
181
|
-
themeIntent="body"
|
|
182
|
-
themeTypeface="neutral"
|
|
183
|
-
themeVariant="regular"
|
|
184
173
|
>
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
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
|
|
189
215
|
style={
|
|
190
216
|
[
|
|
191
217
|
{
|
|
192
|
-
"
|
|
193
|
-
"fontFamily": "BeVietnamPro-Regular",
|
|
194
|
-
"fontSize": 12,
|
|
195
|
-
"letterSpacing": 0.48,
|
|
196
|
-
"lineHeight": 16,
|
|
218
|
+
"marginLeft": 8,
|
|
197
219
|
},
|
|
198
220
|
undefined,
|
|
199
221
|
]
|
|
200
222
|
}
|
|
201
|
-
themeFontWeight="regular"
|
|
202
|
-
themeIntent="subdued"
|
|
203
223
|
>
|
|
204
|
-
|
|
205
|
-
|
|
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>
|
|
206
239
|
</View>
|
|
207
240
|
<View
|
|
208
241
|
style={
|
|
209
242
|
[
|
|
210
243
|
{
|
|
211
|
-
"
|
|
244
|
+
"alignItems": "flex-start",
|
|
245
|
+
"flexDirection": "column",
|
|
246
|
+
"justifyContent": "flex-start",
|
|
212
247
|
},
|
|
213
248
|
undefined,
|
|
214
249
|
]
|
|
215
250
|
}
|
|
216
251
|
>
|
|
217
|
-
<
|
|
218
|
-
name="arrow-right"
|
|
219
|
-
style={
|
|
220
|
-
[
|
|
221
|
-
{
|
|
222
|
-
"color": "#401960",
|
|
223
|
-
"fontSize": 20,
|
|
224
|
-
},
|
|
225
|
-
undefined,
|
|
226
|
-
]
|
|
227
|
-
}
|
|
228
|
-
themeIntent="primary"
|
|
229
|
-
themeSize="small"
|
|
230
|
-
/>
|
|
231
|
-
</View>
|
|
232
|
-
</View>
|
|
233
|
-
<View
|
|
234
|
-
style={
|
|
235
|
-
[
|
|
236
|
-
{
|
|
237
|
-
"alignItems": "flex-start",
|
|
238
|
-
"flexDirection": "column",
|
|
239
|
-
"justifyContent": "flex-start",
|
|
240
|
-
},
|
|
241
|
-
undefined,
|
|
242
|
-
]
|
|
243
|
-
}
|
|
244
|
-
>
|
|
245
|
-
<View
|
|
246
|
-
style={
|
|
247
|
-
{
|
|
248
|
-
"alignSelf": "stretch",
|
|
249
|
-
"flexDirection": "row",
|
|
250
|
-
"justifyContent": "space-between",
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
>
|
|
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
|
-
Gross pay
|
|
273
|
-
</Text>
|
|
274
|
-
<Text
|
|
275
|
-
allowFontScaling={false}
|
|
276
|
-
style={
|
|
277
|
-
[
|
|
278
|
-
{
|
|
279
|
-
"color": "#001f23",
|
|
280
|
-
"fontFamily": "BeVietnamPro-Regular",
|
|
281
|
-
"fontSize": 16,
|
|
282
|
-
"letterSpacing": 0.48,
|
|
283
|
-
"lineHeight": 24,
|
|
284
|
-
},
|
|
285
|
-
undefined,
|
|
286
|
-
]
|
|
287
|
-
}
|
|
288
|
-
themeIntent="body"
|
|
289
|
-
themeTypeface="neutral"
|
|
290
|
-
themeVariant="regular"
|
|
291
|
-
>
|
|
292
|
-
$1052.03
|
|
293
|
-
</Text>
|
|
294
|
-
</View>
|
|
295
|
-
<View
|
|
296
|
-
style={
|
|
297
|
-
{
|
|
298
|
-
"alignSelf": "stretch",
|
|
299
|
-
"flexDirection": "row",
|
|
300
|
-
"justifyContent": "space-between",
|
|
301
|
-
}
|
|
302
|
-
}
|
|
303
|
-
>
|
|
304
|
-
<Text
|
|
305
|
-
allowFontScaling={false}
|
|
252
|
+
<View
|
|
306
253
|
style={
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
"letterSpacing": 0.48,
|
|
313
|
-
"lineHeight": 24,
|
|
314
|
-
},
|
|
315
|
-
undefined,
|
|
316
|
-
]
|
|
254
|
+
{
|
|
255
|
+
"alignSelf": "stretch",
|
|
256
|
+
"flexDirection": "row",
|
|
257
|
+
"justifyContent": "space-between",
|
|
258
|
+
}
|
|
317
259
|
}
|
|
318
|
-
themeIntent="body"
|
|
319
|
-
themeTypeface="neutral"
|
|
320
|
-
themeVariant="regular"
|
|
321
260
|
>
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
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
|
|
326
303
|
style={
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
"letterSpacing": 0.48,
|
|
333
|
-
"lineHeight": 24,
|
|
334
|
-
},
|
|
335
|
-
undefined,
|
|
336
|
-
]
|
|
304
|
+
{
|
|
305
|
+
"alignSelf": "stretch",
|
|
306
|
+
"flexDirection": "row",
|
|
307
|
+
"justifyContent": "space-between",
|
|
308
|
+
}
|
|
337
309
|
}
|
|
338
|
-
themeIntent="body"
|
|
339
|
-
themeTypeface="neutral"
|
|
340
|
-
themeVariant="regular"
|
|
341
310
|
>
|
|
342
|
-
|
|
343
|
-
|
|
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>
|
|
344
352
|
</View>
|
|
345
353
|
</View>
|
|
346
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
|
+
/>
|
|
347
375
|
</View>
|
|
348
376
|
`;
|
|
349
377
|
|
|
350
378
|
exports[`ListItem renders correctly ListItem with icon 1`] = `
|
|
351
379
|
<View
|
|
352
|
-
|
|
353
|
-
{
|
|
354
|
-
"disabled": false,
|
|
355
|
-
}
|
|
356
|
-
}
|
|
357
|
-
accessibilityValue={
|
|
380
|
+
style={
|
|
358
381
|
{
|
|
359
|
-
"
|
|
360
|
-
"min": undefined,
|
|
361
|
-
"now": undefined,
|
|
362
|
-
"text": undefined,
|
|
382
|
+
"flex": 1,
|
|
363
383
|
}
|
|
364
384
|
}
|
|
365
|
-
accessible={true}
|
|
366
|
-
focusable={false}
|
|
367
|
-
onClick={[Function]}
|
|
368
|
-
onResponderGrant={[Function]}
|
|
369
|
-
onResponderMove={[Function]}
|
|
370
|
-
onResponderRelease={[Function]}
|
|
371
|
-
onResponderTerminate={[Function]}
|
|
372
|
-
onResponderTerminationRequest={[Function]}
|
|
373
|
-
onStartShouldSetResponder={[Function]}
|
|
374
|
-
style={
|
|
375
|
-
[
|
|
376
|
-
{
|
|
377
|
-
"backgroundColor": "#ffffff",
|
|
378
|
-
"borderRadius": 8,
|
|
379
|
-
"flexDirection": "row",
|
|
380
|
-
"padding": 16,
|
|
381
|
-
},
|
|
382
|
-
undefined,
|
|
383
|
-
]
|
|
384
|
-
}
|
|
385
|
-
testID="list-item"
|
|
386
385
|
>
|
|
387
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]}
|
|
388
409
|
style={
|
|
389
410
|
[
|
|
390
411
|
{
|
|
391
|
-
"
|
|
392
|
-
"
|
|
393
|
-
"
|
|
412
|
+
"backgroundColor": "#ffffff",
|
|
413
|
+
"borderRadius": 8,
|
|
414
|
+
"flexDirection": "row",
|
|
415
|
+
"padding": 16,
|
|
394
416
|
},
|
|
395
417
|
undefined,
|
|
396
418
|
]
|
|
397
419
|
}
|
|
420
|
+
testID="list-item"
|
|
398
421
|
>
|
|
399
422
|
<View
|
|
400
423
|
style={
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
424
|
+
[
|
|
425
|
+
{
|
|
426
|
+
"flex": 1,
|
|
427
|
+
"flexDirection": "column",
|
|
428
|
+
"flexGrow": 2,
|
|
429
|
+
},
|
|
430
|
+
undefined,
|
|
431
|
+
]
|
|
405
432
|
}
|
|
406
433
|
>
|
|
407
434
|
<View
|
|
408
435
|
style={
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
undefined,
|
|
414
|
-
]
|
|
436
|
+
{
|
|
437
|
+
"alignItems": "center",
|
|
438
|
+
"flexDirection": "row",
|
|
439
|
+
}
|
|
415
440
|
}
|
|
416
441
|
>
|
|
417
|
-
<
|
|
418
|
-
allowFontScaling={false}
|
|
419
|
-
style={
|
|
420
|
-
[
|
|
421
|
-
{
|
|
422
|
-
"color": "#001f23",
|
|
423
|
-
"fontFamily": "BeVietnamPro-Regular",
|
|
424
|
-
"fontSize": 16,
|
|
425
|
-
"letterSpacing": 0.48,
|
|
426
|
-
"lineHeight": 24,
|
|
427
|
-
},
|
|
428
|
-
undefined,
|
|
429
|
-
]
|
|
430
|
-
}
|
|
431
|
-
themeIntent="body"
|
|
432
|
-
themeTypeface="neutral"
|
|
433
|
-
themeVariant="regular"
|
|
434
|
-
>
|
|
435
|
-
List item
|
|
436
|
-
</Text>
|
|
437
|
-
<Text
|
|
438
|
-
allowFontScaling={false}
|
|
442
|
+
<View
|
|
439
443
|
style={
|
|
440
444
|
[
|
|
441
445
|
{
|
|
442
|
-
"
|
|
443
|
-
"fontFamily": "BeVietnamPro-Regular",
|
|
444
|
-
"fontSize": 12,
|
|
445
|
-
"letterSpacing": 0.48,
|
|
446
|
-
"lineHeight": 16,
|
|
446
|
+
"flex": 1,
|
|
447
447
|
},
|
|
448
448
|
undefined,
|
|
449
449
|
]
|
|
450
450
|
}
|
|
451
|
-
themeFontWeight="regular"
|
|
452
|
-
themeIntent="subdued"
|
|
453
451
|
>
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
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
|
|
469
493
|
style={
|
|
470
494
|
[
|
|
471
495
|
{
|
|
472
|
-
"
|
|
473
|
-
"fontSize": 20,
|
|
496
|
+
"marginLeft": 8,
|
|
474
497
|
},
|
|
475
498
|
undefined,
|
|
476
499
|
]
|
|
477
500
|
}
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
501
|
+
>
|
|
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>
|
|
481
517
|
</View>
|
|
482
518
|
</View>
|
|
483
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
|
+
/>
|
|
484
540
|
</View>
|
|
485
541
|
`;
|
|
486
542
|
|
|
487
543
|
exports[`ListItem renders correctly ListItem with leading status 1`] = `
|
|
488
544
|
<View
|
|
489
|
-
|
|
490
|
-
{
|
|
491
|
-
"disabled": false,
|
|
492
|
-
}
|
|
493
|
-
}
|
|
494
|
-
accessibilityValue={
|
|
545
|
+
style={
|
|
495
546
|
{
|
|
496
|
-
"
|
|
497
|
-
"min": undefined,
|
|
498
|
-
"now": undefined,
|
|
499
|
-
"text": undefined,
|
|
547
|
+
"flex": 1,
|
|
500
548
|
}
|
|
501
549
|
}
|
|
502
|
-
accessible={true}
|
|
503
|
-
focusable={false}
|
|
504
|
-
onClick={[Function]}
|
|
505
|
-
onResponderGrant={[Function]}
|
|
506
|
-
onResponderMove={[Function]}
|
|
507
|
-
onResponderRelease={[Function]}
|
|
508
|
-
onResponderTerminate={[Function]}
|
|
509
|
-
onResponderTerminationRequest={[Function]}
|
|
510
|
-
onStartShouldSetResponder={[Function]}
|
|
511
|
-
style={
|
|
512
|
-
[
|
|
513
|
-
{
|
|
514
|
-
"backgroundColor": "#ffffff",
|
|
515
|
-
"borderRadius": 8,
|
|
516
|
-
"flexDirection": "row",
|
|
517
|
-
"padding": 16,
|
|
518
|
-
},
|
|
519
|
-
undefined,
|
|
520
|
-
]
|
|
521
|
-
}
|
|
522
550
|
>
|
|
523
551
|
<View
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
"borderRadius": 999,
|
|
529
|
-
"marginRight": 8,
|
|
530
|
-
"width": 8,
|
|
531
|
-
},
|
|
532
|
-
undefined,
|
|
533
|
-
]
|
|
552
|
+
accessibilityState={
|
|
553
|
+
{
|
|
554
|
+
"disabled": false,
|
|
555
|
+
}
|
|
534
556
|
}
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
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]}
|
|
539
574
|
style={
|
|
540
575
|
[
|
|
541
576
|
{
|
|
542
|
-
"
|
|
543
|
-
"
|
|
544
|
-
"
|
|
577
|
+
"backgroundColor": "#ffffff",
|
|
578
|
+
"borderRadius": 8,
|
|
579
|
+
"flexDirection": "row",
|
|
580
|
+
"padding": 16,
|
|
545
581
|
},
|
|
546
582
|
undefined,
|
|
547
583
|
]
|
|
@@ -549,339 +585,415 @@ exports[`ListItem renders correctly ListItem with leading status 1`] = `
|
|
|
549
585
|
>
|
|
550
586
|
<View
|
|
551
587
|
style={
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
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
|
+
]
|
|
556
611
|
}
|
|
557
612
|
>
|
|
558
613
|
<View
|
|
559
614
|
style={
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
undefined,
|
|
565
|
-
]
|
|
615
|
+
{
|
|
616
|
+
"alignItems": "center",
|
|
617
|
+
"flexDirection": "row",
|
|
618
|
+
}
|
|
566
619
|
}
|
|
567
620
|
>
|
|
568
|
-
<
|
|
569
|
-
allowFontScaling={false}
|
|
621
|
+
<View
|
|
570
622
|
style={
|
|
571
623
|
[
|
|
572
624
|
{
|
|
573
|
-
"
|
|
574
|
-
"fontFamily": "BeVietnamPro-Regular",
|
|
575
|
-
"fontSize": 16,
|
|
576
|
-
"letterSpacing": 0.48,
|
|
577
|
-
"lineHeight": 24,
|
|
625
|
+
"flex": 1,
|
|
578
626
|
},
|
|
579
627
|
undefined,
|
|
580
628
|
]
|
|
581
629
|
}
|
|
582
|
-
themeIntent="body"
|
|
583
|
-
themeTypeface="neutral"
|
|
584
|
-
themeVariant="regular"
|
|
585
630
|
>
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
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
|
|
601
653
|
style={
|
|
602
654
|
[
|
|
603
655
|
{
|
|
604
|
-
"
|
|
605
|
-
"fontSize": 20,
|
|
656
|
+
"marginLeft": 8,
|
|
606
657
|
},
|
|
607
658
|
undefined,
|
|
608
659
|
]
|
|
609
660
|
}
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
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>
|
|
613
677
|
</View>
|
|
614
678
|
</View>
|
|
615
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
|
+
/>
|
|
616
700
|
</View>
|
|
617
701
|
`;
|
|
618
702
|
|
|
619
703
|
exports[`ListItem renders correctly ListItem with prefix suffix is React.Element 1`] = `
|
|
620
704
|
<View
|
|
621
|
-
|
|
622
|
-
{
|
|
623
|
-
"disabled": false,
|
|
624
|
-
}
|
|
625
|
-
}
|
|
626
|
-
accessibilityValue={
|
|
705
|
+
style={
|
|
627
706
|
{
|
|
628
|
-
"
|
|
629
|
-
"min": undefined,
|
|
630
|
-
"now": undefined,
|
|
631
|
-
"text": undefined,
|
|
707
|
+
"flex": 1,
|
|
632
708
|
}
|
|
633
709
|
}
|
|
634
|
-
accessible={true}
|
|
635
|
-
focusable={false}
|
|
636
|
-
onClick={[Function]}
|
|
637
|
-
onResponderGrant={[Function]}
|
|
638
|
-
onResponderMove={[Function]}
|
|
639
|
-
onResponderRelease={[Function]}
|
|
640
|
-
onResponderTerminate={[Function]}
|
|
641
|
-
onResponderTerminationRequest={[Function]}
|
|
642
|
-
onStartShouldSetResponder={[Function]}
|
|
643
|
-
style={
|
|
644
|
-
[
|
|
645
|
-
{
|
|
646
|
-
"backgroundColor": "#ffffff",
|
|
647
|
-
"borderRadius": 8,
|
|
648
|
-
"flexDirection": "row",
|
|
649
|
-
"padding": 16,
|
|
650
|
-
},
|
|
651
|
-
undefined,
|
|
652
|
-
]
|
|
653
|
-
}
|
|
654
|
-
testID="list-item"
|
|
655
710
|
>
|
|
656
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]}
|
|
657
734
|
style={
|
|
658
735
|
[
|
|
659
736
|
{
|
|
660
|
-
"
|
|
661
|
-
"
|
|
662
|
-
"
|
|
737
|
+
"backgroundColor": "#ffffff",
|
|
738
|
+
"borderRadius": 8,
|
|
739
|
+
"flexDirection": "row",
|
|
740
|
+
"padding": 16,
|
|
663
741
|
},
|
|
664
742
|
undefined,
|
|
665
743
|
]
|
|
666
744
|
}
|
|
745
|
+
testID="list-item"
|
|
667
746
|
>
|
|
668
747
|
<View
|
|
669
748
|
style={
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
749
|
+
[
|
|
750
|
+
{
|
|
751
|
+
"flex": 1,
|
|
752
|
+
"flexDirection": "column",
|
|
753
|
+
"flexGrow": 2,
|
|
754
|
+
},
|
|
755
|
+
undefined,
|
|
756
|
+
]
|
|
674
757
|
}
|
|
675
758
|
>
|
|
676
759
|
<View
|
|
677
760
|
style={
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
undefined,
|
|
683
|
-
]
|
|
761
|
+
{
|
|
762
|
+
"alignItems": "center",
|
|
763
|
+
"flexDirection": "row",
|
|
764
|
+
}
|
|
684
765
|
}
|
|
685
766
|
>
|
|
686
767
|
<View
|
|
687
|
-
accessibilityState={
|
|
688
|
-
{
|
|
689
|
-
"busy": undefined,
|
|
690
|
-
"checked": undefined,
|
|
691
|
-
"disabled": true,
|
|
692
|
-
"expanded": undefined,
|
|
693
|
-
"selected": undefined,
|
|
694
|
-
}
|
|
695
|
-
}
|
|
696
|
-
accessibilityValue={
|
|
697
|
-
{
|
|
698
|
-
"max": undefined,
|
|
699
|
-
"min": undefined,
|
|
700
|
-
"now": undefined,
|
|
701
|
-
"text": undefined,
|
|
702
|
-
}
|
|
703
|
-
}
|
|
704
|
-
accessible={true}
|
|
705
|
-
collapsable={false}
|
|
706
|
-
focusable={false}
|
|
707
|
-
onClick={[Function]}
|
|
708
|
-
onResponderGrant={[Function]}
|
|
709
|
-
onResponderMove={[Function]}
|
|
710
|
-
onResponderRelease={[Function]}
|
|
711
|
-
onResponderTerminate={[Function]}
|
|
712
|
-
onResponderTerminationRequest={[Function]}
|
|
713
|
-
onStartShouldSetResponder={[Function]}
|
|
714
768
|
style={
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
"width": 32,
|
|
722
|
-
}
|
|
769
|
+
[
|
|
770
|
+
{
|
|
771
|
+
"marginRight": 8,
|
|
772
|
+
},
|
|
773
|
+
undefined,
|
|
774
|
+
]
|
|
723
775
|
}
|
|
724
776
|
>
|
|
725
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]}
|
|
726
805
|
style={
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
]
|
|
806
|
+
{
|
|
807
|
+
"backgroundColor": "#401960",
|
|
808
|
+
"borderRadius": 999,
|
|
809
|
+
"height": 32,
|
|
810
|
+
"opacity": 1,
|
|
811
|
+
"overflow": "hidden",
|
|
812
|
+
"width": 32,
|
|
813
|
+
}
|
|
736
814
|
}
|
|
737
815
|
>
|
|
738
|
-
<
|
|
739
|
-
allowFontScaling={false}
|
|
816
|
+
<View
|
|
740
817
|
style={
|
|
741
818
|
[
|
|
742
819
|
{
|
|
743
|
-
"
|
|
744
|
-
"
|
|
745
|
-
"
|
|
746
|
-
"
|
|
747
|
-
"lineHeight": 22,
|
|
820
|
+
"alignItems": "center",
|
|
821
|
+
"height": "100%",
|
|
822
|
+
"justifyContent": "center",
|
|
823
|
+
"width": "100%",
|
|
748
824
|
},
|
|
825
|
+
undefined,
|
|
826
|
+
]
|
|
827
|
+
}
|
|
828
|
+
>
|
|
829
|
+
<Text
|
|
830
|
+
allowFontScaling={false}
|
|
831
|
+
style={
|
|
749
832
|
[
|
|
750
833
|
{
|
|
751
|
-
"color": "#
|
|
834
|
+
"color": "#001f23",
|
|
752
835
|
"fontFamily": "BeVietnamPro-Regular",
|
|
753
|
-
"fontSize":
|
|
754
|
-
"
|
|
755
|
-
"
|
|
756
|
-
"textAlign": "center",
|
|
757
|
-
"textAlignVertical": "center",
|
|
836
|
+
"fontSize": 14,
|
|
837
|
+
"letterSpacing": 0.42,
|
|
838
|
+
"lineHeight": 22,
|
|
758
839
|
},
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
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>
|
|
771
863
|
</View>
|
|
772
864
|
</View>
|
|
773
|
-
|
|
774
|
-
<View
|
|
775
|
-
style={
|
|
776
|
-
[
|
|
777
|
-
{
|
|
778
|
-
"flex": 1,
|
|
779
|
-
},
|
|
780
|
-
undefined,
|
|
781
|
-
]
|
|
782
|
-
}
|
|
783
|
-
>
|
|
784
|
-
<Text
|
|
785
|
-
allowFontScaling={false}
|
|
786
|
-
style={
|
|
787
|
-
[
|
|
788
|
-
{
|
|
789
|
-
"color": "#001f23",
|
|
790
|
-
"fontFamily": "BeVietnamPro-Regular",
|
|
791
|
-
"fontSize": 16,
|
|
792
|
-
"letterSpacing": 0.48,
|
|
793
|
-
"lineHeight": 24,
|
|
794
|
-
},
|
|
795
|
-
undefined,
|
|
796
|
-
]
|
|
797
|
-
}
|
|
798
|
-
themeIntent="body"
|
|
799
|
-
themeTypeface="neutral"
|
|
800
|
-
themeVariant="regular"
|
|
801
|
-
>
|
|
802
|
-
List item
|
|
803
|
-
</Text>
|
|
804
|
-
<Text
|
|
805
|
-
allowFontScaling={false}
|
|
865
|
+
<View
|
|
806
866
|
style={
|
|
807
867
|
[
|
|
808
868
|
{
|
|
809
|
-
"
|
|
810
|
-
"fontFamily": "BeVietnamPro-Regular",
|
|
811
|
-
"fontSize": 12,
|
|
812
|
-
"letterSpacing": 0.48,
|
|
813
|
-
"lineHeight": 16,
|
|
869
|
+
"flex": 1,
|
|
814
870
|
},
|
|
815
871
|
undefined,
|
|
816
872
|
]
|
|
817
873
|
}
|
|
818
|
-
themeFontWeight="regular"
|
|
819
|
-
themeIntent="subdued"
|
|
820
874
|
>
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
<View
|
|
835
|
-
accessibilityState={
|
|
836
|
-
{
|
|
837
|
-
"busy": undefined,
|
|
838
|
-
"checked": undefined,
|
|
839
|
-
"disabled": false,
|
|
840
|
-
"expanded": undefined,
|
|
841
|
-
"selected": undefined,
|
|
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
|
+
]
|
|
842
888
|
}
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
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
|
|
853
916
|
style={
|
|
854
917
|
[
|
|
855
918
|
{
|
|
856
|
-
"
|
|
857
|
-
"borderRadius": 999,
|
|
858
|
-
"display": "flex",
|
|
859
|
-
"height": 24,
|
|
860
|
-
"justifyContent": "center",
|
|
861
|
-
"paddingHorizontal": 4,
|
|
862
|
-
"width": 48,
|
|
919
|
+
"marginLeft": 8,
|
|
863
920
|
},
|
|
864
921
|
undefined,
|
|
865
922
|
]
|
|
866
923
|
}
|
|
867
|
-
testID="switch"
|
|
868
|
-
themeVariant="checked"
|
|
869
924
|
>
|
|
870
925
|
<View
|
|
871
|
-
|
|
872
|
-
style={
|
|
926
|
+
accessibilityState={
|
|
873
927
|
{
|
|
874
|
-
"
|
|
875
|
-
"
|
|
876
|
-
"
|
|
877
|
-
"
|
|
878
|
-
"
|
|
928
|
+
"busy": undefined,
|
|
929
|
+
"checked": undefined,
|
|
930
|
+
"disabled": false,
|
|
931
|
+
"expanded": undefined,
|
|
932
|
+
"selected": undefined,
|
|
879
933
|
}
|
|
880
934
|
}
|
|
881
|
-
|
|
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>
|
|
882
974
|
</View>
|
|
883
975
|
</View>
|
|
884
976
|
</View>
|
|
885
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
|
+
/>
|
|
886
998
|
</View>
|
|
887
999
|
`;
|