|
@ -0,0 +1,5 @@
|
|||
---
|
||||
"@status-im/icons": patch
|
||||
---
|
||||
|
||||
Sync icons
|
|
@ -59,7 +59,7 @@
|
|||
"scripts": {
|
||||
"preinstall": "npx only-allow pnpm",
|
||||
"sync": "vite-node scripts/sync.ts && prettier --parser=html --write 'svg/**/*.svg'",
|
||||
"generate": "rimraf src && svgr svg --out-dir src && pnpm lint:fix && pnpm format",
|
||||
"generate": "rimraf src && svgr --no-prettier svg --out-dir src && pnpm lint:fix && pnpm format",
|
||||
"dev": "vite build --watch --mode development",
|
||||
"build": "vite build",
|
||||
"postbuild": "pnpm build:types",
|
||||
|
@ -81,7 +81,6 @@
|
|||
"@status-im/eslint-config": "workspace:*",
|
||||
"@svgr/cli": "^8.1.0",
|
||||
"@svgr/core": "^8.1.0",
|
||||
"@svgr/plugin-prettier": "^8.1.0",
|
||||
"@svgr/plugin-svgo": "^8.1.0",
|
||||
"@types/fs-extra": "^11.0.1",
|
||||
"@vitejs/plugin-react": "^4.3.1",
|
||||
|
|
|
@ -0,0 +1,26 @@
|
|||
import type { SVGProps } from 'react'
|
||||
|
||||
const SvgChromeIcon = (props: SVGProps<SVGSVGElement>) => (
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width={20}
|
||||
height={20}
|
||||
fill="none"
|
||||
viewBox="0 0 20 20"
|
||||
aria-hidden={true}
|
||||
focusable={false}
|
||||
{...props}
|
||||
>
|
||||
<g fill="currentColor" clipPath="url(#prefix__clip0_8189_64)">
|
||||
<path d="M10 13.572c-.7 0-1.352-.193-1.931-.579a3.64 3.64 0 0 1-1.303-1.472L3.869 6.5C3.266 7.586 3 8.769 3 10c0 1.762.58 3.283 1.714 4.586 1.134 1.304 2.558 2.076 4.248 2.342l2.028-3.525a2.935 2.935 0 0 1-.99.17ZM7.803 7.103C8.455 6.597 9.18 6.38 10 6.38h6.01c-.627-1.062-1.472-1.834-2.534-2.438A6.71 6.71 0 0 0 10 3a6.965 6.965 0 0 0-3.066.7c-.94.459-1.834 1.134-2.462 2.003L6.5 9.034c.193-.772.652-1.424 1.303-1.93Z" />
|
||||
<path d="M16.47 7.369h-4.056c.7.7 1.183 1.617 1.183 2.63 0 .75-.218 1.425-.628 2.053L10.073 17c1.906-.024 3.548-.7 4.9-2.076C16.323 13.548 17 11.907 17 10c0-.893-.145-1.835-.53-2.631Z" />
|
||||
<path d="M10 7.345c1.448 0 2.655 1.207 2.655 2.655 0 1.448-1.207 2.655-2.655 2.655-1.448 0-2.655-1.207-2.655-2.655 0-1.448 1.207-2.655 2.655-2.655Z" />
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="prefix__clip0_8189_64">
|
||||
<path fill="#fff" d="M3 3h14v14H3z" />
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
)
|
||||
export default SvgChromeIcon
|
|
@ -14,7 +14,7 @@ const SvgExternalIcon = (props: SVGProps<SVGSVGElement>) => (
|
|||
<path
|
||||
fill="currentColor"
|
||||
fillRule="evenodd"
|
||||
d="M11.551 7.6H7V6.4h6.6V13h-1.2V8.449l-6.476 6.475-.848-.848L11.55 7.6Z"
|
||||
d="M11.551 6.6H7V5.4h6.6V12h-1.2V7.449l-6.476 6.475-.848-.848L11.55 6.6Z"
|
||||
clipRule="evenodd"
|
||||
/>
|
||||
</svg>
|
||||
|
|
|
@ -56,6 +56,7 @@ export { default as ChevronsLeftIcon } from './chevrons-left-icon'
|
|||
export { default as ChevronsRightIcon } from './chevrons-right-icon'
|
||||
export { default as ChileIcon } from './chile-icon'
|
||||
export { default as ChinaIcon } from './china-icon'
|
||||
export { default as ChromeIcon } from './chrome-icon'
|
||||
export { default as CircleIcon } from './circle-icon'
|
||||
export { default as ClearBigIcon } from './clear-big-icon'
|
||||
export { default as ClearIcon } from './clear-icon'
|
||||
|
@ -278,6 +279,7 @@ export { default as ScanBigIcon } from './scan-big-icon'
|
|||
export { default as ScanIcon } from './scan-icon'
|
||||
export { default as SearchIcon } from './search-icon'
|
||||
export { default as SeedIcon } from './seed-icon'
|
||||
export { default as SellIcon } from './sell-icon'
|
||||
export { default as SendAudioIcon } from './send-audio-icon'
|
||||
export { default as SendBlurIcon } from './send-blur-icon'
|
||||
export { default as SendIcon } from './send-icon'
|
||||
|
|
|
@ -14,7 +14,7 @@ const SvgPopupIcon = (props: SVGProps<SVGSVGElement>) => (
|
|||
<path
|
||||
fill="currentColor"
|
||||
fillRule="evenodd"
|
||||
d="M2.6 10c0-1.727.068-3.046.264-4.06.196-1.01.51-1.665.96-2.116.452-.451 1.106-.764 2.116-.96C6.955 2.667 8.273 2.6 10 2.6c1.728 0 3.046.067 4.061.264 1.01.196 1.664.509 2.115.96.451.451.765 1.106.96 2.115.197 1.015.264 2.334.264 4.061 0 1.727-.067 3.046-.264 4.06-.195 1.01-.509 1.665-.96 2.116-.451.45-1.106.764-2.115.96-1.015.197-2.333.264-4.06.264-1.728 0-3.046-.067-4.061-.264-1.01-.196-1.664-.51-2.115-.96-.452-.451-.765-1.106-.96-2.115C2.667 13.046 2.6 11.727 2.6 10ZM10 1.4c-1.739 0-3.154.066-4.289.286-1.14.221-2.053.608-2.735 1.29-.682.682-1.069 1.594-1.29 2.735C1.466 6.846 1.4 8.26 1.4 10c0 1.74.066 3.154.286 4.29.221 1.14.608 2.052 1.29 2.734.682.682 1.594 1.069 2.735 1.29 1.135.22 2.55.286 4.29.286 1.739 0 3.154-.066 4.289-.286 1.14-.221 2.053-.608 2.735-1.29.682-.682 1.068-1.594 1.29-2.735.22-1.135.285-2.55.285-4.289 0-1.74-.066-3.154-.286-4.29-.22-1.14-.607-2.052-1.29-2.734-.681-.682-1.594-1.069-2.735-1.29C13.155 1.466 11.74 1.4 10 1.4ZM9 7.6h2.552l-4.976 4.976.848.848L12.4 8.448V11h1.2V6.4H9v1.2Z"
|
||||
d="M2.6 10c0-1.727.068-3.046.264-4.06.196-1.01.51-1.665.96-2.116.452-.451 1.106-.764 2.116-.96C6.955 2.667 8.273 2.6 10 2.6c1.728 0 3.046.067 4.061.264 1.01.196 1.664.509 2.115.96.451.451.765 1.106.96 2.115.197 1.015.264 2.334.264 4.061 0 1.727-.067 3.046-.264 4.06-.195 1.01-.509 1.665-.96 2.116-.451.45-1.106.764-2.115.96-1.015.197-2.333.264-4.06.264-1.728 0-3.046-.067-4.061-.264-1.01-.196-1.664-.51-2.115-.96-.452-.451-.765-1.106-.96-2.115C2.667 13.046 2.6 11.727 2.6 10ZM10 1.4c-1.739 0-3.154.066-4.289.286-1.14.221-2.053.608-2.735 1.29-.682.682-1.069 1.594-1.29 2.735C1.466 6.846 1.4 8.26 1.4 10c0 1.74.066 3.154.286 4.29.221 1.14.608 2.052 1.29 2.734.682.682 1.594 1.069 2.735 1.29 1.135.22 2.55.286 4.29.286 1.739 0 3.154-.066 4.289-.286 1.14-.221 2.053-.608 2.735-1.29.682-.682 1.068-1.594 1.29-2.735.22-1.135.285-2.55.285-4.289 0-1.74-.066-3.154-.286-4.29-.22-1.14-.607-2.052-1.29-2.734-.681-.682-1.594-1.069-2.735-1.29C13.155 1.466 11.74 1.4 10 1.4ZM9 7.6h2.551l-4.975 4.976.848.848L12.4 8.45V11h1.2V6.4H9v1.2Z"
|
||||
clipRule="evenodd"
|
||||
/>
|
||||
</svg>
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
import type { SVGProps } from 'react'
|
||||
|
||||
const SvgSellIcon = (props: SVGProps<SVGSVGElement>) => (
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width={20}
|
||||
height={20}
|
||||
fill="none"
|
||||
viewBox="0 0 20 20"
|
||||
aria-hidden={true}
|
||||
focusable={false}
|
||||
{...props}
|
||||
>
|
||||
<path
|
||||
fill="currentColor"
|
||||
fillRule="evenodd"
|
||||
d="M3.1 10c0-1.619.063-2.852.247-3.8.182-.942.474-1.547.89-1.963.415-.416 1.021-.708 1.963-.89.948-.184 2.18-.247 3.8-.247 1.619 0 2.852.063 3.8.247.942.182 1.547.474 1.963.89.416.416.708 1.021.89 1.963.184.948.247 2.181.247 3.8 0 1.619-.063 2.852-.247 3.8-.182.942-.474 1.547-.89 1.963-.416.416-1.021.708-1.963.89-.948.184-2.181.247-3.8.247-1.62 0-2.852-.063-3.8-.247-.942-.182-1.548-.474-1.963-.89-.416-.416-.708-1.021-.89-1.963-.184-.948-.247-2.181-.247-3.8ZM10 1.9c-1.631 0-2.96.062-4.028.269-1.074.208-1.937.573-2.584 1.22-.647.646-1.011 1.51-1.22 2.583C1.963 7.039 1.9 8.369 1.9 10c0 1.631.062 2.96.269 4.028.208 1.074.572 1.937 1.22 2.584.646.647 1.509 1.011 2.583 1.22 1.067.206 2.397.268 4.028.268 1.63 0 2.96-.062 4.028-.269 1.074-.208 1.937-.572 2.584-1.22.646-.646 1.011-1.51 1.22-2.583.206-1.067.268-2.397.268-4.028 0-1.631-.062-2.96-.269-4.028-.208-1.074-.573-1.937-1.22-2.584-.646-.646-1.51-1.011-2.583-1.22C12.961 1.963 11.631 1.9 10 1.9Zm-3.5 8.7h7V9.4h-7v1.2Z"
|
||||
clipRule="evenodd"
|
||||
/>
|
||||
</svg>
|
||||
)
|
||||
export default SvgSellIcon
|
|
@ -1,3 +1,4 @@
|
|||
export { default as ArbiscanIcon } from './arbiscan-icon'
|
||||
export { default as DiscordIcon } from './discord-icon'
|
||||
export { default as EtherscanIcon } from './etherscan-icon'
|
||||
export { default as FacebookIcon } from './facebook-icon'
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width="20"
|
||||
height="20"
|
||||
fill="none"
|
||||
viewBox="0 0 20 20"
|
||||
>
|
||||
<g fill="currentColor" clip-path="url(#prefix__clip0_8189_64)">
|
||||
<path
|
||||
d="M10 13.572c-.7 0-1.352-.193-1.931-.579a3.64 3.64 0 0 1-1.303-1.472L3.869 6.5C3.266 7.586 3 8.769 3 10c0 1.762.58 3.283 1.714 4.586 1.134 1.304 2.558 2.076 4.248 2.342l2.028-3.525a2.935 2.935 0 0 1-.99.17ZM7.803 7.103C8.455 6.597 9.18 6.38 10 6.38h6.01c-.627-1.062-1.472-1.834-2.534-2.438A6.71 6.71 0 0 0 10 3a6.965 6.965 0 0 0-3.066.7c-.94.459-1.834 1.134-2.462 2.003L6.5 9.034c.193-.772.652-1.424 1.303-1.93Z"
|
||||
/>
|
||||
<path
|
||||
d="M16.47 7.369h-4.056c.7.7 1.183 1.617 1.183 2.63 0 .75-.218 1.425-.628 2.053L10.073 17c1.906-.024 3.548-.7 4.9-2.076C16.323 13.548 17 11.907 17 10c0-.893-.145-1.835-.53-2.631Z"
|
||||
/>
|
||||
<path
|
||||
d="M10 7.345c1.448 0 2.655 1.207 2.655 2.655 0 1.448-1.207 2.655-2.655 2.655-1.448 0-2.655-1.207-2.655-2.655 0-1.448 1.207-2.655 2.655-2.655Z"
|
||||
/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="prefix__clip0_8189_64">
|
||||
<path fill="#fff" d="M3 3h14v14H3z" />
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
After Width: | Height: | Size: 1.1 KiB |
|
@ -8,7 +8,7 @@
|
|||
<path
|
||||
fill="currentColor"
|
||||
fill-rule="evenodd"
|
||||
d="M11.551 7.6H7V6.4h6.6V13h-1.2V8.449l-6.476 6.475-.848-.848L11.55 7.6Z"
|
||||
d="M11.551 6.6H7V5.4h6.6V12h-1.2V7.449l-6.476 6.475-.848-.848L11.55 6.6Z"
|
||||
clip-rule="evenodd"
|
||||
/>
|
||||
</svg>
|
||||
|
|
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 277 B |
|
@ -8,7 +8,7 @@
|
|||
<path
|
||||
fill="currentColor"
|
||||
fill-rule="evenodd"
|
||||
d="M2.6 10c0-1.727.068-3.046.264-4.06.196-1.01.51-1.665.96-2.116.452-.451 1.106-.764 2.116-.96C6.955 2.667 8.273 2.6 10 2.6c1.728 0 3.046.067 4.061.264 1.01.196 1.664.509 2.115.96.451.451.765 1.106.96 2.115.197 1.015.264 2.334.264 4.061 0 1.727-.067 3.046-.264 4.06-.195 1.01-.509 1.665-.96 2.116-.451.45-1.106.764-2.115.96-1.015.197-2.333.264-4.06.264-1.728 0-3.046-.067-4.061-.264-1.01-.196-1.664-.51-2.115-.96-.452-.451-.765-1.106-.96-2.115C2.667 13.046 2.6 11.727 2.6 10ZM10 1.4c-1.739 0-3.154.066-4.289.286-1.14.221-2.053.608-2.735 1.29-.682.682-1.069 1.594-1.29 2.735C1.466 6.846 1.4 8.26 1.4 10c0 1.74.066 3.154.286 4.29.221 1.14.608 2.052 1.29 2.734.682.682 1.594 1.069 2.735 1.29 1.135.22 2.55.286 4.29.286 1.739 0 3.154-.066 4.289-.286 1.14-.221 2.053-.608 2.735-1.29.682-.682 1.068-1.594 1.29-2.735.22-1.135.285-2.55.285-4.289 0-1.74-.066-3.154-.286-4.29-.22-1.14-.607-2.052-1.29-2.734-.681-.682-1.594-1.069-2.735-1.29C13.155 1.466 11.74 1.4 10 1.4ZM9 7.6h2.552l-4.976 4.976.848.848L12.4 8.448V11h1.2V6.4H9v1.2Z"
|
||||
d="M2.6 10c0-1.727.068-3.046.264-4.06.196-1.01.51-1.665.96-2.116.452-.451 1.106-.764 2.116-.96C6.955 2.667 8.273 2.6 10 2.6c1.728 0 3.046.067 4.061.264 1.01.196 1.664.509 2.115.96.451.451.765 1.106.96 2.115.197 1.015.264 2.334.264 4.061 0 1.727-.067 3.046-.264 4.06-.195 1.01-.509 1.665-.96 2.116-.451.45-1.106.764-2.115.96-1.015.197-2.333.264-4.06.264-1.728 0-3.046-.067-4.061-.264-1.01-.196-1.664-.51-2.115-.96-.452-.451-.765-1.106-.96-2.115C2.667 13.046 2.6 11.727 2.6 10ZM10 1.4c-1.739 0-3.154.066-4.289.286-1.14.221-2.053.608-2.735 1.29-.682.682-1.069 1.594-1.29 2.735C1.466 6.846 1.4 8.26 1.4 10c0 1.74.066 3.154.286 4.29.221 1.14.608 2.052 1.29 2.734.682.682 1.594 1.069 2.735 1.29 1.135.22 2.55.286 4.29.286 1.739 0 3.154-.066 4.289-.286 1.14-.221 2.053-.608 2.735-1.29.682-.682 1.068-1.594 1.29-2.735.22-1.135.285-2.55.285-4.289 0-1.74-.066-3.154-.286-4.29-.22-1.14-.607-2.052-1.29-2.734-.681-.682-1.594-1.069-2.735-1.29C13.155 1.466 11.74 1.4 10 1.4ZM9 7.6h2.551l-4.975 4.976.848.848L12.4 8.45V11h1.2V6.4H9v1.2Z"
|
||||
clip-rule="evenodd"
|
||||
/>
|
||||
</svg>
|
||||
|
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
|
@ -0,0 +1,14 @@
|
|||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width="20"
|
||||
height="20"
|
||||
fill="none"
|
||||
viewBox="0 0 20 20"
|
||||
>
|
||||
<path
|
||||
fill="currentColor"
|
||||
fill-rule="evenodd"
|
||||
d="M3.1 10c0-1.619.063-2.852.247-3.8.182-.942.474-1.547.89-1.963.415-.416 1.021-.708 1.963-.89.948-.184 2.18-.247 3.8-.247 1.619 0 2.852.063 3.8.247.942.182 1.547.474 1.963.89.416.416.708 1.021.89 1.963.184.948.247 2.181.247 3.8 0 1.619-.063 2.852-.247 3.8-.182.942-.474 1.547-.89 1.963-.416.416-1.021.708-1.963.89-.948.184-2.181.247-3.8.247-1.62 0-2.852-.063-3.8-.247-.942-.182-1.548-.474-1.963-.89-.416-.416-.708-1.021-.89-1.963-.184-.948-.247-2.181-.247-3.8ZM10 1.9c-1.631 0-2.96.062-4.028.269-1.074.208-1.937.573-2.584 1.22-.647.646-1.011 1.51-1.22 2.583C1.963 7.039 1.9 8.369 1.9 10c0 1.631.062 2.96.269 4.028.208 1.074.572 1.937 1.22 2.584.646.647 1.509 1.011 2.583 1.22 1.067.206 2.397.268 4.028.268 1.63 0 2.96-.062 4.028-.269 1.074-.208 1.937-.572 2.584-1.22.646-.646 1.011-1.51 1.22-2.583.206-1.067.268-2.397.268-4.028 0-1.631-.062-2.96-.269-4.028-.208-1.074-.573-1.937-1.22-2.584-.646-.646-1.51-1.011-2.583-1.22C12.961 1.963 11.631 1.9 10 1.9Zm-3.5 8.7h7V9.4h-7v1.2Z"
|
||||
clip-rule="evenodd"
|
||||
/>
|
||||
</svg>
|
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 129 KiB |
|
@ -410,9 +410,6 @@ importers:
|
|||
'@svgr/core':
|
||||
specifier: ^8.1.0
|
||||
version: 8.1.0
|
||||
'@svgr/plugin-prettier':
|
||||
specifier: ^8.1.0
|
||||
version: 8.1.0(@svgr/core@8.1.0)
|
||||
'@svgr/plugin-svgo':
|
||||
specifier: ^8.1.0
|
||||
version: 8.1.0(@svgr/core@8.1.0)
|
||||
|
@ -7702,8 +7699,8 @@ packages:
|
|||
prettier-plugin-svelte:
|
||||
optional: true
|
||||
|
||||
prettier@2.8.7:
|
||||
resolution: {integrity: sha512-yPngTo3aXUUmyuTjeTUT75txrf+aMh9FiD7q9ZE/i6r0bPb22g4FsE6Y338PQX1bmfy08i9QQCB7/rcUAVntfw==}
|
||||
prettier@2.8.8:
|
||||
resolution: {integrity: sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==}
|
||||
engines: {node: '>=10.13.0'}
|
||||
hasBin: true
|
||||
|
||||
|
@ -9436,7 +9433,7 @@ snapshots:
|
|||
fs-extra: 7.0.1
|
||||
lodash.startcase: 4.4.0
|
||||
outdent: 0.5.0
|
||||
prettier: 2.8.7
|
||||
prettier: 2.8.8
|
||||
resolve-from: 5.0.0
|
||||
semver: 7.6.3
|
||||
|
||||
|
@ -9571,7 +9568,7 @@ snapshots:
|
|||
'@changesets/types': 5.2.1
|
||||
fs-extra: 7.0.1
|
||||
human-id: 1.0.2
|
||||
prettier: 2.8.7
|
||||
prettier: 2.8.8
|
||||
|
||||
'@clack/core@0.3.4':
|
||||
dependencies:
|
||||
|
@ -13863,7 +13860,7 @@ snapshots:
|
|||
dependencies:
|
||||
'@svgr/core': 8.1.0
|
||||
deepmerge: 4.3.1
|
||||
prettier: 2.8.7
|
||||
prettier: 2.8.8
|
||||
|
||||
'@svgr/plugin-svgo@6.5.1(@svgr/core@6.5.1)':
|
||||
dependencies:
|
||||
|
@ -18431,7 +18428,7 @@ snapshots:
|
|||
optionalDependencies:
|
||||
'@ianvs/prettier-plugin-sort-imports': 4.1.1(@vue/compiler-sfc@3.3.4)(prettier@3.3.3)
|
||||
|
||||
prettier@2.8.7: {}
|
||||
prettier@2.8.8: {}
|
||||
|
||||
prettier@3.2.4: {}
|
||||
|
||||
|
|