@funkit/connect 1.2.2 → 1.2.4
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 +17 -0
- package/dist/{chunk-UDJBGTFV.js → chunk-FRT63PFR.js} +5 -3
- package/dist/{chunk-FECCKVZV.js → chunk-I24HX4XM.js} +27 -0
- package/dist/{chunk-RRG76BJM.js → chunk-ICLRFHOV.js} +5 -3
- package/dist/components/Box/Box.d.ts +38 -38
- package/dist/components/Dialog/DialogContent.d.ts +1 -2
- package/dist/components/FunKeyValue/FunKeyValue.d.ts +3 -1
- package/dist/components/FunkitProvider/FunkitConfigContext.d.ts +3 -1
- package/dist/components/FunkitProvider/FunkitProvider.d.ts +2 -0
- package/dist/components/FunkitProvider/FunkitThemeProvider.d.ts +168 -8
- package/dist/css/sprinkles.css.d.ts +122 -42
- package/dist/index.css +929 -839
- package/dist/index.js +1266 -1252
- package/dist/themes/baseTheme.d.ts +3 -1
- package/dist/themes/baseTheme.js +1 -1
- package/dist/themes/darkTheme.d.ts +42 -2
- package/dist/themes/darkTheme.js +2 -2
- package/dist/themes/lightTheme.d.ts +42 -2
- package/dist/themes/lightTheme.js +2 -2
- package/dist/wallets/walletConnectors/index.js +47 -47
- package/package.json +4 -4
|
@@ -7,14 +7,16 @@ declare const fontStacks: {
|
|
|
7
7
|
type FontStack = keyof typeof fontStacks;
|
|
8
8
|
type RadiusScale = 'large' | 'medium' | 'small' | 'none';
|
|
9
9
|
type Blurs = 'large' | 'small' | 'none';
|
|
10
|
+
type FontSizeType = 'regular' | 'small';
|
|
10
11
|
interface BaseThemeOptions {
|
|
11
12
|
customFontWeights?: Partial<ThemeVars['fontWeight']>;
|
|
12
13
|
customFontFamily?: string;
|
|
14
|
+
fontSizing?: FontSizeType;
|
|
13
15
|
borderRadius?: RadiusScale;
|
|
14
16
|
fontStack?: FontStack;
|
|
15
17
|
overlayBlur?: Blurs;
|
|
16
18
|
}
|
|
17
|
-
export declare const baseTheme: ({ borderRadius, fontStack, customFontFamily, customFontWeights, overlayBlur, }: BaseThemeOptions) => Pick<ThemeVars, 'radii' | 'fonts' | 'fontWeight' | 'blurs'>;
|
|
19
|
+
export declare const baseTheme: ({ borderRadius, fontStack, fontSizing, customFontFamily, customFontWeights, overlayBlur, }: BaseThemeOptions) => Pick<ThemeVars, 'radii' | 'fonts' | 'fontWeight' | 'fontSize' | 'blurs'>;
|
|
18
20
|
export interface AccentColor {
|
|
19
21
|
accentColor: string;
|
|
20
22
|
accentColorForeground: string;
|
package/dist/themes/baseTheme.js
CHANGED
|
@@ -29,6 +29,10 @@ export declare const darkTheme: {
|
|
|
29
29
|
profileActionHover: string;
|
|
30
30
|
profileForeground: string;
|
|
31
31
|
selectedOptionBorder: string;
|
|
32
|
+
paymentOptionBorderBase: string;
|
|
33
|
+
paymentOptionBorderHover: string;
|
|
34
|
+
paymentOptionBorderActive: string;
|
|
35
|
+
paymentOptionBorderActiveHover: string;
|
|
32
36
|
standby: string;
|
|
33
37
|
solidLine: string;
|
|
34
38
|
leftTranslucentLine: string;
|
|
@@ -49,8 +53,6 @@ export declare const darkTheme: {
|
|
|
49
53
|
inputFieldDisabled: string;
|
|
50
54
|
optionBackground: string;
|
|
51
55
|
optionBackgroundSecondary: string;
|
|
52
|
-
strokePrimary: string;
|
|
53
|
-
strokeSecondary: string;
|
|
54
56
|
buttonPrimary: string;
|
|
55
57
|
buttonProcessing: string;
|
|
56
58
|
buttonDisabled: string;
|
|
@@ -72,6 +74,44 @@ export declare const darkTheme: {
|
|
|
72
74
|
walletLogo: string;
|
|
73
75
|
};
|
|
74
76
|
moonpayTheme: string;
|
|
77
|
+
fontSize: {
|
|
78
|
+
'10': {
|
|
79
|
+
fontSize: string;
|
|
80
|
+
lineHeight: string;
|
|
81
|
+
};
|
|
82
|
+
'12': {
|
|
83
|
+
fontSize: string;
|
|
84
|
+
lineHeight: string;
|
|
85
|
+
};
|
|
86
|
+
'13': {
|
|
87
|
+
fontSize: string;
|
|
88
|
+
lineHeight: string;
|
|
89
|
+
};
|
|
90
|
+
'14': {
|
|
91
|
+
fontSize: string;
|
|
92
|
+
lineHeight: string;
|
|
93
|
+
};
|
|
94
|
+
'16': {
|
|
95
|
+
fontSize: string;
|
|
96
|
+
lineHeight: string;
|
|
97
|
+
};
|
|
98
|
+
'18': {
|
|
99
|
+
fontSize: string;
|
|
100
|
+
lineHeight: string;
|
|
101
|
+
};
|
|
102
|
+
'20': {
|
|
103
|
+
fontSize: string;
|
|
104
|
+
lineHeight: string;
|
|
105
|
+
};
|
|
106
|
+
'23': {
|
|
107
|
+
fontSize: string;
|
|
108
|
+
lineHeight: string;
|
|
109
|
+
};
|
|
110
|
+
'57': {
|
|
111
|
+
fontSize: string;
|
|
112
|
+
lineHeight: string;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
75
115
|
fontWeight: {
|
|
76
116
|
regular: string;
|
|
77
117
|
medium: string;
|
package/dist/themes/darkTheme.js
CHANGED
|
@@ -29,6 +29,10 @@ export declare const lightTheme: {
|
|
|
29
29
|
profileActionHover: string;
|
|
30
30
|
profileForeground: string;
|
|
31
31
|
selectedOptionBorder: string;
|
|
32
|
+
paymentOptionBorderBase: string;
|
|
33
|
+
paymentOptionBorderHover: string;
|
|
34
|
+
paymentOptionBorderActive: string;
|
|
35
|
+
paymentOptionBorderActiveHover: string;
|
|
32
36
|
standby: string;
|
|
33
37
|
solidLine: string;
|
|
34
38
|
leftTranslucentLine: string;
|
|
@@ -49,8 +53,6 @@ export declare const lightTheme: {
|
|
|
49
53
|
inputFieldDisabled: string;
|
|
50
54
|
optionBackground: string;
|
|
51
55
|
optionBackgroundSecondary: string;
|
|
52
|
-
strokePrimary: string;
|
|
53
|
-
strokeSecondary: string;
|
|
54
56
|
buttonPrimary: string;
|
|
55
57
|
buttonProcessing: string;
|
|
56
58
|
buttonDisabled: string;
|
|
@@ -72,6 +74,44 @@ export declare const lightTheme: {
|
|
|
72
74
|
walletLogo: string;
|
|
73
75
|
};
|
|
74
76
|
moonpayTheme: string;
|
|
77
|
+
fontSize: {
|
|
78
|
+
'10': {
|
|
79
|
+
fontSize: string;
|
|
80
|
+
lineHeight: string;
|
|
81
|
+
};
|
|
82
|
+
'12': {
|
|
83
|
+
fontSize: string;
|
|
84
|
+
lineHeight: string;
|
|
85
|
+
};
|
|
86
|
+
'13': {
|
|
87
|
+
fontSize: string;
|
|
88
|
+
lineHeight: string;
|
|
89
|
+
};
|
|
90
|
+
'14': {
|
|
91
|
+
fontSize: string;
|
|
92
|
+
lineHeight: string;
|
|
93
|
+
};
|
|
94
|
+
'16': {
|
|
95
|
+
fontSize: string;
|
|
96
|
+
lineHeight: string;
|
|
97
|
+
};
|
|
98
|
+
'18': {
|
|
99
|
+
fontSize: string;
|
|
100
|
+
lineHeight: string;
|
|
101
|
+
};
|
|
102
|
+
'20': {
|
|
103
|
+
fontSize: string;
|
|
104
|
+
lineHeight: string;
|
|
105
|
+
};
|
|
106
|
+
'23': {
|
|
107
|
+
fontSize: string;
|
|
108
|
+
lineHeight: string;
|
|
109
|
+
};
|
|
110
|
+
'57': {
|
|
111
|
+
fontSize: string;
|
|
112
|
+
lineHeight: string;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
75
115
|
fontWeight: {
|
|
76
116
|
regular: string;
|
|
77
117
|
medium: string;
|
|
@@ -1,40 +1,37 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "./chunk-
|
|
3
|
+
walletConnectWallet
|
|
4
|
+
} from "./chunk-ASPRR7T3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./chunk-
|
|
6
|
+
xdefiWallet
|
|
7
|
+
} from "./chunk-JNZ3EYC7.js";
|
|
8
8
|
import {
|
|
9
9
|
zerionWallet
|
|
10
10
|
} from "./chunk-G4DNQN67.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./chunk-
|
|
12
|
+
talismanWallet
|
|
13
|
+
} from "./chunk-R2GYJ376.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./chunk-
|
|
15
|
+
subWallet
|
|
16
|
+
} from "./chunk-WS4EM7AZ.js";
|
|
17
17
|
import {
|
|
18
18
|
tahoWallet
|
|
19
19
|
} from "./chunk-PILSRRPJ.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./chunk-
|
|
21
|
+
tokenPocketWallet
|
|
22
|
+
} from "./chunk-UWU574XS.js";
|
|
23
|
+
import {
|
|
24
|
+
tokenaryWallet
|
|
25
|
+
} from "./chunk-MD5OPFAT.js";
|
|
23
26
|
import {
|
|
24
27
|
uniswapWallet
|
|
25
28
|
} from "./chunk-XRSY4JVH.js";
|
|
26
29
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import {
|
|
30
|
-
walletConnectWallet
|
|
31
|
-
} from "./chunk-ASPRR7T3.js";
|
|
32
|
-
import {
|
|
33
|
-
tokenaryWallet
|
|
34
|
-
} from "./chunk-MD5OPFAT.js";
|
|
30
|
+
trustWallet
|
|
31
|
+
} from "./chunk-BMHNXJZK.js";
|
|
35
32
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./chunk-
|
|
33
|
+
zealWallet
|
|
34
|
+
} from "./chunk-Z5QFIFDP.js";
|
|
38
35
|
import {
|
|
39
36
|
phantomWallet
|
|
40
37
|
} from "./chunk-4PTY6XNU.js";
|
|
@@ -44,27 +41,27 @@ import {
|
|
|
44
41
|
import {
|
|
45
42
|
ramperWallet
|
|
46
43
|
} from "./chunk-XEZPRJPV.js";
|
|
44
|
+
import {
|
|
45
|
+
rainbowWallet
|
|
46
|
+
} from "./chunk-EXN2ODSI.js";
|
|
47
47
|
import {
|
|
48
48
|
safeWallet
|
|
49
49
|
} from "./chunk-D3DCQ72J.js";
|
|
50
50
|
import {
|
|
51
51
|
roninWallet
|
|
52
52
|
} from "./chunk-CNTLU4ZV.js";
|
|
53
|
+
import {
|
|
54
|
+
safeheronWallet
|
|
55
|
+
} from "./chunk-FQDX6QIP.js";
|
|
53
56
|
import {
|
|
54
57
|
safepalWallet
|
|
55
58
|
} from "./chunk-PQSJXOGA.js";
|
|
56
|
-
import {
|
|
57
|
-
subWallet
|
|
58
|
-
} from "./chunk-WS4EM7AZ.js";
|
|
59
59
|
import {
|
|
60
60
|
kresusWallet
|
|
61
61
|
} from "./chunk-X6T3CICZ.js";
|
|
62
62
|
import {
|
|
63
63
|
mewWallet
|
|
64
64
|
} from "./chunk-ZCSUP7CX.js";
|
|
65
|
-
import {
|
|
66
|
-
metaMaskWallet
|
|
67
|
-
} from "./chunk-TUK3HNKY.js";
|
|
68
65
|
import {
|
|
69
66
|
oktoWallet
|
|
70
67
|
} from "./chunk-WKHTUEF5.js";
|
|
@@ -75,20 +72,23 @@ import {
|
|
|
75
72
|
omniWallet
|
|
76
73
|
} from "./chunk-SVN7OEQR.js";
|
|
77
74
|
import {
|
|
78
|
-
|
|
79
|
-
} from "./chunk-
|
|
75
|
+
metaMaskWallet
|
|
76
|
+
} from "./chunk-TUK3HNKY.js";
|
|
80
77
|
import {
|
|
81
78
|
oneInchWallet
|
|
82
79
|
} from "./chunk-LCPIZUR3.js";
|
|
80
|
+
import {
|
|
81
|
+
oneKeyWallet
|
|
82
|
+
} from "./chunk-QS2J6MWB.js";
|
|
83
|
+
import {
|
|
84
|
+
enkryptWallet
|
|
85
|
+
} from "./chunk-SJWHYD45.js";
|
|
83
86
|
import {
|
|
84
87
|
frameWallet
|
|
85
88
|
} from "./chunk-HXGBE5AH.js";
|
|
86
89
|
import {
|
|
87
90
|
frontierWallet
|
|
88
91
|
} from "./chunk-LOEDYNWO.js";
|
|
89
|
-
import {
|
|
90
|
-
bybitWallet
|
|
91
|
-
} from "./chunk-ZBQT5PV6.js";
|
|
92
92
|
import {
|
|
93
93
|
gateWallet
|
|
94
94
|
} from "./chunk-QGQISKXF.js";
|
|
@@ -102,35 +102,29 @@ import {
|
|
|
102
102
|
ledgerWallet
|
|
103
103
|
} from "./chunk-Y6VY6E3L.js";
|
|
104
104
|
import {
|
|
105
|
-
|
|
106
|
-
} from "./chunk-
|
|
105
|
+
bybitWallet
|
|
106
|
+
} from "./chunk-ZBQT5PV6.js";
|
|
107
107
|
import {
|
|
108
108
|
coinbaseWallet
|
|
109
109
|
} from "./chunk-O77H3VWW.js";
|
|
110
|
-
import {
|
|
111
|
-
coreWallet
|
|
112
|
-
} from "./chunk-32O7HVBJ.js";
|
|
113
110
|
import {
|
|
114
111
|
coin98Wallet
|
|
115
112
|
} from "./chunk-3QXMJHL4.js";
|
|
116
113
|
import {
|
|
117
|
-
|
|
118
|
-
} from "./chunk-
|
|
119
|
-
import {
|
|
120
|
-
dawnWallet
|
|
121
|
-
} from "./chunk-QUFNIKMV.js";
|
|
114
|
+
bitverseWallet
|
|
115
|
+
} from "./chunk-NL4I7WOT.js";
|
|
122
116
|
import {
|
|
123
|
-
|
|
124
|
-
} from "./chunk-
|
|
117
|
+
coreWallet
|
|
118
|
+
} from "./chunk-32O7HVBJ.js";
|
|
125
119
|
import {
|
|
126
120
|
desigWallet
|
|
127
121
|
} from "./chunk-P4C7ZHIS.js";
|
|
128
122
|
import {
|
|
129
|
-
|
|
130
|
-
} from "./chunk-
|
|
123
|
+
dawnWallet
|
|
124
|
+
} from "./chunk-QUFNIKMV.js";
|
|
131
125
|
import {
|
|
132
|
-
|
|
133
|
-
} from "./chunk-
|
|
126
|
+
foxWallet
|
|
127
|
+
} from "./chunk-TKXMLZXG.js";
|
|
134
128
|
import {
|
|
135
129
|
argentWallet
|
|
136
130
|
} from "./chunk-NZ5G23JP.js";
|
|
@@ -140,6 +134,12 @@ import {
|
|
|
140
134
|
import {
|
|
141
135
|
bloomWallet
|
|
142
136
|
} from "./chunk-NTGZF5BY.js";
|
|
137
|
+
import {
|
|
138
|
+
bitskiWallet
|
|
139
|
+
} from "./chunk-IMZRCMZR.js";
|
|
140
|
+
import {
|
|
141
|
+
bifrostWallet
|
|
142
|
+
} from "./chunk-AFONKDII.js";
|
|
143
143
|
import "./chunk-ZOLACFTK.js";
|
|
144
144
|
import {
|
|
145
145
|
braveWallet
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@funkit/connect",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.4",
|
|
4
4
|
"description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
63
|
"@datadog/browser-logs": "^5.12.0",
|
|
64
|
-
"@meshconnect/web-link-sdk": "
|
|
64
|
+
"@meshconnect/web-link-sdk": "2.1.1",
|
|
65
65
|
"@moonpay/moonpay-react": "^1.6.1",
|
|
66
66
|
"@privy-io/js-sdk-core": "^0.21.0",
|
|
67
67
|
"@tanstack/react-query": "^5.28.8",
|
|
@@ -75,9 +75,9 @@
|
|
|
75
75
|
"react-remove-scroll": "2.5.7",
|
|
76
76
|
"ua-parser-js": "^1.0.37",
|
|
77
77
|
"uuid": "^9.0.1",
|
|
78
|
-
"@funkit/
|
|
78
|
+
"@funkit/api-base": "0.0.3",
|
|
79
79
|
"@funkit/wagmi-tools": "2.0.1",
|
|
80
|
-
"@funkit/
|
|
80
|
+
"@funkit/core": "1.0.16"
|
|
81
81
|
},
|
|
82
82
|
"repository": {
|
|
83
83
|
"type": "git",
|