@rash2x/bridge-widget 0.1.9 → 0.1.10
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/evaa-bridge.cjs +197 -287
- package/dist/evaa-bridge.cjs.map +1 -1
- package/dist/evaa-bridge.mjs +197 -288
- package/dist/evaa-bridge.mjs.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/styles.css +11 -13
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -167,7 +167,6 @@ export declare interface EvaaBridgeProps {
|
|
|
167
167
|
className?: string;
|
|
168
168
|
tonClient?: TonClient;
|
|
169
169
|
tonApiKey?: string;
|
|
170
|
-
modalContainerId?: string;
|
|
171
170
|
onInitialized?: () => void;
|
|
172
171
|
onSwapStart?: (data: SwapStartData) => void;
|
|
173
172
|
onSwapSuccess?: (data: SwapSuccessData) => void;
|
package/dist/styles.css
CHANGED
|
@@ -1,22 +1,11 @@
|
|
|
1
1
|
@import "tailwindcss";
|
|
2
|
+
@import "tw-animate-css";
|
|
2
3
|
|
|
3
4
|
@custom-variant dark (&:is([data-theme="dark"] *));
|
|
4
5
|
|
|
5
|
-
@theme {
|
|
6
|
-
--radius-6: 6px;
|
|
7
|
-
--radius-12: 12px;
|
|
8
|
-
--radius-16: 16px;
|
|
9
|
-
--radius-20: 20px;
|
|
10
|
-
--radius-26: 26px;
|
|
11
|
-
--radius-36: 36px;
|
|
12
|
-
--radius-40: 40px;
|
|
13
|
-
--text-32: 32px;
|
|
14
|
-
--blur-35: 35px;
|
|
15
|
-
--color-body: #e3e3e3;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
6
|
:root {
|
|
19
7
|
--radius: 0.625rem;
|
|
8
|
+
|
|
20
9
|
--background: #fff;
|
|
21
10
|
--foreground: #171717;
|
|
22
11
|
--card: #f2f2f2;
|
|
@@ -41,6 +30,7 @@
|
|
|
41
30
|
--input: #98aab426;
|
|
42
31
|
--ring: #5200ff;
|
|
43
32
|
|
|
33
|
+
/* Custom semantic tokens */
|
|
44
34
|
--link: #0099ff;
|
|
45
35
|
--filter: #f2f2f2;
|
|
46
36
|
--filter-foreground: #000000b2;
|
|
@@ -80,9 +70,11 @@
|
|
|
80
70
|
--another-label: #000000b2;
|
|
81
71
|
--thumb-bg: #ffffff;
|
|
82
72
|
|
|
73
|
+
/* Modal item hover states */
|
|
83
74
|
--modal-item-hover: #98aab426;
|
|
84
75
|
--modal-item-selected: #5200ff;
|
|
85
76
|
|
|
77
|
+
/* Default chart colors */
|
|
86
78
|
--chart-1: oklch(0.646 0.222 41.116);
|
|
87
79
|
--chart-2: oklch(0.6 0.118 184.704);
|
|
88
80
|
--chart-3: oklch(0.398 0.07 227.392);
|
|
@@ -98,6 +90,7 @@
|
|
|
98
90
|
--sidebar-ring: oklch(0.708 0 0);
|
|
99
91
|
}
|
|
100
92
|
|
|
93
|
+
|
|
101
94
|
@theme inline {
|
|
102
95
|
--rounded-custom: calc(value * 4);
|
|
103
96
|
--radius-sm: calc(var(--radius) - 4px);
|
|
@@ -129,6 +122,7 @@
|
|
|
129
122
|
--color-input: var(--input);
|
|
130
123
|
--color-ring: var(--ring);
|
|
131
124
|
|
|
125
|
+
/* Semantic tokens */
|
|
132
126
|
--color-link: var(--link);
|
|
133
127
|
--color-filter: var(--filter);
|
|
134
128
|
--color-filter-foreground: var(--filter-foreground);
|
|
@@ -258,4 +252,8 @@
|
|
|
258
252
|
* {
|
|
259
253
|
@apply border-border outline-ring/50;
|
|
260
254
|
}
|
|
255
|
+
|
|
256
|
+
body {
|
|
257
|
+
@apply bg-background text-foreground;
|
|
258
|
+
}
|
|
261
259
|
}
|
package/package.json
CHANGED