@funkit/connect 1.1.0 → 1.1.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.
Files changed (29) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/{chunk-UK5FXGK3.js → chunk-FECCKVZV.js} +15 -3
  3. package/dist/{chunk-4SROXH24.js → chunk-RRG76BJM.js} +3 -1
  4. package/dist/{chunk-EYTYHIPM.js → chunk-UDJBGTFV.js} +3 -1
  5. package/dist/components/Box/Box.d.ts +22 -22
  6. package/dist/components/ConnectButton/formatAccountName.d.ts +14 -0
  7. package/dist/components/FunKeyValue/FunKeyValue.d.ts +2 -1
  8. package/dist/components/FunSelect/FunSelect.d.ts +2 -1
  9. package/dist/components/FunTransactionSummary/FunTransactionSummary.d.ts +3 -14
  10. package/dist/components/FunTransactionSummary/FunTxSummaryComponents.d.ts +11 -1
  11. package/dist/components/FunkitProvider/FunkitCheckoutContext.d.ts +2 -0
  12. package/dist/components/FunkitProvider/FunkitConfigContext.d.ts +19 -3
  13. package/dist/components/FunkitProvider/FunkitThemeProvider.d.ts +36 -0
  14. package/dist/components/Icons/ClockIcon.d.ts +3 -1
  15. package/dist/components/Icons/FunArrows.d.ts +0 -2
  16. package/dist/components/Icons/LightningIcon.d.ts +3 -1
  17. package/dist/consts/funkit.d.ts +1 -0
  18. package/dist/consts/payment.d.ts +1 -1
  19. package/dist/css/sprinkles.css.d.ts +41 -23
  20. package/dist/index.css +1395 -1302
  21. package/dist/index.js +2474 -2239
  22. package/dist/themes/baseTheme.d.ts +2 -1
  23. package/dist/themes/baseTheme.js +1 -1
  24. package/dist/themes/darkTheme.d.ts +9 -0
  25. package/dist/themes/darkTheme.js +2 -2
  26. package/dist/themes/lightTheme.d.ts +9 -0
  27. package/dist/themes/lightTheme.js +2 -2
  28. package/dist/wallets/walletConnectors/index.js +36 -36
  29. 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;
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  baseTheme
4
- } from "../chunk-UK5FXGK3.js";
4
+ } from "../chunk-FECCKVZV.js";
5
5
  export {
6
6
  baseTheme
7
7
  };
@@ -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
  };
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import {
3
3
  darkTheme
4
- } from "../chunk-4SROXH24.js";
5
- import "../chunk-UK5FXGK3.js";
4
+ } from "../chunk-RRG76BJM.js";
5
+ import "../chunk-FECCKVZV.js";
6
6
  export {
7
7
  darkTheme
8
8
  };
@@ -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,8 +1,8 @@
1
1
  "use client";
2
2
  import {
3
3
  lightTheme
4
- } from "../chunk-EYTYHIPM.js";
5
- import "../chunk-UK5FXGK3.js";
4
+ } from "../chunk-UDJBGTFV.js";
5
+ import "../chunk-FECCKVZV.js";
6
6
  export {
7
7
  lightTheme
8
8
  };
@@ -1,61 +1,64 @@
1
1
  "use client";
2
2
  import {
3
- gateWallet
4
- } from "./chunk-V45EXW7A.js";
3
+ zealWallet
4
+ } from "./chunk-DPXMP5KS.js";
5
5
  import {
6
6
  zerionWallet
7
7
  } from "./chunk-7CQPABJG.js";
8
8
  import {
9
- walletConnectWallet
10
- } from "./chunk-ASPRR7T3.js";
9
+ xdefiWallet
10
+ } from "./chunk-L734HTUS.js";
11
+ import {
12
+ subWallet
13
+ } from "./chunk-ZBAQFL6G.js";
11
14
  import {
12
15
  tahoWallet
13
16
  } from "./chunk-H76YCX2M.js";
14
17
  import {
15
18
  tokenPocketWallet
16
19
  } from "./chunk-2UXZAUWT.js";
20
+ import {
21
+ tokenaryWallet
22
+ } from "./chunk-ENZLEAG2.js";
17
23
  import {
18
24
  talismanWallet
19
25
  } from "./chunk-H273OTQA.js";
20
26
  import {
21
27
  trustWallet
22
28
  } from "./chunk-Z2DGDHHZ.js";
