-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feat/smart-tx-txcontroller-v13
- Loading branch information
Showing
47 changed files
with
2,879 additions
and
1,134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -159,7 +159,7 @@ exports[`Coachmark should render correctly 1`] = ` | |
} | ||
> | ||
1 | ||
/5 | ||
/6 | ||
</Text> | ||
</View> | ||
<TouchableOpacity | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
267 changes: 238 additions & 29 deletions
267
app/components/UI/OnboardingWizard/Step1/__snapshots__/index.test.tsx.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,246 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`Step1 should render correctly 1`] = ` | ||
<ContextProvider | ||
value={ | ||
<View | ||
style={ | ||
{ | ||
"store": { | ||
"clearActions": [Function], | ||
"dispatch": [Function], | ||
"getActions": [Function], | ||
"getState": [Function], | ||
"replaceReducer": [Function], | ||
"subscribe": [Function], | ||
}, | ||
"subscription": Subscription { | ||
"handleChangeWrapper": [Function], | ||
"listeners": { | ||
"notify": [Function], | ||
}, | ||
"onStateChange": [Function], | ||
"parentSub": undefined, | ||
"store": { | ||
"clearActions": [Function], | ||
"dispatch": [Function], | ||
"getActions": [Function], | ||
"getState": [Function], | ||
"replaceReducer": [Function], | ||
"subscribe": [Function], | ||
}, | ||
"unsubscribe": null, | ||
}, | ||
"flex": 1, | ||
} | ||
} | ||
testID="onboarding-wizard-step1-container-id" | ||
> | ||
<Component /> | ||
</ContextProvider> | ||
<View | ||
style={ | ||
{ | ||
"bottom": 80, | ||
"flex": 1, | ||
"left": 0, | ||
"position": "absolute", | ||
"right": 0, | ||
} | ||
} | ||
> | ||
<View | ||
collapsable={false} | ||
style={ | ||
{ | ||
"opacity": 0, | ||
} | ||
} | ||
> | ||
<View | ||
style={ | ||
[ | ||
{ | ||
"backgroundColor": "#0376C9", | ||
"borderRadius": 8, | ||
"padding": 20, | ||
}, | ||
{ | ||
"marginHorizontal": 16, | ||
}, | ||
] | ||
} | ||
> | ||
<View | ||
style={ | ||
{ | ||
"alignItems": "center", | ||
"flexDirection": "row", | ||
"justifyContent": "space-between", | ||
} | ||
} | ||
> | ||
<View /> | ||
<Text | ||
style={ | ||
{ | ||
"alignSelf": "center", | ||
"color": "#FFFFFF", | ||
"fontFamily": "EuclidCircularB-Bold", | ||
"fontSize": 18, | ||
"fontWeight": "600", | ||
} | ||
} | ||
> | ||
Welcome to your wallet! | ||
</Text> | ||
<TouchableOpacity | ||
accessible={true} | ||
activeOpacity={1} | ||
disabled={false} | ||
onPress={[MockFunction]} | ||
onPressIn={[Function]} | ||
onPressOut={[Function]} | ||
style={ | ||
{ | ||
"alignItems": "center", | ||
"borderRadius": 8, | ||
"height": 16, | ||
"justifyContent": "center", | ||
"opacity": 1, | ||
"width": 16, | ||
} | ||
} | ||
> | ||
<SvgMock | ||
color="#FFFFFF" | ||
height={20} | ||
name="Close" | ||
style={ | ||
{ | ||
"height": 20, | ||
"width": 20, | ||
} | ||
} | ||
width={20} | ||
/> | ||
</TouchableOpacity> | ||
</View> | ||
<View | ||
style={ | ||
{ | ||
"marginTop": 20, | ||
} | ||
} | ||
> | ||
<Text | ||
style={ | ||
{ | ||
"color": "#FFFFFF", | ||
"fontFamily": "EuclidCircularB-Regular", | ||
"fontSize": 14, | ||
"fontWeight": "400", | ||
"marginBottom": 20, | ||
"textAlign": "left", | ||
} | ||
} | ||
> | ||
On the blockchain, you need a wallet (and maybe some ETH). So let’s take a look at how to use your MetaMask wallet. | ||
</Text> | ||
</View> | ||
<View | ||
style={ | ||
{ | ||
"flexDirection": "row", | ||
} | ||
} | ||
> | ||
<TouchableOpacity | ||
accessibilityRole="button" | ||
accessible={true} | ||
activeOpacity={1} | ||
onPress={[Function]} | ||
onPressIn={[Function]} | ||
onPressOut={[Function]} | ||
style={ | ||
{ | ||
"alignItems": "center", | ||
"alignSelf": "stretch", | ||
"backgroundColor": "#0376C9", | ||
"borderColor": "#FFFFFF", | ||
"borderRadius": 16, | ||
"borderWidth": 1, | ||
"flex": 0.5, | ||
"flexDirection": "row", | ||
"height": 32, | ||
"justifyContent": "center", | ||
"marginRight": 4, | ||
"paddingHorizontal": 16, | ||
} | ||
} | ||
testID="onboarding-wizard-no-thanks-button" | ||
variant="Primary" | ||
> | ||
<Text | ||
accessibilityRole="text" | ||
style={ | ||
{ | ||
"color": "#FFFFFF", | ||
"fontFamily": "Euclid Circular B", | ||
"fontSize": 14, | ||
"fontWeight": "400", | ||
"letterSpacing": 0, | ||
"lineHeight": 22, | ||
} | ||
} | ||
> | ||
No thanks | ||
</Text> | ||
</TouchableOpacity> | ||
<TouchableOpacity | ||
accessibilityRole="button" | ||
accessible={true} | ||
activeOpacity={1} | ||
onPress={[Function]} | ||
onPressIn={[Function]} | ||
onPressOut={[Function]} | ||
style={ | ||
{ | ||
"alignItems": "center", | ||
"alignSelf": "stretch", | ||
"backgroundColor": "#FFFFFF", | ||
"borderColor": "#0376C9", | ||
"borderRadius": 16, | ||
"borderWidth": 1, | ||
"flex": 0.5, | ||
"flexDirection": "row", | ||
"height": 32, | ||
"justifyContent": "center", | ||
"marginLeft": 4, | ||
"paddingHorizontal": 16, | ||
} | ||
} | ||
testID="onboarding-wizard-next-button" | ||
variant="Secondary" | ||
> | ||
<Text | ||
accessibilityRole="text" | ||
style={ | ||
{ | ||
"color": "#0376C9", | ||
"fontFamily": "Euclid Circular B", | ||
"fontSize": 14, | ||
"fontWeight": "400", | ||
"letterSpacing": 0, | ||
"lineHeight": 22, | ||
} | ||
} | ||
> | ||
Take the tour | ||
</Text> | ||
</TouchableOpacity> | ||
</View> | ||
</View> | ||
<View | ||
style={ | ||
{ | ||
"alignItems": "flex-start", | ||
"marginBottom": 10, | ||
"marginLeft": 30, | ||
"top": -2, | ||
} | ||
} | ||
> | ||
<View | ||
style={ | ||
{ | ||
"backgroundColor": "transparent", | ||
"borderLeftColor": "transparent", | ||
"borderLeftWidth": 15, | ||
"borderRightColor": "transparent", | ||
"borderRightWidth": 15, | ||
"borderStyle": "solid", | ||
"borderTopColor": "#0376C9", | ||
"borderTopWidth": 12, | ||
"height": 0, | ||
"position": "absolute", | ||
"width": 0, | ||
} | ||
} | ||
/> | ||
</View> | ||
</View> | ||
</View> | ||
</View> | ||
`; |
Oops, something went wrong.