-
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 #515 from trilitech/address-ui-feedback-part1
Address UI feedback part1
- Loading branch information
Showing
38 changed files
with
488 additions
and
376 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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "umami", | ||
"productName": "umami", | ||
"version": "2.0.0-alpha", | ||
"version": "2.0.0-beta1", | ||
"private": true, | ||
"author": "Trilitech <[email protected]>", | ||
"description": "Tezos Wallet", | ||
|
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 |
---|---|---|
@@ -1,4 +1,17 @@ | ||
import { IconProps } from "@chakra-ui/react"; | ||
import { Icon, IconProps } from "@chakra-ui/react"; | ||
import colors from "../../style/colors"; | ||
|
||
const ChevronDownIcon: React.FC<IconProps> = props => <ChevronDownIcon {...props} rotate="90deg" />; | ||
export default ChevronDownIcon; | ||
const ChevronRightIcon: React.FC<IconProps> = props => ( | ||
<Icon | ||
width="18px" | ||
height="18px" | ||
viewBox="0 0 18 18" | ||
fill="none" | ||
xmlns="http://www.w3.org/2000/svg" | ||
stroke={colors.gray[450]} | ||
{...props} | ||
> | ||
<path d="M7 14L11.5 9.5L7 5" strokeWidth="1.2" strokeLinecap="round" strokeLinejoin="round" /> | ||
</Icon> | ||
); | ||
export default ChevronRightIcon; |
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,25 @@ | ||
import { Icon, IconProps } from "@chakra-ui/react"; | ||
import colors from "../../style/colors"; | ||
|
||
const ExitArrowIcon: React.FC<IconProps> = props => { | ||
return ( | ||
<Icon | ||
width="18px" | ||
height="18px" | ||
viewBox="0 0 18 18" | ||
fill="none" | ||
xmlns="http://www.w3.org/2000/svg" | ||
stroke={colors.gray[450]} | ||
{...props} | ||
> | ||
<path | ||
d="M15 3V15M3 9H12M12 9L9 6M12 9L9 12" | ||
strokeWidth="1.2" | ||
strokeLinecap="round" | ||
strokeLinejoin="round" | ||
/> | ||
</Icon> | ||
); | ||
}; | ||
|
||
export default ExitArrowIcon; |
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,25 @@ | ||
import { Icon, IconProps } from "@chakra-ui/react"; | ||
import colors from "../../style/colors"; | ||
|
||
const ExternalLinkIcon: React.FC<IconProps> = props => { | ||
return ( | ||
<Icon | ||
width="18px" | ||
height="18px" | ||
viewBox="0 0 18 18" | ||
fill="none" | ||
xmlns="http://www.w3.org/2000/svg" | ||
stroke={colors.gray[450]} | ||
{...props} | ||
> | ||
<path | ||
d="M15 3L9 9M15 3V6.375M15 3H11.625M14.25 9.375V12.6C14.25 13.4401 14.25 13.8601 14.0865 14.181C13.9427 14.4632 13.7132 14.6927 13.431 14.8365C13.1101 15 12.6901 15 11.85 15H5.4C4.55992 15 4.13988 15 3.81901 14.8365C3.53677 14.6927 3.3073 14.4632 3.16349 14.181C3 13.8601 3 13.4401 3 12.6V6.15C3 5.30992 3 4.88988 3.16349 4.56901C3.3073 4.28677 3.53677 4.0573 3.81901 3.91349C4.13988 3.75 4.55992 3.75 5.4 3.75H8.625" | ||
strokeWidth="1.2" | ||
strokeLinecap="round" | ||
strokeLinejoin="round" | ||
/> | ||
</Icon> | ||
); | ||
}; | ||
|
||
export default ExternalLinkIcon; |
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,25 @@ | ||
import { Icon, IconProps } from "@chakra-ui/react"; | ||
import colors from "../../style/colors"; | ||
|
||
const FileArrowDownIcon: React.FC<IconProps> = props => { | ||
return ( | ||
<Icon | ||
width="18px" | ||
height="18px" | ||
viewBox="0 0 18 18" | ||
fill="none" | ||
stroke={colors.gray[450]} | ||
xmlns="http://www.w3.org/2000/svg" | ||
{...props} | ||
> | ||
<path | ||
d="M9 8.25V12.75M9 12.75L7.5 11.25M9 12.75L10.5 11.25M9.75 2.25H6.15C5.30992 2.25 4.88988 2.25 4.56901 2.41349C4.28677 2.5573 4.0573 2.78677 3.91349 3.06901C3.75 3.38988 3.75 3.80992 3.75 4.65V13.35C3.75 14.1901 3.75 14.6101 3.91349 14.931C4.0573 15.2132 4.28677 15.4427 4.56901 15.5865C4.88988 15.75 5.30992 15.75 6.15 15.75H11.85C12.6901 15.75 13.1101 15.75 13.431 15.5865C13.7132 15.4427 13.9427 15.2132 14.0865 14.931C14.25 14.6101 14.25 14.1901 14.25 13.35V6.75M9.75 2.25L14.25 6.75M9.75 2.25V5.55C9.75 5.97004 9.75 6.18006 9.83175 6.34049C9.90365 6.48161 10.0184 6.59635 10.1595 6.66825C10.3199 6.75 10.53 6.75 10.95 6.75H14.25" | ||
strokeWidth="1.2" | ||
strokeLinecap="round" | ||
strokeLinejoin="round" | ||
/> | ||
</Icon> | ||
); | ||
}; | ||
|
||
export default FileArrowDownIcon; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import { Link, LinkProps } from "@chakra-ui/react"; | ||
import { PropsWithChildren } from "react"; | ||
|
||
export const ExternalLink: React.FC<PropsWithChildren<{ href: string } & LinkProps>> = ({ | ||
href, | ||
children, | ||
...props | ||
}) => ( | ||
<Link | ||
href={href} | ||
role="link" | ||
display="flex" | ||
target="_blank" | ||
rel="noreferrer" | ||
alignItems="center" | ||
_hover={{ textDecoration: "none" }} | ||
{...props} | ||
> | ||
{children} | ||
</Link> | ||
); |
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.