@dcl/governance-site 2.0.0 → 2.0.1-20995780683.commit-d6baf5e
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/assets/BlockOverrides-9837a6f9.js +5 -0
- package/assets/ConstantsUtil-298f7898.js +1 -0
- package/assets/ExchangeController-d2354ec6.js +1 -0
- package/assets/HelpersUtil-8cddb046.js +62 -0
- package/assets/MathUtil-b514a570.js +1 -0
- package/assets/NavigationUtil-a0d0ce87.js +1 -0
- package/assets/NetworkUtil-220ea128.js +1 -0
- package/assets/PhWallet-fd2006d2.js +14 -0
- package/assets/{features-b72c9430.js → ReownAuthentication-468828df.js} +4 -4
- package/assets/SwapController-7bfd6ce7.js +1 -0
- package/assets/{UserAvatar-78751cb5.js → UserAvatar-456716f1.js} +1 -1
- package/assets/ccip-ddcec720.js +1 -0
- package/assets/data-capture-3e424a2c.js +242 -0
- package/assets/email-ea617f9c.js +90 -0
- package/assets/embedded-wallet-814bf005.js +410 -0
- package/assets/features-fd521597.js +1 -0
- package/assets/fortmatic-f3cb4aa6.js +13 -0
- package/assets/if-defined-0a35f675.js +5 -0
- package/assets/index-034d22a0.js +138 -0
- package/assets/{index-a8255d1c.css → index-05771666.css} +4 -4
- package/assets/index-07a61b45.js +51 -0
- package/assets/index-1039ded0.js +132 -0
- package/assets/index-123c1362.js +224 -0
- package/assets/index-15bbaaa0.js +7 -0
- package/assets/{index-073512a1.js → index-206e3e77.js} +1 -1
- package/assets/index-27a991e4.js +53 -0
- package/assets/index-2d0efdd2.js +210 -0
- package/assets/index-32d53c87.js +189 -0
- package/assets/index-3b861a37.js +102 -0
- package/assets/index-4207595b.js +100 -0
- package/assets/index-4243d275.js +43 -0
- package/assets/index-42ce7246.js +63 -0
- package/assets/index-47e87339.js +152 -0
- package/assets/index-48bd3fca.js +277 -0
- package/assets/index-49cc5044.js +46 -0
- package/assets/index-5788a0d6.js +468 -0
- package/assets/index-5824c226.js +81 -0
- package/assets/index-5da565ce.js +78 -0
- package/assets/index-685e7949.js +425 -0
- package/assets/index-84e8ecf6.js +647 -0
- package/assets/index-965fdf98.js +3425 -0
- package/assets/index-9d970383.js +152 -0
- package/assets/index-a59b6662.js +68 -0
- package/assets/index-b457d047.js +1062 -0
- package/assets/index-b65e06cc.js +27 -0
- package/assets/{index-2ef9f1d1.js → index-d70e4ab8.js} +66 -66
- package/assets/index-d7a6ceea.js +30 -0
- package/assets/index-d9c55c27.js +77 -0
- package/assets/index-db5b7889.js +77 -0
- package/assets/index-e3222791.js +78 -0
- package/assets/index-eb060c20.js +1 -0
- package/assets/index-f3f03959.js +90 -0
- package/assets/index-fcda68c9.js +19 -0
- package/assets/index-ff4dea43.js +85 -0
- package/assets/networks-14f3c0d2.js +1 -0
- package/assets/onramp-dcdb1a34.js +422 -0
- package/assets/pay-with-exchange-a64f18a3.js +280 -0
- package/assets/receive-ca7bc867.js +131 -0
- package/assets/ref-88e1be05.js +13 -0
- package/assets/send-8739c9fb.js +554 -0
- package/assets/socials-ccc593f5.js +250 -0
- package/assets/swaps-0a90eb06.js +1050 -0
- package/assets/transactions-bb8cb277.js +16 -0
- package/assets/{tslib.es6-82b9ba96.js → tslib.es6-db2ec995.js} +2 -2
- package/assets/w3m-modal-869dafbc.js +891 -0
- package/assets/zoraTestnet-adc7b76b.js +36 -0
- package/index.html +4 -4
- package/package.json +3 -3
- package/assets/basic-ca749c4c.js +0 -1435
- package/assets/core-806d78ea.js +0 -249
- package/assets/fortmatic-12e0f2e5.js +0 -13
- package/assets/index-372705ba.js +0 -1321
- package/assets/index-4be588a0.js +0 -94
- package/assets/index-74e34dfb.js +0 -39
- package/assets/index-bbb36593.js +0 -7
- package/assets/index-c1c8440f.js +0 -47
- package/assets/w3m-modal-26eff9d9.js +0 -1209
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import{p as w,w as v,s as y,a as x,n as $,l as f,R,M as T,m,j as C}from"./index-48bd3fca.js";import{n as P,r as d,c as b}from"./index-84e8ecf6.js";const n=w({message:"",open:!1,triggerRect:{width:0,height:0,top:0,left:0},variant:"shade"}),_={state:n,subscribe(t){return y(n,()=>t(n))},subscribeKey(t,e){return x(n,t,e)},showTooltip({message:t,triggerRect:e,variant:o}){n.open=!0,n.message=t,n.triggerRect=e,n.variant=o},hide(){n.open=!1,n.message="",n.triggerRect={width:0,height:0,top:0,left:0}}},s=v(_),j=$`
|
|
2
|
+
:host {
|
|
3
|
+
width: 100%;
|
|
4
|
+
display: block;
|
|
5
|
+
}
|
|
6
|
+
`;var g=globalThis&&globalThis.__decorate||function(t,e,o,r){var a=arguments.length,i=a<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,o):r,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,r);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(i=(a<3?l(i):a>3?l(e,o,i):l(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i};let h=class extends f{constructor(){super(),this.unsubscribe=[],this.text="",this.open=s.state.open,this.unsubscribe.push(R.subscribeKey("view",()=>{s.hide()}),T.subscribeKey("open",e=>{e||s.hide()}),s.subscribeKey("open",e=>{this.open=e}))}disconnectedCallback(){this.unsubscribe.forEach(e=>e()),s.hide()}render(){return m`
|
|
7
|
+
<div
|
|
8
|
+
@pointermove=${this.onMouseEnter.bind(this)}
|
|
9
|
+
@pointerleave=${this.onMouseLeave.bind(this)}
|
|
10
|
+
>
|
|
11
|
+
${this.renderChildren()}
|
|
12
|
+
</div>
|
|
13
|
+
`}renderChildren(){return m`<slot></slot> `}onMouseEnter(){const e=this.getBoundingClientRect();if(!this.open){const o=document.querySelector("w3m-modal"),r={width:e.width,height:e.height,left:e.left,top:e.top};if(o){const a=o.getBoundingClientRect();r.left=e.left-(window.innerWidth-a.width)/2,r.top=e.top-(window.innerHeight-a.height)/2}s.showTooltip({message:this.text,triggerRect:r,variant:"shade"})}}onMouseLeave(e){this.contains(e.relatedTarget)||s.hide()}};h.styles=[j];g([P()],h.prototype,"text",void 0);g([d()],h.prototype,"open",void 0);h=g([b("w3m-tooltip-trigger")],h);const E=C`
|
|
14
|
+
:host {
|
|
15
|
+
pointer-events: none;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
:host > wui-flex {
|
|
19
|
+
display: var(--w3m-tooltip-display);
|
|
20
|
+
opacity: var(--w3m-tooltip-opacity);
|
|
21
|
+
padding: 9px ${({spacing:t})=>t[3]} 10px ${({spacing:t})=>t[3]};
|
|
22
|
+
border-radius: ${({borderRadius:t})=>t[3]};
|
|
23
|
+
color: ${({tokens:t})=>t.theme.backgroundPrimary};
|
|
24
|
+
position: absolute;
|
|
25
|
+
top: var(--w3m-tooltip-top);
|
|
26
|
+
left: var(--w3m-tooltip-left);
|
|
27
|
+
transform: translate(calc(-50% + var(--w3m-tooltip-parent-width)), calc(-100% - 8px));
|
|
28
|
+
max-width: calc(var(--apkt-modal-width) - ${({spacing:t})=>t[5]});
|
|
29
|
+
transition: opacity ${({durations:t})=>t.lg}
|
|
30
|
+
${({easings:t})=>t["ease-out-power-2"]};
|
|
31
|
+
will-change: opacity;
|
|
32
|
+
opacity: 0;
|
|
33
|
+
animation-duration: ${({durations:t})=>t.xl};
|
|
34
|
+
animation-timing-function: ${({easings:t})=>t["ease-out-power-2"]};
|
|
35
|
+
animation-name: fade-in;
|
|
36
|
+
animation-fill-mode: forwards;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
:host([data-variant='shade']) > wui-flex {
|
|
40
|
+
background-color: ${({tokens:t})=>t.theme.foregroundPrimary};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
:host([data-variant='shade']) > wui-flex > wui-text {
|
|
44
|
+
color: ${({tokens:t})=>t.theme.textSecondary};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
:host([data-variant='fill']) > wui-flex {
|
|
48
|
+
background-color: ${({tokens:t})=>t.theme.backgroundPrimary};
|
|
49
|
+
border: 1px solid ${({tokens:t})=>t.theme.borderPrimary};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
wui-icon {
|
|
53
|
+
position: absolute;
|
|
54
|
+
width: 12px !important;
|
|
55
|
+
height: 4px !important;
|
|
56
|
+
color: ${({tokens:t})=>t.theme.foregroundPrimary};
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
wui-icon[data-placement='top'] {
|
|
60
|
+
bottom: 0px;
|
|
61
|
+
left: 50%;
|
|
62
|
+
transform: translate(-50%, 95%);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
wui-icon[data-placement='bottom'] {
|
|
66
|
+
top: 0;
|
|
67
|
+
left: 50%;
|
|
68
|
+
transform: translate(-50%, -95%) rotate(180deg);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
wui-icon[data-placement='right'] {
|
|
72
|
+
top: 50%;
|
|
73
|
+
left: 0;
|
|
74
|
+
transform: translate(-65%, -50%) rotate(90deg);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
wui-icon[data-placement='left'] {
|
|
78
|
+
top: 50%;
|
|
79
|
+
right: 0%;
|
|
80
|
+
transform: translate(65%, -50%) rotate(270deg);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
@keyframes fade-in {
|
|
84
|
+
from {
|
|
85
|
+
opacity: 0;
|
|
86
|
+
}
|
|
87
|
+
to {
|
|
88
|
+
opacity: 1;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
`;var u=globalThis&&globalThis.__decorate||function(t,e,o,r){var a=arguments.length,i=a<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,o):r,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,r);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(i=(a<3?l(i):a>3?l(e,o,i):l(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i};let p=class extends f{constructor(){super(),this.unsubscribe=[],this.open=s.state.open,this.message=s.state.message,this.triggerRect=s.state.triggerRect,this.variant=s.state.variant,this.unsubscribe.push(s.subscribe(e=>{this.open=e.open,this.message=e.message,this.triggerRect=e.triggerRect,this.variant=e.variant}))}disconnectedCallback(){this.unsubscribe.forEach(e=>e())}render(){this.dataset.variant=this.variant;const e=this.triggerRect.top,o=this.triggerRect.left;return this.style.cssText=`
|
|
92
|
+
--w3m-tooltip-top: ${e}px;
|
|
93
|
+
--w3m-tooltip-left: ${o}px;
|
|
94
|
+
--w3m-tooltip-parent-width: ${this.triggerRect.width/2}px;
|
|
95
|
+
--w3m-tooltip-display: ${this.open?"flex":"none"};
|
|
96
|
+
--w3m-tooltip-opacity: ${this.open?1:0};
|
|
97
|
+
`,m`<wui-flex>
|
|
98
|
+
<wui-icon data-placement="top" size="inherit" name="cursor"></wui-icon>
|
|
99
|
+
<wui-text color="primary" variant="sm-regular">${this.message}</wui-text>
|
|
100
|
+
</wui-flex>`}};p.styles=[E];u([d()],p.prototype,"open",void 0);u([d()],p.prototype,"message",void 0);u([d()],p.prototype,"triggerRect",void 0);u([d()],p.prototype,"variant",void 0);p=u([b("w3m-tooltip")],p);
|