@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[`ListItem renders correctly ListItem with children 1`] = `
|
|
4
4
|
<View
|
|
5
|
-
accessibilityState={
|
|
6
|
-
Object {
|
|
7
|
-
"disabled": false,
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
5
|
accessible={true}
|
|
6
|
+
collapsable={false}
|
|
11
7
|
focusable={false}
|
|
8
|
+
nativeID="animatedComponent"
|
|
12
9
|
onClick={[Function]}
|
|
13
10
|
onResponderGrant={[Function]}
|
|
14
11
|
onResponderMove={[Function]}
|
|
@@ -17,14 +14,12 @@ exports[`ListItem renders correctly ListItem with children 1`] = `
|
|
|
17
14
|
onResponderTerminationRequest={[Function]}
|
|
18
15
|
onStartShouldSetResponder={[Function]}
|
|
19
16
|
style={
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
undefined,
|
|
27
|
-
]
|
|
17
|
+
Object {
|
|
18
|
+
"backgroundColor": "#ffffff",
|
|
19
|
+
"flexDirection": "row",
|
|
20
|
+
"opacity": 1,
|
|
21
|
+
"padding": 16,
|
|
22
|
+
}
|
|
28
23
|
}
|
|
29
24
|
>
|
|
30
25
|
<View
|
|
@@ -61,7 +56,7 @@ exports[`ListItem renders correctly ListItem with children 1`] = `
|
|
|
61
56
|
style={
|
|
62
57
|
Array [
|
|
63
58
|
Object {
|
|
64
|
-
"borderColor": "#
|
|
59
|
+
"borderColor": "#401960",
|
|
65
60
|
"borderRadius": 999,
|
|
66
61
|
"borderWidth": 1,
|
|
67
62
|
"height": 32,
|
|
@@ -92,7 +87,7 @@ exports[`ListItem renders correctly ListItem with children 1`] = `
|
|
|
92
87
|
style={
|
|
93
88
|
Array [
|
|
94
89
|
Object {
|
|
95
|
-
"color": "#
|
|
90
|
+
"color": "#401960",
|
|
96
91
|
"fontSize": 16,
|
|
97
92
|
"overflow": "hidden",
|
|
98
93
|
},
|
|
@@ -171,7 +166,7 @@ exports[`ListItem renders correctly ListItem with children 1`] = `
|
|
|
171
166
|
style={
|
|
172
167
|
Array [
|
|
173
168
|
Object {
|
|
174
|
-
"color": "#
|
|
169
|
+
"color": "#401960",
|
|
175
170
|
"fontSize": 20,
|
|
176
171
|
},
|
|
177
172
|
undefined,
|
|
@@ -297,13 +292,10 @@ exports[`ListItem renders correctly ListItem with children 1`] = `
|
|
|
297
292
|
|
|
298
293
|
exports[`ListItem renders correctly ListItem with icon 1`] = `
|
|
299
294
|
<View
|
|
300
|
-
accessibilityState={
|
|
301
|
-
Object {
|
|
302
|
-
"disabled": false,
|
|
303
|
-
}
|
|
304
|
-
}
|
|
305
295
|
accessible={true}
|
|
296
|
+
collapsable={false}
|
|
306
297
|
focusable={false}
|
|
298
|
+
nativeID="animatedComponent"
|
|
307
299
|
onClick={[Function]}
|
|
308
300
|
onResponderGrant={[Function]}
|
|
309
301
|
onResponderMove={[Function]}
|
|
@@ -312,14 +304,12 @@ exports[`ListItem renders correctly ListItem with icon 1`] = `
|
|
|
312
304
|
onResponderTerminationRequest={[Function]}
|
|
313
305
|
onStartShouldSetResponder={[Function]}
|
|
314
306
|
style={
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
undefined,
|
|
322
|
-
]
|
|
307
|
+
Object {
|
|
308
|
+
"backgroundColor": "#ffffff",
|
|
309
|
+
"flexDirection": "row",
|
|
310
|
+
"opacity": 1,
|
|
311
|
+
"padding": 16,
|
|
312
|
+
}
|
|
323
313
|
}
|
|
324
314
|
testID="list-item"
|
|
325
315
|
>
|
|
@@ -407,7 +397,7 @@ exports[`ListItem renders correctly ListItem with icon 1`] = `
|
|
|
407
397
|
style={
|
|
408
398
|
Array [
|
|
409
399
|
Object {
|
|
410
|
-
"color": "#
|
|
400
|
+
"color": "#401960",
|
|
411
401
|
"fontSize": 20,
|
|
412
402
|
},
|
|
413
403
|
undefined,
|
|
@@ -424,13 +414,10 @@ exports[`ListItem renders correctly ListItem with icon 1`] = `
|
|
|
424
414
|
|
|
425
415
|
exports[`ListItem renders correctly ListItem with leading status 1`] = `
|
|
426
416
|
<View
|
|
427
|
-
accessibilityState={
|
|
428
|
-
Object {
|
|
429
|
-
"disabled": false,
|
|
430
|
-
}
|
|
431
|
-
}
|
|
432
417
|
accessible={true}
|
|
418
|
+
collapsable={false}
|
|
433
419
|
focusable={false}
|
|
420
|
+
nativeID="animatedComponent"
|
|
434
421
|
onClick={[Function]}
|
|
435
422
|
onResponderGrant={[Function]}
|
|
436
423
|
onResponderMove={[Function]}
|
|
@@ -439,14 +426,12 @@ exports[`ListItem renders correctly ListItem with leading status 1`] = `
|
|
|
439
426
|
onResponderTerminationRequest={[Function]}
|
|
440
427
|
onStartShouldSetResponder={[Function]}
|
|
441
428
|
style={
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
undefined,
|
|
449
|
-
]
|
|
429
|
+
Object {
|
|
430
|
+
"backgroundColor": "#ffffff",
|
|
431
|
+
"flexDirection": "row",
|
|
432
|
+
"opacity": 1,
|
|
433
|
+
"padding": 16,
|
|
434
|
+
}
|
|
450
435
|
}
|
|
451
436
|
>
|
|
452
437
|
<View
|
|
@@ -529,7 +514,7 @@ exports[`ListItem renders correctly ListItem with leading status 1`] = `
|
|
|
529
514
|
style={
|
|
530
515
|
Array [
|
|
531
516
|
Object {
|
|
532
|
-
"color": "#
|
|
517
|
+
"color": "#401960",
|
|
533
518
|
"fontSize": 20,
|
|
534
519
|
},
|
|
535
520
|
undefined,
|
|
@@ -546,13 +531,10 @@ exports[`ListItem renders correctly ListItem with leading status 1`] = `
|
|
|
546
531
|
|
|
547
532
|
exports[`ListItem renders correctly ListItem with prefix suffix is React.Element 1`] = `
|
|
548
533
|
<View
|
|
549
|
-
accessibilityState={
|
|
550
|
-
Object {
|
|
551
|
-
"disabled": false,
|
|
552
|
-
}
|
|
553
|
-
}
|
|
554
534
|
accessible={true}
|
|
535
|
+
collapsable={false}
|
|
555
536
|
focusable={false}
|
|
537
|
+
nativeID="animatedComponent"
|
|
556
538
|
onClick={[Function]}
|
|
557
539
|
onResponderGrant={[Function]}
|
|
558
540
|
onResponderMove={[Function]}
|
|
@@ -561,14 +543,12 @@ exports[`ListItem renders correctly ListItem with prefix suffix is React.Element
|
|
|
561
543
|
onResponderTerminationRequest={[Function]}
|
|
562
544
|
onStartShouldSetResponder={[Function]}
|
|
563
545
|
style={
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
undefined,
|
|
571
|
-
]
|
|
546
|
+
Object {
|
|
547
|
+
"backgroundColor": "#ffffff",
|
|
548
|
+
"flexDirection": "row",
|
|
549
|
+
"opacity": 1,
|
|
550
|
+
"padding": 16,
|
|
551
|
+
}
|
|
572
552
|
}
|
|
573
553
|
testID="list-item"
|
|
574
554
|
>
|
|
@@ -606,7 +586,7 @@ exports[`ListItem renders correctly ListItem with prefix suffix is React.Element
|
|
|
606
586
|
style={
|
|
607
587
|
Array [
|
|
608
588
|
Object {
|
|
609
|
-
"borderColor": "#
|
|
589
|
+
"borderColor": "#401960",
|
|
610
590
|
"borderRadius": 999,
|
|
611
591
|
"borderWidth": 1,
|
|
612
592
|
"height": 32,
|
|
@@ -637,7 +617,7 @@ exports[`ListItem renders correctly ListItem with prefix suffix is React.Element
|
|
|
637
617
|
style={
|
|
638
618
|
Array [
|
|
639
619
|
Object {
|
|
640
|
-
"color": "#
|
|
620
|
+
"color": "#401960",
|
|
641
621
|
"fontSize": 16,
|
|
642
622
|
"overflow": "hidden",
|
|
643
623
|
},
|
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
exports[`StyledListItemContainer renders correctly themeSelected false themeDisabled false 1`] = `
|
|
4
4
|
<View
|
|
5
5
|
accessible={true}
|
|
6
|
+
collapsable={false}
|
|
6
7
|
focusable={false}
|
|
8
|
+
nativeID="animatedComponent"
|
|
7
9
|
onClick={[Function]}
|
|
8
10
|
onResponderGrant={[Function]}
|
|
9
11
|
onResponderMove={[Function]}
|
|
@@ -12,17 +14,14 @@ exports[`StyledListItemContainer renders correctly themeSelected false themeDisa
|
|
|
12
14
|
onResponderTerminationRequest={[Function]}
|
|
13
15
|
onStartShouldSetResponder={[Function]}
|
|
14
16
|
style={
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
},
|
|
24
|
-
undefined,
|
|
25
|
-
]
|
|
17
|
+
Object {
|
|
18
|
+
"alignItems": "center",
|
|
19
|
+
"backgroundColor": "#ffffff",
|
|
20
|
+
"borderRadius": 4,
|
|
21
|
+
"flexDirection": "row",
|
|
22
|
+
"opacity": 1,
|
|
23
|
+
"padding": 16,
|
|
24
|
+
}
|
|
26
25
|
}
|
|
27
26
|
>
|
|
28
27
|
<Text
|
|
@@ -50,7 +49,9 @@ exports[`StyledListItemContainer renders correctly themeSelected false themeDisa
|
|
|
50
49
|
exports[`StyledListItemContainer renders correctly themeSelected false themeDisabled true 1`] = `
|
|
51
50
|
<View
|
|
52
51
|
accessible={true}
|
|
52
|
+
collapsable={false}
|
|
53
53
|
focusable={false}
|
|
54
|
+
nativeID="animatedComponent"
|
|
54
55
|
onClick={[Function]}
|
|
55
56
|
onResponderGrant={[Function]}
|
|
56
57
|
onResponderMove={[Function]}
|
|
@@ -59,17 +60,14 @@ exports[`StyledListItemContainer renders correctly themeSelected false themeDisa
|
|
|
59
60
|
onResponderTerminationRequest={[Function]}
|
|
60
61
|
onStartShouldSetResponder={[Function]}
|
|
61
62
|
style={
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
},
|
|
71
|
-
undefined,
|
|
72
|
-
]
|
|
63
|
+
Object {
|
|
64
|
+
"alignItems": "center",
|
|
65
|
+
"backgroundColor": "#ffffff",
|
|
66
|
+
"borderRadius": 4,
|
|
67
|
+
"flexDirection": "row",
|
|
68
|
+
"opacity": 0.38,
|
|
69
|
+
"padding": 16,
|
|
70
|
+
}
|
|
73
71
|
}
|
|
74
72
|
>
|
|
75
73
|
<Text
|
|
@@ -97,7 +95,9 @@ exports[`StyledListItemContainer renders correctly themeSelected false themeDisa
|
|
|
97
95
|
exports[`StyledListItemContainer renders correctly themeSelected true themeDisabled false 1`] = `
|
|
98
96
|
<View
|
|
99
97
|
accessible={true}
|
|
98
|
+
collapsable={false}
|
|
100
99
|
focusable={false}
|
|
100
|
+
nativeID="animatedComponent"
|
|
101
101
|
onClick={[Function]}
|
|
102
102
|
onResponderGrant={[Function]}
|
|
103
103
|
onResponderMove={[Function]}
|
|
@@ -106,17 +106,14 @@ exports[`StyledListItemContainer renders correctly themeSelected true themeDisab
|
|
|
106
106
|
onResponderTerminationRequest={[Function]}
|
|
107
107
|
onStartShouldSetResponder={[Function]}
|
|
108
108
|
style={
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
},
|
|
118
|
-
undefined,
|
|
119
|
-
]
|
|
109
|
+
Object {
|
|
110
|
+
"alignItems": "center",
|
|
111
|
+
"backgroundColor": "#ece8ef",
|
|
112
|
+
"borderRadius": 4,
|
|
113
|
+
"flexDirection": "row",
|
|
114
|
+
"opacity": 1,
|
|
115
|
+
"padding": 16,
|
|
116
|
+
}
|
|
120
117
|
}
|
|
121
118
|
>
|
|
122
119
|
<Text
|
|
@@ -144,7 +141,9 @@ exports[`StyledListItemContainer renders correctly themeSelected true themeDisab
|
|
|
144
141
|
exports[`StyledListItemContainer renders correctly themeSelected true themeDisabled true 1`] = `
|
|
145
142
|
<View
|
|
146
143
|
accessible={true}
|
|
144
|
+
collapsable={false}
|
|
147
145
|
focusable={false}
|
|
146
|
+
nativeID="animatedComponent"
|
|
148
147
|
onClick={[Function]}
|
|
149
148
|
onResponderGrant={[Function]}
|
|
150
149
|
onResponderMove={[Function]}
|
|
@@ -153,17 +152,14 @@ exports[`StyledListItemContainer renders correctly themeSelected true themeDisab
|
|
|
153
152
|
onResponderTerminationRequest={[Function]}
|
|
154
153
|
onStartShouldSetResponder={[Function]}
|
|
155
154
|
style={
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
},
|
|
165
|
-
undefined,
|
|
166
|
-
]
|
|
155
|
+
Object {
|
|
156
|
+
"alignItems": "center",
|
|
157
|
+
"backgroundColor": "#ece8ef",
|
|
158
|
+
"borderRadius": 4,
|
|
159
|
+
"flexDirection": "row",
|
|
160
|
+
"opacity": 0.38,
|
|
161
|
+
"padding": 16,
|
|
162
|
+
}
|
|
167
163
|
}
|
|
168
164
|
>
|
|
169
165
|
<Text
|
|
@@ -88,7 +88,9 @@ exports[`LeadingStatus renders correctly themeLeadingStausIntent warning 1`] = `
|
|
|
88
88
|
exports[`ListItemContainer renders correctly themeSelected false themeVariant card 1`] = `
|
|
89
89
|
<View
|
|
90
90
|
accessible={true}
|
|
91
|
+
collapsable={false}
|
|
91
92
|
focusable={false}
|
|
93
|
+
nativeID="animatedComponent"
|
|
92
94
|
onClick={[Function]}
|
|
93
95
|
onResponderGrant={[Function]}
|
|
94
96
|
onResponderMove={[Function]}
|
|
@@ -97,24 +99,22 @@ exports[`ListItemContainer renders correctly themeSelected false themeVariant ca
|
|
|
97
99
|
onResponderTerminationRequest={[Function]}
|
|
98
100
|
onStartShouldSetResponder={[Function]}
|
|
99
101
|
style={
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
},
|
|
113
|
-
"shadowOpacity": 1,
|
|
114
|
-
"shadowRadius": 4,
|
|
102
|
+
Object {
|
|
103
|
+
"alignItems": "center",
|
|
104
|
+
"backgroundColor": "#ffffff",
|
|
105
|
+
"borderRadius": 8,
|
|
106
|
+
"elevation": 10,
|
|
107
|
+
"flexDirection": "row",
|
|
108
|
+
"opacity": 1,
|
|
109
|
+
"padding": 16,
|
|
110
|
+
"shadowColor": "#ccced1",
|
|
111
|
+
"shadowOffset": Object {
|
|
112
|
+
"height": 2,
|
|
113
|
+
"width": 0,
|
|
115
114
|
},
|
|
116
|
-
|
|
117
|
-
|
|
115
|
+
"shadowOpacity": 1,
|
|
116
|
+
"shadowRadius": 4,
|
|
117
|
+
}
|
|
118
118
|
}
|
|
119
119
|
>
|
|
120
120
|
<Text
|
|
@@ -142,7 +142,9 @@ exports[`ListItemContainer renders correctly themeSelected false themeVariant ca
|
|
|
142
142
|
exports[`ListItemContainer renders correctly themeSelected false themeVariant full-width 1`] = `
|
|
143
143
|
<View
|
|
144
144
|
accessible={true}
|
|
145
|
+
collapsable={false}
|
|
145
146
|
focusable={false}
|
|
147
|
+
nativeID="animatedComponent"
|
|
146
148
|
onClick={[Function]}
|
|
147
149
|
onResponderGrant={[Function]}
|
|
148
150
|
onResponderMove={[Function]}
|
|
@@ -151,14 +153,12 @@ exports[`ListItemContainer renders correctly themeSelected false themeVariant fu
|
|
|
151
153
|
onResponderTerminationRequest={[Function]}
|
|
152
154
|
onStartShouldSetResponder={[Function]}
|
|
153
155
|
style={
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
undefined,
|
|
161
|
-
]
|
|
156
|
+
Object {
|
|
157
|
+
"backgroundColor": "#ffffff",
|
|
158
|
+
"flexDirection": "row",
|
|
159
|
+
"opacity": 1,
|
|
160
|
+
"padding": 16,
|
|
161
|
+
}
|
|
162
162
|
}
|
|
163
163
|
>
|
|
164
164
|
<Text
|
|
@@ -186,7 +186,9 @@ exports[`ListItemContainer renders correctly themeSelected false themeVariant fu
|
|
|
186
186
|
exports[`ListItemContainer renders correctly themeSelected true themeVariant card 1`] = `
|
|
187
187
|
<View
|
|
188
188
|
accessible={true}
|
|
189
|
+
collapsable={false}
|
|
189
190
|
focusable={false}
|
|
191
|
+
nativeID="animatedComponent"
|
|
190
192
|
onClick={[Function]}
|
|
191
193
|
onResponderGrant={[Function]}
|
|
192
194
|
onResponderMove={[Function]}
|
|
@@ -195,24 +197,22 @@ exports[`ListItemContainer renders correctly themeSelected true themeVariant car
|
|
|
195
197
|
onResponderTerminationRequest={[Function]}
|
|
196
198
|
onStartShouldSetResponder={[Function]}
|
|
197
199
|
style={
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
},
|
|
211
|
-
"shadowOpacity": 1,
|
|
212
|
-
"shadowRadius": 4,
|
|
200
|
+
Object {
|
|
201
|
+
"alignItems": "center",
|
|
202
|
+
"backgroundColor": "#ece8ef",
|
|
203
|
+
"borderRadius": 8,
|
|
204
|
+
"elevation": 10,
|
|
205
|
+
"flexDirection": "row",
|
|
206
|
+
"opacity": 1,
|
|
207
|
+
"padding": 16,
|
|
208
|
+
"shadowColor": "#ccced1",
|
|
209
|
+
"shadowOffset": Object {
|
|
210
|
+
"height": 2,
|
|
211
|
+
"width": 0,
|
|
213
212
|
},
|
|
214
|
-
|
|
215
|
-
|
|
213
|
+
"shadowOpacity": 1,
|
|
214
|
+
"shadowRadius": 4,
|
|
215
|
+
}
|
|
216
216
|
}
|
|
217
217
|
>
|
|
218
218
|
<Text
|
|
@@ -240,7 +240,9 @@ exports[`ListItemContainer renders correctly themeSelected true themeVariant car
|
|
|
240
240
|
exports[`ListItemContainer renders correctly themeSelected true themeVariant full-width 1`] = `
|
|
241
241
|
<View
|
|
242
242
|
accessible={true}
|
|
243
|
+
collapsable={false}
|
|
243
244
|
focusable={false}
|
|
245
|
+
nativeID="animatedComponent"
|
|
244
246
|
onClick={[Function]}
|
|
245
247
|
onResponderGrant={[Function]}
|
|
246
248
|
onResponderMove={[Function]}
|
|
@@ -249,14 +251,12 @@ exports[`ListItemContainer renders correctly themeSelected true themeVariant ful
|
|
|
249
251
|
onResponderTerminationRequest={[Function]}
|
|
250
252
|
onStartShouldSetResponder={[Function]}
|
|
251
253
|
style={
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
undefined,
|
|
259
|
-
]
|
|
254
|
+
Object {
|
|
255
|
+
"backgroundColor": "#ece8ef",
|
|
256
|
+
"flexDirection": "row",
|
|
257
|
+
"opacity": 1,
|
|
258
|
+
"padding": 16,
|
|
259
|
+
}
|
|
260
260
|
}
|
|
261
261
|
>
|
|
262
262
|
<Text
|
|
@@ -43,7 +43,7 @@ exports[`PinCell renders correctly when focused is false, state is disabled 1`]
|
|
|
43
43
|
Array [
|
|
44
44
|
Object {
|
|
45
45
|
"alignItems": "center",
|
|
46
|
-
"borderColor": "#
|
|
46
|
+
"borderColor": "#bfc1c5",
|
|
47
47
|
"borderRadius": 8,
|
|
48
48
|
"borderWidth": 1,
|
|
49
49
|
"height": 48,
|
|
@@ -60,7 +60,7 @@ exports[`PinCell renders correctly when focused is false, state is disabled 1`]
|
|
|
60
60
|
style={
|
|
61
61
|
Array [
|
|
62
62
|
Object {
|
|
63
|
-
"color": "#
|
|
63
|
+
"color": "#bfc1c5",
|
|
64
64
|
"fontFamily": "BeVietnamPro-SemiBold",
|
|
65
65
|
"fontSize": 28,
|
|
66
66
|
},
|
|
@@ -80,7 +80,7 @@ exports[`PinCell renders correctly when focused is false, state is error 1`] = `
|
|
|
80
80
|
Array [
|
|
81
81
|
Object {
|
|
82
82
|
"alignItems": "center",
|
|
83
|
-
"borderColor": "#
|
|
83
|
+
"borderColor": "#de350b",
|
|
84
84
|
"borderRadius": 8,
|
|
85
85
|
"borderWidth": 1,
|
|
86
86
|
"height": 48,
|
|
@@ -97,7 +97,7 @@ exports[`PinCell renders correctly when focused is false, state is error 1`] = `
|
|
|
97
97
|
style={
|
|
98
98
|
Array [
|
|
99
99
|
Object {
|
|
100
|
-
"color": "#
|
|
100
|
+
"color": "#de350b",
|
|
101
101
|
"fontFamily": "BeVietnamPro-SemiBold",
|
|
102
102
|
"fontSize": 28,
|
|
103
103
|
},
|
|
@@ -154,7 +154,7 @@ exports[`PinCell renders correctly when focused is true, state is error 1`] = `
|
|
|
154
154
|
Array [
|
|
155
155
|
Object {
|
|
156
156
|
"alignItems": "center",
|
|
157
|
-
"borderColor": "#
|
|
157
|
+
"borderColor": "#de350b",
|
|
158
158
|
"borderRadius": 8,
|
|
159
159
|
"borderWidth": 2,
|
|
160
160
|
"height": 48,
|
|
@@ -171,7 +171,7 @@ exports[`PinCell renders correctly when focused is true, state is error 1`] = `
|
|
|
171
171
|
style={
|
|
172
172
|
Array [
|
|
173
173
|
Object {
|
|
174
|
-
"color": "#
|
|
174
|
+
"color": "#de350b",
|
|
175
175
|
"fontFamily": "BeVietnamPro-SemiBold",
|
|
176
176
|
"fontSize": 28,
|
|
177
177
|
},
|