@funkit/connect 9.2.0 → 9.2.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 +13 -0
- package/dist/{chunk-SC53AFEE.js → chunk-3U6TWV25.js} +14 -4
- package/dist/{chunk-XCM74QX2.js → chunk-P6FYL3PM.js} +5 -1
- package/dist/{chunk-WSCXOKCX.js → chunk-VLXKSNSJ.js} +5 -1
- package/dist/clients/fanatics.css +4075 -3817
- package/dist/clients/fanatics.js +2 -2
- package/dist/components/Box/Box.d.ts +22 -22
- package/dist/components/FunDivider/FunDivider.d.ts +2 -1
- package/dist/css/sprinkles.css.d.ts +34 -22
- package/dist/hooks/queries/useFops.d.ts +4 -198
- package/dist/hooks/statsig/useDynamicConfig.d.ts +3 -1
- package/dist/hooks/useCheckoutTransferInit.d.ts +5 -1
- package/dist/hooks/usePaymentSources.d.ts +6 -2
- package/dist/hooks/useScrollDivider.d.ts +1 -0
- package/dist/index.css +4122 -3825
- package/dist/index.js +651 -326
- package/dist/modals/CheckoutModal/SourceChange/SourceList.d.ts +4 -3
- package/dist/modals/CheckoutModal/SourceChange/sourceChange.css.d.ts +4 -0
- package/dist/providers/FunkitConfigContext.d.ts +2 -0
- package/dist/providers/FunkitThemeProvider.d.ts +18 -0
- 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 +49 -49
- 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 +2 -2
- package/dist/wallets/walletConnectors/{chunk-6YO27XOM.js → chunk-3Y2GG3PM.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-HETS3KKI.js → chunk-3YCR2ZB4.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-HOPH3TQ3.js → chunk-C4RP2DNH.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-IICWJWGZ.js → chunk-CBI3SGOC.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-GVOQTORD.js → chunk-CMLFDRCP.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-LI6QY2B5.js → chunk-COX3VEDR.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-EKJHJFRN.js → chunk-CT3QPTAU.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-7OARWILZ.js → chunk-DWMUM4F6.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-CJJT7LMT.js → chunk-FDVJHNLL.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-6UCI7GM6.js → chunk-I7K6LUZR.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-XBLHZICW.js → chunk-N3UJMC3V.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-4C7ER452.js → chunk-NEK7T3IC.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-PKMAPNN6.js → chunk-RLLTYOWT.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-GH4M6FTK.js → chunk-TIT5F32X.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-TTHM3WUR.js → chunk-UPUDLUBT.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-53VYSPXK.js → chunk-UVMMPRDM.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-GSHSWVEG.js → chunk-UVYZSGIX.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-KO56HCTI.js → chunk-ZMRIQOR5.js} +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @funkit/connect
|
|
2
2
|
|
|
3
|
+
## 9.2.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 2e118a1: opinion theme updates
|
|
8
|
+
- f991fe5: feat(connect): show Unavailable badge for geo-blocked payment methods
|
|
9
|
+
- f991fe5: feat(connect): swapped coming soon if enabled without uda params
|
|
10
|
+
- 48ad728: feat(connect): limit forms of payments, sticky top section
|
|
11
|
+
- 030b288: Make logger mandatory on BaseApiRequest and update all call sites
|
|
12
|
+
- 61cd479: feat: hide sepa if not in eu
|
|
13
|
+
- Updated dependencies [030b288]
|
|
14
|
+
- @funkit/api-base@3.0.0
|
|
15
|
+
|
|
3
16
|
## 9.2.0
|
|
4
17
|
|
|
5
18
|
### Minor Changes
|
|
@@ -24,7 +24,9 @@ var radiusScales = {
|
|
|
24
24
|
skeleton: "4px",
|
|
25
25
|
dropdown: "12px",
|
|
26
26
|
dropdownItem: "4px",
|
|
27
|
-
|
|
27
|
+
dropdownList: "12px",
|
|
28
|
+
modalTopbarIcon: "9999px",
|
|
29
|
+
withdrawalInput: "12px"
|
|
28
30
|
},
|
|
29
31
|
medium: {
|
|
30
32
|
actionButton: "10px",
|
|
@@ -42,7 +44,9 @@ var radiusScales = {
|
|
|
42
44
|
skeleton: "4px",
|
|
43
45
|
dropdown: "10px",
|
|
44
46
|
dropdownItem: "4px",
|
|
45
|
-
|
|
47
|
+
dropdownList: "10px",
|
|
48
|
+
modalTopbarIcon: "9999px",
|
|
49
|
+
withdrawalInput: "10px"
|
|
46
50
|
},
|
|
47
51
|
none: {
|
|
48
52
|
actionButton: "0px",
|
|
@@ -60,7 +64,9 @@ var radiusScales = {
|
|
|
60
64
|
skeleton: "0px",
|
|
61
65
|
dropdown: "0px",
|
|
62
66
|
dropdownItem: "0px",
|
|
63
|
-
|
|
67
|
+
dropdownList: "0px",
|
|
68
|
+
modalTopbarIcon: "0px",
|
|
69
|
+
withdrawalInput: "0px"
|
|
64
70
|
},
|
|
65
71
|
small: {
|
|
66
72
|
actionButton: "8px",
|
|
@@ -78,7 +84,9 @@ var radiusScales = {
|
|
|
78
84
|
skeleton: "4px",
|
|
79
85
|
dropdown: "8px",
|
|
80
86
|
dropdownItem: "4px",
|
|
81
|
-
|
|
87
|
+
dropdownList: "8px",
|
|
88
|
+
modalTopbarIcon: "9999px",
|
|
89
|
+
withdrawalInput: "8px"
|
|
82
90
|
}
|
|
83
91
|
};
|
|
84
92
|
var blurs = {
|
|
@@ -272,7 +280,9 @@ var baseTheme = ({
|
|
|
272
280
|
tooltip: radiusScales[borderRadius].tooltip,
|
|
273
281
|
dropdown: radiusScales[borderRadius].dropdown,
|
|
274
282
|
dropdownItem: radiusScales[borderRadius].dropdownItem,
|
|
283
|
+
dropdownList: customBorderRadiuses?.dropdownList ?? customBorderRadiuses?.dropdown ?? radiusScales[borderRadius].dropdown,
|
|
275
284
|
modalTopbarIcon: radiusScales[borderRadius].modalTopbarIcon,
|
|
285
|
+
withdrawalInput: radiusScales[borderRadius].withdrawalInput,
|
|
276
286
|
...customBorderRadiuses
|
|
277
287
|
},
|
|
278
288
|
borderWidths: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
baseTheme
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-3U6TWV25.js";
|
|
5
5
|
|
|
6
6
|
// src/themes/lightTheme.ts
|
|
7
7
|
var accentColors = {
|
|
@@ -67,6 +67,8 @@ var lightTheme = ({
|
|
|
67
67
|
secondaryText: "#737373",
|
|
68
68
|
tertiaryText: "rgba(0, 0, 0, 0.35)",
|
|
69
69
|
textSelection: "rgba(0, 0, 0, 0.10)",
|
|
70
|
+
selectedDropdownItemText: customColors?.primaryText ?? "#000",
|
|
71
|
+
selectedDropdownItemBackground: "transparent",
|
|
70
72
|
// input
|
|
71
73
|
inputBackground: "#FFFFFF",
|
|
72
74
|
inputBorderBase: "#F0F0F0",
|
|
@@ -165,7 +167,9 @@ var lightTheme = ({
|
|
|
165
167
|
optionBoxBackground: customColors?.optionBoxBackground ?? customColors?.modalBackground ?? "#FFF",
|
|
166
168
|
// keeps gradient in SourcePaymentMethodItem if optionBoxBackground differs from modal background
|
|
167
169
|
optionBoxBackgroundUninteractive: customColors?.optionBoxBackgroundUninteractive ?? "transparent",
|
|
170
|
+
optionBoxBorderHover: customColors?.optionBoxBorderHover ?? customColors?.mediumStroke ?? "#F0F0F0",
|
|
168
171
|
dropdownActiveItemBackgroundBase: customColors?.dropdownActiveItemBackgroundBase ?? customColors?.modalBackground ?? "#FFF",
|
|
172
|
+
openDropdownBackgroundColor: customColors?.openDropdownBackgroundColor ?? customColors?.optionBoxBackground ?? customColors?.modalBackground ?? "#FFF",
|
|
169
173
|
dropdownActiveItemBackgroundHover: customColors?.dropdownActiveItemBackgroundHover ?? customColors?.offBackground ?? "#F7F7F7",
|
|
170
174
|
dropdownActiveItemBackgroundDisabled: customColors?.dropdownActiveItemBackgroundDisabled ?? "transparent",
|
|
171
175
|
txSummaryBoxBackground: customColors?.txSummaryBoxBackground ?? customColors?.modalBackground ?? "#FFF",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
baseTheme
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-3U6TWV25.js";
|
|
5
5
|
|
|
6
6
|
// src/themes/darkTheme.ts
|
|
7
7
|
var accentColors = {
|
|
@@ -67,6 +67,8 @@ var darkTheme = ({
|
|
|
67
67
|
secondaryText: "#8C8C8C",
|
|
68
68
|
tertiaryText: "rgba(255, 255, 255, 0.35)",
|
|
69
69
|
textSelection: "rgba(255, 255, 255, 0.10)",
|
|
70
|
+
selectedDropdownItemText: customColors?.primaryText ?? "#FFF",
|
|
71
|
+
selectedDropdownItemBackground: "transparent",
|
|
70
72
|
// input
|
|
71
73
|
inputBackground: "#000000",
|
|
72
74
|
inputBorderBase: "#333333",
|
|
@@ -165,7 +167,9 @@ var darkTheme = ({
|
|
|
165
167
|
optionBoxBackground: customColors?.optionBoxBackground ?? customColors?.modalBackground ?? "#000",
|
|
166
168
|
// keeps gradient in SourcePaymentMethodItem if optionBoxBackground differs from modal background
|
|
167
169
|
optionBoxBackgroundUninteractive: customColors?.optionBoxBackgroundUninteractive ?? "transparent",
|
|
170
|
+
optionBoxBorderHover: customColors?.optionBoxBorderHover ?? customColors?.mediumStroke ?? "#333333",
|
|
168
171
|
dropdownActiveItemBackgroundBase: customColors?.dropdownActiveItemBackgroundBase ?? customColors?.modalBackground ?? "#000000",
|
|
172
|
+
openDropdownBackgroundColor: customColors?.openDropdownBackgroundColor ?? customColors?.optionBoxBackground ?? customColors?.modalBackground ?? "#000",
|
|
169
173
|
dropdownActiveItemBackgroundHover: customColors?.dropdownActiveItemBackgroundHover ?? customColors?.offBackground ?? "#1F1F1F",
|
|
170
174
|
dropdownActiveItemBackgroundDisabled: customColors?.dropdownActiveItemBackgroundDisabled ?? "transparent",
|
|
171
175
|
txSummaryBoxBackground: customColors?.txSummaryBoxBackground ?? customColors?.modalBackground ?? "#000",
|