@stableops/wallet-ui 0.1.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.
@@ -0,0 +1,339 @@
1
+ /* src/walletconnect-dialog.css */
2
+ :root {
3
+ --stableops-wc-backdrop: rgb(0 0 0 / 45%);
4
+ --stableops-wc-surface: #ffffff;
5
+ --stableops-wc-text: #0f1c2e;
6
+ --stableops-wc-muted: rgb(15 28 46 / 55%);
7
+ --stableops-wc-border: rgb(15 28 46 / 10%);
8
+ --stableops-wc-subtle: rgb(15 28 46 / 3%);
9
+ --stableops-wc-brand: #14b8a6;
10
+ --stableops-wc-danger: #e11d48;
11
+ }
12
+ @keyframes stableops-walletconnect-backdrop-in {
13
+ from {
14
+ opacity: 0;
15
+ }
16
+ to {
17
+ opacity: 1;
18
+ }
19
+ }
20
+ @keyframes stableops-walletconnect-sheet-in {
21
+ from {
22
+ opacity: 0;
23
+ transform: translateY(1.25rem);
24
+ }
25
+ to {
26
+ opacity: 1;
27
+ transform: translateY(0);
28
+ }
29
+ }
30
+ @media (min-width: 640px) {
31
+ @keyframes stableops-walletconnect-sheet-in {
32
+ from {
33
+ opacity: 0;
34
+ transform: translateY(0.375rem) scale(0.98);
35
+ }
36
+ to {
37
+ opacity: 1;
38
+ transform: translateY(0) scale(1);
39
+ }
40
+ }
41
+ }
42
+ .stableops-wc-backdrop {
43
+ position: fixed;
44
+ inset: 0;
45
+ z-index: 50;
46
+ display: flex;
47
+ align-items: flex-end;
48
+ justify-content: center;
49
+ margin: 0;
50
+ padding: 0;
51
+ background: var(--stableops-wc-backdrop);
52
+ animation: stableops-walletconnect-backdrop-in 160ms ease-out both;
53
+ }
54
+ .stableops-wc-sheet {
55
+ position: relative;
56
+ width: 100%;
57
+ max-width: 28rem;
58
+ max-height: min(90dvh, calc(100vh - 1rem));
59
+ overflow: hidden;
60
+ border: 1px solid var(--stableops-wc-border);
61
+ border-radius: 1rem 1rem 0 0;
62
+ padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
63
+ background: var(--stableops-wc-surface);
64
+ color: var(--stableops-wc-text);
65
+ box-shadow: 0 25px 50px -12px rgb(0 0 0 / 25%);
66
+ animation: stableops-walletconnect-sheet-in 220ms cubic-bezier(0.2, 0, 0, 1) both;
67
+ }
68
+ .stableops-wc-header {
69
+ position: relative;
70
+ display: flex;
71
+ align-items: center;
72
+ justify-content: center;
73
+ padding: 1.5rem 1.5rem 0;
74
+ }
75
+ .stableops-wc-title {
76
+ min-width: 0;
77
+ flex: 1;
78
+ overflow: hidden;
79
+ text-align: center;
80
+ text-overflow: ellipsis;
81
+ white-space: nowrap;
82
+ font-size: 0.875rem;
83
+ font-weight: 600;
84
+ }
85
+ .stableops-wc-icon-button {
86
+ position: absolute;
87
+ display: flex;
88
+ width: 2rem;
89
+ height: 2rem;
90
+ cursor: pointer;
91
+ align-items: center;
92
+ justify-content: center;
93
+ border: 0;
94
+ border-radius: 0.375rem;
95
+ background: transparent;
96
+ color: var(--stableops-wc-muted);
97
+ }
98
+ .stableops-wc-icon-button:hover {
99
+ background: rgb(15 28 46 / 5%);
100
+ color: var(--stableops-wc-text);
101
+ }
102
+ .stableops-wc-back-button {
103
+ left: 1.25rem;
104
+ }
105
+ .stableops-wc-close-button {
106
+ right: 1.25rem;
107
+ }
108
+ .stableops-wc-icon,
109
+ .stableops-wc-action-icon {
110
+ width: 1rem;
111
+ height: 1rem;
112
+ }
113
+ .stableops-wc-body {
114
+ padding: 1.5rem;
115
+ }
116
+ .stableops-wc-qr-frame {
117
+ position: relative;
118
+ width: 100%;
119
+ max-width: 15rem;
120
+ aspect-ratio: 1 / 1;
121
+ margin: 0 auto;
122
+ border: 1px solid rgb(15 28 46 / 8%);
123
+ border-radius: 1rem;
124
+ padding: 1rem;
125
+ background: #ffffff;
126
+ }
127
+ .stableops-wc-qr-image {
128
+ width: 100%;
129
+ height: 100%;
130
+ object-fit: contain;
131
+ }
132
+ .stableops-wc-qr-placeholder {
133
+ opacity: 0.9;
134
+ }
135
+ .stableops-wc-centered-overlay,
136
+ .stableops-wc-loading-overlay {
137
+ position: absolute;
138
+ inset: 0;
139
+ display: flex;
140
+ align-items: center;
141
+ justify-content: center;
142
+ }
143
+ .stableops-wc-loading-overlay {
144
+ inset: 0.5rem;
145
+ border-radius: 0.5rem;
146
+ background: rgb(255 255 255 / 60%);
147
+ backdrop-filter: blur(4px);
148
+ }
149
+ .stableops-wc-wallet-chip {
150
+ border-radius: 0.75rem;
151
+ padding: 0.25rem;
152
+ background: #ffffff;
153
+ box-shadow: 0 4px 6px -1px rgb(0 0 0 / 10%), 0 2px 4px -2px rgb(0 0 0 / 10%);
154
+ outline: 1px solid rgb(0 0 0 / 5%);
155
+ }
156
+ .stableops-wc-wallet-logo,
157
+ .stableops-wc-wallet-fallback {
158
+ display: flex;
159
+ width: 3rem;
160
+ height: 3rem;
161
+ flex-shrink: 0;
162
+ align-items: center;
163
+ justify-content: center;
164
+ border-radius: 0.5rem;
165
+ box-shadow: 0 1px 2px 0 rgb(0 0 0 / 5%);
166
+ outline: 1px solid rgb(0 0 0 / 5%);
167
+ }
168
+ .stableops-wc-wallet-logo {
169
+ object-fit: cover;
170
+ }
171
+ .stableops-wc-wallet-fallback {
172
+ color: #ffffff;
173
+ font-size: 0.75rem;
174
+ font-weight: 600;
175
+ }
176
+ .stableops-wc-empty-qr {
177
+ display: flex;
178
+ width: 100%;
179
+ height: 100%;
180
+ flex-direction: column;
181
+ align-items: center;
182
+ justify-content: center;
183
+ gap: 0.5rem;
184
+ padding: 0 0.75rem;
185
+ text-align: center;
186
+ font-size: 0.75rem;
187
+ color: var(--stableops-wc-muted);
188
+ }
189
+ .stableops-wc-spinner {
190
+ width: 1.5rem;
191
+ height: 1.5rem;
192
+ animation: stableops-wc-spin 1s linear infinite;
193
+ }
194
+ @keyframes stableops-wc-spin {
195
+ to {
196
+ transform: rotate(360deg);
197
+ }
198
+ }
199
+ .stableops-wc-muted-spinner {
200
+ color: #9ca3af;
201
+ }
202
+ .stableops-wc-error-text {
203
+ color: var(--stableops-wc-danger);
204
+ }
205
+ .stableops-wc-help-text {
206
+ margin: 1.25rem 0 0;
207
+ text-align: center;
208
+ font-size: 0.875rem;
209
+ font-weight: 500;
210
+ }
211
+ .stableops-wc-separator {
212
+ display: flex;
213
+ align-items: center;
214
+ gap: 0.75rem;
215
+ margin: 1rem 0;
216
+ font-size: 0.75rem;
217
+ color: rgb(15 28 46 / 45%);
218
+ }
219
+ .stableops-wc-line {
220
+ height: 1px;
221
+ flex: 1;
222
+ background: rgb(15 28 46 / 10%);
223
+ }
224
+ .stableops-wc-spacer {
225
+ height: 1rem;
226
+ }
227
+ .stableops-wc-actions {
228
+ display: flex;
229
+ flex-direction: column;
230
+ gap: 0.5rem;
231
+ }
232
+ .stableops-wc-primary-action,
233
+ .stableops-wc-secondary-action {
234
+ display: inline-flex;
235
+ min-height: 2.5rem;
236
+ flex: 1;
237
+ cursor: pointer;
238
+ align-items: center;
239
+ justify-content: center;
240
+ gap: 0.5rem;
241
+ border-radius: 0.5rem;
242
+ padding: 0.5rem 1rem;
243
+ text-align: center;
244
+ font-size: 0.875rem;
245
+ font-weight: 500;
246
+ text-decoration: none;
247
+ }
248
+ .stableops-wc-primary-action {
249
+ border: 1px solid transparent;
250
+ background: var(--stableops-wc-brand);
251
+ color: #ffffff;
252
+ box-shadow: 0 1px 2px 0 rgb(0 0 0 / 5%);
253
+ }
254
+ .stableops-wc-primary-action:hover {
255
+ background: color-mix(in srgb, var(--stableops-wc-brand) 82%, #000000);
256
+ }
257
+ .stableops-wc-secondary-action {
258
+ border: 1px solid rgb(15 28 46 / 15%);
259
+ background: var(--stableops-wc-surface);
260
+ color: var(--stableops-wc-text);
261
+ }
262
+ .stableops-wc-secondary-action:hover {
263
+ background: var(--stableops-wc-subtle);
264
+ }
265
+ .stableops-wc-secondary-action:disabled,
266
+ .stableops-wc-disabled-link {
267
+ cursor: not-allowed;
268
+ opacity: 0.5;
269
+ pointer-events: none;
270
+ }
271
+ .stableops-wc-check-icon {
272
+ color: color-mix(in srgb, var(--stableops-wc-brand) 82%, #000000);
273
+ }
274
+ .stableops-wc-copy-done {
275
+ border-color: color-mix(in srgb, var(--stableops-wc-brand) 35%, transparent);
276
+ background: color-mix(in srgb, var(--stableops-wc-brand) 8%, #ffffff);
277
+ color: color-mix(in srgb, var(--stableops-wc-brand) 82%, #000000);
278
+ }
279
+ .stableops-wc-wallet-grid {
280
+ display: grid;
281
+ grid-template-columns: repeat(3, minmax(0, 1fr));
282
+ gap: 0.5rem 1rem;
283
+ overflow-y: auto;
284
+ padding: 1rem;
285
+ }
286
+ .stableops-wc-wallet-button {
287
+ display: flex;
288
+ cursor: pointer;
289
+ flex-direction: column;
290
+ align-items: center;
291
+ gap: 0.5rem;
292
+ border: 1px solid transparent;
293
+ border-radius: 0.75rem;
294
+ background: transparent;
295
+ padding: 1rem 0.5rem;
296
+ text-align: center;
297
+ color: var(--stableops-wc-text);
298
+ }
299
+ .stableops-wc-wallet-button:hover {
300
+ border-color: color-mix(in srgb, var(--stableops-wc-brand) 40%, transparent);
301
+ background: var(--stableops-wc-subtle);
302
+ }
303
+ .stableops-wc-wallet-button:disabled {
304
+ cursor: not-allowed;
305
+ opacity: 0.5;
306
+ }
307
+ .stableops-wc-wallet-button span {
308
+ width: 100%;
309
+ overflow: hidden;
310
+ text-overflow: ellipsis;
311
+ white-space: nowrap;
312
+ font-size: 0.75rem;
313
+ font-weight: 500;
314
+ }
315
+ .stableops-wc-error-box {
316
+ margin: 0 1.25rem 1.25rem;
317
+ border: 1px solid rgb(225 29 72 / 25%);
318
+ border-radius: 0.5rem;
319
+ background: rgb(225 29 72 / 8%);
320
+ padding: 0.625rem;
321
+ text-align: center;
322
+ font-size: 0.75rem;
323
+ color: var(--stableops-wc-danger);
324
+ }
325
+ @media (min-width: 640px) {
326
+ .stableops-wc-backdrop {
327
+ align-items: center;
328
+ padding: 1rem;
329
+ }
330
+ .stableops-wc-sheet {
331
+ max-height: calc(100vh - 2rem);
332
+ border-radius: 1rem;
333
+ padding-bottom: 0;
334
+ }
335
+ .stableops-wc-actions {
336
+ flex-direction: row;
337
+ }
338
+ }
339
+ /*# sourceMappingURL=walletconnect-dialog.css.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/walletconnect-dialog.css"],"sourcesContent":[":root {\n --stableops-wc-backdrop: rgb(0 0 0 / 45%);\n --stableops-wc-surface: #ffffff;\n --stableops-wc-text: #0f1c2e;\n --stableops-wc-muted: rgb(15 28 46 / 55%);\n --stableops-wc-border: rgb(15 28 46 / 10%);\n --stableops-wc-subtle: rgb(15 28 46 / 3%);\n --stableops-wc-brand: #14b8a6;\n --stableops-wc-danger: #e11d48;\n}\n\n@keyframes stableops-walletconnect-backdrop-in {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n\n@keyframes stableops-walletconnect-sheet-in {\n from {\n opacity: 0;\n transform: translateY(1.25rem);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n}\n\n@media (min-width: 640px) {\n @keyframes stableops-walletconnect-sheet-in {\n from {\n opacity: 0;\n transform: translateY(0.375rem) scale(0.98);\n }\n to {\n opacity: 1;\n transform: translateY(0) scale(1);\n }\n }\n}\n\n.stableops-wc-backdrop {\n position: fixed;\n inset: 0;\n z-index: 50;\n display: flex;\n align-items: flex-end;\n justify-content: center;\n margin: 0;\n padding: 0;\n background: var(--stableops-wc-backdrop);\n animation: stableops-walletconnect-backdrop-in 160ms ease-out both;\n}\n\n.stableops-wc-sheet {\n position: relative;\n width: 100%;\n max-width: 28rem;\n max-height: min(90dvh, calc(100vh - 1rem));\n overflow: hidden;\n border: 1px solid var(--stableops-wc-border);\n border-radius: 1rem 1rem 0 0;\n padding-bottom: max(0.75rem, env(safe-area-inset-bottom));\n background: var(--stableops-wc-surface);\n color: var(--stableops-wc-text);\n box-shadow: 0 25px 50px -12px rgb(0 0 0 / 25%);\n animation: stableops-walletconnect-sheet-in 220ms cubic-bezier(0.2, 0, 0, 1) both;\n}\n\n.stableops-wc-header {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 1.5rem 1.5rem 0;\n}\n\n.stableops-wc-title {\n min-width: 0;\n flex: 1;\n overflow: hidden;\n text-align: center;\n text-overflow: ellipsis;\n white-space: nowrap;\n font-size: 0.875rem;\n font-weight: 600;\n}\n\n.stableops-wc-icon-button {\n position: absolute;\n display: flex;\n width: 2rem;\n height: 2rem;\n cursor: pointer;\n align-items: center;\n justify-content: center;\n border: 0;\n border-radius: 0.375rem;\n background: transparent;\n color: var(--stableops-wc-muted);\n}\n\n.stableops-wc-icon-button:hover {\n background: rgb(15 28 46 / 5%);\n color: var(--stableops-wc-text);\n}\n\n.stableops-wc-back-button {\n left: 1.25rem;\n}\n\n.stableops-wc-close-button {\n right: 1.25rem;\n}\n\n.stableops-wc-icon,\n.stableops-wc-action-icon {\n width: 1rem;\n height: 1rem;\n}\n\n.stableops-wc-body {\n padding: 1.5rem;\n}\n\n.stableops-wc-qr-frame {\n position: relative;\n width: 100%;\n max-width: 15rem;\n aspect-ratio: 1 / 1;\n margin: 0 auto;\n border: 1px solid rgb(15 28 46 / 8%);\n border-radius: 1rem;\n padding: 1rem;\n background: #ffffff;\n}\n\n.stableops-wc-qr-image {\n width: 100%;\n height: 100%;\n object-fit: contain;\n}\n\n.stableops-wc-qr-placeholder {\n opacity: 0.9;\n}\n\n.stableops-wc-centered-overlay,\n.stableops-wc-loading-overlay {\n position: absolute;\n inset: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.stableops-wc-loading-overlay {\n inset: 0.5rem;\n border-radius: 0.5rem;\n background: rgb(255 255 255 / 60%);\n backdrop-filter: blur(4px);\n}\n\n.stableops-wc-wallet-chip {\n border-radius: 0.75rem;\n padding: 0.25rem;\n background: #ffffff;\n box-shadow:\n 0 4px 6px -1px rgb(0 0 0 / 10%),\n 0 2px 4px -2px rgb(0 0 0 / 10%);\n outline: 1px solid rgb(0 0 0 / 5%);\n}\n\n.stableops-wc-wallet-logo,\n.stableops-wc-wallet-fallback {\n display: flex;\n width: 3rem;\n height: 3rem;\n flex-shrink: 0;\n align-items: center;\n justify-content: center;\n border-radius: 0.5rem;\n box-shadow: 0 1px 2px 0 rgb(0 0 0 / 5%);\n outline: 1px solid rgb(0 0 0 / 5%);\n}\n\n.stableops-wc-wallet-logo {\n object-fit: cover;\n}\n\n.stableops-wc-wallet-fallback {\n color: #ffffff;\n font-size: 0.75rem;\n font-weight: 600;\n}\n\n.stableops-wc-empty-qr {\n display: flex;\n width: 100%;\n height: 100%;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: 0.5rem;\n padding: 0 0.75rem;\n text-align: center;\n font-size: 0.75rem;\n color: var(--stableops-wc-muted);\n}\n\n.stableops-wc-spinner {\n width: 1.5rem;\n height: 1.5rem;\n animation: stableops-wc-spin 1s linear infinite;\n}\n\n@keyframes stableops-wc-spin {\n to {\n transform: rotate(360deg);\n }\n}\n\n.stableops-wc-muted-spinner {\n color: #9ca3af;\n}\n\n.stableops-wc-error-text {\n color: var(--stableops-wc-danger);\n}\n\n.stableops-wc-help-text {\n margin: 1.25rem 0 0;\n text-align: center;\n font-size: 0.875rem;\n font-weight: 500;\n}\n\n.stableops-wc-separator {\n display: flex;\n align-items: center;\n gap: 0.75rem;\n margin: 1rem 0;\n font-size: 0.75rem;\n color: rgb(15 28 46 / 45%);\n}\n\n.stableops-wc-line {\n height: 1px;\n flex: 1;\n background: rgb(15 28 46 / 10%);\n}\n\n.stableops-wc-spacer {\n height: 1rem;\n}\n\n.stableops-wc-actions {\n display: flex;\n flex-direction: column;\n gap: 0.5rem;\n}\n\n.stableops-wc-primary-action,\n.stableops-wc-secondary-action {\n display: inline-flex;\n min-height: 2.5rem;\n flex: 1;\n cursor: pointer;\n align-items: center;\n justify-content: center;\n gap: 0.5rem;\n border-radius: 0.5rem;\n padding: 0.5rem 1rem;\n text-align: center;\n font-size: 0.875rem;\n font-weight: 500;\n text-decoration: none;\n}\n\n.stableops-wc-primary-action {\n border: 1px solid transparent;\n background: var(--stableops-wc-brand);\n color: #ffffff;\n box-shadow: 0 1px 2px 0 rgb(0 0 0 / 5%);\n}\n\n.stableops-wc-primary-action:hover {\n background: color-mix(in srgb, var(--stableops-wc-brand) 82%, #000000);\n}\n\n.stableops-wc-secondary-action {\n border: 1px solid rgb(15 28 46 / 15%);\n background: var(--stableops-wc-surface);\n color: var(--stableops-wc-text);\n}\n\n.stableops-wc-secondary-action:hover {\n background: var(--stableops-wc-subtle);\n}\n\n.stableops-wc-secondary-action:disabled,\n.stableops-wc-disabled-link {\n cursor: not-allowed;\n opacity: 0.5;\n pointer-events: none;\n}\n\n.stableops-wc-check-icon {\n color: color-mix(in srgb, var(--stableops-wc-brand) 82%, #000000);\n}\n\n.stableops-wc-copy-done {\n border-color: color-mix(in srgb, var(--stableops-wc-brand) 35%, transparent);\n background: color-mix(in srgb, var(--stableops-wc-brand) 8%, #ffffff);\n color: color-mix(in srgb, var(--stableops-wc-brand) 82%, #000000);\n}\n\n.stableops-wc-wallet-grid {\n display: grid;\n grid-template-columns: repeat(3, minmax(0, 1fr));\n gap: 0.5rem 1rem;\n overflow-y: auto;\n padding: 1rem;\n}\n\n.stableops-wc-wallet-button {\n display: flex;\n cursor: pointer;\n flex-direction: column;\n align-items: center;\n gap: 0.5rem;\n border: 1px solid transparent;\n border-radius: 0.75rem;\n background: transparent;\n padding: 1rem 0.5rem;\n text-align: center;\n color: var(--stableops-wc-text);\n}\n\n.stableops-wc-wallet-button:hover {\n border-color: color-mix(in srgb, var(--stableops-wc-brand) 40%, transparent);\n background: var(--stableops-wc-subtle);\n}\n\n.stableops-wc-wallet-button:disabled {\n cursor: not-allowed;\n opacity: 0.5;\n}\n\n.stableops-wc-wallet-button span {\n width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n font-size: 0.75rem;\n font-weight: 500;\n}\n\n.stableops-wc-error-box {\n margin: 0 1.25rem 1.25rem;\n border: 1px solid rgb(225 29 72 / 25%);\n border-radius: 0.5rem;\n background: rgb(225 29 72 / 8%);\n padding: 0.625rem;\n text-align: center;\n font-size: 0.75rem;\n color: var(--stableops-wc-danger);\n}\n\n@media (min-width: 640px) {\n .stableops-wc-backdrop {\n align-items: center;\n padding: 1rem;\n }\n\n .stableops-wc-sheet {\n max-height: calc(100vh - 2rem);\n border-radius: 1rem;\n padding-bottom: 0;\n }\n\n .stableops-wc-actions {\n flex-direction: row;\n }\n}\n"],"mappings":";AAAA;AACE,2BAAyB,IAAI,EAAE,EAAE,EAAE,EAAE;AACrC,0BAAwB;AACxB,uBAAqB;AACrB,wBAAsB,IAAI,GAAG,GAAG,GAAG,EAAE;AACrC,yBAAuB,IAAI,GAAG,GAAG,GAAG,EAAE;AACtC,yBAAuB,IAAI,GAAG,GAAG,GAAG,EAAE;AACtC,wBAAsB;AACtB,yBAAuB;AACzB;AAEA,WAAW;AACT;AACE,aAAS;AACX;AACA;AACE,aAAS;AACX;AACF;AAEA,WAAW;AACT;AACE,aAAS;AACT,eAAW,WAAW;AACxB;AACA;AACE,aAAS;AACT,eAAW,WAAW;AACxB;AACF;AAEA,QAAO,WAAY;AACjB,aAZS;AAaP;AACE,eAAS;AACT,iBAAW,WAAW,UAAU,MAAM;AACxC;AACA;AACE,eAAS;AACT,iBAAW,WAAW,GAAG,MAAM;AACjC;AACF;AACF;AAEA,CAAC;AACC,YAAU;AACV,SAAO;AACP,WAAS;AACT,WAAS;AACT,eAAa;AACb,mBAAiB;AACjB,UAAQ;AACR,WAAS;AACT,cAAY,IAAI;AAChB,aAAW,oCAAoC,MAAM,SAAS;AAChE;AAEA,CAAC;AACC,YAAU;AACV,SAAO;AACP,aAAW;AACX,cAAY,IAAI,KAAK,EAAE,KAAK,MAAM,EAAE;AACpC,YAAU;AACV,UAAQ,IAAI,MAAM,IAAI;AACtB,iBAAe,KAAK,KAAK,EAAE;AAC3B,kBAAgB,IAAI,OAAO,EAAE,IAAI;AACjC,cAAY,IAAI;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Ac,UAAU,GAAG,IAAI,EAAE,IAAI,sBAAsB,GAAG,EAAE;AAChE,cAAY,IAAI;AAClB;AAEA,CAnBC,0BAmB0B;AACzB,UAAQ;AACR,WAAS;AACX;AAEA,CAxBC,2BAwB2B;AAC1B,SAAO;AACP,YAAU;AACV,iBAAe;AACf,eAAa;AACb,aAAW;AACX,eAAa;AACf;AAEA,CAAC;AACC,UAAQ,EAAE,QAAQ;AAClB,UAAQ,IAAI,MAAM,IAAI,IAAI,GAAG,GAAG,EAAE;AAClC,iBAAe;AACf,cAAY,IAAI,IAAI,GAAG,GAAG,EAAE;AAC5B,WAAS;AACT,cAAY;AACZ,aAAW;AACX,SAAO,IAAI;AACb;AAEA,QAAO,WAAY;AACjB,GAzUD;AA0UG,iBAAa;AACb,aAAS;AACX;AAEA,GAjUD;AAkUG,gBAAY,KAAK,MAAM,EAAE;AACzB,mBAAe;AACf,oBAAgB;AAClB;AAEA,GA7HD;AA8HG,oBAAgB;AAClB;AACF;","names":[]}
@@ -0,0 +1,2 @@
1
+
2
+ export { }
@@ -0,0 +1,2 @@
1
+
2
+ export { }
package/package.json ADDED
@@ -0,0 +1,74 @@
1
+ {
2
+ "name": "@stableops/wallet-ui",
3
+ "version": "0.1.0",
4
+ "private": false,
5
+ "description": "Shared React wallet UI components for StableOps checkout and playground experiences.",
6
+ "keywords": [
7
+ "stableops",
8
+ "wallet",
9
+ "walletconnect",
10
+ "react",
11
+ "ui"
12
+ ],
13
+ "license": "Apache-2.0",
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "git+https://github.com/StableOps/stableops-wallet-ui.git"
17
+ },
18
+ "homepage": "https://stableops.dev",
19
+ "main": "dist/index.js",
20
+ "module": "dist/index.mjs",
21
+ "types": "dist/index.d.ts",
22
+ "exports": {
23
+ ".": {
24
+ "import": {
25
+ "types": "./dist/index.d.mts",
26
+ "default": "./dist/index.mjs"
27
+ },
28
+ "require": {
29
+ "types": "./dist/index.d.ts",
30
+ "default": "./dist/index.js"
31
+ }
32
+ },
33
+ "./walletconnect-dialog.css": "./dist/walletconnect-dialog.css"
34
+ },
35
+ "files": [
36
+ "dist"
37
+ ],
38
+ "sideEffects": [
39
+ "**/*.css"
40
+ ],
41
+ "publishConfig": {
42
+ "access": "public"
43
+ },
44
+ "engines": {
45
+ "node": ">=18"
46
+ },
47
+ "peerDependencies": {
48
+ "react": ">=18",
49
+ "react-dom": ">=18"
50
+ },
51
+ "dependencies": {
52
+ "lucide-react": "^0.469.0",
53
+ "@stableops/wallet-sdk": "^0.8.0"
54
+ },
55
+ "devDependencies": {
56
+ "@eslint/js": "^9.16.0",
57
+ "@types/node": "^24.0.0",
58
+ "@types/react": "^19.0.0",
59
+ "@types/react-dom": "^19.0.0",
60
+ "eslint": "^9.16.0",
61
+ "globals": "^15.14.0",
62
+ "tsup": "^8.5.1",
63
+ "typescript": "^5.9.3",
64
+ "typescript-eslint": "^8.18.0",
65
+ "vitest": "^3.2.4"
66
+ },
67
+ "scripts": {
68
+ "build": "tsup",
69
+ "lint": "eslint .",
70
+ "typecheck": "tsc --noEmit",
71
+ "test": "vitest run",
72
+ "test:watch": "vitest"
73
+ }
74
+ }