@btc-vision/walletconnect 1.9.13 → 1.9.14

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.
@@ -0,0 +1,144 @@
1
+ .wallet-connect-modal-backdrop {
2
+ position: fixed;
3
+ top: 0;
4
+ left: 0;
5
+ width: 100%;
6
+ height: 100%;
7
+ background-color: rgba(10, 11, 13, 0.5);
8
+ backdrop-filter: blur(10px);
9
+ z-index: 9999;
10
+ display: flex;
11
+ justify-content: center;
12
+ align-items: center;
13
+ }
14
+
15
+ .wallet-connect-modal {
16
+ background-color: var(--background-color);
17
+ border: 1px solid var(--border-color);
18
+ color: var(--primaryColor);
19
+ border-radius: 8px;
20
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
21
+ width: 400px;
22
+ max-width: 90%;
23
+ z-index: 10000;
24
+ }
25
+
26
+ .wallet-connect-header {
27
+ padding: 16px;
28
+ border-bottom: 1px solid var(--border-color);
29
+ display: flex;
30
+ align-items: center;
31
+ justify-content: space-between;
32
+ font-size: 14px;
33
+ font-weight: bold;
34
+ user-select: none;
35
+ }
36
+
37
+ .wallet-connect-header > button.close {
38
+ width: 30px;
39
+ height: 30px;
40
+ display: flex;
41
+ align-items: center;
42
+ justify-content: center;
43
+ color: var(--primaryColor);
44
+ fill: var(--primaryColor);
45
+ background-color: var(--background-color);
46
+ cursor: pointer;
47
+ }
48
+
49
+ .wallet-connect-header > button.close:hover {
50
+ border: 1px solid rgba(254, 121, 1, 0.3);
51
+ background-color: rgba(254, 121, 1, 0.1);
52
+ }
53
+
54
+ .wallet-connect-header > button.close svg {
55
+ display: flex;
56
+ }
57
+
58
+ .wallet-connect-header > button.close .close-x-path {
59
+ stroke: var(--primaryColor);
60
+ transition: stroke 0.2s ease;
61
+ }
62
+
63
+ .wallet-connect-header > button.close:hover .close-x-path {
64
+ }
65
+
66
+ .wallet-list {
67
+ max-height: 400px;
68
+ overflow-y: auto;
69
+ padding: 16px;
70
+ display: flex;
71
+ flex-direction: column;
72
+ gap: 10px;
73
+ }
74
+
75
+ .wallet-list > button {
76
+ display: flex;
77
+ align-items: center;
78
+ gap: 12px;
79
+ height: 64px;
80
+ justify-content: space-between;
81
+ padding: 12px;
82
+ color: #fff;
83
+ width: 100%;
84
+ text-align: left;
85
+ cursor: pointer;
86
+ border-radius: 10px;
87
+ border: 1px solid var(--border-color);
88
+ background-color: var(--button-background-color);
89
+ }
90
+
91
+ .wallet-list > button:disabled {
92
+ opacity: 0.3;
93
+ cursor: not-allowed;
94
+ }
95
+
96
+ .wallet-list > button:hover {
97
+ border: 1px solid rgba(254, 121, 1, 0.3);
98
+ background-color: rgba(254, 121, 1, 0.1);
99
+ }
100
+
101
+ .wallet-icon {
102
+ display: flex;
103
+ }
104
+
105
+ .wallet-icon img {
106
+ max-height: 32px;
107
+ filter: var(--icon-filter);
108
+ }
109
+
110
+ .wallet-name {
111
+ font-size: x-large;
112
+ text-align: left;
113
+ }
114
+
115
+ .wallet-connected {
116
+ padding: 10px;
117
+ font-size: medium;
118
+ color: green;
119
+ }
120
+
121
+ div.wallet-not-installed {
122
+ padding: 10px;
123
+ font-size: medium;
124
+ }
125
+
126
+ div.wallet-waiting-plugin {
127
+ padding: 10px;
128
+ font-size: medium;
129
+ }
130
+
131
+ .wallet-connect-error {
132
+ padding: 16px 16px 0;
133
+ }
134
+
135
+ .wallet-connect-error > p {
136
+ color: #ff4d4d;
137
+ text-align: center;
138
+ background-color: rgba(255, 77, 77, 0.1);
139
+ font-size: 14px;
140
+ font-weight: bolder;
141
+ padding: 20px 10px;
142
+ border-radius: 10px;
143
+ border: 1px solid #ff4d4d;
144
+ }
@@ -0,0 +1,26 @@
1
+ .wallet-connect-light-theme {
2
+ --background-color: #fafafa;
3
+ --primaryColor: #000000;
4
+ --border-color: #bbbbbb;
5
+
6
+ --button-background-color: #ffffff;
7
+ --icon-filter: invert(1) hue-rotate(180deg) !important;
8
+ }
9
+
10
+ .wallet-connect-dark-theme {
11
+ --background-color: #1e1e1e;
12
+ --primaryColor: #ffffff;
13
+ --border-color: #333333;
14
+
15
+ --button-background-color: #2a2a2a;
16
+ --icon-filter: unset;
17
+ }
18
+
19
+ .wallet-connect-moto-theme {
20
+ --background-color: #171239;
21
+ --primaryColor: #9698e2;
22
+ --border-color: #201b4e;
23
+
24
+ --button-background-color: #140932;
25
+ --icon-filter: unset;
26
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@btc-vision/walletconnect",
3
3
  "type": "module",
4
- "version": "1.9.13",
4
+ "version": "1.9.14",
5
5
  "author": "impredmet",
6
6
  "description": "The OP_NET Wallet Connect library helps your dApp connect to any compatible wallet.",
7
7
  "engines": {
@@ -68,7 +68,7 @@
68
68
  "url": "git://github.com/btc-vision/walletconnect.git"
69
69
  },
70
70
  "scripts": {
71
- "build": "eslint src && tsc",
71
+ "build": "eslint src && tsc && mkdir -p build/utils && cp src/utils/*.css build/utils/",
72
72
  "build:browser": "vite build -c vite.config.browser.ts",
73
73
  "build:all": "npm run build && npm run build:browser",
74
74
  "watch": "tsc --watch",