one-ewallet-otc-ui 0.0.1

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/style.css ADDED
@@ -0,0 +1 @@
1
+ .loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px}.loading-container .loading-text{font-size:14px;color:#666;font-weight:500;animation:textPulse 2s ease-in-out infinite}.loading-small{transform:scale(.6)}.loading-medium{transform:scale(1)}.loading-large{transform:scale(1.4)}.loading-spinner{position:relative;width:60px;height:60px}.loading-spinner .spinner-ring{position:absolute;width:100%;height:100%;border:3px solid transparent;border-top:3px solid #fbbb04;border-radius:50%;animation:spin 1.2s linear infinite}.loading-spinner .spinner-ring:nth-child(1){animation-delay:0s;border-top-color:#ea4334}.loading-spinner .spinner-ring:nth-child(2){animation-delay:.4s;border-top-color:#35a853}.loading-spinner .spinner-ring:nth-child(3){animation-delay:.8s;border-top-color:#4185f4}.loading-pulse{display:flex;gap:8px}.loading-pulse .pulse-circle{width:12px;height:12px;border-radius:50%;background:linear-gradient(45deg,#007bff,#00d4ff);animation:pulse 1.4s ease-in-out infinite both}.loading-pulse .pulse-circle:nth-child(1){animation-delay:0s}.loading-pulse .pulse-circle:nth-child(2){animation-delay:.2s}.loading-pulse .pulse-circle:nth-child(3){animation-delay:.4s}.loading-wave{display:flex;gap:4px;align-items:flex-end;height:40px}.loading-wave .wave-bar{width:6px;background:linear-gradient(180deg,#007bff,#00d4ff);border-radius:3px;animation:wave 1.2s ease-in-out infinite}.loading-wave .wave-bar:nth-child(1){animation-delay:0s;height:20px}.loading-wave .wave-bar:nth-child(2){animation-delay:.1s;height:30px}.loading-wave .wave-bar:nth-child(3){animation-delay:.2s;height:40px}.loading-wave .wave-bar:nth-child(4){animation-delay:.3s;height:30px}.loading-wave .wave-bar:nth-child(5){animation-delay:.4s;height:20px}.loading-dots{display:flex;gap:6px}.loading-dots .dot{width:10px;height:10px;border-radius:50%;background:linear-gradient(45deg,#007bff,#00d4ff);animation:dots 1.4s ease-in-out infinite both}.loading-dots .dot:nth-child(1){animation-delay:0s}.loading-dots .dot:nth-child(2){animation-delay:.2s}.loading-dots .dot:nth-child(3){animation-delay:.4s}.loading-ripple{position:relative;width:60px;height:60px}.loading-ripple .ripple-circle{position:absolute;width:100%;height:100%;border:2px solid #007bff;border-radius:50%;animation:ripple 2s ease-out infinite}.loading-ripple .ripple-circle:nth-child(1){animation-delay:0s}.loading-ripple .ripple-circle:nth-child(2){animation-delay:.5s}.loading-ripple .ripple-circle:nth-child(3){animation-delay:1s}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes pulse{0%,80%,to{transform:scale(.8);opacity:.5}40%{transform:scale(1);opacity:1}}@keyframes wave{0%,40%,to{transform:scaleY(.4)}20%{transform:scaleY(1)}}@keyframes dots{0%,80%,to{transform:scale(0);opacity:.5}40%{transform:scale(1);opacity:1}}@keyframes ripple{0%{transform:scale(0);opacity:1}to{transform:scale(1);opacity:0}}@keyframes textPulse{0%,to{opacity:.6}50%{opacity:1}}@media (prefers-color-scheme: dark){.loading-container .loading-text{color:#999}.loading-pulse .pulse-circle,.loading-dots .dot{background:linear-gradient(45deg,#4dabf7,#74c0fc)}.loading-wave .wave-bar{background:linear-gradient(180deg,#4dabf7,#74c0fc)}.loading-ripple .ripple-circle{border-color:#4dabf7}}@media (max-width: 768px){.loading-container{gap:12px}.loading-container .loading-text{font-size:12px}.loading-medium{transform:scale(.9)}.loading-large{transform:scale(1.2)}}.ant-modal{background:#16171a!important;border-radius:12px!important}.ant-modal-content{background:#16171a!important}.anticon,.ant-select-selector{color:#fff!important}.otc-modal .token-select-box{border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:10px 12px;background:#16171a33}.otc-modal .custom-select{width:100%}.otc-modal .custom-select .ant-select-selector{background:transparent!important;border:none!important;box-shadow:none!important;padding-left:0!important}.otc-modal .underline{text-decoration:underline}.otc-modal .cor{color:#5ec1ff}.withdraw-page .input.ant-input,.otc-modal .input.ant-input{height:48px;border-radius:8px;background:#16171a33;border:1px solid #2a2f36;color:#cbd5e1;placeholder:#94a3b8}.withdraw-page .input.ant-input::placeholder,.otc-modal .input.ant-input::placeholder{color:#94a3b8}.ant-btn:disabled{background:#ffffff80!important;border:none!important;color:#fff;cursor:not-allowed}.ant-btn:disabled:hover{background:#ffffff4d;border:none;color:#fff}.pointer{cursor:pointer}.fwb{font-weight:700}.ta{text-align:center}.tr{text-align:right}.cf{color:#e2e8f0}.cf06{color:#94a3b8}.w100,.w-100{width:100%}.m-w-60{max-width:60px}.h-48{height:48px}.m-h-36{min-height:36px}.fz-12{font-size:12px}.fz-14{font-size:14px}.fz-16{font-size:16px}.fz-18{font-size:18px}.fz-24{font-size:24px}.m-b-6{margin-bottom:6px}.m-b-8{margin-bottom:8px}.m-b-12{margin-bottom:12px}.m-b-16{margin-bottom:16px}.m-t-4{margin-top:4px}.m-t-6{margin-top:6px}.m-t-8{margin-top:8px}.m-t-10{margin-top:10px}.m-t-12{margin-top:12px}.m-t-16{margin-top:16px}.p-12{padding:12px}.p-t-40{padding-top:40px}.gap-4{gap:4px}.gap-8{gap:8px}.gap-12{gap:12px}.flex{display:flex}.flex-middle{justify-content:center}.flex-center{align-items:center}.flex-between{justify-content:space-between}.flex-column{flex-direction:column}
package/dist/vite.svg ADDED
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
package/package.json ADDED
@@ -0,0 +1,45 @@
1
+ {
2
+ "name": "one-ewallet-otc-ui",
3
+ "version": "0.0.1",
4
+ "type": "module",
5
+ "files": [
6
+ "dist"
7
+ ],
8
+ "main": "./dist/index.umd.js",
9
+ "module": "./dist/index.es.js",
10
+ "types": "./dist/types/components/index.d.ts",
11
+ "exports": {
12
+ ".": {
13
+ "import": "./dist/index.es.js",
14
+ "require": "./dist/index.umd.js",
15
+ "types": "./dist/types/components/index.d.ts"
16
+ }
17
+ },
18
+ "scripts": {
19
+ "dev": "vite",
20
+ "build": "tsc && vite build",
21
+ "preview": "vite preview"
22
+ },
23
+ "peerDependencies": {
24
+ "react": "^18.2.0",
25
+ "react-dom": "^18.2.0"
26
+ },
27
+ "devDependencies": {
28
+ "@types/react": "^18.2.0",
29
+ "@types/react-dom": "^18.2.0",
30
+ "@vitejs/plugin-react": "^4.0.0",
31
+ "react": "^18.2.0",
32
+ "react-dom": "^18.2.0",
33
+ "typescript": "^5.0.0",
34
+ "vite": "^5.0.0"
35
+ },
36
+ "dependencies": {
37
+ "@onelabs/dapp-kit": "^0.15.5",
38
+ "@tanstack/react-query": "^5.83.0",
39
+ "antd": "^5.12.5",
40
+ "axios": "^1.13.2",
41
+ "bignumber.js": "^9.3.1",
42
+ "qr-code-styling": "^1.9.2",
43
+ "sass": "^1.69.5"
44
+ }
45
+ }