@api3/logos 0.4.2 → 1.0.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/dist/cjs/SymbolLogo.js +6 -3
- package/dist/cjs/index.d.ts +4 -6
- package/dist/cjs/index.js +4 -6
- package/dist/esm/SymbolLogo.js +6 -3
- package/dist/esm/index.d.ts +2 -4
- package/dist/esm/index.js +2 -4
- package/dist/logos/symbol/Demeth.svg +40 -0
- package/dist/logos/symbol/Tbtc.svg +8 -0
- package/package.json +4 -5
- package/dist/cjs/DappLogo.d.ts +0 -29
- package/dist/cjs/DappLogo.js +0 -14
- package/dist/cjs/DappLogoMissing.json +0 -1
- package/dist/esm/DappLogo.d.ts +0 -29
- package/dist/esm/DappLogo.js +0 -14
- package/dist/esm/DappLogoMissing.json +0 -1
- package/dist/logos/dapp/Placeholder.svg +0 -17
- package/dist/logos/symbol/Ern.svg +0 -6
package/dist/cjs/SymbolLogo.js
CHANGED
|
@@ -52,6 +52,7 @@ const SymbolCrvUsd = require('../logos/symbol/Crvusd.svg');
|
|
|
52
52
|
const SymbolCvx = require('../logos/symbol/Cvx.svg');
|
|
53
53
|
const SymbolDai = require('../logos/symbol/Dai.svg');
|
|
54
54
|
const SymbolDegen = require('../logos/symbol/Degen.svg');
|
|
55
|
+
const SymbolDemEth = require('../logos/symbol/Demeth.svg');
|
|
55
56
|
const SymbolDoge = require('../logos/symbol/Doge.svg');
|
|
56
57
|
const SymbolDot = require('../logos/symbol/Dot.svg');
|
|
57
58
|
const SymbolDydx = require('../logos/symbol/Dydx.svg');
|
|
@@ -61,7 +62,6 @@ const SymbolWbtc = require('../logos/symbol/Wbtc.svg');
|
|
|
61
62
|
const SymbolEgEth = require('../logos/symbol/Egeth.svg');
|
|
62
63
|
const SymbolEna = require('../logos/symbol/Ena.svg');
|
|
63
64
|
const SymbolEns = require('../logos/symbol/Ens.svg');
|
|
64
|
-
const SymbolErn = require('../logos/symbol/Ern.svg');
|
|
65
65
|
const SymbolEthfi = require('../logos/symbol/Ethfi.svg');
|
|
66
66
|
const SymbolEthx = require('../logos/symbol/Ethx.svg');
|
|
67
67
|
const SymbolEurc = require('../logos/symbol/Eurc.svg');
|
|
@@ -177,6 +177,7 @@ const SymbolUsds = require('../logos/symbol/Usds.svg');
|
|
|
177
177
|
const SymbolSushi = require('../logos/symbol/Sushi.svg');
|
|
178
178
|
const SymbolSwEth = require('../logos/symbol/Sweth.svg');
|
|
179
179
|
const SymbolTaiko = require('../logos/symbol/Taiko.svg');
|
|
180
|
+
const SymbolTbtc = require('../logos/symbol/Tbtc.svg');
|
|
180
181
|
const SymbolTia = require('../logos/symbol/Tia.svg');
|
|
181
182
|
const SymbolTusd = require('../logos/symbol/Tusd.svg');
|
|
182
183
|
const SymbolTwt = require('../logos/symbol/Twt.svg');
|
|
@@ -328,6 +329,8 @@ function SymbolLogo(id, light = false) {
|
|
|
328
329
|
return SymbolDai;
|
|
329
330
|
case "degen":
|
|
330
331
|
return SymbolDegen;
|
|
332
|
+
case "demeth":
|
|
333
|
+
return SymbolDemEth;
|
|
331
334
|
case "doge":
|
|
332
335
|
return SymbolDoge;
|
|
333
336
|
case "dot":
|
|
@@ -346,8 +349,6 @@ function SymbolLogo(id, light = false) {
|
|
|
346
349
|
return SymbolEna;
|
|
347
350
|
case "ens":
|
|
348
351
|
return SymbolEns;
|
|
349
|
-
case "ern":
|
|
350
|
-
return SymbolErn;
|
|
351
352
|
case "ethfi":
|
|
352
353
|
return SymbolEthfi;
|
|
353
354
|
case "ethx":
|
|
@@ -578,6 +579,8 @@ function SymbolLogo(id, light = false) {
|
|
|
578
579
|
return SymbolSwEth;
|
|
579
580
|
case "taiko":
|
|
580
581
|
return SymbolTaiko;
|
|
582
|
+
case "tbtc":
|
|
583
|
+
return SymbolTbtc;
|
|
581
584
|
case "tia":
|
|
582
585
|
return SymbolTia;
|
|
583
586
|
case "tusd":
|
package/dist/cjs/index.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
export { default as ApiProviderLogo } from './ApiProviderLogo.js';
|
|
2
|
-
export { default as ApiProviderLogoMissing } from './ApiProviderLogoMissing.json';
|
|
3
|
-
export { default as DappLogo } from './DappLogo.js';
|
|
4
|
-
export { default as DappLogoMissing } from './DappLogoMissing.json';
|
|
5
|
-
export { default as SymbolLogo } from './SymbolLogo.js';
|
|
6
|
-
export { default as SymbolLogoMissing } from './SymbolLogoMissing.json';
|
|
7
1
|
export { default as ChainLogo } from './ChainLogo.js';
|
|
8
2
|
export { default as ChainLogoMissing } from './ChainLogoMissing.json';
|
|
3
|
+
export { default as SymbolLogo } from './SymbolLogo.js';
|
|
4
|
+
export { default as SymbolLogoMissing } from './SymbolLogoMissing.json';
|
|
5
|
+
export { default as ApiProviderLogo } from './ApiProviderLogo.js';
|
|
6
|
+
export { default as ApiProviderLogoMissing } from './ApiProviderLogoMissing.json';
|
package/dist/cjs/index.js
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
module.exports.ApiProviderLogo = require('./ApiProviderLogo.js');
|
|
2
|
-
module.exports.ApiProviderLogoMissing = require('./ApiProviderLogoMissing.json');
|
|
3
|
-
module.exports.DappLogo = require('./DappLogo.js');
|
|
4
|
-
module.exports.DappLogoMissing = require('./DappLogoMissing.json');
|
|
5
|
-
module.exports.SymbolLogo = require('./SymbolLogo.js');
|
|
6
|
-
module.exports.SymbolLogoMissing = require('./SymbolLogoMissing.json');
|
|
7
1
|
module.exports.ChainLogo = require('./ChainLogo.js');
|
|
8
2
|
module.exports.ChainLogoMissing = require('./ChainLogoMissing.json');
|
|
3
|
+
module.exports.SymbolLogo = require('./SymbolLogo.js');
|
|
4
|
+
module.exports.SymbolLogoMissing = require('./SymbolLogoMissing.json');
|
|
5
|
+
module.exports.ApiProviderLogo = require('./ApiProviderLogo.js');
|
|
6
|
+
module.exports.ApiProviderLogoMissing = require('./ApiProviderLogoMissing.json');
|
package/dist/esm/SymbolLogo.js
CHANGED
|
@@ -52,6 +52,7 @@ import SymbolCrvUsd from '../logos/symbol/Crvusd.svg';
|
|
|
52
52
|
import SymbolCvx from '../logos/symbol/Cvx.svg';
|
|
53
53
|
import SymbolDai from '../logos/symbol/Dai.svg';
|
|
54
54
|
import SymbolDegen from '../logos/symbol/Degen.svg';
|
|
55
|
+
import SymbolDemEth from '../logos/symbol/Demeth.svg';
|
|
55
56
|
import SymbolDoge from '../logos/symbol/Doge.svg';
|
|
56
57
|
import SymbolDot from '../logos/symbol/Dot.svg';
|
|
57
58
|
import SymbolDydx from '../logos/symbol/Dydx.svg';
|
|
@@ -61,7 +62,6 @@ import SymbolWbtc from '../logos/symbol/Wbtc.svg';
|
|
|
61
62
|
import SymbolEgEth from '../logos/symbol/Egeth.svg';
|
|
62
63
|
import SymbolEna from '../logos/symbol/Ena.svg';
|
|
63
64
|
import SymbolEns from '../logos/symbol/Ens.svg';
|
|
64
|
-
import SymbolErn from '../logos/symbol/Ern.svg';
|
|
65
65
|
import SymbolEthfi from '../logos/symbol/Ethfi.svg';
|
|
66
66
|
import SymbolEthx from '../logos/symbol/Ethx.svg';
|
|
67
67
|
import SymbolEurc from '../logos/symbol/Eurc.svg';
|
|
@@ -177,6 +177,7 @@ import SymbolUsds from '../logos/symbol/Usds.svg';
|
|
|
177
177
|
import SymbolSushi from '../logos/symbol/Sushi.svg';
|
|
178
178
|
import SymbolSwEth from '../logos/symbol/Sweth.svg';
|
|
179
179
|
import SymbolTaiko from '../logos/symbol/Taiko.svg';
|
|
180
|
+
import SymbolTbtc from '../logos/symbol/Tbtc.svg';
|
|
180
181
|
import SymbolTia from '../logos/symbol/Tia.svg';
|
|
181
182
|
import SymbolTusd from '../logos/symbol/Tusd.svg';
|
|
182
183
|
import SymbolTwt from '../logos/symbol/Twt.svg';
|
|
@@ -328,6 +329,8 @@ function SymbolLogo(id, light = false) {
|
|
|
328
329
|
return SymbolDai;
|
|
329
330
|
case "degen":
|
|
330
331
|
return SymbolDegen;
|
|
332
|
+
case "demeth":
|
|
333
|
+
return SymbolDemEth;
|
|
331
334
|
case "doge":
|
|
332
335
|
return SymbolDoge;
|
|
333
336
|
case "dot":
|
|
@@ -346,8 +349,6 @@ function SymbolLogo(id, light = false) {
|
|
|
346
349
|
return SymbolEna;
|
|
347
350
|
case "ens":
|
|
348
351
|
return SymbolEns;
|
|
349
|
-
case "ern":
|
|
350
|
-
return SymbolErn;
|
|
351
352
|
case "ethfi":
|
|
352
353
|
return SymbolEthfi;
|
|
353
354
|
case "ethx":
|
|
@@ -578,6 +579,8 @@ function SymbolLogo(id, light = false) {
|
|
|
578
579
|
return SymbolSwEth;
|
|
579
580
|
case "taiko":
|
|
580
581
|
return SymbolTaiko;
|
|
582
|
+
case "tbtc":
|
|
583
|
+
return SymbolTbtc;
|
|
581
584
|
case "tia":
|
|
582
585
|
return SymbolTia;
|
|
583
586
|
case "tusd":
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
export { default as DappLogo } from './DappLogo.js';
|
|
2
|
-
export { default as DappLogoMissing } from './DappLogoMissing.json';
|
|
3
|
-
export { default as SymbolLogo } from './SymbolLogo.js';
|
|
4
|
-
export { default as SymbolLogoMissing } from './SymbolLogoMissing.json';
|
|
5
1
|
export { default as ApiProviderLogo } from './ApiProviderLogo.js';
|
|
6
2
|
export { default as ApiProviderLogoMissing } from './ApiProviderLogoMissing.json';
|
|
7
3
|
export { default as ChainLogo } from './ChainLogo.js';
|
|
8
4
|
export { default as ChainLogoMissing } from './ChainLogoMissing.json';
|
|
5
|
+
export { default as SymbolLogo } from './SymbolLogo.js';
|
|
6
|
+
export { default as SymbolLogoMissing } from './SymbolLogoMissing.json';
|
package/dist/esm/index.js
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
export { default as DappLogo } from './DappLogo.js';
|
|
2
|
-
export { default as DappLogoMissing } from './DappLogoMissing.json';
|
|
3
1
|
export { default as ApiProviderLogo } from './ApiProviderLogo.js';
|
|
4
2
|
export { default as ApiProviderLogoMissing } from './ApiProviderLogoMissing.json';
|
|
5
|
-
export { default as SymbolLogo } from './SymbolLogo.js';
|
|
6
|
-
export { default as SymbolLogoMissing } from './SymbolLogoMissing.json';
|
|
7
3
|
export { default as ChainLogo } from './ChainLogo.js';
|
|
8
4
|
export { default as ChainLogoMissing } from './ChainLogoMissing.json';
|
|
5
|
+
export { default as SymbolLogo } from './SymbolLogo.js';
|
|
6
|
+
export { default as SymbolLogoMissing } from './SymbolLogoMissing.json';
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 42 42">
|
|
2
|
+
<rect width="42" height="42" fill="#000001" rx="21"/>
|
|
3
|
+
<circle cx="21" cy="21" r="21" fill="#000001"/>
|
|
4
|
+
<path fill="#E9B453" d="M11.8475 8.31445L11.9485 8.60286L14.5094 12.1634C14.5104 12.153 14.5129 12.1426 14.5168 12.1326C14.5312 12.0961 14.5631 12.0694 14.6015 12.0617L18.6957 11.2415L11.8475 8.31445Z"/>
|
|
5
|
+
<path fill="#F1BB57" d="M17.3036 15.9002L18.8832 11.3216L14.6242 12.1749L17.3036 15.9002Z"/>
|
|
6
|
+
<path fill="#ECC677" d="M17.4706 16.1322L17.4656 16.2088L19.2343 18.6679L19.3568 18.7547L19.0528 11.5532L17.4706 16.1322Z"/>
|
|
7
|
+
<path fill="#E9B453" d="M19.3568 18.7547L17.4706 16.1322L12.628 16.1744L19.3568 18.7547Z"/>
|
|
8
|
+
<path fill="#F0A840" d="M12.4604 15.9413L17.3036 15.9002L14.6242 12.1749L12.4604 15.9413Z"/>
|
|
9
|
+
<path fill="#F0A840" d="M12.4604 15.9413L17.3036 15.9002L14.6242 12.1749L12.4604 15.9413Z"/>
|
|
10
|
+
<path fill="#E9B453" d="M11.8475 8.31445L12.444 15.7381L14.5242 12.1174C14.5325 12.1029 14.5437 12.0907 14.5568 12.0812L11.8475 8.31445Z"/>
|
|
11
|
+
<path fill="#ECC677" d="M24.336 21.5195L24.2898 21.5807L24.4152 24.6072L24.4698 24.747L28.1751 18.5645L24.336 21.5195Z"/>
|
|
12
|
+
<path fill="#E9B453" d="M24.4698 24.747L24.336 21.5195L20.2678 18.8923L24.4698 24.747Z"/>
|
|
13
|
+
<path fill="#F1BB57" d="M24.3242 21.2338L28.1608 18.2777L24.1341 16.649L24.3242 21.2338Z"/>
|
|
14
|
+
<path fill="#F0A840" d="M20.2559 18.6055L24.3242 21.2338L24.1341 16.649L20.2559 18.6055Z"/>
|
|
15
|
+
<path fill="#E9B453" d="M23.9371 11.8977L23.8628 12.1941L24.0445 16.5763C24.0511 16.5682 24.0588 16.5609 24.0676 16.5547C24.0997 16.5321 24.141 16.5274 24.1773 16.5421L28.0483 18.1078L23.9371 11.8977Z"/>
|
|
16
|
+
<path fill="#E9B453" d="M23.9371 11.8978L20.354 18.4267L24.0821 16.5459C24.097 16.5384 24.1131 16.5343 24.1293 16.5337L23.9371 11.8978Z"/>
|
|
17
|
+
<path fill="#ECC677" d="M20.3393 24.3942L20.4121 24.3698L23.2414 25.4515L23.3566 25.5477L16.3165 27.0939L20.3393 24.3942Z"/>
|
|
18
|
+
<path fill="#E9B453" d="M23.3566 25.5477L20.3393 24.3942L19.1427 19.7016L23.3566 25.5477Z"/>
|
|
19
|
+
<path fill="#F1BB57" d="M20.0722 24.2921L16.0492 26.9891L15.786 22.6534L20.0722 24.2921Z"/>
|
|
20
|
+
<path fill="#E9B453" d="M11.3442 20.9553L11.6489 20.9791L15.7455 22.5453C15.7357 22.549 15.7264 22.554 15.7177 22.5604C15.6861 22.5836 15.6685 22.6212 15.6708 22.6604L15.9239 26.8283L11.3442 20.9553Z"/>
|
|
21
|
+
<path fill="#E9B453" d="M16.0495 26.9889L16.0493 26.989L16.0492 26.9891L16.0495 26.9889Z"/>
|
|
22
|
+
<path fill="#F0A840" d="M18.8745 19.599L20.0722 24.2921L15.786 22.6534L18.8745 19.599Z"/>
|
|
23
|
+
<path fill="#E9B453" d="M11.3442 20.9553L18.6741 19.6351L15.7049 22.5715C15.693 22.5832 15.684 22.5971 15.6783 22.6122L11.3442 20.9553Z"/>
|
|
24
|
+
<path fill="#E9B453" d="M19.6412 24.1273L15.7861 22.6534L15.7861 22.6534L19.6412 24.1272L19.6412 24.1273Z"/>
|
|
25
|
+
<path fill="#ECC677" d="M29.3997 28.5596L29.3535 28.6209L29.4789 31.6474L29.5335 31.7872L33.2388 25.6046L29.3997 28.5596Z"/>
|
|
26
|
+
<path fill="#E9B453" d="M29.5335 31.7872L29.3997 28.5596L25.3315 25.9325L29.5335 31.7872Z"/>
|
|
27
|
+
<path fill="#F1BB57" d="M29.3879 28.274L33.2245 25.3179L29.1978 23.6891L29.3879 28.274Z"/>
|
|
28
|
+
<path fill="#F0A840" d="M25.3196 25.6456L29.3879 28.274L29.1978 23.6891L25.3196 25.6456Z"/>
|
|
29
|
+
<path fill="#E9B453" d="M29.0008 18.9379L28.9265 19.2343L29.1082 23.6164C29.1148 23.6083 29.1225 23.601 29.1313 23.5948C29.1633 23.5722 29.2047 23.5675 29.241 23.5822L33.112 25.1479L29.0008 18.9379Z"/>
|
|
30
|
+
<path fill="#E9B453" d="M29.0008 18.9379L25.4177 25.467L29.1458 23.5861C29.1607 23.5786 29.1768 23.5745 29.193 23.5739L29.0008 18.9379Z"/>
|
|
31
|
+
<path fill="#ECC677" d="M25.403 31.4343L25.4757 31.41L28.3051 32.4917L28.4203 32.5879L21.3802 34.134L25.403 31.4343Z"/>
|
|
32
|
+
<path fill="#E9B453" d="M28.4203 32.5879L25.403 31.4343L24.2064 26.7417L28.4203 32.5879Z"/>
|
|
33
|
+
<path fill="#F1BB57" d="M25.1359 31.3322L21.1129 34.0292L20.8497 29.6936L25.1359 31.3322Z"/>
|
|
34
|
+
<path fill="#F0A840" d="M23.9382 26.6392L25.1359 31.3322L20.8497 29.6936L23.9382 26.6392Z"/>
|
|
35
|
+
<path fill="#E9B453" d="M16.4079 27.9954L16.7126 28.0193L20.8092 29.5855C20.7994 29.5892 20.7901 29.5942 20.7814 29.6005C20.7498 29.6237 20.7322 29.6614 20.7345 29.7005L20.9876 33.8685L16.4079 27.9954Z"/>
|
|
36
|
+
<path fill="#E9B453" d="M21.1132 34.029L21.113 34.0292L21.1129 34.0292L21.1132 34.029Z"/>
|
|
37
|
+
<path fill="#E9B453" d="M16.4079 27.9954L23.7377 26.6753L20.7686 29.6116C20.7567 29.6233 20.7477 29.6373 20.742 29.6524L16.4079 27.9954Z"/>
|
|
38
|
+
<path fill="#E9B453" d="M24.7049 31.1674L20.8497 29.6936L20.8498 29.6935L24.7049 31.1674L24.7049 31.1674Z"/>
|
|
39
|
+
<path fill="#DDAB3A" d="M28.7563 32.9292C28.7191 32.8775 28.7309 32.8054 28.7826 32.7682L29.6459 32.1472C29.6977 32.11 29.7698 32.1218 29.807 32.1735L33.687 37.568C33.7242 37.6198 33.7125 37.6919 33.6608 37.7291L32.7974 38.35C32.7457 38.3873 32.6736 38.3755 32.6364 38.3238L28.7563 32.9292Z"/>
|
|
40
|
+
</svg>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 42 42">
|
|
2
|
+
<rect width="42" height="42" fill="#1E2739" rx="21"/>
|
|
3
|
+
<path fill="white" fill-rule="evenodd" d="M22.2556 13.0448L22.2556 10.8281L24.3496 10.8281L24.3496 12.985H26.1444L26.1444 10.8281L28.2384 10.8281V13.1047C28.2384 13.1047 29.3636 13.1796 29.9607 13.3013C30.554 13.4091 31.1207 13.5834 31.6442 13.8733C32.2869 14.2203 32.7858 14.6949 33.1002 15.3676C33.2662 15.709 33.3666 16.0829 33.4079 16.4578C33.4567 16.8604 33.474 17.2566 33.4322 17.6538C33.3048 18.7273 32.7444 19.5163 31.8215 20.0612C31.8095 20.0718 31.7931 20.0799 31.7767 20.088C31.7603 20.0961 31.7439 20.1043 31.732 20.1149C31.7181 20.1186 31.7042 20.1224 31.6664 20.1474C31.8725 20.1959 32.0648 20.2482 32.2821 20.3383C32.8626 20.5089 33.3786 20.7711 33.8275 21.1701C34.206 21.5287 34.4811 21.9447 34.6428 22.4357C34.8592 23.0753 34.8843 23.7218 34.8541 24.3832C34.8181 24.9125 34.7544 25.4492 34.5926 25.9529C34.2527 27.0093 33.5666 27.7726 32.5909 28.2871C32.0565 28.5644 31.4821 28.7484 30.9003 28.9047C30.1347 29.0955 28.2983 29.268 28.2983 29.268L28.2983 31.1719H26.1504V29.268L24.4113 29.268L24.4116 31.1719L22.3154 31.1719V29.268L17.9479 29.2679L18.3848 26.6791H20.0096C20.3921 26.6654 20.6901 26.3923 20.7292 26.0404C20.7382 25.9776 20.7276 25.9126 20.7167 25.846C20.7089 25.7979 20.7009 25.7491 20.7001 25.6996L20.7001 16.3953C20.7001 15.8568 20.397 15.3208 19.7428 15.3184C19.461 15.3199 17.948 15.3184 17.948 15.3184L17.948 13.0448L22.2556 13.0448ZM28.4717 26.4255C27.8345 26.5967 27.1851 26.6673 26.5282 26.7101C26.08 26.7415 25.6254 26.7495 25.1709 26.7575C25.0194 26.7602 24.8678 26.7628 24.7165 26.7664C24.6596 26.7674 24.6301 26.7679 24.6141 26.7534C24.5969 26.7378 24.5955 26.7049 24.5925 26.6364C24.5766 26.0245 24.5598 25.4091 24.543 24.7937L24.543 24.7927C24.5262 24.1778 24.5094 23.5628 24.4935 22.9514C24.4923 22.9116 24.4909 22.8714 24.4896 22.8311C24.4825 22.6174 24.4751 22.3966 24.4802 22.183C24.4781 22.0647 24.492 22.061 24.5788 22.0525C24.7432 22.0472 24.9075 22.041 25.0715 22.0349C25.8476 22.0058 26.6203 21.9767 27.3968 22.0377C27.9438 22.0837 28.4706 22.1649 28.992 22.3366C29.2508 22.4155 29.4931 22.5434 29.7253 22.6889C30.8121 23.3619 30.8734 25.0824 29.7873 25.8493C29.4467 26.0745 29.0396 26.2729 28.4717 26.4255ZM25.1208 15.4669C24.893 15.4692 24.664 15.4715 24.4326 15.4696C24.4262 15.501 24.4198 15.5324 24.4272 15.5601C24.4616 16.7028 24.4838 17.8385 24.5061 18.981C24.5105 19.2079 24.515 19.4351 24.5195 19.6626C24.5225 19.7311 24.5239 19.7641 24.5411 19.7797C24.5571 19.7941 24.5866 19.7936 24.6435 19.7926C24.7235 19.7919 24.8036 19.7914 24.8836 19.7909C25.5451 19.7868 26.2079 19.7827 26.858 19.6875C27.3854 19.6052 27.9054 19.4952 28.3781 19.2643C28.7196 19.0983 29.0186 18.8843 29.2287 18.5607C29.7134 17.8217 29.5526 16.7812 28.8642 16.209C28.631 16.0044 28.3573 15.8701 28.0633 15.7709C27.6537 15.6286 27.2351 15.5629 26.8063 15.5148C26.2403 15.4554 25.6843 15.4611 25.1208 15.4669Z" clip-rule="evenodd"/>
|
|
4
|
+
<path fill="white" d="M9.85418 15.4219H13.5729V19.1406H9.85418V15.4219Z"/>
|
|
5
|
+
<path fill="white" d="M13.5729 19.1406H17.2917V22.8594H13.5729V19.1406Z"/>
|
|
6
|
+
<path fill="white" d="M6.13543 19.1406H9.85418V22.8594H6.13543V19.1406Z"/>
|
|
7
|
+
<path fill="white" d="M9.85418 22.8594H13.5729V26.5781H9.85418V22.8594Z"/>
|
|
8
|
+
</svg>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@api3/logos",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"repository": {
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"@babel/preset-react": "^7.26.3",
|
|
24
24
|
"@changesets/changelog-github": "^0.5.1",
|
|
25
25
|
"@changesets/cli": "^2.28.1",
|
|
26
|
-
"@api3/dapi-management": "3.
|
|
26
|
+
"@api3/dapi-management": "3.4.0",
|
|
27
27
|
"dropbox": "^10.34.0",
|
|
28
28
|
"node-fetch": "^2.7.0",
|
|
29
29
|
"dotenv": "^16.4.7",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"rimraf": "^6.0.1",
|
|
32
32
|
"@typescript-eslint/eslint-plugin": "^8.26.0",
|
|
33
33
|
"@typescript-eslint/parser": "^8.26.0",
|
|
34
|
-
"eslint-config-prettier": "^10.
|
|
34
|
+
"eslint-config-prettier": "^10.1.1",
|
|
35
35
|
"svgo": "^3.3.0"
|
|
36
36
|
},
|
|
37
37
|
"main": "./dist/cjs/index.js",
|
|
@@ -43,8 +43,7 @@
|
|
|
43
43
|
"optimize-chain-logos": "rimraf ./optimized/chain & svgo -q -p 8 -f ./raw/chains -o ./optimized/chain",
|
|
44
44
|
"optimize-symbol-logos": "rimraf ./optimized/symbol & svgo -q -p 8 -f ./raw/symbols -o ./optimized/symbol",
|
|
45
45
|
"optimize-api-provider-logos": "rimraf ./optimized/api-provider & svgo -q -p 8 -f ./raw/api-providers -o ./optimized/api-provider",
|
|
46
|
-
"
|
|
47
|
-
"build": "pnpm run optimize-chain-logos && pnpm run optimize-symbol-logos && pnpm run optimize-api-provider-logos && pnpm run optimize-dapp-logos && node scripts/build-svg.js",
|
|
46
|
+
"build": "pnpm run optimize-chain-logos && pnpm run optimize-symbol-logos && pnpm run optimize-api-provider-logos && node scripts/build-svg.js",
|
|
48
47
|
"fetch": "node scripts/fetch-missing.js",
|
|
49
48
|
"version-check": "node scripts/version-check.js",
|
|
50
49
|
"package": "pnpm run build",
|
package/dist/cjs/DappLogo.d.ts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
* @param {string} id - Unique ID for the logo element.
|
|
5
|
-
* @param {boolean} [light=false] - Light version.
|
|
6
|
-
* @returns
|
|
7
|
-
* DappLogo component
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* ```
|
|
11
|
-
* import { DappLogoSvg } from '@api3/logos';
|
|
12
|
-
*
|
|
13
|
-
* const App = () => {
|
|
14
|
-
* return <img src={DappLogoSvg("eth")} alt="Logo" />;
|
|
15
|
-
* }
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* ```
|
|
20
|
-
* import { DappLogoSvg } from '@api3/logos';
|
|
21
|
-
*
|
|
22
|
-
* const App = () => {
|
|
23
|
-
* return <img src={DappLogoSvg("eth")} alt="Logo" width="64" height="64" />;
|
|
24
|
-
* }
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
|
-
declare function DappLogo(id: string, light?: boolean): string;
|
|
29
|
-
export default DappLogo;
|
package/dist/cjs/DappLogo.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
const DappPlaceholder = require('../logos/dapp/Placeholder.svg');
|
|
2
|
-
function sanitizeName(id) {
|
|
3
|
-
return id.replace(/\s+|-/g, '').replace(/ExchangeRate/g, '');
|
|
4
|
-
}
|
|
5
|
-
function DappLogo(id, light = false) {
|
|
6
|
-
if (!id) {
|
|
7
|
-
return DappPlaceholder;
|
|
8
|
-
}
|
|
9
|
-
switch (sanitizeName(`${id}${light ? "light" : ""}`).toLowerCase()) {
|
|
10
|
-
default:
|
|
11
|
-
return light ? DappLogo(id) : DappPlaceholder;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
module.exports = DappLogo;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
["aave","abracadabra","aeroscraper","aurelius","aurum-finance","avalon","benqi","beraborrow","burrbear","compound-finance","correlate","curvance","dahlia","dolomite","dtrinity","eggs","elara","enclabs","fisclend","fluid","granary","hana","init","ionic","juice","lendle","macaron","mach-finance","minterest","moonwell","nitro","omega","orbit","origami","pac","paddle","positions","roots","sake","scallop","silo","spark","stacking-salmon","stout","sumer","takara","takotako","taofi","untitled-bank","ursa","venus","vestation","vicuna-finance","yei","yield-hive","yieldfi","zeno","zerolend","zeru"]
|
package/dist/esm/DappLogo.d.ts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
* @param {string} id - Unique ID for the logo element.
|
|
5
|
-
* @param {boolean} [light=false] - Light version.
|
|
6
|
-
* @returns
|
|
7
|
-
* DappLogo component
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* ```
|
|
11
|
-
* import { DappLogoSvg } from '@api3/logos';
|
|
12
|
-
*
|
|
13
|
-
* const App = () => {
|
|
14
|
-
* return <img src={DappLogoSvg("eth")} alt="Logo" />;
|
|
15
|
-
* }
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* ```
|
|
20
|
-
* import { DappLogoSvg } from '@api3/logos';
|
|
21
|
-
*
|
|
22
|
-
* const App = () => {
|
|
23
|
-
* return <img src={DappLogoSvg("eth")} alt="Logo" width="64" height="64" />;
|
|
24
|
-
* }
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
|
-
declare function DappLogo(id: string, light?: boolean): string;
|
|
29
|
-
export default DappLogo;
|
package/dist/esm/DappLogo.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import DappPlaceholder from '../logos/dapp/Placeholder.svg';
|
|
2
|
-
function sanitizeName(id) {
|
|
3
|
-
return id.replace(/\s+|-/g, '').replace(/ExchangeRate/g, '');
|
|
4
|
-
}
|
|
5
|
-
function DappLogo(id, light = false) {
|
|
6
|
-
if (!id) {
|
|
7
|
-
return DappPlaceholder;
|
|
8
|
-
}
|
|
9
|
-
switch (sanitizeName(`${id}${light ? "light" : ""}`).toLowerCase()) {
|
|
10
|
-
default:
|
|
11
|
-
return light ? DappLogo(id) : DappPlaceholder;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
export default DappLogo;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
["aave","abracadabra","aeroscraper","aurelius","aurum-finance","avalon","benqi","beraborrow","burrbear","compound-finance","correlate","curvance","dahlia","dolomite","dtrinity","eggs","elara","enclabs","fisclend","fluid","granary","hana","init","ionic","juice","lendle","macaron","mach-finance","minterest","moonwell","nitro","omega","orbit","origami","pac","paddle","positions","roots","sake","scallop","silo","spark","stacking-salmon","stout","sumer","takara","takotako","taofi","untitled-bank","ursa","venus","vestation","vicuna-finance","yei","yield-hive","yieldfi","zeno","zerolend","zeru"]
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 32 36">
|
|
2
|
-
<path fill="#F3F3F3" stroke="#C3C4C3" stroke-width="2.11764" d="M1.17601 9.61697L15.9995 1.217L30.8229 9.61697V26.3829L15.9995 34.7828L1.17601 26.3829V9.61697Z"/>
|
|
3
|
-
<path stroke="#C3C4C3" stroke-width="2.11764" d="M1.17601 9.61697L15.9995 1.217L30.8229 9.61697V26.3829L15.9995 34.7828L1.17601 26.3829V9.61697Z"/>
|
|
4
|
-
<mask id="Placeholder_svg__mask0_53_108895" width="32" height="36" x="0" y="0" maskUnits="userSpaceOnUse" style="mask-type:alpha">
|
|
5
|
-
<path stroke="#EFEFEF" stroke-width="2.11764" d="M1.17601 9.61697L15.9995 1.217L30.8229 9.61697V26.3829L15.9995 34.7828L1.17601 26.3829V9.61697Z"/>
|
|
6
|
-
</mask>
|
|
7
|
-
<g mask="url(#Placeholder_svg__mask0_53_108895)">
|
|
8
|
-
<path fill="#DDDDDD" d="M41.1085 -18.5947L66.2151 -6.04144V19.0651L41.1085 31.6184L16.002 19.0651V-6.04144L41.1085 -18.5947Z"/>
|
|
9
|
-
</g>
|
|
10
|
-
<mask id="Placeholder_svg__mask1_53_108895" width="32" height="36" x="0" y="0" maskUnits="userSpaceOnUse" style="mask-type:alpha">
|
|
11
|
-
<path stroke="#EFEFEF" stroke-width="2" d="M30.8809 26.4173L15.9986 34.8506L1.11628 26.4173L1.11628 9.58284L15.9986 1.14955L30.8809 9.58284L30.8809 26.4173Z"/>
|
|
12
|
-
</mask>
|
|
13
|
-
<g mask="url(#Placeholder_svg__mask1_53_108895)">
|
|
14
|
-
<path fill="#DDDDDD" d="M-9.10461 54.5947L-34.2112 42.0414L-34.2112 16.9349L-9.10462 4.38159L16.0019 16.9349L16.002 42.0414L-9.10461 54.5947Z"/>
|
|
15
|
-
</g>
|
|
16
|
-
<path fill="#DDDDDD" d="M15.9972 9.66211L23.219 13.8316V22.1706L15.9972 26.3401L8.77541 22.1706V13.8316L15.9972 9.66211Z"/>
|
|
17
|
-
</svg>
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 42 42">
|
|
2
|
-
<rect width="40.69" height="40.69" x="0.655" y="0.655" fill="#222222" rx="20.345"/>
|
|
3
|
-
<rect width="40.69" height="40.69" x="0.655" y="0.655" stroke="#404141" stroke-width="1.31" rx="20.345"/>
|
|
4
|
-
<path fill="#22ACE6" d="M35.5777 14.9915C33.956 13.4038 31.7767 12.5146 29.5072 12.5146C27.2376 12.5146 25.0584 13.4038 23.4366 14.9915L22.1496 16.2754L23.3458 17.4684L24.6338 16.1845C25.9341 14.9056 27.6849 14.1889 29.5087 14.1889C31.3325 14.1889 33.0833 14.9056 34.3836 16.1845C35.0221 16.8247 35.5282 17.5844 35.8731 18.4202C36.218 19.256 36.3949 20.1515 36.3937 21.0557C36.3926 21.9598 36.2133 22.8549 35.8662 23.6898C35.5191 24.5246 35.0109 25.283 34.3707 25.9215C33.7305 26.56 32.9709 27.0661 32.1351 27.411C31.2993 27.7559 30.4037 27.9328 29.4996 27.9316C27.6736 27.9292 25.9233 27.2015 24.6338 25.9086L23.3458 24.6247L22.1496 25.8167L23.4376 27.1006C25.0594 28.6883 27.2386 29.5775 29.5082 29.5775C31.7778 29.5775 33.957 28.6883 35.5787 27.1006C36.378 26.3097 37.0098 25.366 37.4364 24.3257C37.863 23.2854 38.0757 22.1698 38.0619 21.0455C38.0755 19.9213 37.8625 18.8059 37.4357 17.7658C37.0089 16.7257 36.377 15.7821 35.5777 14.9915Z"/>
|
|
5
|
-
<path fill="#22ACE6" d="M27.02 18.5677C27.5089 18.0835 28.1302 17.7548 28.8055 17.6229C29.4809 17.4911 30.1801 17.5621 30.8152 17.8269C31.4503 18.0918 31.9928 18.5387 32.3745 19.1112C32.7561 19.6838 32.9597 20.3566 32.9597 21.0447C32.9597 21.7328 32.7561 22.4055 32.3745 22.9781C31.9928 23.5507 31.4503 23.9975 30.8152 24.2624C30.1801 24.5272 29.4809 24.5982 28.8055 24.4664C28.1302 24.3345 27.5089 24.0058 27.02 23.5216L25.732 22.2377L24.5359 23.4308L25.8239 24.7146C26.552 25.454 27.4837 25.9599 28.5002 26.1682C29.5168 26.3764 30.5723 26.2776 31.5325 25.8841C32.4927 25.4907 33.3141 24.8205 33.8923 23.9588C34.4704 23.0971 34.7792 22.0828 34.7792 21.0452C34.7792 20.0075 34.4704 18.9933 33.8923 18.1316C33.3141 17.2699 32.4927 16.5997 31.5325 16.2062C30.5723 15.8128 29.5168 15.7139 28.5002 15.9221C27.4837 16.1304 26.552 16.6364 25.8239 17.3757L25.2717 17.9258L22.2365 21.0447L18.649 24.6228L18.2816 24.9902L17.5458 25.724L17.3621 25.9077C16.0618 27.1866 14.311 27.9034 12.4872 27.9034C10.6633 27.9034 8.91253 27.1866 7.61225 25.9077C6.971 25.2708 6.46209 24.5133 6.1148 23.6788C5.76752 22.8444 5.58873 21.9495 5.58873 21.0457C5.58873 20.1419 5.76752 19.247 6.1148 18.4125C6.46209 17.5781 6.971 16.8206 7.61225 16.1837C8.22992 15.5375 8.9736 15.025 9.79729 14.6778C10.621 14.3305 11.5071 14.156 12.401 14.165C14.229 14.1656 15.9821 14.8917 17.2754 16.1837L19.7585 18.6606L15.0678 23.3389L14.8841 23.5226C14.2194 24.1695 13.3285 24.5313 12.401 24.5309C11.819 24.532 11.2479 24.3735 10.7497 24.0727L16.8182 18.0176L16.0823 17.3757C15.8877 17.17 15.6719 16.9856 15.4383 16.8256C14.5561 16.1803 13.494 15.8273 12.401 15.8163C11.7147 15.8184 11.0357 15.9574 10.4037 16.2252C9.77177 16.4929 9.1996 16.8841 8.72068 17.3757C8.22636 17.8505 7.83307 18.4203 7.56442 19.0508C7.29576 19.6814 7.15728 20.3598 7.15728 21.0452C7.15728 21.7306 7.29576 22.4089 7.56442 23.0395C7.83307 23.6701 8.22636 24.2398 8.72068 24.7146C9.19801 25.2081 9.76972 25.6005 10.4018 25.8685C11.0339 26.1365 11.7134 26.2746 12.4 26.2746C13.0865 26.2746 13.766 26.1365 14.3981 25.8685C15.0302 25.6005 15.6019 25.2081 16.0792 24.7146L22.2416 18.5677L18.5624 14.8988C16.9406 13.311 14.7614 12.4219 12.4918 12.4219C10.2222 12.4219 8.043 13.311 6.42126 14.8988C5.62201 15.6896 4.99024 16.6333 4.56362 17.6736C4.137 18.714 3.92427 19.8295 3.93814 20.9538C3.95273 23.2171 4.84257 25.387 6.42126 27.0089C8.043 28.5966 10.2222 29.4858 12.4918 29.4858C14.7614 29.4858 16.9406 28.5966 18.5624 27.0089L19.8504 25.725L27.02 18.5677ZM8.90438 21.0457C8.89953 20.5856 8.98673 20.1293 9.16086 19.7034C9.33499 19.2776 9.59253 18.8909 9.91833 18.566C10.2441 18.2412 10.6316 17.9848 11.058 17.8119C11.4843 17.639 11.941 17.5532 12.401 17.5594C13.0548 17.5578 13.6946 17.7491 14.2401 18.1095L9.45653 22.8796C9.09537 22.3363 8.90324 21.6981 8.90438 21.0457Z"/>
|
|
6
|
-
</svg>
|