@talken/talkenkit 2.7.1 → 2.7.2
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 +1056 -968
- 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 +26 -26
- 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;
|
|
@@ -20,15 +20,15 @@ import "./chunk-6KRX73ED.js";
|
|
|
20
20
|
import {
|
|
21
21
|
tokenaryWallet
|
|
22
22
|
} from "./chunk-AGYNSAGV.js";
|
|
23
|
-
import {
|
|
24
|
-
trustWallet
|
|
25
|
-
} from "./chunk-PK5F7QCO.js";
|
|
26
23
|
import {
|
|
27
24
|
uniswapWallet
|
|
28
25
|
} from "./chunk-DLDZUVTB.js";
|
|
29
26
|
import {
|
|
30
27
|
valoraWallet
|
|
31
28
|
} from "./chunk-CVUEWUDI.js";
|
|
29
|
+
import {
|
|
30
|
+
trustWallet
|
|
31
|
+
} from "./chunk-PK5F7QCO.js";
|
|
32
32
|
import {
|
|
33
33
|
walletConnectWallet
|
|
34
34
|
} from "./chunk-KU5R3WAJ.js";
|
|
@@ -77,12 +77,12 @@ import {
|
|
|
77
77
|
import {
|
|
78
78
|
phantomWallet
|
|
79
79
|
} from "./chunk-M3L6IDTW.js";
|
|
80
|
-
import {
|
|
81
|
-
rabbyWallet
|
|
82
|
-
} from "./chunk-I232AKC4.js";
|
|
83
80
|
import {
|
|
84
81
|
rainbowWallet
|
|
85
82
|
} from "./chunk-C5JYYN5C.js";
|
|
83
|
+
import {
|
|
84
|
+
rabbyWallet
|
|
85
|
+
} from "./chunk-I232AKC4.js";
|
|
86
86
|
import {
|
|
87
87
|
ramperWallet
|
|
88
88
|
} from "./chunk-VAAADMXX.js";
|
|
@@ -92,12 +92,12 @@ import {
|
|
|
92
92
|
import {
|
|
93
93
|
ledgerWallet
|
|
94
94
|
} from "./chunk-BF3VSNPL.js";
|
|
95
|
-
import {
|
|
96
|
-
metaMaskWallet
|
|
97
|
-
} from "./chunk-YYWOGELV.js";
|
|
98
95
|
import {
|
|
99
96
|
magicEdenWallet
|
|
100
97
|
} from "./chunk-6MKGDGZC.js";
|
|
98
|
+
import {
|
|
99
|
+
metaMaskWallet
|
|
100
|
+
} from "./chunk-YYWOGELV.js";
|
|
101
101
|
import {
|
|
102
102
|
mewWallet
|
|
103
103
|
} from "./chunk-T4UIU4M2.js";
|
|
@@ -119,15 +119,15 @@ import {
|
|
|
119
119
|
import {
|
|
120
120
|
injectedWallet
|
|
121
121
|
} from "./chunk-DWN4FQRW.js";
|
|
122
|
-
import {
|
|
123
|
-
iopayWallet
|
|
124
|
-
} from "./chunk-4KTCNBEZ.js";
|
|
125
122
|
import {
|
|
126
123
|
kaiaWallet
|
|
127
124
|
} from "./chunk-X3BXCZPF.js";
|
|
128
125
|
import {
|
|
129
126
|
kaikasWallet
|
|
130
127
|
} from "./chunk-PWGB7WJS.js";
|
|
128
|
+
import {
|
|
129
|
+
iopayWallet
|
|
130
|
+
} from "./chunk-4KTCNBEZ.js";
|
|
131
131
|
import {
|
|
132
132
|
klipWallet
|
|
133
133
|
} from "./chunk-WDL3NM5W.js";
|
|
@@ -140,12 +140,12 @@ import {
|
|
|
140
140
|
import {
|
|
141
141
|
coreWallet
|
|
142
142
|
} from "./chunk-EV4S6LIH.js";
|
|
143
|
+
import {
|
|
144
|
+
dawnWallet
|
|
145
|
+
} from "./chunk-GYKXFIR2.js";
|
|
143
146
|
import {
|
|
144
147
|
desigWallet
|
|
145
148
|
} from "./chunk-5DEGWPQO.js";
|
|
146
|
-
import {
|
|
147
|
-
compassWallet
|
|
148
|
-
} from "./chunk-DK4AJRIP.js";
|
|
149
149
|
import {
|
|
150
150
|
enkryptWallet
|
|
151
151
|
} from "./chunk-UHVWJDT6.js";
|
|
@@ -161,18 +161,18 @@ import {
|
|
|
161
161
|
import {
|
|
162
162
|
gateWallet
|
|
163
163
|
} from "./chunk-S25DFPKE.js";
|
|
164
|
-
import {
|
|
165
|
-
bitverseWallet
|
|
166
|
-
} from "./chunk-6HCSSBZY.js";
|
|
167
164
|
import {
|
|
168
165
|
bloomWallet
|
|
169
166
|
} from "./chunk-3KPCADAF.js";
|
|
170
167
|
import {
|
|
171
|
-
|
|
172
|
-
} from "./chunk-
|
|
168
|
+
bitverseWallet
|
|
169
|
+
} from "./chunk-6HCSSBZY.js";
|
|
173
170
|
import {
|
|
174
171
|
bybitWallet
|
|
175
172
|
} from "./chunk-2AJYFWBT.js";
|
|
173
|
+
import {
|
|
174
|
+
braveWallet
|
|
175
|
+
} from "./chunk-7AOQK5GH.js";
|
|
176
176
|
import {
|
|
177
177
|
clvWallet
|
|
178
178
|
} from "./chunk-QHXBBEB2.js";
|
|
@@ -183,20 +183,20 @@ import {
|
|
|
183
183
|
coinbaseWallet
|
|
184
184
|
} from "./chunk-PNEDRY6O.js";
|
|
185
185
|
import {
|
|
186
|
-
|
|
187
|
-
} from "./chunk-
|
|
186
|
+
compassWallet
|
|
187
|
+
} from "./chunk-DK4AJRIP.js";
|
|
188
188
|
import {
|
|
189
189
|
argentWallet
|
|
190
190
|
} from "./chunk-XT2WYPN5.js";
|
|
191
191
|
import {
|
|
192
|
-
|
|
193
|
-
} from "./chunk-
|
|
192
|
+
berasigWallet
|
|
193
|
+
} from "./chunk-6WB5NVHI.js";
|
|
194
194
|
import {
|
|
195
195
|
bestWallet
|
|
196
196
|
} from "./chunk-OPAPBEA5.js";
|
|
197
197
|
import {
|
|
198
|
-
|
|
199
|
-
} from "./chunk-
|
|
198
|
+
bifrostWallet
|
|
199
|
+
} from "./chunk-KOZORVBW.js";
|
|
200
200
|
import {
|
|
201
201
|
binanceWallet
|
|
202
202
|
} from "./chunk-LGGIEH7O.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@talken/talkenkit",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.2",
|
|
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
|
+
}
|