@midnames/sdk 0.1.1 → 0.1.3
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/core.d.ts +1 -0
- package/dist/core.js +1 -1
- package/dist/holographic-card.css +536 -0
- package/dist/managed/index.d.ts +4 -4
- package/dist/managed/index.js +2 -2
- package/dist/managed/index.js.map +1 -0
- package/dist/managed/leaf.compact +258 -0
- package/dist/managed/{leaf → managed/leaf}/contract/index.cjs +126 -76
- package/dist/managed/managed/leaf/contract/index.cjs.map +8 -0
- package/dist/managed/{leaf → managed/leaf}/contract/index.d.cts +5 -1
- package/dist/managed/witnesses.js.map +1 -0
- package/dist/react/DomainProfileWidget.d.ts +26 -1
- package/dist/react/DomainProfileWidget.js +71 -6
- package/dist/react/HolographicCard.d.ts +36 -0
- package/dist/react/HolographicCard.js +191 -0
- package/dist/react/index.d.ts +2 -0
- package/dist/react/index.js +2 -0
- package/dist/styles.css +45 -0
- package/package.json +4 -4
- package/tsconfig.tsbuildinfo +1 -0
package/dist/core.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { PublicDataProvider } from '@midnight-ntwrk/midnight-js-types';
|
|
2
2
|
import type { DomainInfo, DomainSettings, DomainProfileData, Result } from './types.js';
|
|
3
|
+
export declare const TESTNET_TLD_ADDRESS = "0200c46ddd9a7fe134e7126132bf48d573e3e70a06fc2b82edb2c9f31584536efa01";
|
|
3
4
|
export declare function resolveDomain(publicDataProvider: PublicDataProvider, domain: string, tldAddress?: string): Promise<Result<string>>;
|
|
4
5
|
export declare function getDomainInfo(publicDataProvider: PublicDataProvider, contractAddress: string, domainName: string): Promise<Result<DomainInfo>>;
|
|
5
6
|
export declare function getDomainInfoByResolving(publicDataProvider: PublicDataProvider, fullDomain: string): Promise<Result<DomainInfo>>;
|
package/dist/core.js
CHANGED
|
@@ -5,7 +5,7 @@ import { formatContractAddress } from './utils/address.js';
|
|
|
5
5
|
import { normalizeDomain, parseFullDomain } from './utils/domain.js';
|
|
6
6
|
import { success, failure, NetworkError, ContractNotFoundError, DomainNotFoundError, InvalidDomainError, ProviderError } from './types.js';
|
|
7
7
|
const TLD = 'night';
|
|
8
|
-
const TESTNET_TLD_ADDRESS = '
|
|
8
|
+
export const TESTNET_TLD_ADDRESS = '0200c46ddd9a7fe134e7126132bf48d573e3e70a06fc2b82edb2c9f31584536efa01';
|
|
9
9
|
function getDefaultTldAddress() {
|
|
10
10
|
const currentNetwork = getNetworkId();
|
|
11
11
|
switch (currentNetwork) {
|
|
@@ -0,0 +1,536 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--midnames-holo-pointer-x: 50%;
|
|
3
|
+
--midnames-holo-pointer-y: 50%;
|
|
4
|
+
--midnames-holo-pointer-from-center: 0;
|
|
5
|
+
--midnames-holo-pointer-from-top: 0.5;
|
|
6
|
+
--midnames-holo-pointer-from-left: 0.5;
|
|
7
|
+
--midnames-holo-card-opacity: 0;
|
|
8
|
+
--midnames-holo-rotate-x: 0deg;
|
|
9
|
+
--midnames-holo-rotate-y: 0deg;
|
|
10
|
+
--midnames-holo-background-x: 50%;
|
|
11
|
+
--midnames-holo-background-y: 50%;
|
|
12
|
+
--midnames-holo-grain: none;
|
|
13
|
+
--midnames-holo-icon: none;
|
|
14
|
+
--midnames-holo-behind-gradient: none;
|
|
15
|
+
--midnames-holo-inner-gradient: none;
|
|
16
|
+
--midnames-holo-sunpillar-1: hsl(2, 100%, 73%);
|
|
17
|
+
--midnames-holo-sunpillar-2: hsl(53, 100%, 69%);
|
|
18
|
+
--midnames-holo-sunpillar-3: hsl(93, 100%, 69%);
|
|
19
|
+
--midnames-holo-sunpillar-4: hsl(176, 100%, 76%);
|
|
20
|
+
--midnames-holo-sunpillar-5: hsl(228, 100%, 74%);
|
|
21
|
+
--midnames-holo-sunpillar-6: hsl(283, 100%, 73%);
|
|
22
|
+
--midnames-holo-sunpillar-clr-1: var(--midnames-holo-sunpillar-1);
|
|
23
|
+
--midnames-holo-sunpillar-clr-2: var(--midnames-holo-sunpillar-2);
|
|
24
|
+
--midnames-holo-sunpillar-clr-3: var(--midnames-holo-sunpillar-3);
|
|
25
|
+
--midnames-holo-sunpillar-clr-4: var(--midnames-holo-sunpillar-4);
|
|
26
|
+
--midnames-holo-sunpillar-clr-5: var(--midnames-holo-sunpillar-5);
|
|
27
|
+
--midnames-holo-sunpillar-clr-6: var(--midnames-holo-sunpillar-6);
|
|
28
|
+
--midnames-holo-card-radius: 30px;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.midnames-holo-card-wrapper {
|
|
32
|
+
perspective: 500px;
|
|
33
|
+
transform: translate3d(0, 0, 0.1px);
|
|
34
|
+
position: relative;
|
|
35
|
+
touch-action: none;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.midnames-holo-card-wrapper::before {
|
|
39
|
+
content: '';
|
|
40
|
+
position: absolute;
|
|
41
|
+
inset: -10px;
|
|
42
|
+
background: inherit;
|
|
43
|
+
background-position: inherit;
|
|
44
|
+
border-radius: inherit;
|
|
45
|
+
transition: all 0.5s ease;
|
|
46
|
+
filter: contrast(2) saturate(2) blur(36px);
|
|
47
|
+
transform: scale(0.8) translate3d(0, 0, 0.1px);
|
|
48
|
+
background-size: 100% 100%;
|
|
49
|
+
background-image: var(--midnames-holo-behind-gradient);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.midnames-holo-card-wrapper:hover,
|
|
53
|
+
.midnames-holo-card-wrapper.midnames-holo-active {
|
|
54
|
+
--midnames-holo-card-opacity: 1;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.midnames-holo-card-wrapper:hover::before,
|
|
58
|
+
.midnames-holo-card-wrapper.midnames-holo-active::before {
|
|
59
|
+
filter: contrast(1) saturate(2) blur(40px) opacity(1);
|
|
60
|
+
transform: scale(0.9) translate3d(0, 0, 0.1px);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.midnames-holo-card {
|
|
64
|
+
height: 80svh;
|
|
65
|
+
max-height: 540px;
|
|
66
|
+
display: grid;
|
|
67
|
+
aspect-ratio: 0.718;
|
|
68
|
+
border-radius: var(--midnames-holo-card-radius);
|
|
69
|
+
position: relative;
|
|
70
|
+
background-blend-mode: color-dodge, normal, normal, normal;
|
|
71
|
+
animation: midnames-holo-glow-bg 12s linear infinite;
|
|
72
|
+
box-shadow: rgba(0, 0, 0, 0.8) calc((var(--midnames-holo-pointer-from-left) * 10px) - 3px)
|
|
73
|
+
calc((var(--midnames-holo-pointer-from-top) * 20px) - 6px) 20px -5px;
|
|
74
|
+
transition: transform 1s ease;
|
|
75
|
+
transform: translate3d(0, 0, 0.1px) rotateX(0deg) rotateY(0deg);
|
|
76
|
+
background-size: 100% 100%;
|
|
77
|
+
background-position:
|
|
78
|
+
0 0,
|
|
79
|
+
0 0,
|
|
80
|
+
50% 50%,
|
|
81
|
+
0 0;
|
|
82
|
+
background-image:
|
|
83
|
+
radial-gradient(
|
|
84
|
+
farthest-side circle at var(--midnames-holo-pointer-x) var(--midnames-holo-pointer-y),
|
|
85
|
+
hsla(266, 100%, 90%, var(--midnames-holo-card-opacity)) 4%,
|
|
86
|
+
hsla(266, 50%, 80%, calc(var(--midnames-holo-card-opacity) * 0.75)) 10%,
|
|
87
|
+
hsla(266, 25%, 70%, calc(var(--midnames-holo-card-opacity) * 0.5)) 50%,
|
|
88
|
+
hsla(266, 0%, 60%, 0) 100%
|
|
89
|
+
),
|
|
90
|
+
radial-gradient(35% 52% at 55% 20%, #00ffaac4 0%, #073aff00 100%),
|
|
91
|
+
radial-gradient(100% 100% at 50% 50%, #00c1ffff 1%, #073aff00 76%),
|
|
92
|
+
conic-gradient(from 124deg at 50% 50%, #c137ffff 0%, #07c6ffff 40%, #07c6ffff 60%, #c137ffff 100%);
|
|
93
|
+
overflow: hidden;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.midnames-holo-card:hover,
|
|
97
|
+
.midnames-holo-card.midnames-holo-active {
|
|
98
|
+
transition: none;
|
|
99
|
+
transform: translate3d(0, 0, 0.1px) rotateX(var(--midnames-holo-rotate-y)) rotateY(var(--midnames-holo-rotate-x));
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.midnames-holo-card * {
|
|
103
|
+
display: grid;
|
|
104
|
+
grid-area: 1/-1;
|
|
105
|
+
border-radius: var(--midnames-holo-card-radius);
|
|
106
|
+
transform: translate3d(0, 0, 0.1px);
|
|
107
|
+
pointer-events: none;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.midnames-holo-inside {
|
|
111
|
+
inset: 1px;
|
|
112
|
+
position: absolute;
|
|
113
|
+
background-image: var(--midnames-holo-inner-gradient);
|
|
114
|
+
background-color: rgba(0, 0, 0, 0.9);
|
|
115
|
+
transform: translate3d(0, 0, 0.01px);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.midnames-holo-shine {
|
|
119
|
+
mask-image: var(--midnames-holo-icon);
|
|
120
|
+
mask-mode: luminance;
|
|
121
|
+
mask-repeat: repeat;
|
|
122
|
+
mask-size: 150%;
|
|
123
|
+
mask-position: top calc(200% - (var(--midnames-holo-background-y) * 5)) left calc(100% - var(--midnames-holo-background-x));
|
|
124
|
+
transition: filter 0.6s ease;
|
|
125
|
+
filter: brightness(0.66) contrast(1.33) saturate(0.66) opacity(0.3);
|
|
126
|
+
animation: midnames-holo-bg 18s linear infinite;
|
|
127
|
+
mix-blend-mode: screen;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.midnames-holo-shine,
|
|
131
|
+
.midnames-holo-shine::after {
|
|
132
|
+
--space: 5%;
|
|
133
|
+
--angle: -45deg;
|
|
134
|
+
transform: translate3d(0, 0, 1px);
|
|
135
|
+
overflow: hidden;
|
|
136
|
+
z-index: 3;
|
|
137
|
+
background: transparent;
|
|
138
|
+
background-size: cover;
|
|
139
|
+
background-position: center;
|
|
140
|
+
background-image:
|
|
141
|
+
repeating-linear-gradient(
|
|
142
|
+
0deg,
|
|
143
|
+
var(--midnames-holo-sunpillar-clr-1) calc(var(--space) * 1),
|
|
144
|
+
var(--midnames-holo-sunpillar-clr-2) calc(var(--space) * 2),
|
|
145
|
+
var(--midnames-holo-sunpillar-clr-3) calc(var(--space) * 3),
|
|
146
|
+
var(--midnames-holo-sunpillar-clr-4) calc(var(--space) * 4),
|
|
147
|
+
var(--midnames-holo-sunpillar-clr-5) calc(var(--space) * 5),
|
|
148
|
+
var(--midnames-holo-sunpillar-clr-6) calc(var(--space) * 6),
|
|
149
|
+
var(--midnames-holo-sunpillar-clr-1) calc(var(--space) * 7)
|
|
150
|
+
),
|
|
151
|
+
repeating-linear-gradient(
|
|
152
|
+
var(--angle),
|
|
153
|
+
#0e152e 0%,
|
|
154
|
+
hsl(180, 10%, 60%) 3.8%,
|
|
155
|
+
hsl(180, 29%, 66%) 4.5%,
|
|
156
|
+
hsl(180, 10%, 60%) 5.2%,
|
|
157
|
+
#0e152e 10%,
|
|
158
|
+
#0e152e 12%
|
|
159
|
+
),
|
|
160
|
+
radial-gradient(
|
|
161
|
+
farthest-corner circle at var(--midnames-holo-pointer-x) var(--midnames-holo-pointer-y),
|
|
162
|
+
hsla(0, 0%, 0%, 0.1) 12%,
|
|
163
|
+
hsla(0, 0%, 0%, 0.15) 20%,
|
|
164
|
+
hsla(0, 0%, 0%, 0.25) 120%
|
|
165
|
+
);
|
|
166
|
+
background-position:
|
|
167
|
+
0 var(--midnames-holo-background-y),
|
|
168
|
+
var(--midnames-holo-background-x) var(--midnames-holo-background-y),
|
|
169
|
+
center;
|
|
170
|
+
background-blend-mode: color, hard-light;
|
|
171
|
+
background-size:
|
|
172
|
+
500% 500%,
|
|
173
|
+
300% 300%,
|
|
174
|
+
200% 200%;
|
|
175
|
+
background-repeat: repeat;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.midnames-holo-shine::before,
|
|
179
|
+
.midnames-holo-shine::after {
|
|
180
|
+
content: '';
|
|
181
|
+
background-position: center;
|
|
182
|
+
background-size: cover;
|
|
183
|
+
grid-area: 1/1;
|
|
184
|
+
opacity: 0;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.midnames-holo-card:hover .midnames-holo-shine,
|
|
188
|
+
.midnames-holo-card.midnames-holo-active .midnames-holo-shine {
|
|
189
|
+
filter: brightness(0.85) contrast(1.5) saturate(0.5);
|
|
190
|
+
animation: none;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.midnames-holo-card:hover .midnames-holo-shine::before,
|
|
194
|
+
.midnames-holo-card.midnames-holo-active .midnames-holo-shine::before,
|
|
195
|
+
.midnames-holo-card:hover .midnames-holo-shine::after,
|
|
196
|
+
.midnames-holo-card.midnames-holo-active .midnames-holo-shine::after {
|
|
197
|
+
opacity: 1;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.midnames-holo-shine::before {
|
|
201
|
+
background-image:
|
|
202
|
+
linear-gradient(
|
|
203
|
+
45deg,
|
|
204
|
+
var(--midnames-holo-sunpillar-4),
|
|
205
|
+
var(--midnames-holo-sunpillar-5),
|
|
206
|
+
var(--midnames-holo-sunpillar-6),
|
|
207
|
+
var(--midnames-holo-sunpillar-1),
|
|
208
|
+
var(--midnames-holo-sunpillar-2),
|
|
209
|
+
var(--midnames-holo-sunpillar-3)
|
|
210
|
+
),
|
|
211
|
+
radial-gradient(circle at var(--midnames-holo-pointer-x) var(--midnames-holo-pointer-y), hsl(0, 0%, 70%) 0%, hsla(0, 0%, 30%, 0.2) 90%),
|
|
212
|
+
var(--midnames-holo-grain);
|
|
213
|
+
background-size:
|
|
214
|
+
250% 250%,
|
|
215
|
+
100% 100%,
|
|
216
|
+
220px 220px;
|
|
217
|
+
background-position:
|
|
218
|
+
var(--midnames-holo-pointer-x) var(--midnames-holo-pointer-y),
|
|
219
|
+
center,
|
|
220
|
+
calc(var(--midnames-holo-pointer-x) * 0.01) calc(var(--midnames-holo-pointer-y) * 0.01);
|
|
221
|
+
background-blend-mode: color-dodge;
|
|
222
|
+
filter: brightness(calc(2 - var(--midnames-holo-pointer-from-center))) contrast(calc(var(--midnames-holo-pointer-from-center) + 2))
|
|
223
|
+
saturate(calc(0.5 + var(--midnames-holo-pointer-from-center)));
|
|
224
|
+
mix-blend-mode: luminosity;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.midnames-holo-shine::after {
|
|
228
|
+
background-position:
|
|
229
|
+
0 var(--midnames-holo-background-y),
|
|
230
|
+
calc(var(--midnames-holo-background-x) * 0.4) calc(var(--midnames-holo-background-y) * 0.5),
|
|
231
|
+
center;
|
|
232
|
+
background-size:
|
|
233
|
+
200% 300%,
|
|
234
|
+
700% 700%,
|
|
235
|
+
100% 100%;
|
|
236
|
+
mix-blend-mode: difference;
|
|
237
|
+
filter: brightness(0.8) contrast(1.5);
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.midnames-holo-glare {
|
|
241
|
+
transform: translate3d(0, 0, 1.1px);
|
|
242
|
+
overflow: hidden;
|
|
243
|
+
background-image: radial-gradient(
|
|
244
|
+
farthest-corner circle at var(--midnames-holo-pointer-x) var(--midnames-holo-pointer-y),
|
|
245
|
+
hsl(248, 25%, 80%) 12%,
|
|
246
|
+
hsla(207, 40%, 30%, 0.8) 90%
|
|
247
|
+
);
|
|
248
|
+
mix-blend-mode: hard-light;
|
|
249
|
+
filter: brightness(0.8) contrast(1);
|
|
250
|
+
z-index: 4;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.midnames-holo-avatar-content {
|
|
254
|
+
mix-blend-mode: screen;
|
|
255
|
+
overflow: hidden;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.midnames-holo-avatar-content .midnames-holo-avatar {
|
|
259
|
+
position: absolute;
|
|
260
|
+
inset: 0;
|
|
261
|
+
width: 100%;
|
|
262
|
+
height: 100%;
|
|
263
|
+
object-fit: cover;
|
|
264
|
+
transform: none;
|
|
265
|
+
opacity: calc(1.75 - var(--midnames-holo-pointer-from-center));
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
.midnames-holo-avatar-content::before {
|
|
269
|
+
content: '';
|
|
270
|
+
position: absolute;
|
|
271
|
+
inset: 0;
|
|
272
|
+
z-index: 1;
|
|
273
|
+
backdrop-filter: blur(30px);
|
|
274
|
+
mask: linear-gradient(
|
|
275
|
+
to bottom,
|
|
276
|
+
rgba(0, 0, 0, 0) 0%,
|
|
277
|
+
rgba(0, 0, 0, 0) 60%,
|
|
278
|
+
rgba(0, 0, 0, 1) 90%,
|
|
279
|
+
rgba(0, 0, 0, 1) 100%
|
|
280
|
+
);
|
|
281
|
+
pointer-events: none;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.midnames-holo-user-info {
|
|
285
|
+
position: absolute;
|
|
286
|
+
bottom: 20px;
|
|
287
|
+
left: 20px;
|
|
288
|
+
right: 20px;
|
|
289
|
+
z-index: 2;
|
|
290
|
+
display: flex;
|
|
291
|
+
align-items: center;
|
|
292
|
+
justify-content: space-between;
|
|
293
|
+
background: rgba(0, 0, 0, 0.45);
|
|
294
|
+
backdrop-filter: blur(30px) saturate(120%);
|
|
295
|
+
border: 1px solid rgba(255, 255, 255, 0.18);
|
|
296
|
+
border-radius: 15px;
|
|
297
|
+
padding: 12px 14px;
|
|
298
|
+
mix-blend-mode: normal;
|
|
299
|
+
isolation: isolate;
|
|
300
|
+
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
|
|
301
|
+
pointer-events: auto;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.midnames-holo-user-details {
|
|
305
|
+
display: flex;
|
|
306
|
+
align-items: center;
|
|
307
|
+
gap: 12px;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
.midnames-holo-mini-avatar {
|
|
311
|
+
width: 48px;
|
|
312
|
+
height: 48px;
|
|
313
|
+
border-radius: 50%;
|
|
314
|
+
overflow: hidden;
|
|
315
|
+
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
316
|
+
flex-shrink: 0;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
.midnames-holo-mini-avatar img {
|
|
320
|
+
width: 100%;
|
|
321
|
+
height: 100%;
|
|
322
|
+
object-fit: cover;
|
|
323
|
+
border-radius: 50%;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
.midnames-holo-user-text {
|
|
327
|
+
display: flex;
|
|
328
|
+
align-items: flex-start;
|
|
329
|
+
flex-direction: column;
|
|
330
|
+
gap: 6px;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
.midnames-holo-handle {
|
|
334
|
+
font-size: 14px;
|
|
335
|
+
font-weight: 500;
|
|
336
|
+
color: rgba(255, 255, 255, 0.9);
|
|
337
|
+
line-height: 1;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
.midnames-holo-status {
|
|
341
|
+
font-size: 14px;
|
|
342
|
+
color: rgba(255, 255, 255, 0.7);
|
|
343
|
+
line-height: 1;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
.midnames-holo-contact-btn {
|
|
347
|
+
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
348
|
+
border-radius: 8px;
|
|
349
|
+
padding: 8px 16px;
|
|
350
|
+
font-size: 14px;
|
|
351
|
+
font-weight: 600;
|
|
352
|
+
color: rgba(255, 255, 255, 0.9);
|
|
353
|
+
cursor: pointer;
|
|
354
|
+
transition: all 0.2s ease;
|
|
355
|
+
backdrop-filter: blur(10px);
|
|
356
|
+
background: transparent;
|
|
357
|
+
pointer-events: auto;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
.midnames-holo-contact-btn:hover {
|
|
361
|
+
border-color: rgba(255, 255, 255, 0.4);
|
|
362
|
+
transform: translateY(-1px);
|
|
363
|
+
transition: all 0.2s ease;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
.midnames-holo-content {
|
|
367
|
+
max-height: 100%;
|
|
368
|
+
overflow: hidden;
|
|
369
|
+
text-align: center;
|
|
370
|
+
position: relative;
|
|
371
|
+
transform: translate3d(
|
|
372
|
+
calc(var(--midnames-holo-pointer-from-left) * -6px + 3px),
|
|
373
|
+
calc(var(--midnames-holo-pointer-from-top) * -6px + 3px),
|
|
374
|
+
0.1px
|
|
375
|
+
) !important;
|
|
376
|
+
z-index: 5;
|
|
377
|
+
mix-blend-mode: hard-light;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
.midnames-holo-loading {
|
|
381
|
+
position: absolute;
|
|
382
|
+
inset: 0;
|
|
383
|
+
display: flex;
|
|
384
|
+
align-items: center;
|
|
385
|
+
justify-content: center;
|
|
386
|
+
color: rgba(255, 255, 255, 0.8);
|
|
387
|
+
font-size: 16px;
|
|
388
|
+
z-index: 6;
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
.midnames-holo-error {
|
|
392
|
+
position: absolute;
|
|
393
|
+
inset: 0;
|
|
394
|
+
display: flex;
|
|
395
|
+
flex-direction: column;
|
|
396
|
+
align-items: center;
|
|
397
|
+
justify-content: center;
|
|
398
|
+
color: rgba(255, 100, 100, 0.9);
|
|
399
|
+
font-size: 14px;
|
|
400
|
+
text-align: center;
|
|
401
|
+
padding: 20px;
|
|
402
|
+
z-index: 6;
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
@keyframes midnames-holo-glow-bg {
|
|
406
|
+
0% {
|
|
407
|
+
--bgrotate: 0deg;
|
|
408
|
+
}
|
|
409
|
+
100% {
|
|
410
|
+
--bgrotate: 360deg;
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
@keyframes midnames-holo-bg {
|
|
415
|
+
0% {
|
|
416
|
+
background-position:
|
|
417
|
+
0 var(--midnames-holo-background-y),
|
|
418
|
+
0 0,
|
|
419
|
+
center;
|
|
420
|
+
}
|
|
421
|
+
100% {
|
|
422
|
+
background-position:
|
|
423
|
+
0 var(--midnames-holo-background-y),
|
|
424
|
+
90% 90%,
|
|
425
|
+
center;
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
@media (max-width: 768px) {
|
|
430
|
+
.midnames-holo-card {
|
|
431
|
+
height: 70svh;
|
|
432
|
+
max-height: 450px;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
.midnames-holo-user-info {
|
|
436
|
+
bottom: 15px;
|
|
437
|
+
left: 15px;
|
|
438
|
+
right: 15px;
|
|
439
|
+
padding: 10px 12px;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
.midnames-holo-mini-avatar {
|
|
443
|
+
width: 28px;
|
|
444
|
+
height: 28px;
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
.midnames-holo-user-details {
|
|
448
|
+
gap: 10px;
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
.midnames-holo-handle {
|
|
452
|
+
font-size: 13px;
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
.midnames-holo-status {
|
|
456
|
+
font-size: 10px;
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
.midnames-holo-contact-btn {
|
|
460
|
+
padding: 6px 12px;
|
|
461
|
+
font-size: 11px;
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
@media (max-width: 480px) {
|
|
466
|
+
.midnames-holo-card {
|
|
467
|
+
height: 60svh;
|
|
468
|
+
max-height: 380px;
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
.midnames-holo-user-info {
|
|
472
|
+
bottom: 12px;
|
|
473
|
+
left: 12px;
|
|
474
|
+
right: 12px;
|
|
475
|
+
padding: 8px 10px;
|
|
476
|
+
border-radius: 50px;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
.midnames-holo-mini-avatar {
|
|
480
|
+
width: 24px;
|
|
481
|
+
height: 24px;
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
.midnames-holo-user-details {
|
|
485
|
+
gap: 8px;
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
.midnames-holo-handle {
|
|
489
|
+
font-size: 12px;
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
.midnames-holo-status {
|
|
493
|
+
font-size: 9px;
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
.midnames-holo-contact-btn {
|
|
497
|
+
padding: 5px 10px;
|
|
498
|
+
font-size: 10px;
|
|
499
|
+
border-radius: 50px;
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
@media (max-width: 320px) {
|
|
504
|
+
.midnames-holo-card {
|
|
505
|
+
height: 55svh;
|
|
506
|
+
max-height: 320px;
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
.midnames-holo-user-info {
|
|
510
|
+
padding: 6px 8px;
|
|
511
|
+
border-radius: 50px;
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
.midnames-holo-mini-avatar {
|
|
515
|
+
width: 20px;
|
|
516
|
+
height: 20px;
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
.midnames-holo-user-details {
|
|
520
|
+
gap: 6px;
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
.midnames-holo-handle {
|
|
524
|
+
font-size: 11px;
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
.midnames-holo-status {
|
|
528
|
+
font-size: 8px;
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
.midnames-holo-contact-btn {
|
|
532
|
+
padding: 4px 8px;
|
|
533
|
+
font-size: 9px;
|
|
534
|
+
border-radius: 50px;
|
|
535
|
+
}
|
|
536
|
+
}
|
package/dist/managed/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { type DomainData as LeafDomainData } from "./leaf/contract/index.cjs";
|
|
2
|
-
export * as Leaf from "./leaf/contract/index.cjs";
|
|
3
|
-
import ContractModule from './leaf/contract/index.cjs';
|
|
4
|
-
import type { Contract as ContractType, Witnesses } from './leaf/contract/index.cjs';
|
|
1
|
+
export { type DomainData as LeafDomainData } from "./managed/leaf/contract/index.cjs";
|
|
2
|
+
export * as Leaf from "./managed/leaf/contract/index.cjs";
|
|
3
|
+
import ContractModule from './managed/leaf/contract/index.cjs';
|
|
4
|
+
import type { Contract as ContractType, Witnesses } from './managed/leaf/contract/index.cjs';
|
|
5
5
|
export declare const ledger: typeof ContractModule.ledger;
|
|
6
6
|
export declare const pureCircuits: ContractModule.PureCircuits;
|
|
7
7
|
export declare const Contract: typeof ContractModule.Contract;
|
package/dist/managed/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * as Leaf from "./leaf/contract/index.cjs";
|
|
2
|
-
import ContractModule from './leaf/contract/index.cjs';
|
|
1
|
+
export * as Leaf from "./managed/leaf/contract/index.cjs";
|
|
2
|
+
import ContractModule from './managed/leaf/contract/index.cjs';
|
|
3
3
|
export const ledger = ContractModule.ledger;
|
|
4
4
|
export const pureCircuits = ContractModule.pureCircuits;
|
|
5
5
|
export const { Contract } = ContractModule;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,IAAI,MAAM,mCAAmC,CAAC;AAE1D,OAAO,cAAc,MAAM,mCAAmC,CAAC;AAG/D,MAAM,CAAC,MAAM,MAAM,GAAG,cAAc,CAAC,MAAM,CAAC;AAC5C,MAAM,CAAC,MAAM,YAAY,GAAG,cAAc,CAAC,YAAY,CAAC;AACxD,MAAM,CAAC,MAAM,EAAE,QAAQ,EAAE,GAAG,cAAc,CAAC"}
|