@funkit/connect 1.1.0 → 1.1.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/CHANGELOG.md +15 -0
- package/dist/{chunk-UK5FXGK3.js → chunk-FECCKVZV.js} +15 -3
- package/dist/{chunk-4SROXH24.js → chunk-RRG76BJM.js} +3 -1
- package/dist/{chunk-EYTYHIPM.js → chunk-UDJBGTFV.js} +3 -1
- package/dist/components/Box/Box.d.ts +21 -21
- package/dist/components/FunKeyValue/FunKeyValue.d.ts +2 -1
- package/dist/components/FunSelect/FunSelect.d.ts +2 -1
- package/dist/components/FunkitProvider/FunkitCheckoutContext.d.ts +2 -0
- package/dist/components/FunkitProvider/FunkitConfigContext.d.ts +19 -3
- package/dist/components/FunkitProvider/FunkitThemeProvider.d.ts +36 -0
- package/dist/components/Icons/ClockIcon.d.ts +3 -1
- package/dist/components/Icons/LightningIcon.d.ts +3 -1
- package/dist/consts/payment.d.ts +1 -1
- package/dist/css/sprinkles.css.d.ts +39 -21
- package/dist/index.css +773 -683
- package/dist/index.js +1722 -1606
- package/dist/themes/baseTheme.d.ts +2 -1
- package/dist/themes/baseTheme.js +1 -1
- package/dist/themes/darkTheme.d.ts +9 -0
- package/dist/themes/darkTheme.js +2 -2
- package/dist/themes/lightTheme.d.ts +9 -0
- package/dist/themes/lightTheme.js +2 -2
- package/dist/wallets/walletConnectors/index.js +58 -58
- package/package.json +1 -1
|
@@ -8,12 +8,13 @@ type FontStack = keyof typeof fontStacks;
|
|
|
8
8
|
type RadiusScale = 'large' | 'medium' | 'small' | 'none';
|
|
9
9
|
type Blurs = 'large' | 'small' | 'none';
|
|
10
10
|
interface BaseThemeOptions {
|
|
11
|
+
customFontWeights?: Partial<ThemeVars['fontWeight']>;
|
|
11
12
|
customFontFamily?: string;
|
|
12
13
|
borderRadius?: RadiusScale;
|
|
13
14
|
fontStack?: FontStack;
|
|
14
15
|
overlayBlur?: Blurs;
|
|
15
16
|
}
|
|
16
|
-
export declare const baseTheme: ({ borderRadius, fontStack, customFontFamily, overlayBlur, }: BaseThemeOptions) => Pick<ThemeVars, 'radii' | 'fonts' | 'blurs'>;
|
|
17
|
+
export declare const baseTheme: ({ borderRadius, fontStack, customFontFamily, customFontWeights, overlayBlur, }: BaseThemeOptions) => Pick<ThemeVars, 'radii' | 'fonts' | 'fontWeight' | 'blurs'>;
|
|
17
18
|
export interface AccentColor {
|
|
18
19
|
accentColor: string;
|
|
19
20
|
accentColorForeground: string;
|
package/dist/themes/baseTheme.js
CHANGED
|
@@ -47,6 +47,8 @@ export declare const darkTheme: {
|
|
|
47
47
|
inputFieldPrimary: string;
|
|
48
48
|
inputFieldPlaceholder: string;
|
|
49
49
|
inputFieldDisabled: string;
|
|
50
|
+
optionBackground: string;
|
|
51
|
+
optionBackgroundSecondary: string;
|
|
50
52
|
strokePrimary: string;
|
|
51
53
|
strokeSecondary: string;
|
|
52
54
|
buttonPrimary: string;
|
|
@@ -70,6 +72,13 @@ export declare const darkTheme: {
|
|
|
70
72
|
walletLogo: string;
|
|
71
73
|
};
|
|
72
74
|
moonpayTheme: string;
|
|
75
|
+
fontWeight: {
|
|
76
|
+
regular: string;
|
|
77
|
+
medium: string;
|
|
78
|
+
semibold: string;
|
|
79
|
+
bold: string;
|
|
80
|
+
heavy: string;
|
|
81
|
+
};
|
|
73
82
|
fonts: {
|
|
74
83
|
body: string;
|
|
75
84
|
};
|
package/dist/themes/darkTheme.js
CHANGED
|
@@ -47,6 +47,8 @@ export declare const lightTheme: {
|
|
|
47
47
|
inputFieldPrimary: string;
|
|
48
48
|
inputFieldPlaceholder: string;
|
|
49
49
|
inputFieldDisabled: string;
|
|
50
|
+
optionBackground: string;
|
|
51
|
+
optionBackgroundSecondary: string;
|
|
50
52
|
strokePrimary: string;
|
|
51
53
|
strokeSecondary: string;
|
|
52
54
|
buttonPrimary: string;
|
|
@@ -70,6 +72,13 @@ export declare const lightTheme: {
|
|
|
70
72
|
walletLogo: string;
|
|
71
73
|
};
|
|
72
74
|
moonpayTheme: string;
|
|
75
|
+
fontWeight: {
|
|
76
|
+
regular: string;
|
|
77
|
+
medium: string;
|
|
78
|
+
semibold: string;
|
|
79
|
+
bold: string;
|
|
80
|
+
heavy: string;
|
|
81
|
+
};
|
|
73
82
|
fonts: {
|
|
74
83
|
body: string;
|
|
75
84
|
};
|
|
@@ -1,28 +1,25 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
gateWallet
|
|
4
|
-
} from "./chunk-V45EXW7A.js";
|
|
5
2
|
import {
|
|
6
3
|
zerionWallet
|
|
7
4
|
} from "./chunk-7CQPABJG.js";
|
|
8
5
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./chunk-
|
|
6
|
+
talismanWallet
|
|
7
|
+
} from "./chunk-H273OTQA.js";
|
|
11
8
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./chunk-
|
|
9
|
+
zealWallet
|
|
10
|
+
} from "./chunk-DPXMP5KS.js";
|
|
14
11
|
import {
|
|
15
12
|
tokenPocketWallet
|
|
16
13
|
} from "./chunk-2UXZAUWT.js";
|
|
17
14
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./chunk-
|
|
15
|
+
roninWallet
|
|
16
|
+
} from "./chunk-LVRXH33E.js";
|
|
17
|
+
import {
|
|
18
|
+
safepalWallet
|
|
19
|
+
} from "./chunk-SYELB4QO.js";
|
|
20
20
|
import {
|
|
21
21
|
trustWallet
|
|
22
22
|
} from "./chunk-Z2DGDHHZ.js";
|
|
23
|
-
import {
|
|
24
|
-
tokenaryWallet
|
|
25
|
-
} from "./chunk-ENZLEAG2.js";
|
|
26
23
|
import {
|
|
27
24
|
uniswapWallet
|
|
28
25
|
} from "./chunk-XRSY4JVH.js";
|
|
@@ -30,124 +27,127 @@ import {
|
|
|
30
27
|
xdefiWallet
|
|
31
28
|
} from "./chunk-L734HTUS.js";
|
|
32
29
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./chunk-
|
|
35
|
-
import {
|
|
36
|
-
rabbyWallet
|
|
37
|
-
} from "./chunk-XPEBP6XV.js";
|
|
30
|
+
walletConnectWallet
|
|
31
|
+
} from "./chunk-ASPRR7T3.js";
|
|
38
32
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./chunk-
|
|
33
|
+
tokenaryWallet
|
|
34
|
+
} from "./chunk-ENZLEAG2.js";
|
|
41
35
|
import {
|
|
42
36
|
rainbowWallet
|
|
43
37
|
} from "./chunk-O5NKWWEG.js";
|
|
44
38
|
import {
|
|
45
|
-
|
|
46
|
-
} from "./chunk-
|
|
47
|
-
import {
|
|
48
|
-
safeWallet
|
|
49
|
-
} from "./chunk-D3DCQ72J.js";
|
|
39
|
+
metaMaskWallet
|
|
40
|
+
} from "./chunk-3WZRNEZH.js";
|
|
50
41
|
import {
|
|
51
|
-
|
|
52
|
-
} from "./chunk-
|
|
42
|
+
rabbyWallet
|
|
43
|
+
} from "./chunk-XPEBP6XV.js";
|
|
53
44
|
import {
|
|
54
45
|
safeheronWallet
|
|
55
46
|
} from "./chunk-63NPZXAL.js";
|
|
47
|
+
import {
|
|
48
|
+
safeWallet
|
|
49
|
+
} from "./chunk-D3DCQ72J.js";
|
|
56
50
|
import {
|
|
57
51
|
subWallet
|
|
58
52
|
} from "./chunk-ZBAQFL6G.js";
|
|
59
53
|
import {
|
|
60
|
-
|
|
61
|
-
} from "./chunk-
|
|
54
|
+
ramperWallet
|
|
55
|
+
} from "./chunk-ZOL6ZMTJ.js";
|
|
56
|
+
import {
|
|
57
|
+
tahoWallet
|
|
58
|
+
} from "./chunk-H76YCX2M.js";
|
|
59
|
+
import {
|
|
60
|
+
gateWallet
|
|
61
|
+
} from "./chunk-V45EXW7A.js";
|
|
62
62
|
import {
|
|
63
63
|
mewWallet
|
|
64
64
|
} from "./chunk-PWYTDYBE.js";
|
|
65
65
|
import {
|
|
66
66
|
oktoWallet
|
|
67
67
|
} from "./chunk-WKHTUEF5.js";
|
|
68
|
+
import {
|
|
69
|
+
okxWallet
|
|
70
|
+
} from "./chunk-NGXIHASN.js";
|
|
68
71
|
import {
|
|
69
72
|
omniWallet
|
|
70
73
|
} from "./chunk-SVN7OEQR.js";
|
|
71
74
|
import {
|
|
72
|
-
|
|
73
|
-
} from "./chunk-
|
|
75
|
+
phantomWallet
|
|
76
|
+
} from "./chunk-KGBLSE7L.js";
|
|
74
77
|
import {
|
|
75
78
|
oneKeyWallet
|
|
76
79
|
} from "./chunk-4WOV4ITL.js";
|
|
77
80
|
import {
|
|
78
|
-
|
|
79
|
-
} from "./chunk-
|
|
80
|
-
import {
|
|
81
|
-
phantomWallet
|
|
82
|
-
} from "./chunk-KGBLSE7L.js";
|
|
83
|
-
import {
|
|
84
|
-
enkryptWallet
|
|
85
|
-
} from "./chunk-FLY7F4XA.js";
|
|
81
|
+
oneInchWallet
|
|
82
|
+
} from "./chunk-LCPIZUR3.js";
|
|
86
83
|
import {
|
|
87
84
|
foxWallet
|
|
88
85
|
} from "./chunk-Q4RLUJJD.js";
|
|
86
|
+
import {
|
|
87
|
+
frameWallet
|
|
88
|
+
} from "./chunk-XXFJVY73.js";
|
|
89
89
|
import {
|
|
90
90
|
frontierWallet
|
|
91
91
|
} from "./chunk-AM4SSLAP.js";
|
|
92
92
|
import {
|
|
93
93
|
imTokenWallet
|
|
94
94
|
} from "./chunk-5MVV7OVS.js";
|
|
95
|
-
import {
|
|
96
|
-
injectedWallet
|
|
97
|
-
} from "./chunk-KIHCNUU3.js";
|
|
98
95
|
import {
|
|
99
96
|
kresusWallet
|
|
100
97
|
} from "./chunk-X6T3CICZ.js";
|
|
101
98
|
import {
|
|
102
99
|
ledgerWallet
|
|
103
100
|
} from "./chunk-Y6VY6E3L.js";
|
|
101
|
+
import {
|
|
102
|
+
injectedWallet
|
|
103
|
+
} from "./chunk-KIHCNUU3.js";
|
|
104
104
|
import {
|
|
105
105
|
bybitWallet
|
|
106
106
|
} from "./chunk-ZUAHWUEL.js";
|
|
107
107
|
import {
|
|
108
|
-
|
|
109
|
-
} from "./chunk-
|
|
108
|
+
bitverseWallet
|
|
109
|
+
} from "./chunk-NL4I7WOT.js";
|
|
110
110
|
import {
|
|
111
111
|
coin98Wallet
|
|
112
112
|
} from "./chunk-4FQLUQNA.js";
|
|
113
113
|
import {
|
|
114
114
|
coinbaseWallet
|
|
115
115
|
} from "./chunk-XBUTWYE4.js";
|
|
116
|
+
import {
|
|
117
|
+
desigWallet
|
|
118
|
+
} from "./chunk-P4JLZ42R.js";
|
|
119
|
+
import {
|
|
120
|
+
enkryptWallet
|
|
121
|
+
} from "./chunk-FLY7F4XA.js";
|
|
116
122
|
import {
|
|
117
123
|
coreWallet
|
|
118
124
|
} from "./chunk-JLQ5HJYV.js";
|
|
119
125
|
import {
|
|
120
126
|
dawnWallet
|
|
121
127
|
} from "./chunk-4XQDKOGF.js";
|
|
122
|
-
import {
|
|
123
|
-
desigWallet
|
|
124
|
-
} from "./chunk-P4JLZ42R.js";
|
|
125
|
-
import {
|
|
126
|
-
frameWallet
|
|
127
|
-
} from "./chunk-XXFJVY73.js";
|
|
128
|
-
import {
|
|
129
|
-
argentWallet
|
|
130
|
-
} from "./chunk-NZ5G23JP.js";
|
|
131
128
|
import {
|
|
132
129
|
bifrostWallet
|
|
133
130
|
} from "./chunk-6LTLPR2Q.js";
|
|
134
|
-
import {
|
|
135
|
-
bitgetWallet
|
|
136
|
-
} from "./chunk-ZNXQ4V6G.js";
|
|
137
131
|
import {
|
|
138
132
|
bitskiWallet
|
|
139
133
|
} from "./chunk-C67TQJ6W.js";
|
|
140
134
|
import {
|
|
141
|
-
|
|
142
|
-
} from "./chunk-
|
|
135
|
+
bitgetWallet
|
|
136
|
+
} from "./chunk-ZNXQ4V6G.js";
|
|
137
|
+
import {
|
|
138
|
+
argentWallet
|
|
139
|
+
} from "./chunk-NZ5G23JP.js";
|
|
143
140
|
import {
|
|
144
141
|
bloomWallet
|
|
145
142
|
} from "./chunk-NTGZF5BY.js";
|
|
146
143
|
import "./chunk-ZOLACFTK.js";
|
|
147
|
-
import "./chunk-ZDU3JFGR.js";
|
|
148
144
|
import {
|
|
149
145
|
braveWallet
|
|
150
146
|
} from "./chunk-ABYQAXUX.js";
|
|
147
|
+
import {
|
|
148
|
+
clvWallet
|
|
149
|
+
} from "./chunk-MIWCKFYE.js";
|
|
150
|
+
import "./chunk-ZDU3JFGR.js";
|
|
151
151
|
import "./chunk-QII6PY2D.js";
|
|
152
152
|
export {
|
|
153
153
|
argentWallet,
|