@hero-design/rn 7.24.0 → 7.25.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/assets/fonts/hero-icons.ttf +0 -0
- package/es/index.js +845 -752
- package/lib/assets/fonts/hero-icons.ttf +0 -0
- package/lib/index.js +846 -750
- package/package.json +6 -5
- package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +4 -4
- package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +6 -6
- package/src/components/Attachment/StyledAttachment.tsx +44 -0
- package/src/components/Attachment/__tests__/__snapshots__/index.spec.tsx.snap +158 -0
- package/src/components/Attachment/__tests__/index.spec.tsx +59 -0
- package/src/components/Attachment/index.tsx +77 -0
- package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +3 -3
- package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
- package/src/components/Badge/Status.tsx +1 -1
- package/src/components/Badge/StyledBadge.tsx +8 -1
- package/src/components/Badge/__tests__/Badge.spec.tsx +9 -0
- package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +44 -0
- package/src/components/Badge/index.tsx +1 -1
- package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
- package/src/components/BottomSheet/Header.tsx +2 -1
- package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +52 -52
- package/src/components/BottomSheet/index.tsx +4 -4
- package/src/components/Button/Button.tsx +0 -11
- package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/StyledLoadingIndicator.spec.tsx.snap +4 -4
- package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +12 -12
- package/src/components/Button/LoadingIndicator/index.tsx +1 -1
- package/src/components/Button/StyledButton.tsx +24 -63
- package/src/components/Button/UtilityButton/__tests__/index.spec.tsx +2 -2
- package/src/components/Button/__tests__/Button.spec.tsx +10 -5
- package/src/components/Button/__tests__/StyledButton.spec.tsx +0 -70
- package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +301 -1206
- package/src/components/Calendar/CalendarRowItem.tsx +1 -4
- package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +5 -5
- package/src/components/Calendar/index.tsx +4 -3
- package/src/components/Card/DataCard/__tests__/__snapshots__/StyledDataCard.spec.tsx.snap +1 -1
- package/src/components/Card/__tests__/__snapshots__/StyledCard.spec.tsx.snap +1 -1
- package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
- package/src/components/Checkbox/StyledCheckbox.tsx +7 -5
- package/src/components/Checkbox/__tests__/__snapshots__/StyledCheckbox.spec.tsx.snap +4 -12
- package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +95 -42
- package/src/components/Checkbox/index.tsx +4 -2
- package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
- package/src/components/ContentNavigator/index.tsx +14 -9
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +1 -0
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +28 -27
- package/src/components/Drawer/DragableDrawer/index.tsx +0 -2
- package/src/components/Empty/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
- package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +12 -12
- package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +1 -1
- package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
- package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
- package/src/components/Icon/IconList.ts +30 -3
- package/src/components/Icon/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
- package/src/components/List/BasicListItem.tsx +13 -8
- package/src/components/List/ListItem.tsx +8 -6
- package/src/components/List/StyledBasicListItem.tsx +2 -2
- package/src/components/List/StyledListItem.tsx +2 -2
- package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +24 -36
- package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +39 -59
- package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +40 -44
- package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +50 -50
- package/src/components/PinInput/__tests__/__snapshots__/PinCell.spec.tsx.snap +6 -6
- package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +21 -21
- package/src/components/Progress/ProgressBar.tsx +1 -1
- package/src/components/Progress/ProgressCircle.tsx +1 -1
- package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +10 -10
- package/src/components/Progress/types.ts +7 -1
- package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +20 -32
- package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +30 -48
- package/src/components/RefreshControl/__tests__/index.spec.tsx +1 -3
- package/src/components/RefreshControl/index.tsx +4 -2
- package/src/components/RichTextEditor/MentionList.tsx +12 -3
- package/src/components/RichTextEditor/RichTextEditor.tsx +3 -4
- package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +4 -4
- package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +13 -20
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +146 -234
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +430 -650
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +11 -18
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +136 -224
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +409 -629
- package/src/components/Select/StyledOptionList.tsx +0 -1
- package/src/components/Select/__tests__/__snapshots__/StyledSelect.spec.tsx.snap +1 -1
- package/src/components/Spinner/StyledSpinner.tsx +1 -2
- package/src/components/Spinner/__tests__/__snapshots__/AnimatedSpinner.spec.tsx.snap +4 -4
- package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +16 -16
- package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +4 -4
- package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +1 -1
- package/src/components/Swipeable/index.tsx +14 -2
- package/src/components/Switch/SelectorSwitch/Option.tsx +1 -5
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/Option.spec.tsx.snap +3 -3
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
- package/src/components/Switch/SelectorSwitch/__tests__/index.spec.tsx +1 -0
- package/src/components/Switch/SelectorSwitch/index.tsx +4 -1
- package/src/components/Switch/__tests__/__snapshots__/StyledSwitch.spec.tsx.snap +1 -1
- package/src/components/Tabs/StyledTabs.tsx +1 -1
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +1 -1
- package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
- package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +2 -2
- package/src/components/TextInput/StyledTextInput.tsx +1 -0
- package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +11 -10
- package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +27 -14
- package/src/components/TextInput/index.tsx +1 -0
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +1 -0
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +28 -27
- package/src/components/Toast/Toast.tsx +0 -3
- package/src/components/Toast/ToastProvider.tsx +1 -0
- package/src/components/Toast/__tests__/index.spec.tsx +1 -1
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +12 -12
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +6 -6
- package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +4 -4
- package/src/emotion.d.ts +1 -0
- package/src/index.ts +6 -0
- package/src/theme/ThemeSwitcher.tsx +7 -1
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +87 -74
- package/src/theme/__tests__/ensureCompatibleWithV7.spec.tsx +13 -0
- package/src/theme/components/alert.ts +1 -1
- package/src/theme/components/attachment.ts +28 -0
- package/src/theme/components/avatar.ts +1 -1
- package/src/theme/components/badge.ts +2 -1
- package/src/theme/components/bottomNavigation.ts +1 -1
- package/src/theme/components/bottomSheet.ts +2 -2
- package/src/theme/components/button.ts +4 -20
- package/src/theme/components/calendar.ts +3 -3
- package/src/theme/components/card.ts +1 -1
- package/src/theme/components/checkbox.ts +2 -2
- package/src/theme/components/divider.ts +1 -1
- package/src/theme/components/drawer.ts +2 -2
- package/src/theme/components/empty.ts +3 -3
- package/src/theme/components/fab.ts +7 -7
- package/src/theme/components/icon.ts +4 -4
- package/src/theme/components/list.ts +0 -2
- package/src/theme/components/pinInput.ts +4 -4
- package/src/theme/components/progress.ts +6 -5
- package/src/theme/components/radio.ts +1 -1
- package/src/theme/components/richTextEditor.ts +2 -2
- package/src/theme/components/slider.ts +2 -2
- package/src/theme/components/switch.ts +4 -4
- package/src/theme/components/tabs.ts +6 -5
- package/src/theme/components/tag.ts +2 -2
- package/src/theme/components/textInput.ts +23 -28
- package/src/theme/components/toast.ts +3 -3
- package/src/theme/components/toolbar.ts +3 -3
- package/src/theme/components/typography.ts +7 -7
- package/src/theme/getTheme.ts +4 -1
- package/src/theme/global/colors/eBens.ts +23 -0
- package/src/theme/global/colors/global.ts +15 -6
- package/src/theme/global/colors/jobs.ts +15 -9
- package/src/theme/global/colors/legacySystemPalette.ts +6 -6
- package/src/theme/global/colors/swag.ts +32 -53
- package/src/theme/global/colors/types.ts +35 -15
- package/src/theme/global/colors/wallet.ts +23 -0
- package/src/theme/global/colors/work.ts +15 -9
- package/src/theme/global/index.ts +4 -0
- package/src/theme/index.ts +4 -0
- package/src/utils/functions.ts +2 -0
- package/src/utils/scale.ts +1 -1
- package/tsconfig.json +8 -2
- package/types/components/Accordion/StyledAccordion.d.ts +14 -14
- package/types/components/Alert/StyledAlert.d.ts +15 -15
- package/types/components/Attachment/StyledAttachment.d.ts +28 -0
- package/types/components/Attachment/index.d.ts +37 -0
- package/types/components/Avatar/StyledAvatar.d.ts +15 -15
- package/types/components/Avatar/index.d.ts +1 -1
- package/types/components/Badge/Status.d.ts +1 -1
- package/types/components/Badge/StyledBadge.d.ts +8 -8
- package/types/components/Badge/index.d.ts +1 -1
- package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +21 -21
- package/types/components/BottomSheet/Header.d.ts +1 -1
- package/types/components/BottomSheet/StyledBottomSheet.d.ts +22 -22
- package/types/components/Box/StyledBox.d.ts +4 -4
- package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +7 -7
- package/types/components/Button/StyledButton.d.ts +15 -18
- package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +8 -8
- package/types/components/Calendar/StyledCalendar.d.ts +25 -25
- package/types/components/Calendar/helpers.d.ts +2 -2
- package/types/components/Card/DataCard/StyledDataCard.d.ts +6 -6
- package/types/components/Card/StyledCard.d.ts +7 -7
- package/types/components/Checkbox/StyledCheckbox.d.ts +16 -10
- package/types/components/Collapse/StyledCollapse.d.ts +8 -8
- package/types/components/ContentNavigator/StyledContentNavigator.d.ts +5 -5
- package/types/components/ContentNavigator/index.d.ts +2 -1
- package/types/components/DatePicker/StyledDatePicker.d.ts +3 -3
- package/types/components/Divider/StyledDivider.d.ts +5 -5
- package/types/components/Drawer/StyledDrawer.d.ts +19 -19
- package/types/components/Empty/StyledEmpty.d.ts +9 -9
- package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +11 -11
- package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +7 -7
- package/types/components/FAB/StyledFAB.d.ts +8 -8
- package/types/components/Icon/HeroIcon/index.d.ts +3 -3
- 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
- package/types/components/List/StyledBasicListItem.d.ts +16 -16
- package/types/components/List/StyledListItem.d.ts +25 -25
- package/types/components/PinInput/StyledPinInput.d.ts +30 -30
- package/types/components/Progress/ProgressBar.d.ts +1 -1
- package/types/components/Progress/ProgressCircle.d.ts +1 -1
- package/types/components/Progress/StyledProgressBar.d.ts +5 -5
- package/types/components/Progress/StyledProgressCircle.d.ts +18 -18
- package/types/components/Progress/types.d.ts +1 -1
- package/types/components/Radio/StyledRadio.d.ts +9 -9
- package/types/components/RefreshControl/index.d.ts +1 -2
- package/types/components/RichTextEditor/EditorToolbar.d.ts +1 -1
- package/types/components/RichTextEditor/MentionList.d.ts +1 -1
- package/types/components/RichTextEditor/StyledRichTextEditor.d.ts +6 -6
- package/types/components/RichTextEditor/StyledToolbar.d.ts +9 -9
- package/types/components/RichTextEditor/index.d.ts +2 -2
- package/types/components/SectionHeading/StyledHeading.d.ts +9 -9
- package/types/components/Select/MultiSelect/Option.d.ts +1 -1
- package/types/components/Select/SingleSelect/Option.d.ts +1 -1
- package/types/components/Select/StyledSelect.d.ts +11 -11
- package/types/components/Select/helpers.d.ts +1 -1
- package/types/components/Spinner/StyledSpinner.d.ts +12 -12
- package/types/components/Swipeable/StyledSwipeable.d.ts +3 -3
- package/types/components/Swipeable/index.d.ts +7 -3
- package/types/components/Switch/SelectorSwitch/Option.d.ts +3 -1
- package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +9 -9
- package/types/components/Switch/StyledSwitch.d.ts +5 -5
- package/types/components/Tabs/StyledScrollableTabs.d.ts +23 -23
- package/types/components/Tabs/StyledTabs.d.ts +22 -22
- package/types/components/Tag/StyledTag.d.ts +6 -6
- package/types/components/TextInput/StyledTextInput.d.ts +44 -44
- package/types/components/TextInput/index.d.ts +5 -5
- package/types/components/TimePicker/StyledTimePicker.d.ts +3 -3
- package/types/components/Toast/StyledToast.d.ts +17 -17
- package/types/components/Toolbar/StyledToolbar.d.ts +9 -9
- package/types/components/Typography/Text/StyledText.d.ts +3 -3
- package/types/index.d.ts +3 -2
- package/types/testHelpers/renderWithTheme.d.ts +1 -1
- package/types/theme/ThemeSwitcher.d.ts +2 -2
- package/types/theme/components/attachment.d.ts +21 -0
- package/types/theme/components/badge.d.ts +1 -0
- package/types/theme/components/button.d.ts +0 -15
- package/types/theme/components/list.d.ts +0 -1
- package/types/theme/components/progress.d.ts +1 -0
- package/types/theme/components/tabs.d.ts +1 -0
- package/types/theme/components/tag.d.ts +2 -2
- package/types/theme/components/textInput.d.ts +0 -5
- package/types/theme/getTheme.d.ts +2 -0
- package/types/theme/global/colors/eBens.d.ts +3 -0
- package/types/theme/global/colors/types.d.ts +23 -16
- package/types/theme/global/colors/wallet.d.ts +3 -0
- package/types/theme/global/index.d.ts +26 -12
- package/types/theme/index.d.ts +2 -2
- package/types/utils/functions.d.ts +1 -0
- package/types/utils/hooks.d.ts +1 -1
|
@@ -2,13 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
exports[`Option renders correctly 1`] = `
|
|
4
4
|
<View
|
|
5
|
-
accessibilityState={
|
|
6
|
-
Object {
|
|
7
|
-
"disabled": false,
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
5
|
accessible={true}
|
|
6
|
+
collapsable={false}
|
|
11
7
|
focusable={true}
|
|
8
|
+
nativeID="animatedComponent"
|
|
12
9
|
onClick={[Function]}
|
|
13
10
|
onResponderGrant={[Function]}
|
|
14
11
|
onResponderMove={[Function]}
|
|
@@ -17,19 +14,15 @@ exports[`Option renders correctly 1`] = `
|
|
|
17
14
|
onResponderTerminationRequest={[Function]}
|
|
18
15
|
onStartShouldSetResponder={[Function]}
|
|
19
16
|
style={
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
Object {
|
|
30
|
-
"marginHorizontal": 12,
|
|
31
|
-
},
|
|
32
|
-
]
|
|
17
|
+
Object {
|
|
18
|
+
"alignItems": "center",
|
|
19
|
+
"backgroundColor": "#ece8ef",
|
|
20
|
+
"borderRadius": 4,
|
|
21
|
+
"flexDirection": "row",
|
|
22
|
+
"marginHorizontal": 12,
|
|
23
|
+
"opacity": 1,
|
|
24
|
+
"padding": 16,
|
|
25
|
+
}
|
|
33
26
|
}
|
|
34
27
|
>
|
|
35
28
|
<View
|
|
@@ -53,7 +53,6 @@ exports[`OptionList render isLoading correctly 1`] = `
|
|
|
53
53
|
onScroll={[Function]}
|
|
54
54
|
onScrollBeginDrag={[Function]}
|
|
55
55
|
onScrollEndDrag={[Function]}
|
|
56
|
-
onScrollToIndexFailed={[Function]}
|
|
57
56
|
renderItem={[Function]}
|
|
58
57
|
scrollEventThrottle={50}
|
|
59
58
|
stickyHeaderIndices={
|
|
@@ -180,13 +179,10 @@ exports[`OptionList render isLoading correctly 1`] = `
|
|
|
180
179
|
}
|
|
181
180
|
/>
|
|
182
181
|
<View
|
|
183
|
-
accessibilityState={
|
|
184
|
-
Object {
|
|
185
|
-
"disabled": false,
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
182
|
accessible={true}
|
|
183
|
+
collapsable={false}
|
|
189
184
|
focusable={true}
|
|
185
|
+
nativeID="animatedComponent"
|
|
190
186
|
onClick={[Function]}
|
|
191
187
|
onResponderGrant={[Function]}
|
|
192
188
|
onResponderMove={[Function]}
|
|
@@ -195,19 +191,15 @@ exports[`OptionList render isLoading correctly 1`] = `
|
|
|
195
191
|
onResponderTerminationRequest={[Function]}
|
|
196
192
|
onStartShouldSetResponder={[Function]}
|
|
197
193
|
style={
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
Object {
|
|
208
|
-
"marginHorizontal": 12,
|
|
209
|
-
},
|
|
210
|
-
]
|
|
194
|
+
Object {
|
|
195
|
+
"alignItems": "center",
|
|
196
|
+
"backgroundColor": "#ece8ef",
|
|
197
|
+
"borderRadius": 4,
|
|
198
|
+
"flexDirection": "row",
|
|
199
|
+
"marginHorizontal": 12,
|
|
200
|
+
"opacity": 1,
|
|
201
|
+
"padding": 16,
|
|
202
|
+
}
|
|
211
203
|
}
|
|
212
204
|
>
|
|
213
205
|
<View
|
|
@@ -405,13 +397,10 @@ exports[`OptionList render isLoading correctly 1`] = `
|
|
|
405
397
|
}
|
|
406
398
|
/>
|
|
407
399
|
<View
|
|
408
|
-
accessibilityState={
|
|
409
|
-
Object {
|
|
410
|
-
"disabled": false,
|
|
411
|
-
}
|
|
412
|
-
}
|
|
413
400
|
accessible={true}
|
|
401
|
+
collapsable={false}
|
|
414
402
|
focusable={true}
|
|
403
|
+
nativeID="animatedComponent"
|
|
415
404
|
onClick={[Function]}
|
|
416
405
|
onResponderGrant={[Function]}
|
|
417
406
|
onResponderMove={[Function]}
|
|
@@ -420,19 +409,15 @@ exports[`OptionList render isLoading correctly 1`] = `
|
|
|
420
409
|
onResponderTerminationRequest={[Function]}
|
|
421
410
|
onStartShouldSetResponder={[Function]}
|
|
422
411
|
style={
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
Object {
|
|
433
|
-
"marginHorizontal": 12,
|
|
434
|
-
},
|
|
435
|
-
]
|
|
412
|
+
Object {
|
|
413
|
+
"alignItems": "center",
|
|
414
|
+
"backgroundColor": "#ffffff",
|
|
415
|
+
"borderRadius": 4,
|
|
416
|
+
"flexDirection": "row",
|
|
417
|
+
"marginHorizontal": 12,
|
|
418
|
+
"opacity": 1,
|
|
419
|
+
"padding": 16,
|
|
420
|
+
}
|
|
436
421
|
}
|
|
437
422
|
>
|
|
438
423
|
<View
|
|
@@ -523,13 +508,10 @@ exports[`OptionList render isLoading correctly 1`] = `
|
|
|
523
508
|
>
|
|
524
509
|
<View>
|
|
525
510
|
<View
|
|
526
|
-
accessibilityState={
|
|
527
|
-
Object {
|
|
528
|
-
"disabled": false,
|
|
529
|
-
}
|
|
530
|
-
}
|
|
531
511
|
accessible={true}
|
|
512
|
+
collapsable={false}
|
|
532
513
|
focusable={true}
|
|
514
|
+
nativeID="animatedComponent"
|
|
533
515
|
onClick={[Function]}
|
|
534
516
|
onResponderGrant={[Function]}
|
|
535
517
|
onResponderMove={[Function]}
|
|
@@ -538,19 +520,15 @@ exports[`OptionList render isLoading correctly 1`] = `
|
|
|
538
520
|
onResponderTerminationRequest={[Function]}
|
|
539
521
|
onStartShouldSetResponder={[Function]}
|
|
540
522
|
style={
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
Object {
|
|
551
|
-
"marginHorizontal": 12,
|
|
552
|
-
},
|
|
553
|
-
]
|
|
523
|
+
Object {
|
|
524
|
+
"alignItems": "center",
|
|
525
|
+
"backgroundColor": "#ffffff",
|
|
526
|
+
"borderRadius": 4,
|
|
527
|
+
"flexDirection": "row",
|
|
528
|
+
"marginHorizontal": 12,
|
|
529
|
+
"opacity": 1,
|
|
530
|
+
"padding": 16,
|
|
531
|
+
}
|
|
554
532
|
}
|
|
555
533
|
>
|
|
556
534
|
<View
|
|
@@ -699,7 +677,7 @@ exports[`OptionList render isLoading correctly 1`] = `
|
|
|
699
677
|
style={
|
|
700
678
|
Array [
|
|
701
679
|
Object {
|
|
702
|
-
"backgroundColor": "#
|
|
680
|
+
"backgroundColor": "#401960",
|
|
703
681
|
"borderRadius": 999,
|
|
704
682
|
"height": 16,
|
|
705
683
|
"opacity": 0.9,
|
|
@@ -718,7 +696,7 @@ exports[`OptionList render isLoading correctly 1`] = `
|
|
|
718
696
|
style={
|
|
719
697
|
Array [
|
|
720
698
|
Object {
|
|
721
|
-
"backgroundColor": "#
|
|
699
|
+
"backgroundColor": "#401960",
|
|
722
700
|
"borderRadius": 999,
|
|
723
701
|
"height": 16,
|
|
724
702
|
"marginLeft": 8,
|
|
@@ -754,7 +732,7 @@ exports[`OptionList render isLoading correctly 1`] = `
|
|
|
754
732
|
style={
|
|
755
733
|
Array [
|
|
756
734
|
Object {
|
|
757
|
-
"backgroundColor": "#
|
|
735
|
+
"backgroundColor": "#401960",
|
|
758
736
|
"borderRadius": 999,
|
|
759
737
|
"height": 16,
|
|
760
738
|
"opacity": 0.45,
|
|
@@ -773,7 +751,7 @@ exports[`OptionList render isLoading correctly 1`] = `
|
|
|
773
751
|
style={
|
|
774
752
|
Array [
|
|
775
753
|
Object {
|
|
776
|
-
"backgroundColor": "#
|
|
754
|
+
"backgroundColor": "#401960",
|
|
777
755
|
"borderRadius": 999,
|
|
778
756
|
"height": 16,
|
|
779
757
|
"marginLeft": 8,
|
|
@@ -838,7 +816,6 @@ exports[`OptionList renders correctly 1`] = `
|
|
|
838
816
|
onScroll={[Function]}
|
|
839
817
|
onScrollBeginDrag={[Function]}
|
|
840
818
|
onScrollEndDrag={[Function]}
|
|
841
|
-
onScrollToIndexFailed={[Function]}
|
|
842
819
|
renderItem={[Function]}
|
|
843
820
|
scrollEventThrottle={50}
|
|
844
821
|
stickyHeaderIndices={
|
|
@@ -965,13 +942,10 @@ exports[`OptionList renders correctly 1`] = `
|
|
|
965
942
|
}
|
|
966
943
|
/>
|
|
967
944
|
<View
|
|
968
|
-
accessibilityState={
|
|
969
|
-
Object {
|
|
970
|
-
"disabled": false,
|
|
971
|
-
}
|
|
972
|
-
}
|
|
973
945
|
accessible={true}
|
|
946
|
+
collapsable={false}
|
|
974
947
|
focusable={true}
|
|
948
|
+
nativeID="animatedComponent"
|
|
975
949
|
onClick={[Function]}
|
|
976
950
|
onResponderGrant={[Function]}
|
|
977
951
|
onResponderMove={[Function]}
|
|
@@ -980,19 +954,15 @@ exports[`OptionList renders correctly 1`] = `
|
|
|
980
954
|
onResponderTerminationRequest={[Function]}
|
|
981
955
|
onStartShouldSetResponder={[Function]}
|
|
982
956
|
style={
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
Object {
|
|
993
|
-
"marginHorizontal": 12,
|
|
994
|
-
},
|
|
995
|
-
]
|
|
957
|
+
Object {
|
|
958
|
+
"alignItems": "center",
|
|
959
|
+
"backgroundColor": "#ece8ef",
|
|
960
|
+
"borderRadius": 4,
|
|
961
|
+
"flexDirection": "row",
|
|
962
|
+
"marginHorizontal": 12,
|
|
963
|
+
"opacity": 1,
|
|
964
|
+
"padding": 16,
|
|
965
|
+
}
|
|
996
966
|
}
|
|
997
967
|
>
|
|
998
968
|
<View
|
|
@@ -1190,13 +1160,10 @@ exports[`OptionList renders correctly 1`] = `
|
|
|
1190
1160
|
}
|
|
1191
1161
|
/>
|
|
1192
1162
|
<View
|
|
1193
|
-
accessibilityState={
|
|
1194
|
-
Object {
|
|
1195
|
-
"disabled": false,
|
|
1196
|
-
}
|
|
1197
|
-
}
|
|
1198
1163
|
accessible={true}
|
|
1164
|
+
collapsable={false}
|
|
1199
1165
|
focusable={true}
|
|
1166
|
+
nativeID="animatedComponent"
|
|
1200
1167
|
onClick={[Function]}
|
|
1201
1168
|
onResponderGrant={[Function]}
|
|
1202
1169
|
onResponderMove={[Function]}
|
|
@@ -1205,19 +1172,15 @@ exports[`OptionList renders correctly 1`] = `
|
|
|
1205
1172
|
onResponderTerminationRequest={[Function]}
|
|
1206
1173
|
onStartShouldSetResponder={[Function]}
|
|
1207
1174
|
style={
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
Object {
|
|
1218
|
-
"marginHorizontal": 12,
|
|
1219
|
-
},
|
|
1220
|
-
]
|
|
1175
|
+
Object {
|
|
1176
|
+
"alignItems": "center",
|
|
1177
|
+
"backgroundColor": "#ffffff",
|
|
1178
|
+
"borderRadius": 4,
|
|
1179
|
+
"flexDirection": "row",
|
|
1180
|
+
"marginHorizontal": 12,
|
|
1181
|
+
"opacity": 1,
|
|
1182
|
+
"padding": 16,
|
|
1183
|
+
}
|
|
1221
1184
|
}
|
|
1222
1185
|
>
|
|
1223
1186
|
<View
|
|
@@ -1308,13 +1271,10 @@ exports[`OptionList renders correctly 1`] = `
|
|
|
1308
1271
|
>
|
|
1309
1272
|
<View>
|
|
1310
1273
|
<View
|
|
1311
|
-
accessibilityState={
|
|
1312
|
-
Object {
|
|
1313
|
-
"disabled": false,
|
|
1314
|
-
}
|
|
1315
|
-
}
|
|
1316
1274
|
accessible={true}
|
|
1275
|
+
collapsable={false}
|
|
1317
1276
|
focusable={true}
|
|
1277
|
+
nativeID="animatedComponent"
|
|
1318
1278
|
onClick={[Function]}
|
|
1319
1279
|
onResponderGrant={[Function]}
|
|
1320
1280
|
onResponderMove={[Function]}
|
|
@@ -1323,19 +1283,15 @@ exports[`OptionList renders correctly 1`] = `
|
|
|
1323
1283
|
onResponderTerminationRequest={[Function]}
|
|
1324
1284
|
onStartShouldSetResponder={[Function]}
|
|
1325
1285
|
style={
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
Object {
|
|
1336
|
-
"marginHorizontal": 12,
|
|
1337
|
-
},
|
|
1338
|
-
]
|
|
1286
|
+
Object {
|
|
1287
|
+
"alignItems": "center",
|
|
1288
|
+
"backgroundColor": "#ffffff",
|
|
1289
|
+
"borderRadius": 4,
|
|
1290
|
+
"flexDirection": "row",
|
|
1291
|
+
"marginHorizontal": 12,
|
|
1292
|
+
"opacity": 1,
|
|
1293
|
+
"padding": 16,
|
|
1294
|
+
}
|
|
1339
1295
|
}
|
|
1340
1296
|
>
|
|
1341
1297
|
<View
|
|
@@ -1463,7 +1419,6 @@ exports[`OptionList trigger onPress correctly on select new value 1`] = `
|
|
|
1463
1419
|
onScroll={[Function]}
|
|
1464
1420
|
onScrollBeginDrag={[Function]}
|
|
1465
1421
|
onScrollEndDrag={[Function]}
|
|
1466
|
-
onScrollToIndexFailed={[Function]}
|
|
1467
1422
|
renderItem={[Function]}
|
|
1468
1423
|
scrollEventThrottle={50}
|
|
1469
1424
|
stickyHeaderIndices={
|
|
@@ -1590,13 +1545,10 @@ exports[`OptionList trigger onPress correctly on select new value 1`] = `
|
|
|
1590
1545
|
}
|
|
1591
1546
|
/>
|
|
1592
1547
|
<View
|
|
1593
|
-
accessibilityState={
|
|
1594
|
-
Object {
|
|
1595
|
-
"disabled": false,
|
|
1596
|
-
}
|
|
1597
|
-
}
|
|
1598
1548
|
accessible={true}
|
|
1549
|
+
collapsable={false}
|
|
1599
1550
|
focusable={true}
|
|
1551
|
+
nativeID="animatedComponent"
|
|
1600
1552
|
onClick={[Function]}
|
|
1601
1553
|
onResponderGrant={[Function]}
|
|
1602
1554
|
onResponderMove={[Function]}
|
|
@@ -1605,19 +1557,15 @@ exports[`OptionList trigger onPress correctly on select new value 1`] = `
|
|
|
1605
1557
|
onResponderTerminationRequest={[Function]}
|
|
1606
1558
|
onStartShouldSetResponder={[Function]}
|
|
1607
1559
|
style={
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
Object {
|
|
1618
|
-
"marginHorizontal": 12,
|
|
1619
|
-
},
|
|
1620
|
-
]
|
|
1560
|
+
Object {
|
|
1561
|
+
"alignItems": "center",
|
|
1562
|
+
"backgroundColor": "#ece8ef",
|
|
1563
|
+
"borderRadius": 4,
|
|
1564
|
+
"flexDirection": "row",
|
|
1565
|
+
"marginHorizontal": 12,
|
|
1566
|
+
"opacity": 1,
|
|
1567
|
+
"padding": 16,
|
|
1568
|
+
}
|
|
1621
1569
|
}
|
|
1622
1570
|
>
|
|
1623
1571
|
<View
|
|
@@ -1815,13 +1763,10 @@ exports[`OptionList trigger onPress correctly on select new value 1`] = `
|
|
|
1815
1763
|
}
|
|
1816
1764
|
/>
|
|
1817
1765
|
<View
|
|
1818
|
-
accessibilityState={
|
|
1819
|
-
Object {
|
|
1820
|
-
"disabled": false,
|
|
1821
|
-
}
|
|
1822
|
-
}
|
|
1823
1766
|
accessible={true}
|
|
1767
|
+
collapsable={false}
|
|
1824
1768
|
focusable={true}
|
|
1769
|
+
nativeID="animatedComponent"
|
|
1825
1770
|
onClick={[Function]}
|
|
1826
1771
|
onResponderGrant={[Function]}
|
|
1827
1772
|
onResponderMove={[Function]}
|
|
@@ -1830,19 +1775,15 @@ exports[`OptionList trigger onPress correctly on select new value 1`] = `
|
|
|
1830
1775
|
onResponderTerminationRequest={[Function]}
|
|
1831
1776
|
onStartShouldSetResponder={[Function]}
|
|
1832
1777
|
style={
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
Object {
|
|
1843
|
-
"marginHorizontal": 12,
|
|
1844
|
-
},
|
|
1845
|
-
]
|
|
1778
|
+
Object {
|
|
1779
|
+
"alignItems": "center",
|
|
1780
|
+
"backgroundColor": "#ffffff",
|
|
1781
|
+
"borderRadius": 4,
|
|
1782
|
+
"flexDirection": "row",
|
|
1783
|
+
"marginHorizontal": 12,
|
|
1784
|
+
"opacity": 1,
|
|
1785
|
+
"padding": 16,
|
|
1786
|
+
}
|
|
1846
1787
|
}
|
|
1847
1788
|
>
|
|
1848
1789
|
<View
|
|
@@ -1933,13 +1874,10 @@ exports[`OptionList trigger onPress correctly on select new value 1`] = `
|
|
|
1933
1874
|
>
|
|
1934
1875
|
<View>
|
|
1935
1876
|
<View
|
|
1936
|
-
accessibilityState={
|
|
1937
|
-
Object {
|
|
1938
|
-
"disabled": false,
|
|
1939
|
-
}
|
|
1940
|
-
}
|
|
1941
1877
|
accessible={true}
|
|
1878
|
+
collapsable={false}
|
|
1942
1879
|
focusable={true}
|
|
1880
|
+
nativeID="animatedComponent"
|
|
1943
1881
|
onClick={[Function]}
|
|
1944
1882
|
onResponderGrant={[Function]}
|
|
1945
1883
|
onResponderMove={[Function]}
|
|
@@ -1948,19 +1886,15 @@ exports[`OptionList trigger onPress correctly on select new value 1`] = `
|
|
|
1948
1886
|
onResponderTerminationRequest={[Function]}
|
|
1949
1887
|
onStartShouldSetResponder={[Function]}
|
|
1950
1888
|
style={
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
Object {
|
|
1961
|
-
"marginHorizontal": 12,
|
|
1962
|
-
},
|
|
1963
|
-
]
|
|
1889
|
+
Object {
|
|
1890
|
+
"alignItems": "center",
|
|
1891
|
+
"backgroundColor": "#ffffff",
|
|
1892
|
+
"borderRadius": 4,
|
|
1893
|
+
"flexDirection": "row",
|
|
1894
|
+
"marginHorizontal": 12,
|
|
1895
|
+
"opacity": 1,
|
|
1896
|
+
"padding": 16,
|
|
1897
|
+
}
|
|
1964
1898
|
}
|
|
1965
1899
|
>
|
|
1966
1900
|
<View
|
|
@@ -2088,7 +2022,6 @@ exports[`OptionList trigger onPress correctly on unselect current value 1`] = `
|
|
|
2088
2022
|
onScroll={[Function]}
|
|
2089
2023
|
onScrollBeginDrag={[Function]}
|
|
2090
2024
|
onScrollEndDrag={[Function]}
|
|
2091
|
-
onScrollToIndexFailed={[Function]}
|
|
2092
2025
|
renderItem={[Function]}
|
|
2093
2026
|
scrollEventThrottle={50}
|
|
2094
2027
|
stickyHeaderIndices={
|
|
@@ -2215,13 +2148,10 @@ exports[`OptionList trigger onPress correctly on unselect current value 1`] = `
|
|
|
2215
2148
|
}
|
|
2216
2149
|
/>
|
|
2217
2150
|
<View
|
|
2218
|
-
accessibilityState={
|
|
2219
|
-
Object {
|
|
2220
|
-
"disabled": false,
|
|
2221
|
-
}
|
|
2222
|
-
}
|
|
2223
2151
|
accessible={true}
|
|
2152
|
+
collapsable={false}
|
|
2224
2153
|
focusable={true}
|
|
2154
|
+
nativeID="animatedComponent"
|
|
2225
2155
|
onClick={[Function]}
|
|
2226
2156
|
onResponderGrant={[Function]}
|
|
2227
2157
|
onResponderMove={[Function]}
|
|
@@ -2230,19 +2160,15 @@ exports[`OptionList trigger onPress correctly on unselect current value 1`] = `
|
|
|
2230
2160
|
onResponderTerminationRequest={[Function]}
|
|
2231
2161
|
onStartShouldSetResponder={[Function]}
|
|
2232
2162
|
style={
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
Object {
|
|
2243
|
-
"marginHorizontal": 12,
|
|
2244
|
-
},
|
|
2245
|
-
]
|
|
2163
|
+
Object {
|
|
2164
|
+
"alignItems": "center",
|
|
2165
|
+
"backgroundColor": "#ece8ef",
|
|
2166
|
+
"borderRadius": 4,
|
|
2167
|
+
"flexDirection": "row",
|
|
2168
|
+
"marginHorizontal": 12,
|
|
2169
|
+
"opacity": 1,
|
|
2170
|
+
"padding": 16,
|
|
2171
|
+
}
|
|
2246
2172
|
}
|
|
2247
2173
|
>
|
|
2248
2174
|
<View
|
|
@@ -2440,13 +2366,10 @@ exports[`OptionList trigger onPress correctly on unselect current value 1`] = `
|
|
|
2440
2366
|
}
|
|
2441
2367
|
/>
|
|
2442
2368
|
<View
|
|
2443
|
-
accessibilityState={
|
|
2444
|
-
Object {
|
|
2445
|
-
"disabled": false,
|
|
2446
|
-
}
|
|
2447
|
-
}
|
|
2448
2369
|
accessible={true}
|
|
2370
|
+
collapsable={false}
|
|
2449
2371
|
focusable={true}
|
|
2372
|
+
nativeID="animatedComponent"
|
|
2450
2373
|
onClick={[Function]}
|
|
2451
2374
|
onResponderGrant={[Function]}
|
|
2452
2375
|
onResponderMove={[Function]}
|
|
@@ -2455,19 +2378,15 @@ exports[`OptionList trigger onPress correctly on unselect current value 1`] = `
|
|
|
2455
2378
|
onResponderTerminationRequest={[Function]}
|
|
2456
2379
|
onStartShouldSetResponder={[Function]}
|
|
2457
2380
|
style={
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
Object {
|
|
2468
|
-
"marginHorizontal": 12,
|
|
2469
|
-
},
|
|
2470
|
-
]
|
|
2381
|
+
Object {
|
|
2382
|
+
"alignItems": "center",
|
|
2383
|
+
"backgroundColor": "#ffffff",
|
|
2384
|
+
"borderRadius": 4,
|
|
2385
|
+
"flexDirection": "row",
|
|
2386
|
+
"marginHorizontal": 12,
|
|
2387
|
+
"opacity": 1,
|
|
2388
|
+
"padding": 16,
|
|
2389
|
+
}
|
|
2471
2390
|
}
|
|
2472
2391
|
>
|
|
2473
2392
|
<View
|
|
@@ -2558,13 +2477,10 @@ exports[`OptionList trigger onPress correctly on unselect current value 1`] = `
|
|
|
2558
2477
|
>
|
|
2559
2478
|
<View>
|
|
2560
2479
|
<View
|
|
2561
|
-
accessibilityState={
|
|
2562
|
-
Object {
|
|
2563
|
-
"disabled": false,
|
|
2564
|
-
}
|
|
2565
|
-
}
|
|
2566
2480
|
accessible={true}
|
|
2481
|
+
collapsable={false}
|
|
2567
2482
|
focusable={true}
|
|
2483
|
+
nativeID="animatedComponent"
|
|
2568
2484
|
onClick={[Function]}
|
|
2569
2485
|
onResponderGrant={[Function]}
|
|
2570
2486
|
onResponderMove={[Function]}
|
|
@@ -2573,19 +2489,15 @@ exports[`OptionList trigger onPress correctly on unselect current value 1`] = `
|
|
|
2573
2489
|
onResponderTerminationRequest={[Function]}
|
|
2574
2490
|
onStartShouldSetResponder={[Function]}
|
|
2575
2491
|
style={
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
Object {
|
|
2586
|
-
"marginHorizontal": 12,
|
|
2587
|
-
},
|
|
2588
|
-
]
|
|
2492
|
+
Object {
|
|
2493
|
+
"alignItems": "center",
|
|
2494
|
+
"backgroundColor": "#ffffff",
|
|
2495
|
+
"borderRadius": 4,
|
|
2496
|
+
"flexDirection": "row",
|
|
2497
|
+
"marginHorizontal": 12,
|
|
2498
|
+
"opacity": 1,
|
|
2499
|
+
"padding": 16,
|
|
2500
|
+
}
|
|
2589
2501
|
}
|
|
2590
2502
|
>
|
|
2591
2503
|
<View
|