Skip to content

Commit c93fb6c

Browse files
authored
Fixes clashing svg vars (#1050)
1 parent 1707499 commit c93fb6c

File tree

5 files changed

+34
-26
lines changed

5 files changed

+34
-26
lines changed

packages/dcent/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/dcent",
3-
"version": "1.0.0-alpha.1",
3+
"version": "2.0.0-alpha.2",
44
"description": "D'CENT module for web3-onboard",
55
"module": "dist/index.js",
66
"typings": "dist/index.d.ts",

packages/dcent/src/icon.ts

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,22 @@
1-
2-
export default `<svg xmlns="http://www.w3.org/2000/svg" id="_171_4" width="100%" height="100%" viewBox="0 0 48 48">
3-
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
1+
export default `<svg xmlns="http://www.w3.org/2000/svg" id="dcent-_171_4" width="100%" height="100%" viewBox="0 0 48 48">
2+
<svg version="1.1" id="dcent-Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
43
viewBox="0 0 62.27 71.11" style="enable-background:new 0 0 62.27 71.11;" xml:space="preserve">
54
<style type="text/css">
6-
.st0{fill:#B3B5B5;}
7-
.st1{fill:#72BFBC;}
8-
.st2{fill:#6D6E70;}
5+
.dcent-st0{fill:#B3B5B5;}
6+
.dcent-st1{fill:#72BFBC;}
7+
.dcent-st2{fill:#6D6E70;}
98
</style>
109
<g>
11-
<polygon class="st0" points="32.04,13.43 37.34,10.37 37.34,3.06 32.04,0 32.04,0 "/>
12-
<path class="st1" d="M12.53,45.25V24.69l17.71-10.22V0L0.9,16.94C0.34,17.26,0,17.86,0,18.5v33.88c0,0.03,0.01,0.07,0.01,0.1
10+
<polygon class="dcent-st0" points="32.04,13.43 37.34,10.37 37.34,3.06 32.04,0 32.04,0 "/>
11+
<path class="dcent-st1" d="M12.53,45.25V24.69l17.71-10.22V0L0.9,16.94C0.34,17.26,0,17.86,0,18.5v33.88c0,0.03,0.01,0.07,0.01,0.1
1312
L12.53,45.25z"/>
14-
<path class="st2" d="M48.86,46.69L31.14,56.93L13.52,46.75L0.99,53.99l29.25,16.89c0.28,0.16,0.59,0.24,0.9,0.24
13+
<path class="dcent-st2" d="M48.86,46.69L31.14,56.93L13.52,46.75L0.99,53.99l29.25,16.89c0.28,0.16,0.59,0.24,0.9,0.24
1514
c0.31,0,0.62-0.08,0.9-0.24l29.34-16.94c0.01,0,0.01-0.01,0.02-0.01L48.86,46.69z"/>
1615
<g>
17-
<path class="st0" d="M61.38,16.94l-11.63-6.71v7.3l-12.5,7.22l12.5,7.21v13.16l12.53,7.23V18.5
16+
<path class="dcent-st0" d="M61.38,16.94l-11.63-6.71v7.3l-12.5,7.22l12.5,7.21v13.16l12.53,7.23V18.5
1817
C62.27,17.86,61.93,17.26,61.38,16.94z"/>
1918
</g>
20-
<polygon class="st2" points="24.93,31.85 24.94,46.18 37.1,39.16 37.1,24.83 "/>
19+
<polygon class="dcent-st2" points="24.93,31.85 24.94,46.18 37.1,39.16 37.1,24.83 "/>
2120
</g>
2221
</svg>
23-
`
22+
`

packages/injected/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/injected-wallets",
3-
"version": "2.0.8-alpha.1",
3+
"version": "2.0.8-alpha.2",
44
"description": "Injected wallets module for web3-onboard",
55
"module": "dist/index.js",
66
"browser": "dist/index.js",

packages/injected/src/icons/dcent.ts

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,22 @@
1-
export default `
2-
<svg xmlns="http://www.w3.org/2000/svg" id="구성_요소_171_4" width="100%" height="100%" viewBox="0 0 48 48">
3-
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
1+
export default `<svg xmlns="http://www.w3.org/2000/svg" id="dcent-_171_4" width="100%" height="100%" viewBox="0 0 48 48">
2+
<svg version="1.1" id="dcent-Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
43
viewBox="0 0 62.27 71.11" style="enable-background:new 0 0 62.27 71.11;" xml:space="preserve">
54
<style type="text/css">
6-
.st0{fill:#B3B5B5;}
7-
.st1{fill:#72BFBC;}
8-
.st2{fill:#6D6E70;}
5+
.dcent-st0{fill:#B3B5B5;}
6+
.dcent-st1{fill:#72BFBC;}
7+
.dcent-st2{fill:#6D6E70;}
98
</style>
109
<g>
11-
<polygon class="st0" points="32.04,13.43 37.34,10.37 37.34,3.06 32.04,0 32.04,0 "/>
12-
<path class="st1" d="M12.53,45.25V24.69l17.71-10.22V0L0.9,16.94C0.34,17.26,0,17.86,0,18.5v33.88c0,0.03,0.01,0.07,0.01,0.1
10+
<polygon class="dcent-st0" points="32.04,13.43 37.34,10.37 37.34,3.06 32.04,0 32.04,0 "/>
11+
<path class="dcent-st1" d="M12.53,45.25V24.69l17.71-10.22V0L0.9,16.94C0.34,17.26,0,17.86,0,18.5v33.88c0,0.03,0.01,0.07,0.01,0.1
1312
L12.53,45.25z"/>
14-
<path class="st2" d="M48.86,46.69L31.14,56.93L13.52,46.75L0.99,53.99l29.25,16.89c0.28,0.16,0.59,0.24,0.9,0.24
13+
<path class="dcent-st2" d="M48.86,46.69L31.14,56.93L13.52,46.75L0.99,53.99l29.25,16.89c0.28,0.16,0.59,0.24,0.9,0.24
1514
c0.31,0,0.62-0.08,0.9-0.24l29.34-16.94c0.01,0,0.01-0.01,0.02-0.01L48.86,46.69z"/>
1615
<g>
17-
<path class="st0" d="M61.38,16.94l-11.63-6.71v7.3l-12.5,7.22l12.5,7.21v13.16l12.53,7.23V18.5
16+
<path class="dcent-st0" d="M61.38,16.94l-11.63-6.71v7.3l-12.5,7.22l12.5,7.21v13.16l12.53,7.23V18.5
1817
C62.27,17.86,61.93,17.26,61.38,16.94z"/>
1918
</g>
20-
<polygon class="st2" points="24.93,31.85 24.94,46.18 37.1,39.16 37.1,24.83 "/>
19+
<polygon class="dcent-st2" points="24.93,31.85 24.94,46.18 37.1,39.16 37.1,24.83 "/>
2120
</g>
2221
</svg>
2322
`

yarn.lock

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2079,7 +2079,7 @@
20792079
dependencies:
20802080
"@walletconnect/window-getters" "^1.0.0"
20812081

2082-
"@web3-onboard/core@^2.2.10-alpha.1", "@web3-onboard/core@^2.2.9":
2082+
"@web3-onboard/core@^2.2.9":
20832083
version "2.2.10"
20842084
resolved "https://registry.yarnpkg.com/@web3-onboard/core/-/core-2.2.10.tgz#61dcc912062548db38d67e228637a27c59122080"
20852085
integrity sha512-sQF14OkT+4ibefXPQ7ueZW7DcKbbCzQXZW64FZ+ETEpgKCYjVarqpcMlp5YB4jv49cWWqM8qXRoskaqz01PktQ==
@@ -2104,6 +2104,16 @@
21042104
joi "^17.4.2"
21052105
lodash.uniqby "^4.7.0"
21062106

2107+
"@web3-onboard/keystone@^2.1.0":
2108+
version "2.1.0"
2109+
resolved "https://registry.yarnpkg.com/@web3-onboard/keystone/-/keystone-2.1.0.tgz#21799e814485719586f4a6df615bd276437e8270"
2110+
integrity sha512-o9jJ37SKEsish6aJwViUY61olXhW6zmB52lf3MH6tiKx4wKriO2zErnAUK4Exw+xf2wyTuqciwtgzAOLQMpPkA==
2111+
dependencies:
2112+
"@ethereumjs/tx" "^3.4.0"
2113+
"@ethersproject/providers" "^5.5.0"
2114+
"@keystonehq/eth-keyring" "^0.14.0-alpha.10.3"
2115+
"@web3-onboard/common" "^2.1.0"
2116+
21072117
"@webassemblyjs/ast@1.11.1":
21082118
version "1.11.1"
21092119
resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.11.1.tgz#2bfd767eae1a6996f432ff7e8d7fc75679c0b6a7"

0 commit comments

Comments
 (0)