@talken/talkenkit 2.7.1 → 2.7.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/LICENSE +9 -0
- package/dist/chunk-PUVP4PUZ.js +85 -0
- package/dist/chunk-V22G3VGP.js +84 -0
- package/dist/components/ConfirmationModal/ConfirmationThemeContext.d.ts +12 -0
- package/dist/components/RainbowKitProvider/RainbowKitProvider.d.ts +10 -3
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1057 -987
- package/dist/themes/baseTheme.d.ts +16 -0
- package/dist/themes/darkTheme.d.ts +16 -1
- package/dist/themes/darkTheme.js +1 -1
- package/dist/themes/lightTheme.d.ts +16 -1
- package/dist/themes/lightTheme.js +1 -1
- package/dist/wallets/walletConnectors/index.js +64 -64
- package/package.json +11 -12
|
@@ -17,8 +17,24 @@ export interface AccentColor {
|
|
|
17
17
|
accentColorForeground: string;
|
|
18
18
|
}
|
|
19
19
|
export type AccentColorPreset = 'blue' | 'green' | 'red' | 'purple' | 'pink' | 'orange';
|
|
20
|
+
export interface ConfirmationThemeColors {
|
|
21
|
+
background?: string;
|
|
22
|
+
border?: string;
|
|
23
|
+
labelText?: string;
|
|
24
|
+
primaryText?: string;
|
|
25
|
+
secondaryText?: string;
|
|
26
|
+
buttonCancel?: string;
|
|
27
|
+
buttonCancelText?: string;
|
|
28
|
+
buttonConfirm?: string;
|
|
29
|
+
buttonConfirmText?: string;
|
|
30
|
+
tooltipBackground?: string;
|
|
31
|
+
tooltipText?: string;
|
|
32
|
+
systemRed?: string;
|
|
33
|
+
systemGreen?: string;
|
|
34
|
+
}
|
|
20
35
|
export interface ThemeOptions extends BaseThemeOptions {
|
|
21
36
|
accentColor?: string;
|
|
22
37
|
accentColorForeground?: string;
|
|
38
|
+
confirmation?: ConfirmationThemeColors;
|
|
23
39
|
}
|
|
24
40
|
export {};
|
|
@@ -1,6 +1,21 @@
|
|
|
1
1
|
import { type AccentColor, type AccentColorPreset, type ThemeOptions } from './baseTheme';
|
|
2
2
|
export declare const darkTheme: {
|
|
3
|
-
({ accentColor, accentColorForeground, ...baseThemeOptions }?: ThemeOptions): {
|
|
3
|
+
({ accentColor, accentColorForeground, confirmation, ...baseThemeOptions }?: ThemeOptions): {
|
|
4
|
+
confirmation: {
|
|
5
|
+
background: string;
|
|
6
|
+
border: string;
|
|
7
|
+
labelText: string;
|
|
8
|
+
primaryText: string;
|
|
9
|
+
secondaryText: string;
|
|
10
|
+
buttonCancel: string;
|
|
11
|
+
buttonCancelText: string;
|
|
12
|
+
buttonConfirm: string;
|
|
13
|
+
buttonConfirmText: string;
|
|
14
|
+
tooltipBackground: string;
|
|
15
|
+
tooltipText: string;
|
|
16
|
+
systemRed: string;
|
|
17
|
+
systemGreen: string;
|
|
18
|
+
};
|
|
4
19
|
colors: {
|
|
5
20
|
accentColor: string;
|
|
6
21
|
accentColorForeground: string;
|
package/dist/themes/darkTheme.js
CHANGED
|
@@ -1,6 +1,21 @@
|
|
|
1
1
|
import { type AccentColor, type AccentColorPreset, type ThemeOptions } from './baseTheme';
|
|
2
2
|
export declare const lightTheme: {
|
|
3
|
-
({ accentColor, accentColorForeground, ...baseThemeOptions }?: ThemeOptions): {
|
|
3
|
+
({ accentColor, accentColorForeground, confirmation, ...baseThemeOptions }?: ThemeOptions): {
|
|
4
|
+
confirmation: {
|
|
5
|
+
background: string;
|
|
6
|
+
border: string;
|
|
7
|
+
labelText: string;
|
|
8
|
+
primaryText: string;
|
|
9
|
+
secondaryText: string;
|
|
10
|
+
buttonCancel: string;
|
|
11
|
+
buttonCancelText: string;
|
|
12
|
+
buttonConfirm: string;
|
|
13
|
+
buttonConfirmText: string;
|
|
14
|
+
tooltipBackground: string;
|
|
15
|
+
tooltipText: string;
|
|
16
|
+
systemRed: string;
|
|
17
|
+
systemGreen: string;
|
|
18
|
+
};
|
|
4
19
|
colors: {
|
|
5
20
|
accentColor: string;
|
|
6
21
|
accentColorForeground: string;
|
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
abcWallet
|
|
4
4
|
} from "./chunk-SQY7HBRK.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./chunk-
|
|
6
|
+
zealWallet
|
|
7
|
+
} from "./chunk-NPZ2IXNP.js";
|
|
8
8
|
import "./chunk-IIXEHCZU.js";
|
|
9
9
|
import "./chunk-5ERWBR7D.js";
|
|
10
10
|
import "./chunk-R6ZE7JAZ.js";
|
|
@@ -18,8 +18,8 @@ import "./chunk-4P3SPC44.js";
|
|
|
18
18
|
import "./chunk-36BJXEBA.js";
|
|
19
19
|
import "./chunk-6KRX73ED.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./chunk-
|
|
21
|
+
tahoWallet
|
|
22
|
+
} from "./chunk-ETH7KTEX.js";
|
|
23
23
|
import {
|
|
24
24
|
trustWallet
|
|
25
25
|
} from "./chunk-PK5F7QCO.js";
|
|
@@ -27,38 +27,32 @@ import {
|
|
|
27
27
|
uniswapWallet
|
|
28
28
|
} from "./chunk-DLDZUVTB.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./chunk-
|
|
30
|
+
wigwamWallet
|
|
31
|
+
} from "./chunk-XHES3UIX.js";
|
|
32
32
|
import {
|
|
33
33
|
walletConnectWallet
|
|
34
34
|
} from "./chunk-KU5R3WAJ.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./chunk-
|
|
36
|
+
valoraWallet
|
|
37
|
+
} from "./chunk-CVUEWUDI.js";
|
|
38
38
|
import {
|
|
39
39
|
xdefiWallet
|
|
40
40
|
} from "./chunk-LAXV47ZW.js";
|
|
41
41
|
import {
|
|
42
|
-
|
|
43
|
-
} from "./chunk-
|
|
42
|
+
zerionWallet
|
|
43
|
+
} from "./chunk-55PYSSYF.js";
|
|
44
44
|
import {
|
|
45
|
-
|
|
46
|
-
} from "./chunk-
|
|
45
|
+
safepalWallet
|
|
46
|
+
} from "./chunk-6UT4SIPZ.js";
|
|
47
47
|
import {
|
|
48
48
|
safeheronWallet
|
|
49
49
|
} from "./chunk-GFZKT4IO.js";
|
|
50
|
-
import {
|
|
51
|
-
safepalWallet
|
|
52
|
-
} from "./chunk-6UT4SIPZ.js";
|
|
53
50
|
import {
|
|
54
51
|
seifWallet
|
|
55
52
|
} from "./chunk-4MX42IPK.js";
|
|
56
53
|
import {
|
|
57
|
-
|
|
58
|
-
} from "./chunk-
|
|
59
|
-
import {
|
|
60
|
-
tahoWallet
|
|
61
|
-
} from "./chunk-ETH7KTEX.js";
|
|
54
|
+
rainbowWallet
|
|
55
|
+
} from "./chunk-C5JYYN5C.js";
|
|
62
56
|
import {
|
|
63
57
|
talismanWallet
|
|
64
58
|
} from "./chunk-CV5HJWQX.js";
|
|
@@ -66,11 +60,11 @@ import {
|
|
|
66
60
|
tokenPocketWallet
|
|
67
61
|
} from "./chunk-D24ZTR45.js";
|
|
68
62
|
import {
|
|
69
|
-
|
|
70
|
-
} from "./chunk-
|
|
63
|
+
subWallet
|
|
64
|
+
} from "./chunk-AM4YPUW3.js";
|
|
71
65
|
import {
|
|
72
|
-
|
|
73
|
-
} from "./chunk-
|
|
66
|
+
tokenaryWallet
|
|
67
|
+
} from "./chunk-AGYNSAGV.js";
|
|
74
68
|
import {
|
|
75
69
|
paraSwapWallet
|
|
76
70
|
} from "./chunk-FF7ZXD5C.js";
|
|
@@ -81,71 +75,77 @@ import {
|
|
|
81
75
|
rabbyWallet
|
|
82
76
|
} from "./chunk-I232AKC4.js";
|
|
83
77
|
import {
|
|
84
|
-
|
|
85
|
-
} from "./chunk-
|
|
78
|
+
oneKeyWallet
|
|
79
|
+
} from "./chunk-WQX4JNSR.js";
|
|
86
80
|
import {
|
|
87
81
|
ramperWallet
|
|
88
82
|
} from "./chunk-VAAADMXX.js";
|
|
83
|
+
import {
|
|
84
|
+
omniWallet
|
|
85
|
+
} from "./chunk-RGPO7AY3.js";
|
|
86
|
+
import {
|
|
87
|
+
safeWallet
|
|
88
|
+
} from "./chunk-Z2QCE6O6.js";
|
|
89
89
|
import {
|
|
90
90
|
roninWallet
|
|
91
91
|
} from "./chunk-TP7VE6CR.js";
|
|
92
|
-
import {
|
|
93
|
-
ledgerWallet
|
|
94
|
-
} from "./chunk-BF3VSNPL.js";
|
|
95
92
|
import {
|
|
96
93
|
metaMaskWallet
|
|
97
94
|
} from "./chunk-YYWOGELV.js";
|
|
98
|
-
import {
|
|
99
|
-
magicEdenWallet
|
|
100
|
-
} from "./chunk-6MKGDGZC.js";
|
|
101
95
|
import {
|
|
102
96
|
mewWallet
|
|
103
97
|
} from "./chunk-T4UIU4M2.js";
|
|
98
|
+
import {
|
|
99
|
+
krakenWallet
|
|
100
|
+
} from "./chunk-CYOZFCR6.js";
|
|
104
101
|
import {
|
|
105
102
|
nestWallet
|
|
106
103
|
} from "./chunk-V4DYVGON.js";
|
|
107
104
|
import {
|
|
108
|
-
|
|
109
|
-
} from "./chunk-
|
|
105
|
+
magicEdenWallet
|
|
106
|
+
} from "./chunk-6MKGDGZC.js";
|
|
110
107
|
import {
|
|
111
108
|
okxWallet
|
|
112
109
|
} from "./chunk-N4US77B2.js";
|
|
113
110
|
import {
|
|
114
|
-
|
|
115
|
-
} from "./chunk-
|
|
116
|
-
import {
|
|
117
|
-
imTokenWallet
|
|
118
|
-
} from "./chunk-EHE2536P.js";
|
|
111
|
+
oktoWallet
|
|
112
|
+
} from "./chunk-7SSXG35M.js";
|
|
119
113
|
import {
|
|
120
|
-
|
|
121
|
-
} from "./chunk-
|
|
114
|
+
oneInchWallet
|
|
115
|
+
} from "./chunk-OJT577AY.js";
|
|
122
116
|
import {
|
|
123
117
|
iopayWallet
|
|
124
118
|
} from "./chunk-4KTCNBEZ.js";
|
|
125
119
|
import {
|
|
126
|
-
|
|
127
|
-
} from "./chunk-
|
|
120
|
+
injectedWallet
|
|
121
|
+
} from "./chunk-DWN4FQRW.js";
|
|
128
122
|
import {
|
|
129
123
|
kaikasWallet
|
|
130
124
|
} from "./chunk-PWGB7WJS.js";
|
|
125
|
+
import {
|
|
126
|
+
imTokenWallet
|
|
127
|
+
} from "./chunk-EHE2536P.js";
|
|
128
|
+
import {
|
|
129
|
+
kaiaWallet
|
|
130
|
+
} from "./chunk-X3BXCZPF.js";
|
|
131
131
|
import {
|
|
132
132
|
klipWallet
|
|
133
133
|
} from "./chunk-WDL3NM5W.js";
|
|
134
|
-
import {
|
|
135
|
-
krakenWallet
|
|
136
|
-
} from "./chunk-CYOZFCR6.js";
|
|
137
134
|
import {
|
|
138
135
|
kresusWallet
|
|
139
136
|
} from "./chunk-CM3VR7OM.js";
|
|
140
137
|
import {
|
|
141
|
-
|
|
142
|
-
} from "./chunk-
|
|
143
|
-
import {
|
|
144
|
-
desigWallet
|
|
145
|
-
} from "./chunk-5DEGWPQO.js";
|
|
138
|
+
ledgerWallet
|
|
139
|
+
} from "./chunk-BF3VSNPL.js";
|
|
146
140
|
import {
|
|
147
141
|
compassWallet
|
|
148
142
|
} from "./chunk-DK4AJRIP.js";
|
|
143
|
+
import {
|
|
144
|
+
dawnWallet
|
|
145
|
+
} from "./chunk-GYKXFIR2.js";
|
|
146
|
+
import {
|
|
147
|
+
desigWallet
|
|
148
|
+
} from "./chunk-5DEGWPQO.js";
|
|
149
149
|
import {
|
|
150
150
|
enkryptWallet
|
|
151
151
|
} from "./chunk-UHVWJDT6.js";
|
|
@@ -164,42 +164,42 @@ import {
|
|
|
164
164
|
import {
|
|
165
165
|
bitverseWallet
|
|
166
166
|
} from "./chunk-6HCSSBZY.js";
|
|
167
|
-
import {
|
|
168
|
-
bloomWallet
|
|
169
|
-
} from "./chunk-3KPCADAF.js";
|
|
170
167
|
import {
|
|
171
168
|
braveWallet
|
|
172
169
|
} from "./chunk-7AOQK5GH.js";
|
|
173
170
|
import {
|
|
174
171
|
bybitWallet
|
|
175
172
|
} from "./chunk-2AJYFWBT.js";
|
|
173
|
+
import {
|
|
174
|
+
bloomWallet
|
|
175
|
+
} from "./chunk-3KPCADAF.js";
|
|
176
176
|
import {
|
|
177
177
|
clvWallet
|
|
178
178
|
} from "./chunk-QHXBBEB2.js";
|
|
179
|
-
import {
|
|
180
|
-
coin98Wallet
|
|
181
|
-
} from "./chunk-RN23EOYO.js";
|
|
182
179
|
import {
|
|
183
180
|
coinbaseWallet
|
|
184
181
|
} from "./chunk-PNEDRY6O.js";
|
|
185
182
|
import {
|
|
186
|
-
|
|
187
|
-
} from "./chunk-
|
|
183
|
+
coin98Wallet
|
|
184
|
+
} from "./chunk-RN23EOYO.js";
|
|
185
|
+
import {
|
|
186
|
+
coreWallet
|
|
187
|
+
} from "./chunk-EV4S6LIH.js";
|
|
188
188
|
import {
|
|
189
189
|
argentWallet
|
|
190
190
|
} from "./chunk-XT2WYPN5.js";
|
|
191
|
-
import {
|
|
192
|
-
bifrostWallet
|
|
193
|
-
} from "./chunk-KOZORVBW.js";
|
|
194
191
|
import {
|
|
195
192
|
bestWallet
|
|
196
193
|
} from "./chunk-OPAPBEA5.js";
|
|
197
194
|
import {
|
|
198
|
-
|
|
199
|
-
} from "./chunk-
|
|
195
|
+
bifrostWallet
|
|
196
|
+
} from "./chunk-KOZORVBW.js";
|
|
200
197
|
import {
|
|
201
198
|
binanceWallet
|
|
202
199
|
} from "./chunk-LGGIEH7O.js";
|
|
200
|
+
import {
|
|
201
|
+
berasigWallet
|
|
202
|
+
} from "./chunk-6WB5NVHI.js";
|
|
203
203
|
import {
|
|
204
204
|
bitgetWallet
|
|
205
205
|
} from "./chunk-DKEP5NZT.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@talken/talkenkit",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.3",
|
|
4
4
|
"description": "The best way to connect a wallet 🌈 🧰",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -22,16 +22,6 @@
|
|
|
22
22
|
"engines": {
|
|
23
23
|
"node": ">=12.4"
|
|
24
24
|
},
|
|
25
|
-
"scripts": {
|
|
26
|
-
"build": "node build.js",
|
|
27
|
-
"build:watch": "node build.js --watch",
|
|
28
|
-
"dev": "pnpm build:watch & pnpm typegen:watch",
|
|
29
|
-
"prepare": "MINIFY_CSS=true pnpm build",
|
|
30
|
-
"prebuild": "pnpm typegen",
|
|
31
|
-
"typecheck": "pnpm tsc --noEmit",
|
|
32
|
-
"typegen": "tsc --emitDeclarationOnly || true",
|
|
33
|
-
"typegen:watch": "tsc --emitDeclarationOnly --watch"
|
|
34
|
-
},
|
|
35
25
|
"keywords": [
|
|
36
26
|
"ens",
|
|
37
27
|
"ethereum",
|
|
@@ -96,5 +86,14 @@
|
|
|
96
86
|
"type": "git",
|
|
97
87
|
"url": "git+https://github.com/talken-io/talken-kit.git",
|
|
98
88
|
"directory": "packages/talkenkit"
|
|
89
|
+
},
|
|
90
|
+
"scripts": {
|
|
91
|
+
"build": "node build.js",
|
|
92
|
+
"build:watch": "node build.js --watch",
|
|
93
|
+
"dev": "pnpm build:watch & pnpm typegen:watch",
|
|
94
|
+
"prebuild": "pnpm typegen",
|
|
95
|
+
"typecheck": "pnpm tsc --noEmit",
|
|
96
|
+
"typegen": "tsc --emitDeclarationOnly || true",
|
|
97
|
+
"typegen:watch": "tsc --emitDeclarationOnly --watch"
|
|
99
98
|
}
|
|
100
|
-
}
|
|
99
|
+
}
|