23
- import {
24
- tokenaryWallet
25
- } from "./chunk-ENZLEAG2.js";
26
29
  import {
27
30
  uniswapWallet
28
31
  } from "./chunk-XRSY4JVH.js";
29
32
  import {
30
- xdefiWallet
31
- } from "./chunk-L734HTUS.js";
33
+ walletConnectWallet
34
+ } from "./chunk-ASPRR7T3.js";
32
35
  import {
33
- zealWallet
34
- } from "./chunk-DPXMP5KS.js";
36
+ phantomWallet
37
+ } from "./chunk-KGBLSE7L.js";
35
38
  import {
36
39
  rabbyWallet
37
40
  } from "./chunk-XPEBP6XV.js";
38
- import {
39
- ramperWallet
40
- } from "./chunk-ZOL6ZMTJ.js";
41
41
  import {
42
42
  rainbowWallet
43
43
  } from "./chunk-O5NKWWEG.js";
44
+ import {
45
+ ramperWallet
46
+ } from "./chunk-ZOL6ZMTJ.js";
44
47
  import {
45
48
  roninWallet
46
49
  } from "./chunk-LVRXH33E.js";
47
50
  import {
48
51
  safeWallet
49
52
  } from "./chunk-D3DCQ72J.js";
50
- import {
51
- safepalWallet
52
- } from "./chunk-SYELB4QO.js";
53
53
  import {
54
54
  safeheronWallet
55
55
  } from "./chunk-63NPZXAL.js";
56
56
  import {
57
- subWallet
58
- } from "./chunk-ZBAQFL6G.js";
57
+ safepalWallet
58
+ } from "./chunk-SYELB4QO.js";
59
+ import {
60
+ ledgerWallet
61
+ } from "./chunk-Y6VY6E3L.js";
59
62
  import {
60
63
  metaMaskWallet
61
64
  } from "./chunk-3WZRNEZH.js";
@@ -65,6 +68,9 @@ import {
65
68
  import {
66
69
  oktoWallet
67
70
  } from "./chunk-WKHTUEF5.js";
71
+ import {
72
+ okxWallet
73
+ } from "./chunk-NGXIHASN.js";
68
74
  import {
69
75
  omniWallet
70
76
  } from "./chunk-SVN7OEQR.js";
@@ -74,21 +80,18 @@ import {
74
80
  import {
75
81
  oneKeyWallet
76
82
  } from "./chunk-4WOV4ITL.js";
77
- import {
78
- okxWallet
79
- } from "./chunk-NGXIHASN.js";
80
- import {
81
- phantomWallet
82
- } from "./chunk-KGBLSE7L.js";
83
- import {
84
- enkryptWallet
85
- } from "./chunk-FLY7F4XA.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
+ import {
93
+ gateWallet
94
+ } from "./chunk-V45EXW7A.js";
92
95
  import {
93
96
  imTokenWallet
94
97
  } from "./chunk-5MVV7OVS.js";
@@ -98,9 +101,6 @@ import {
98
101
  import {
99
102
  kresusWallet
100
103
  } from "./chunk-X6T3CICZ.js";
101
- import {
102
- ledgerWallet
103
- } from "./chunk-Y6VY6E3L.js";
104
104
  import {
105
105
  bybitWallet
106
106
  } from "./chunk-ZUAHWUEL.js";
@@ -110,12 +110,12 @@ import {
110
110
  import {
111
111
  coin98Wallet
112
112
  } from "./chunk-4FQLUQNA.js";
113
- import {
114
- coinbaseWallet
115
- } from "./chunk-XBUTWYE4.js";
116
113
  import {
117
114
  coreWallet
118
115
  } from "./chunk-JLQ5HJYV.js";
116
+ import {
117
+ coinbaseWallet
118
+ } from "./chunk-XBUTWYE4.js";
119
119
  import {
120
120
  dawnWallet
121
121
  } from "./chunk-4XQDKOGF.js";
@@ -123,8 +123,8 @@ import {
123
123
  desigWallet
124
124
  } from "./chunk-P4JLZ42R.js";
125
125
  import {
126
- frameWallet
127
- } from "./chunk-XXFJVY73.js";
126
+ enkryptWallet
127
+ } from "./chunk-FLY7F4XA.js";
128
128
  import {
129
129
  argentWallet
130
130
  } from "./chunk-NZ5G23JP.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@funkit/connect",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
5
5
  "files": [
6
6
  "dist",