-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #171 from bnb-chain/wenty/search1206
feat: Show token address on `You Receive`
- Loading branch information
Showing
15 changed files
with
250 additions
and
64 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@bnb-chain/canonical-bridge-widget': patch | ||
--- | ||
|
||
Show token address on `You Receive` |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"mode": "pre", | ||
"tag": "alpha", | ||
"initialVersions": { | ||
"@bnb-chain/canonical-bridge-sdk": "0.4.2", | ||
"@bnb-chain/canonical-bridge-widget": "0.5.7" | ||
}, | ||
"changesets": [ | ||
"light-emus-switch", | ||
"sharp-dryers-hear", | ||
"slimy-crabs-know" | ||
] | ||
} |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@bnb-chain/canonical-bridge-widget": patch | ||
--- | ||
|
||
Support searching token by address |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@bnb-chain/canonical-bridge-widget": patch | ||
--- | ||
|
||
Show token address on `You Receive` |
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
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
27 changes: 27 additions & 0 deletions
27
packages/canonical-bridge-widget/src/core/components/icons/AlertIcon.tsx
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import { Icon, IconProps } from '@bnb-chain/space'; | ||
|
||
export function AlertIcon(props: IconProps) { | ||
return ( | ||
<Icon width="16px" height="17px" viewBox="0 0 16 17" fill="none" {...props}> | ||
<mask | ||
id="mask0_4487_75756" | ||
style={{ | ||
maskType: 'alpha', | ||
}} | ||
maskUnits="userSpaceOnUse" | ||
x="0" | ||
y="0" | ||
width="16" | ||
height="17" | ||
> | ||
<rect y="0.5" width="16" height="16" fill="#D9D9D9" /> | ||
</mask> | ||
<g mask="url(#mask0_4487_75756)"> | ||
<path | ||
d="M1.81669 14.5C1.69447 14.5 1.58336 14.4694 1.48336 14.4083C1.38336 14.3472 1.30558 14.2667 1.25002 14.1667C1.19447 14.0667 1.16391 13.9583 1.15836 13.8417C1.1528 13.725 1.18336 13.6111 1.25002 13.5L7.41669 2.83333C7.48336 2.72222 7.56947 2.63889 7.67502 2.58333C7.78058 2.52778 7.88891 2.5 8.00002 2.5C8.11113 2.5 8.21947 2.52778 8.32502 2.58333C8.43058 2.63889 8.51669 2.72222 8.58336 2.83333L14.75 13.5C14.8167 13.6111 14.8472 13.725 14.8417 13.8417C14.8361 13.9583 14.8056 14.0667 14.75 14.1667C14.6945 14.2667 14.6167 14.3472 14.5167 14.4083C14.4167 14.4694 14.3056 14.5 14.1834 14.5H1.81669ZM2.96669 13.1667H13.0334L8.00002 4.5L2.96669 13.1667ZM8.00002 12.5C8.18891 12.5 8.34725 12.4361 8.47502 12.3083C8.6028 12.1806 8.66669 12.0222 8.66669 11.8333C8.66669 11.6444 8.6028 11.4861 8.47502 11.3583C8.34725 11.2306 8.18891 11.1667 8.00002 11.1667C7.81113 11.1667 7.6528 11.2306 7.52502 11.3583C7.39724 11.4861 7.33336 11.6444 7.33336 11.8333C7.33336 12.0222 7.39724 12.1806 7.52502 12.3083C7.6528 12.4361 7.81113 12.5 8.00002 12.5ZM8.00002 10.5C8.18891 10.5 8.34725 10.4361 8.47502 10.3083C8.6028 10.1806 8.66669 10.0222 8.66669 9.83333V7.83333C8.66669 7.64444 8.6028 7.48611 8.47502 7.35833C8.34725 7.23056 8.18891 7.16667 8.00002 7.16667C7.81113 7.16667 7.6528 7.23056 7.52502 7.35833C7.39724 7.48611 7.33336 7.64444 7.33336 7.83333V9.83333C7.33336 10.0222 7.39724 10.1806 7.52502 10.3083C7.6528 10.4361 7.81113 10.5 8.00002 10.5Z" | ||
fill="#FFE900" | ||
/> | ||
</g> | ||
</Icon> | ||
); | ||
} |
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
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
Oops, something went wrong.