@api3/logos 0.2.29 → 0.2.31
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/ChainLogo.js +4 -1
- package/dist/cjs/ChainLogoMissing.json +1 -1
- package/dist/cjs/SymbolLogo.js +3 -3
- package/dist/cjs/index.d.ts +2 -2
- package/dist/cjs/index.js +2 -2
- package/dist/esm/ChainLogo.js +4 -1
- package/dist/esm/ChainLogoMissing.json +1 -1
- package/dist/esm/SymbolLogo.js +3 -3
- package/dist/logos/chain/Chain1868.svg +4 -0
- package/dist/logos/chain/Chain1868Light.svg +4 -0
- package/dist/logos/symbol/Mtl.svg +53 -0
- package/package.json +2 -2
- package/dist/logos/symbol/Stmatic.svg +0 -4
package/dist/cjs/ChainLogo.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
const camelcase = require('camelcase');
|
|
2
2
|
const Chain1030Light = require('../logos/chain/Chain1030Light.svg');
|
|
3
3
|
const Chain146Light = require('../logos/chain/Chain146Light.svg');
|
|
4
|
+
const Chain1868Light = require('../logos/chain/Chain1868Light.svg');
|
|
4
5
|
const Chain196Light = require('../logos/chain/Chain196Light.svg');
|
|
5
6
|
const Chain2001Light = require('../logos/chain/Chain2001Light.svg');
|
|
6
7
|
const Chain252Light = require('../logos/chain/Chain252Light.svg');
|
|
@@ -104,7 +105,7 @@ const Chain534352 = require('../logos/chain/Chain534352.svg');
|
|
|
104
105
|
const Chain534351 = require('../logos/chain/Chain534351.svg');
|
|
105
106
|
const Chain1329 = require('../logos/chain/Chain1329.svg');
|
|
106
107
|
const Chain1328 = require('../logos/chain/Chain1328.svg');
|
|
107
|
-
const Chain1868 = require('../logos/chain/
|
|
108
|
+
const Chain1868 = require('../logos/chain/Chain1868.svg');
|
|
108
109
|
const Chain1946 = require('../logos/chain/Chain1946.svg');
|
|
109
110
|
const Chain146 = require('../logos/chain/Chain146.svg');
|
|
110
111
|
const Chain57054 = require('../logos/chain/Chain57054.svg');
|
|
@@ -132,6 +133,8 @@ function ChainLogo(id, light = false) {
|
|
|
132
133
|
return Chain1030Light;
|
|
133
134
|
case "146light":
|
|
134
135
|
return Chain146Light;
|
|
136
|
+
case "1868light":
|
|
137
|
+
return Chain1868Light;
|
|
135
138
|
case "196light":
|
|
136
139
|
return Chain196Light;
|
|
137
140
|
case "2001light":
|
|
@@ -1 +1 @@
|
|
|
1
|
-
[
|
|
1
|
+
[]
|
package/dist/cjs/SymbolLogo.js
CHANGED
|
@@ -119,6 +119,7 @@ const SymbolMorpho = require('../logos/symbol/Morpho.svg');
|
|
|
119
119
|
const SymbolMovr = require('../logos/symbol/Movr.svg');
|
|
120
120
|
const SymbolMpEth = require('../logos/symbol/Mpeth.svg');
|
|
121
121
|
const SymbolMstEth = require('../logos/symbol/Msteth.svg');
|
|
122
|
+
const SymbolMtl = require('../logos/symbol/Mtl.svg');
|
|
122
123
|
const SymbolNear = require('../logos/symbol/Near.svg');
|
|
123
124
|
const SymbolNeon = require('../logos/symbol/Neon.svg');
|
|
124
125
|
const SymbolOkb = require('../logos/symbol/Okb.svg');
|
|
@@ -162,7 +163,6 @@ const SymbolSol = require('../logos/symbol/Sol.svg');
|
|
|
162
163
|
const SymbolSolvBtc = require('../logos/symbol/Solvbtc.svg');
|
|
163
164
|
const SymbolSpEth = require('../logos/symbol/Speth.svg');
|
|
164
165
|
const SymbolStg = require('../logos/symbol/Stg.svg');
|
|
165
|
-
const SymbolStMatic = require('../logos/symbol/Stmatic.svg');
|
|
166
166
|
const SymbolStone = require('../logos/symbol/Stone.svg');
|
|
167
167
|
const SymbolStrk = require('../logos/symbol/Strk.svg');
|
|
168
168
|
const SymbolStTao = require('../logos/symbol/Sttao.svg');
|
|
@@ -457,6 +457,8 @@ function SymbolLogo(id, light = false) {
|
|
|
457
457
|
return SymbolMpEth;
|
|
458
458
|
case "msteth":
|
|
459
459
|
return SymbolMstEth;
|
|
460
|
+
case "mtl":
|
|
461
|
+
return SymbolMtl;
|
|
460
462
|
case "near":
|
|
461
463
|
return SymbolNear;
|
|
462
464
|
case "neon":
|
|
@@ -543,8 +545,6 @@ function SymbolLogo(id, light = false) {
|
|
|
543
545
|
return SymbolSpEth;
|
|
544
546
|
case "stg":
|
|
545
547
|
return SymbolStg;
|
|
546
|
-
case "stmatic":
|
|
547
|
-
return SymbolStMatic;
|
|
548
548
|
case "stone":
|
|
549
549
|
return SymbolStone;
|
|
550
550
|
case "strk":
|
package/dist/cjs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
export { default as SymbolLogo } from './SymbolLogo.js';
|
|
2
|
+
export { default as SymbolLogoMissing } from './SymbolLogoMissing.json';
|
|
1
3
|
export { default as ChainLogo } from './ChainLogo.js';
|
|
2
4
|
export { default as ChainLogoMissing } from './ChainLogoMissing.json';
|
|
3
5
|
export { default as ApiProviderLogo } from './ApiProviderLogo.js';
|
|
4
6
|
export { default as ApiProviderLogoMissing } from './ApiProviderLogoMissing.json';
|
|
5
|
-
export { default as SymbolLogo } from './SymbolLogo.js';
|
|
6
|
-
export { default as SymbolLogoMissing } from './SymbolLogoMissing.json';
|
package/dist/cjs/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
module.exports.ChainLogo = require('./ChainLogo.js');
|
|
2
2
|
module.exports.ChainLogoMissing = require('./ChainLogoMissing.json');
|
|
3
|
-
module.exports.ApiProviderLogo = require('./ApiProviderLogo.js');
|
|
4
|
-
module.exports.ApiProviderLogoMissing = require('./ApiProviderLogoMissing.json');
|
|
5
3
|
module.exports.SymbolLogo = require('./SymbolLogo.js');
|
|
6
4
|
module.exports.SymbolLogoMissing = require('./SymbolLogoMissing.json');
|
|
5
|
+
module.exports.ApiProviderLogo = require('./ApiProviderLogo.js');
|
|
6
|
+
module.exports.ApiProviderLogoMissing = require('./ApiProviderLogoMissing.json');
|
package/dist/esm/ChainLogo.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import camelcase from 'camelcase';
|
|
2
2
|
import Chain1030Light from '../logos/chain/Chain1030Light.svg';
|
|
3
3
|
import Chain146Light from '../logos/chain/Chain146Light.svg';
|
|
4
|
+
import Chain1868Light from '../logos/chain/Chain1868Light.svg';
|
|
4
5
|
import Chain196Light from '../logos/chain/Chain196Light.svg';
|
|
5
6
|
import Chain2001Light from '../logos/chain/Chain2001Light.svg';
|
|
6
7
|
import Chain252Light from '../logos/chain/Chain252Light.svg';
|
|
@@ -104,7 +105,7 @@ import Chain534352 from '../logos/chain/Chain534352.svg';
|
|
|
104
105
|
import Chain534351 from '../logos/chain/Chain534351.svg';
|
|
105
106
|
import Chain1329 from '../logos/chain/Chain1329.svg';
|
|
106
107
|
import Chain1328 from '../logos/chain/Chain1328.svg';
|
|
107
|
-
import Chain1868 from '../logos/chain/
|
|
108
|
+
import Chain1868 from '../logos/chain/Chain1868.svg';
|
|
108
109
|
import Chain1946 from '../logos/chain/Chain1946.svg';
|
|
109
110
|
import Chain146 from '../logos/chain/Chain146.svg';
|
|
110
111
|
import Chain57054 from '../logos/chain/Chain57054.svg';
|
|
@@ -132,6 +133,8 @@ function ChainLogo(id, light = false) {
|
|
|
132
133
|
return Chain1030Light;
|
|
133
134
|
case "146light":
|
|
134
135
|
return Chain146Light;
|
|
136
|
+
case "1868light":
|
|
137
|
+
return Chain1868Light;
|
|
135
138
|
case "196light":
|
|
136
139
|
return Chain196Light;
|
|
137
140
|
case "2001light":
|
|
@@ -1 +1 @@
|
|
|
1
|
-
[
|
|
1
|
+
[]
|
package/dist/esm/SymbolLogo.js
CHANGED
|
@@ -119,6 +119,7 @@ import SymbolMorpho from '../logos/symbol/Morpho.svg';
|
|
|
119
119
|
import SymbolMovr from '../logos/symbol/Movr.svg';
|
|
120
120
|
import SymbolMpEth from '../logos/symbol/Mpeth.svg';
|
|
121
121
|
import SymbolMstEth from '../logos/symbol/Msteth.svg';
|
|
122
|
+
import SymbolMtl from '../logos/symbol/Mtl.svg';
|
|
122
123
|
import SymbolNear from '../logos/symbol/Near.svg';
|
|
123
124
|
import SymbolNeon from '../logos/symbol/Neon.svg';
|
|
124
125
|
import SymbolOkb from '../logos/symbol/Okb.svg';
|
|
@@ -162,7 +163,6 @@ import SymbolSol from '../logos/symbol/Sol.svg';
|
|
|
162
163
|
import SymbolSolvBtc from '../logos/symbol/Solvbtc.svg';
|
|
163
164
|
import SymbolSpEth from '../logos/symbol/Speth.svg';
|
|
164
165
|
import SymbolStg from '../logos/symbol/Stg.svg';
|
|
165
|
-
import SymbolStMatic from '../logos/symbol/Stmatic.svg';
|
|
166
166
|
import SymbolStone from '../logos/symbol/Stone.svg';
|
|
167
167
|
import SymbolStrk from '../logos/symbol/Strk.svg';
|
|
168
168
|
import SymbolStTao from '../logos/symbol/Sttao.svg';
|
|
@@ -457,6 +457,8 @@ function SymbolLogo(id, light = false) {
|
|
|
457
457
|
return SymbolMpEth;
|
|
458
458
|
case "msteth":
|
|
459
459
|
return SymbolMstEth;
|
|
460
|
+
case "mtl":
|
|
461
|
+
return SymbolMtl;
|
|
460
462
|
case "near":
|
|
461
463
|
return SymbolNear;
|
|
462
464
|
case "neon":
|
|
@@ -543,8 +545,6 @@ function SymbolLogo(id, light = false) {
|
|
|
543
545
|
return SymbolSpEth;
|
|
544
546
|
case "stg":
|
|
545
547
|
return SymbolStg;
|
|
546
|
-
case "stmatic":
|
|
547
|
-
return SymbolStMatic;
|
|
548
548
|
case "stone":
|
|
549
549
|
return SymbolStone;
|
|
550
550
|
case "strk":
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
|
|
2
|
+
<path fill="#DCE3EF" d="M10.8386 7.13592C11.6679 6.93625 12.5346 6.95285 13.3557 7.18413C14.1767 7.41541 14.9248 7.85363 15.5283 8.4569C17.173 10.1034 17.4942 12.5468 16.3067 14.4788C15.927 15.0944 15.4703 15.6589 14.9478 16.1588C13.2876 17.8112 10.2401 20.8247 10.2401 20.8247C12.5079 21.2793 14.8636 20.842 16.8176 19.6036C18.7716 18.3652 20.1737 16.4209 20.7326 14.1748C21.2922 11.9288 20.9663 9.55346 19.8225 7.5416C18.6786 5.52974 16.8047 4.03587 14.5896 3.36999L10.8386 7.13592Z"/>
|
|
3
|
+
<path fill="#DCE3EF" d="M10.636 16.8188C11.4571 17.05 12.3237 17.0668 13.1531 16.8675L9.39313 20.625C7.18217 19.9554 5.31311 18.4606 4.17287 16.4501C3.03263 14.4396 2.70851 12.0672 3.26761 9.82417C3.82605 7.5809 5.22564 5.63874 7.17623 4.4003C9.12683 3.16186 11.4788 2.72214 13.7446 3.17229C13.7446 3.17229 10.6971 6.18373 9.03742 7.8387C8.51426 8.33686 8.05752 8.90051 7.67853 9.51567C7.10116 10.4593 6.86411 11.5724 7.00682 12.6697C7.14953 13.767 7.66339 14.7822 8.46289 15.5466C9.06672 16.1495 9.81488 16.5875 10.636 16.8188Z"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
|
|
2
|
+
<path fill="#1E2739" d="M10.8386 7.13592C11.6679 6.93625 12.5346 6.95285 13.3557 7.18413C14.1767 7.41541 14.9248 7.85363 15.5283 8.4569C17.173 10.1034 17.4942 12.5468 16.3067 14.4788C15.927 15.0944 15.4703 15.6589 14.9478 16.1588C13.2876 17.8112 10.2401 20.8247 10.2401 20.8247C12.5079 21.2793 14.8636 20.842 16.8176 19.6036C18.7716 18.3652 20.1737 16.4209 20.7326 14.1748C21.2922 11.9288 20.9663 9.55346 19.8225 7.5416C18.6786 5.52974 16.8047 4.03587 14.5896 3.36999L10.8386 7.13592Z"/>
|
|
3
|
+
<path fill="#1E2739" d="M10.636 16.8188C11.4571 17.05 12.3237 17.0668 13.1531 16.8675L9.39313 20.625C7.18217 19.9554 5.31311 18.4606 4.17287 16.4501C3.03263 14.4396 2.70851 12.0672 3.26761 9.82417C3.82605 7.5809 5.22564 5.63874 7.17623 4.4003C9.12683 3.16186 11.4788 2.72214 13.7446 3.17229C13.7446 3.17229 10.6971 6.18373 9.03742 7.8387C8.51426 8.33686 8.05752 8.90051 7.67853 9.51567C7.10116 10.4593 6.86411 11.5724 7.00682 12.6697C7.14953 13.767 7.66339 14.7822 8.46289 15.5466C9.06672 16.1495 9.81488 16.5875 10.636 16.8188Z"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 42 42">
|
|
2
|
+
<rect width="42" height="42" fill="white" rx="21"/>
|
|
3
|
+
<path fill="url(#mtl_svg__paint0_linear_6170_52607)" d="M12.5658 13.7173C11.8679 13.7173 11.3025 14.2838 11.3025 14.9823V21.3106V24.0326V27.6773C11.3025 28.3761 11.8679 28.9423 12.5658 28.9423C13.2636 28.9423 13.829 28.3761 13.829 27.6773V14.9823C13.829 14.2838 13.2636 13.7173 12.5658 13.7173Z"/>
|
|
4
|
+
<path fill="url(#mtl_svg__paint1_linear_6170_52607)" d="M30.0941 13.7173C29.3965 13.7173 28.8308 14.2838 28.8308 14.9823V27.677C28.8308 28.3757 29.3965 28.9419 30.0941 28.9419C30.7919 28.9419 31.3574 28.3757 31.3574 27.677V14.9823C31.3574 14.2838 30.7916 13.7173 30.0941 13.7173Z"/>
|
|
5
|
+
<path fill="url(#mtl_svg__paint2_linear_6170_52607)" d="M18.4085 16.2549C17.7107 16.2549 17.1453 16.8211 17.1453 17.5199V24.9371C17.1453 25.6356 17.711 26.2021 18.4085 26.2021C19.106 26.2021 19.6718 25.6356 19.6718 24.9371V17.5199C19.6718 16.8211 19.106 16.2549 18.4085 16.2549Z"/>
|
|
6
|
+
<path fill="url(#mtl_svg__paint3_linear_6170_52607)" d="M24.2513 18.3696C23.5538 18.3696 22.988 18.9362 22.988 19.6346V22.7642C22.988 23.4627 23.5538 24.0292 24.2513 24.0292C24.9491 24.0292 25.5146 23.4627 25.5146 22.7642V19.6346C25.5146 18.9362 24.9488 18.3696 24.2513 18.3696Z"/>
|
|
7
|
+
<defs>
|
|
8
|
+
<linearGradient id="mtl_svg__paint0_linear_6170_52607" x1="11.2723" x2="38.1581" y1="21.4642" y2="18.6752" gradientUnits="userSpaceOnUse">
|
|
9
|
+
<stop stop-color="#4400E2"/>
|
|
10
|
+
<stop offset="0.0411" stop-color="#7013C5"/>
|
|
11
|
+
<stop offset="0.0866" stop-color="#9A25AA"/>
|
|
12
|
+
<stop offset="0.1333" stop-color="#BC3494"/>
|
|
13
|
+
<stop offset="0.1804" stop-color="#D73F82"/>
|
|
14
|
+
<stop offset="0.2284" stop-color="#EA4876"/>
|
|
15
|
+
<stop offset="0.2776" stop-color="#F54C6E"/>
|
|
16
|
+
<stop offset="0.33" stop-color="#F94E6C"/>
|
|
17
|
+
<stop offset="1" stop-color="#FFD402"/>
|
|
18
|
+
</linearGradient>
|
|
19
|
+
<linearGradient id="mtl_svg__paint1_linear_6170_52607" x1="11.4597" x2="38.3455" y1="23.2681" y2="20.479" gradientUnits="userSpaceOnUse">
|
|
20
|
+
<stop stop-color="#4400E2"/>
|
|
21
|
+
<stop offset="0.0411" stop-color="#7013C5"/>
|
|
22
|
+
<stop offset="0.0866" stop-color="#9A25AA"/>
|
|
23
|
+
<stop offset="0.1333" stop-color="#BC3494"/>
|
|
24
|
+
<stop offset="0.1804" stop-color="#D73F82"/>
|
|
25
|
+
<stop offset="0.2284" stop-color="#EA4876"/>
|
|
26
|
+
<stop offset="0.2776" stop-color="#F54C6E"/>
|
|
27
|
+
<stop offset="0.33" stop-color="#F94E6C"/>
|
|
28
|
+
<stop offset="1" stop-color="#FFD402"/>
|
|
29
|
+
</linearGradient>
|
|
30
|
+
<linearGradient id="mtl_svg__paint2_linear_6170_52607" x1="11.3348" x2="38.2205" y1="21.9642" y2="19.1752" gradientUnits="userSpaceOnUse">
|
|
31
|
+
<stop stop-color="#4400E2"/>
|
|
32
|
+
<stop offset="0.0411" stop-color="#7013C5"/>
|
|
33
|
+
<stop offset="0.0866" stop-color="#9A25AA"/>
|
|
34
|
+
<stop offset="0.1333" stop-color="#BC3494"/>
|
|
35
|
+
<stop offset="0.1804" stop-color="#D73F82"/>
|
|
36
|
+
<stop offset="0.2284" stop-color="#EA4876"/>
|
|
37
|
+
<stop offset="0.2776" stop-color="#F54C6E"/>
|
|
38
|
+
<stop offset="0.33" stop-color="#F94E6C"/>
|
|
39
|
+
<stop offset="1" stop-color="#FFD402"/>
|
|
40
|
+
</linearGradient>
|
|
41
|
+
<linearGradient id="mtl_svg__paint3_linear_6170_52607" x1="11.3958" x2="38.2816" y1="22.5367" y2="19.7477" gradientUnits="userSpaceOnUse">
|
|
42
|
+
<stop stop-color="#4400E2"/>
|
|
43
|
+
<stop offset="0.0411" stop-color="#7013C5"/>
|
|
44
|
+
<stop offset="0.0866" stop-color="#9A25AA"/>
|
|
45
|
+
<stop offset="0.1333" stop-color="#BC3494"/>
|
|
46
|
+
<stop offset="0.1804" stop-color="#D73F82"/>
|
|
47
|
+
<stop offset="0.2284" stop-color="#EA4876"/>
|
|
48
|
+
<stop offset="0.2776" stop-color="#F54C6E"/>
|
|
49
|
+
<stop offset="0.33" stop-color="#F94E6C"/>
|
|
50
|
+
<stop offset="1" stop-color="#FFD402"/>
|
|
51
|
+
</linearGradient>
|
|
52
|
+
</defs>
|
|
53
|
+
</svg>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@api3/logos",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.31",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"repository": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@babel/preset-react": "^7.26.3",
|
|
27
27
|
"@changesets/changelog-github": "^0.5.0",
|
|
28
28
|
"@changesets/cli": "^2.27.11",
|
|
29
|
-
"@api3/dapi-management": "2.
|
|
29
|
+
"@api3/dapi-management": "2.14.0",
|
|
30
30
|
"dropbox": "^10.34.0",
|
|
31
31
|
"node-fetch": "^2.7.0",
|
|
32
32
|
"dotenv": "^16.4.7",
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 42 42">
|
|
2
|
-
<rect width="42" height="42" fill="#F3F3F3" rx="21"/>
|
|
3
|
-
<path fill="#13B3FF" d="M27.687 16.558c-.476-.271-1.087-.271-1.63 0l-3.801 2.239-2.58 1.424-3.733 2.238c-.476.271-1.087.271-1.63 0l-2.919-1.763a1.653 1.653 0 0 1-.814-1.425V15.88c0-.543.271-1.085.814-1.424l2.92-1.696c.475-.271 1.085-.271 1.629 0l2.919 1.764c.475.27.814.813.814 1.424v2.238l2.58-1.492v-2.306c0-.543-.272-1.085-.815-1.425l-5.43-3.187c-.476-.272-1.087-.272-1.63 0L8.815 13.03c-.543.272-.815.814-.815 1.357v6.375c0 .543.272 1.086.815 1.425l5.498 3.188c.476.27 1.086.27 1.63 0l3.733-2.17 2.58-1.493 3.734-2.17c.475-.272 1.086-.272 1.629 0l2.919 1.695c.475.271.814.814.814 1.425v3.39c0 .543-.271 1.086-.814 1.425l-2.851 1.696c-.476.271-1.087.271-1.63 0l-2.919-1.696a1.653 1.653 0 0 1-.814-1.424v-2.17l-2.58 1.492v2.238c0 .542.272 1.085.815 1.424l5.498 3.188c.476.271 1.087.271 1.63 0l5.498-3.188c.476-.271.815-.814.815-1.424V21.17c0-.542-.272-1.085-.815-1.424l-5.498-3.188Z"/>
|
|
4
|
-
</svg>
|