@funkit/connect 5.5.16 → 5.5.17
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 +7 -0
- package/dist/{chunk-R2UFCJL7.js → chunk-5XBODEZO.js} +18 -0
- package/dist/{chunk-UQVBCTN3.js → chunk-H5N35KZJ.js} +1 -1
- package/dist/{chunk-DMCSGHKQ.js → chunk-VBAZNW44.js} +1 -1
- package/dist/components/Box/Box.d.ts +23 -23
- package/dist/components/Dialog/Dialog.d.ts +1 -1
- package/dist/components/Dialog/DialogContent.css.d.ts +0 -1
- package/dist/components/FunBottomBar/FunBottomBar.d.ts +1 -1
- package/dist/components/FunButton/FunButton.d.ts +2 -1
- package/dist/css/sprinkles.css.d.ts +69 -23
- package/dist/domains/relay.d.ts +0 -5
- package/dist/index.css +2783 -2624
- package/dist/index.js +88 -103
- package/dist/providers/FunkitThemeProvider.d.ts +69 -0
- package/dist/themes/baseTheme.d.ts +3 -1
- package/dist/themes/baseTheme.js +1 -1
- package/dist/themes/darkTheme.js +2 -2
- package/dist/themes/lightTheme.js +2 -2
- package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
- package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
- package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
- package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
- package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
- package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
- package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
- package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
- package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -2
- package/dist/wallets/walletConnectors/index.js +39 -39
- package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
- package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
- package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
- package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +2 -2
- package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
- package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
- package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
- package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
- package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
- package/package.json +4 -4
|
@@ -122,6 +122,10 @@ export declare const useActiveTheme: () => {
|
|
|
122
122
|
fiatAccountGradientFrom: string;
|
|
123
123
|
fiatAccountGradientTo: string;
|
|
124
124
|
};
|
|
125
|
+
dimensions: {
|
|
126
|
+
modalBottomBarButtonHeight: string;
|
|
127
|
+
modalTopBarHeight: string;
|
|
128
|
+
};
|
|
125
129
|
fonts: {
|
|
126
130
|
body: string;
|
|
127
131
|
};
|
|
@@ -131,6 +135,7 @@ export declare const useActiveTheme: () => {
|
|
|
131
135
|
semibold: string;
|
|
132
136
|
bold: string;
|
|
133
137
|
heavy: string;
|
|
138
|
+
modalTopbarTitle: string;
|
|
134
139
|
};
|
|
135
140
|
fontSize: {
|
|
136
141
|
'10': {
|
|
@@ -173,6 +178,18 @@ export declare const useActiveTheme: () => {
|
|
|
173
178
|
fontSize: string;
|
|
174
179
|
lineHeight: string;
|
|
175
180
|
};
|
|
181
|
+
modalTopbarSubtitle: {
|
|
182
|
+
fontSize: string;
|
|
183
|
+
lineHeight: string;
|
|
184
|
+
};
|
|
185
|
+
modalTopbarTitle: {
|
|
186
|
+
fontSize: string;
|
|
187
|
+
lineHeight: string;
|
|
188
|
+
};
|
|
189
|
+
modalBottomBarButtonText: {
|
|
190
|
+
fontSize: string;
|
|
191
|
+
lineHeight: string;
|
|
192
|
+
};
|
|
176
193
|
};
|
|
177
194
|
radii: {
|
|
178
195
|
actionButton: string;
|
|
@@ -202,6 +219,12 @@ export declare const useActiveTheme: () => {
|
|
|
202
219
|
qrCode: string;
|
|
203
220
|
buttonFocusedShadow: string;
|
|
204
221
|
};
|
|
222
|
+
spacing: {
|
|
223
|
+
modalBaseHorizontalPadding: string;
|
|
224
|
+
modalBottomHorizontalPadding: string;
|
|
225
|
+
modalPaddingBottom: string;
|
|
226
|
+
modalTopBarVerticalTextSpacing: string;
|
|
227
|
+
};
|
|
205
228
|
blurs: {
|
|
206
229
|
modalOverlay: string;
|
|
207
230
|
};
|
|
@@ -311,6 +334,10 @@ export declare const useActiveTheme: () => {
|
|
|
311
334
|
fiatAccountGradientFrom: string;
|
|
312
335
|
fiatAccountGradientTo: string;
|
|
313
336
|
};
|
|
337
|
+
dimensions: {
|
|
338
|
+
modalBottomBarButtonHeight: string;
|
|
339
|
+
modalTopBarHeight: string;
|
|
340
|
+
};
|
|
314
341
|
fonts: {
|
|
315
342
|
body: string;
|
|
316
343
|
};
|
|
@@ -320,6 +347,7 @@ export declare const useActiveTheme: () => {
|
|
|
320
347
|
semibold: string;
|
|
321
348
|
bold: string;
|
|
322
349
|
heavy: string;
|
|
350
|
+
modalTopbarTitle: string;
|
|
323
351
|
};
|
|
324
352
|
fontSize: {
|
|
325
353
|
'10': {
|
|
@@ -362,6 +390,18 @@ export declare const useActiveTheme: () => {
|
|
|
362
390
|
fontSize: string;
|
|
363
391
|
lineHeight: string;
|
|
364
392
|
};
|
|
393
|
+
modalTopbarSubtitle: {
|
|
394
|
+
fontSize: string;
|
|
395
|
+
lineHeight: string;
|
|
396
|
+
};
|
|
397
|
+
modalTopbarTitle: {
|
|
398
|
+
fontSize: string;
|
|
399
|
+
lineHeight: string;
|
|
400
|
+
};
|
|
401
|
+
modalBottomBarButtonText: {
|
|
402
|
+
fontSize: string;
|
|
403
|
+
lineHeight: string;
|
|
404
|
+
};
|
|
365
405
|
};
|
|
366
406
|
radii: {
|
|
367
407
|
actionButton: string;
|
|
@@ -391,6 +431,12 @@ export declare const useActiveTheme: () => {
|
|
|
391
431
|
qrCode: string;
|
|
392
432
|
buttonFocusedShadow: string;
|
|
393
433
|
};
|
|
434
|
+
spacing: {
|
|
435
|
+
modalBaseHorizontalPadding: string;
|
|
436
|
+
modalBottomHorizontalPadding: string;
|
|
437
|
+
modalPaddingBottom: string;
|
|
438
|
+
modalTopBarVerticalTextSpacing: string;
|
|
439
|
+
};
|
|
394
440
|
blurs: {
|
|
395
441
|
modalOverlay: string;
|
|
396
442
|
};
|
|
@@ -498,6 +544,10 @@ export declare const useActiveTheme: () => {
|
|
|
498
544
|
fiatAccountGradientFrom: string;
|
|
499
545
|
fiatAccountGradientTo: string;
|
|
500
546
|
};
|
|
547
|
+
dimensions: {
|
|
548
|
+
modalBottomBarButtonHeight: string;
|
|
549
|
+
modalTopBarHeight: string;
|
|
550
|
+
};
|
|
501
551
|
fonts: {
|
|
502
552
|
body: string;
|
|
503
553
|
};
|
|
@@ -507,6 +557,7 @@ export declare const useActiveTheme: () => {
|
|
|
507
557
|
semibold: string;
|
|
508
558
|
bold: string;
|
|
509
559
|
heavy: string;
|
|
560
|
+
modalTopbarTitle: string;
|
|
510
561
|
};
|
|
511
562
|
fontSize: {
|
|
512
563
|
'10': {
|
|
@@ -549,6 +600,18 @@ export declare const useActiveTheme: () => {
|
|
|
549
600
|
fontSize: string;
|
|
550
601
|
lineHeight: string;
|
|
551
602
|
};
|
|
603
|
+
modalTopbarSubtitle: {
|
|
604
|
+
fontSize: string;
|
|
605
|
+
lineHeight: string;
|
|
606
|
+
};
|
|
607
|
+
modalTopbarTitle: {
|
|
608
|
+
fontSize: string;
|
|
609
|
+
lineHeight: string;
|
|
610
|
+
};
|
|
611
|
+
modalBottomBarButtonText: {
|
|
612
|
+
fontSize: string;
|
|
613
|
+
lineHeight: string;
|
|
614
|
+
};
|
|
552
615
|
};
|
|
553
616
|
radii: {
|
|
554
617
|
actionButton: string;
|
|
@@ -578,6 +641,12 @@ export declare const useActiveTheme: () => {
|
|
|
578
641
|
qrCode: string;
|
|
579
642
|
buttonFocusedShadow: string;
|
|
580
643
|
};
|
|
644
|
+
spacing: {
|
|
645
|
+
modalBaseHorizontalPadding: string;
|
|
646
|
+
modalBottomHorizontalPadding: string;
|
|
647
|
+
modalPaddingBottom: string;
|
|
648
|
+
modalTopBarVerticalTextSpacing: string;
|
|
649
|
+
};
|
|
581
650
|
blurs: {
|
|
582
651
|
modalOverlay: string;
|
|
583
652
|
};
|
|
@@ -15,12 +15,14 @@ interface BaseThemeOptions {
|
|
|
15
15
|
customFontFamily?: string;
|
|
16
16
|
customFontSizings?: Partial<ThemeVars['fontSize']>;
|
|
17
17
|
customBorderRadiuses?: Partial<ThemeVars['radii']>;
|
|
18
|
+
customDimensions?: Partial<ThemeVars['dimensions']>;
|
|
19
|
+
customSpacings?: Partial<ThemeVars['spacing']>;
|
|
18
20
|
fontSizing?: FontSizeType;
|
|
19
21
|
borderRadius?: RadiusScale;
|
|
20
22
|
fontStack?: FontStack;
|
|
21
23
|
overlayBlur?: Blurs;
|
|
22
24
|
}
|
|
23
|
-
export declare const baseTheme: ({ borderRadius, fontStack, fontSizing, customFontFamily, customFontWeights, customFontSizings, customBorderRadiuses, overlayBlur, }: BaseThemeOptions) => Pick<ThemeVars, "radii" | "fonts" | "fontWeight" | "fontSize" | "blurs">;
|
|
25
|
+
export declare const baseTheme: ({ borderRadius, fontStack, fontSizing, customFontFamily, customFontWeights, customFontSizings, customBorderRadiuses, customDimensions, customSpacings, overlayBlur, }: BaseThemeOptions) => Pick<ThemeVars, "radii" | "dimensions" | "fonts" | "fontWeight" | "fontSize" | "blurs" | "spacing">;
|
|
24
26
|
export interface AccentColor {
|
|
25
27
|
accentColor: string;
|
|
26
28
|
accentColorForeground: string;
|
package/dist/themes/baseTheme.js
CHANGED
package/dist/themes/darkTheme.js
CHANGED
|
@@ -7,25 +7,25 @@ import {
|
|
|
7
7
|
} from "./chunk-JROWU5BP.js";
|
|
8
8
|
import {
|
|
9
9
|
zerionWallet
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-AXWP3GD4.js";
|
|
11
11
|
import {
|
|
12
12
|
subWallet
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-AD2KIJB6.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./chunk-
|
|
15
|
+
safeheronWallet
|
|
16
|
+
} from "./chunk-R6RWZRFF.js";
|
|
17
17
|
import {
|
|
18
18
|
talismanWallet
|
|
19
19
|
} from "./chunk-ABFSXBE6.js";
|
|
20
20
|
import {
|
|
21
21
|
tokenPocketWallet
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-IDKVN5CF.js";
|
|
23
23
|
import {
|
|
24
24
|
tokenaryWallet
|
|
25
25
|
} from "./chunk-SLOIIJGP.js";
|
|
26
26
|
import {
|
|
27
27
|
trustWallet
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-ISIBREBO.js";
|
|
29
29
|
import {
|
|
30
30
|
uniswapWallet
|
|
31
31
|
} from "./chunk-LH7BMNFZ.js";
|
|
@@ -40,58 +40,58 @@ import {
|
|
|
40
40
|
} from "./chunk-BVX4XGNP.js";
|
|
41
41
|
import {
|
|
42
42
|
rainbowWallet
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-2UCNRD7H.js";
|
|
44
44
|
import {
|
|
45
45
|
ramperWallet
|
|
46
46
|
} from "./chunk-PIUNLQJG.js";
|
|
47
47
|
import {
|
|
48
48
|
roninWallet
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-63YLN6R5.js";
|
|
50
50
|
import {
|
|
51
51
|
safeWallet
|
|
52
52
|
} from "./chunk-BQQQL6UD.js";
|
|
53
53
|
import {
|
|
54
|
-
|
|
55
|
-
} from "./chunk-
|
|
54
|
+
tahoWallet
|
|
55
|
+
} from "./chunk-6P2EMPZI.js";
|
|
56
56
|
import {
|
|
57
57
|
safepalWallet
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-MSFKSQBY.js";
|
|
59
|
+
import {
|
|
60
|
+
metaMaskWallet
|
|
61
|
+
} from "./chunk-G73C6P5P.js";
|
|
59
62
|
import {
|
|
60
63
|
ledgerWallet
|
|
61
64
|
} from "./chunk-BRBKM4PW.js";
|
|
62
65
|
import {
|
|
63
|
-
|
|
64
|
-
} from "./chunk-
|
|
66
|
+
oktoWallet
|
|
67
|
+
} from "./chunk-ADIXAKUL.js";
|
|
65
68
|
import {
|
|
66
69
|
mewWallet
|
|
67
70
|
} from "./chunk-V57WLZEE.js";
|
|
68
71
|
import {
|
|
69
72
|
okxWallet
|
|
70
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-4WEHDI4Y.js";
|
|
71
74
|
import {
|
|
72
|
-
|
|
73
|
-
} from "./chunk-
|
|
75
|
+
omniWallet
|
|
76
|
+
} from "./chunk-7CUY5G6R.js";
|
|
74
77
|
import {
|
|
75
78
|
oneInchWallet
|
|
76
79
|
} from "./chunk-OESTDX6I.js";
|
|
77
|
-
import {
|
|
78
|
-
omniWallet
|
|
79
|
-
} from "./chunk-7CUY5G6R.js";
|
|
80
80
|
import {
|
|
81
81
|
oneKeyWallet
|
|
82
82
|
} from "./chunk-4AD7VI2P.js";
|
|
83
83
|
import {
|
|
84
84
|
foxWallet
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-LMZMXEXL.js";
|
|
86
86
|
import {
|
|
87
87
|
frameWallet
|
|
88
88
|
} from "./chunk-ZMYVTWDF.js";
|
|
89
89
|
import {
|
|
90
90
|
frontierWallet
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-3S2U24BJ.js";
|
|
92
92
|
import {
|
|
93
93
|
gateWallet
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-GSOYKKIS.js";
|
|
95
95
|
import {
|
|
96
96
|
imTokenWallet
|
|
97
97
|
} from "./chunk-COZ7MIQS.js";
|
|
@@ -102,23 +102,23 @@ import {
|
|
|
102
102
|
kresusWallet
|
|
103
103
|
} from "./chunk-MJXPRJZT.js";
|
|
104
104
|
import {
|
|
105
|
-
|
|
106
|
-
} from "./chunk-
|
|
105
|
+
bybitWallet
|
|
106
|
+
} from "./chunk-6ONTSPEY.js";
|
|
107
107
|
import {
|
|
108
108
|
clvWallet
|
|
109
|
-
} from "./chunk-
|
|
110
|
-
import {
|
|
111
|
-
coinbaseWallet
|
|
112
|
-
} from "./chunk-H4IRCEZN.js";
|
|
109
|
+
} from "./chunk-KR6JBW5E.js";
|
|
113
110
|
import {
|
|
114
111
|
coin98Wallet
|
|
115
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-DTRYS3MO.js";
|
|
116
113
|
import {
|
|
117
|
-
|
|
118
|
-
} from "./chunk-
|
|
114
|
+
coinbaseWallet
|
|
115
|
+
} from "./chunk-H4IRCEZN.js";
|
|
119
116
|
import {
|
|
120
117
|
dawnWallet
|
|
121
118
|
} from "./chunk-LN7OD5EC.js";
|
|
119
|
+
import {
|
|
120
|
+
coreWallet
|
|
121
|
+
} from "./chunk-HBA36GW3.js";
|
|
122
122
|
import {
|
|
123
123
|
desigWallet
|
|
124
124
|
} from "./chunk-CTU6JCOK.js";
|
|
@@ -130,24 +130,24 @@ import {
|
|
|
130
130
|
} from "./chunk-WSQ2YJO2.js";
|
|
131
131
|
import {
|
|
132
132
|
bifrostWallet
|
|
133
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-W6N74MS3.js";
|
|
134
|
+
import {
|
|
135
|
+
bitverseWallet
|
|
136
|
+
} from "./chunk-3HZRRP4Y.js";
|
|
134
137
|
import {
|
|
135
138
|
bitgetWallet
|
|
136
|
-
} from "./chunk-
|
|
139
|
+
} from "./chunk-A5APNTGL.js";
|
|
137
140
|
import {
|
|
138
141
|
bitskiWallet
|
|
139
142
|
} from "./chunk-P74YPRF6.js";
|
|
140
|
-
import {
|
|
141
|
-
bitverseWallet
|
|
142
|
-
} from "./chunk-3HZRRP4Y.js";
|
|
143
143
|
import {
|
|
144
144
|
bloomWallet
|
|
145
145
|
} from "./chunk-S27IADFU.js";
|
|
146
|
+
import "./chunk-23WIEY36.js";
|
|
146
147
|
import {
|
|
147
|
-
|
|
148
|
-
} from "./chunk-
|
|
148
|
+
braveWallet
|
|
149
|
+
} from "./chunk-PB254NQ4.js";
|
|
149
150
|
import "./chunk-WRA2DVJ7.js";
|
|
150
|
-
import "./chunk-23WIEY36.js";
|
|
151
151
|
export {
|
|
152
152
|
argentWallet,
|
|
153
153
|
bifrostWallet,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@funkit/connect",
|
|
3
|
-
"version": "5.5.
|
|
3
|
+
"version": "5.5.17",
|
|
4
4
|
"description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"wagmi": "2.x"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@aws-sdk/client-cloudfront": "3.
|
|
47
|
+
"@aws-sdk/client-cloudfront": "3.858.0",
|
|
48
48
|
"@aws-sdk/client-s3": "3.840.0",
|
|
49
49
|
"@chromatic-com/storybook": "^4.0.1",
|
|
50
50
|
"@meshconnect/node-api": "2.0.14",
|
|
@@ -88,11 +88,11 @@
|
|
|
88
88
|
"ua-parser-js": "^1.0.37",
|
|
89
89
|
"use-debounce": "^10.0.5",
|
|
90
90
|
"uuid": "^9.0.1",
|
|
91
|
-
"@funkit/chains": "0.3.3",
|
|
92
91
|
"@funkit/api-base": "1.9.8",
|
|
93
|
-
"@funkit/core": "2.3.30",
|
|
94
92
|
"@funkit/utils": "1.1.6",
|
|
93
|
+
"@funkit/chains": "0.3.3",
|
|
95
94
|
"@funkit/fun-relay": "0.1.10",
|
|
95
|
+
"@funkit/core": "2.3.30",
|
|
96
96
|
"@funkit/wagmi-tools": "3.0.52"
|
|
97
97
|
},
|
|
98
98
|
"repository": {
|