@funkit/connect 9.2.1 → 9.3.0
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 +22 -0
- package/dist/__generated__/default_configs.d.ts +31 -2
- package/dist/__generated__/default_feature_gates.d.ts +1 -0
- package/dist/{chunk-P6FYL3PM.js → chunk-FHIMKOGH.js} +20 -1
- package/dist/{chunk-VLXKSNSJ.js → chunk-NKJYA7IM.js} +20 -1
- package/dist/{chunk-3U6TWV25.js → chunk-TWG76V3I.js} +16 -4
- package/dist/clients/fanatics.css +5328 -4057
- package/dist/clients/fanatics.js +3 -3
- package/dist/components/Box/Box.d.ts +44 -44
- package/dist/components/FunButton/FunButton.css.d.ts +1 -0
- package/dist/components/FunButton/FunLinkButton.d.ts +2 -2
- package/dist/components/FunCheckoutHistory/FunDirectExecutionHistoryDetail.d.ts +1 -1
- package/dist/components/FunOptionBox/FunOptionBox.css.d.ts +1 -1
- package/dist/css/sprinkles.css.d.ts +110 -46
- package/dist/domains/relay.d.ts +2 -2
- package/dist/hooks/useSwappedPreload.d.ts +2 -3
- package/dist/index.css +5364 -4081
- package/dist/index.js +549 -582
- package/dist/modals/CheckoutModal/SourceChange/sourceChange.css.d.ts +2 -0
- package/dist/modals/CheckoutModal/SwappedIframe/SwappedIframe.d.ts +2 -15
- package/dist/modals/CheckoutModal/SwappedIframe/SwappedIframeContainer.d.ts +15 -0
- package/dist/modals/CheckoutModal/SwappedIframe/index.d.ts +1 -1
- package/dist/providers/FunkitCheckoutContext/types.d.ts +5 -5
- package/dist/providers/FunkitThemeProvider.d.ts +99 -3
- package/dist/providers/SwappedProvider.d.ts +8 -8
- package/dist/themes/baseTheme.js +1 -1
- package/dist/themes/darkTheme.js +2 -2
- package/dist/themes/lightTheme.js +2 -2
- package/dist/utils/checkout.d.ts +4 -4
- package/dist/utils/swapped.d.ts +6 -3
- 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 +43 -43
- 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/hooks/useIframePool.d.ts +0 -38
- package/dist/modals/CheckoutModal/SwappedIframe/SwappedIframePool.d.ts +0 -14
- package/dist/wallets/walletConnectors/{chunk-NEK7T3IC.js → chunk-4C7ER452.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-UVMMPRDM.js → chunk-53VYSPXK.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-I7K6LUZR.js → chunk-6UCI7GM6.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-3Y2GG3PM.js → chunk-6YO27XOM.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-DWMUM4F6.js → chunk-7OARWILZ.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-FDVJHNLL.js → chunk-CJJT7LMT.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-CT3QPTAU.js → chunk-EKJHJFRN.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-TIT5F32X.js → chunk-GH4M6FTK.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-UVYZSGIX.js → chunk-GSHSWVEG.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-CMLFDRCP.js → chunk-GVOQTORD.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-3YCR2ZB4.js → chunk-HETS3KKI.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-C4RP2DNH.js → chunk-HOPH3TQ3.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-CBI3SGOC.js → chunk-IICWJWGZ.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-ZMRIQOR5.js → chunk-KO56HCTI.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-COX3VEDR.js → chunk-LI6QY2B5.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-RLLTYOWT.js → chunk-PKMAPNN6.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-UPUDLUBT.js → chunk-TTHM3WUR.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-N3UJMC3V.js → chunk-XBLHZICW.js} +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @funkit/connect
|
|
2
2
|
|
|
3
|
+
## 9.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 9c6f62c: feat(connect): use native icons for common Swapped payment methods
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- 3b3ae60: lighter swapped ui integration part 2
|
|
12
|
+
- d080351: Fix bottom bar layout thrash during checkout complete transition for themed customers
|
|
13
|
+
- 369e926: feat(connect): FOP native logos
|
|
14
|
+
- 50d6d54: chore: swapped file clean up and name change
|
|
15
|
+
- e7c3f9b: opinion theme feedback updates
|
|
16
|
+
- ef5102d: remove false alarm error logging for quote
|
|
17
|
+
- 76ffacf: fix(connect): swapped icon theme comparison
|
|
18
|
+
- 98167fb: feat(connect,api-base): preload single iframe vs iframe pool
|
|
19
|
+
- 6d05d1e: change stakingToken to finalizedToken
|
|
20
|
+
- ce0747d: fix(connect): update swapped icons based on active theme
|
|
21
|
+
- f85ec7b: opinion theme feedbacks second round
|
|
22
|
+
- Updated dependencies [98167fb]
|
|
23
|
+
- @funkit/api-base@3.0.1
|
|
24
|
+
|
|
3
25
|
## 9.2.1
|
|
4
26
|
|
|
5
27
|
### Patch Changes
|
|
@@ -283,6 +283,9 @@ declare const _default: {
|
|
|
283
283
|
readonly enablemeldpayment: {
|
|
284
284
|
readonly value: false;
|
|
285
285
|
};
|
|
286
|
+
readonly enablesourcegrouplabels: {
|
|
287
|
+
readonly value: true;
|
|
288
|
+
};
|
|
286
289
|
readonly enableswappeddeposit: {
|
|
287
290
|
readonly value: false;
|
|
288
291
|
};
|
|
@@ -303,6 +306,19 @@ declare const _default: {
|
|
|
303
306
|
readonly value: true;
|
|
304
307
|
};
|
|
305
308
|
readonly foppriority: {
|
|
309
|
+
readonly variants: readonly [{
|
|
310
|
+
readonly condition: {
|
|
311
|
+
readonly type: "country";
|
|
312
|
+
readonly countryCodes: readonly ["BR"];
|
|
313
|
+
};
|
|
314
|
+
readonly value: readonly ["PIX", "CARDS", "APPLE_PAY", "GOOGLE_PAY", "REVOLUT_PAY", "PAYPAL", "BANK_TRANSFER", "SKRILL"];
|
|
315
|
+
}, {
|
|
316
|
+
readonly condition: {
|
|
317
|
+
readonly type: "country";
|
|
318
|
+
readonly countryCodes: readonly ["IN"];
|
|
319
|
+
};
|
|
320
|
+
readonly value: readonly ["GOOGLE_PAY", "APPLE_PAY", "REVOLUT_PAY", "PAYPAL", "BANK_TRANSFER", "PIX", "SKRILL", "CARDS"];
|
|
321
|
+
}];
|
|
306
322
|
readonly value: readonly ["CARDS", "APPLE_PAY", "GOOGLE_PAY", "REVOLUT_PAY", "PAYPAL", "BANK_TRANSFER", "PIX", "SKRILL"];
|
|
307
323
|
};
|
|
308
324
|
readonly ischeckoutactivated: {
|
|
@@ -413,13 +429,26 @@ declare const _default: {
|
|
|
413
429
|
};
|
|
414
430
|
readonly tokentransferchaingroups: {
|
|
415
431
|
readonly value: {
|
|
416
|
-
readonly popular: readonly [
|
|
432
|
+
readonly popular: readonly [];
|
|
433
|
+
};
|
|
434
|
+
};
|
|
435
|
+
readonly tokentransfertest: {
|
|
436
|
+
readonly value: {
|
|
437
|
+
readonly chains: {
|
|
438
|
+
readonly '1': readonly ["0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48", "0x6b175474e89094c44da98b954eedeac495271d0f", "0xdac17f958d2ee523a2206206994597c13d831ec7", "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee"];
|
|
439
|
+
readonly '137': readonly ["0x3c499c542cef5e3811e1192ce70d8cc03d5c3359", "0x2791bca1f2de4661ed88a30c99a7a9449aa84174"];
|
|
440
|
+
readonly '1151111081099710': readonly ["So11111111111111111111111111111111111111112", "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"];
|
|
441
|
+
};
|
|
442
|
+
readonly defaultChainId: 137;
|
|
443
|
+
readonly defaultTokens: readonly [];
|
|
444
|
+
readonly badges: {};
|
|
445
|
+
readonly chainSortOrder: readonly ["1", "1151111081099710", "56", "8453", "137", "42161", "10"];
|
|
417
446
|
};
|
|
418
447
|
};
|
|
419
448
|
readonly tokentransfertokengroups: {
|
|
420
449
|
readonly value: {
|
|
421
450
|
readonly popular: readonly [];
|
|
422
|
-
readonly stablecoins: readonly [
|
|
451
|
+
readonly stablecoins: readonly [];
|
|
423
452
|
};
|
|
424
453
|
};
|
|
425
454
|
readonly uda_params: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
baseTheme
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-TWG76V3I.js";
|
|
5
5
|
|
|
6
6
|
// src/themes/lightTheme.ts
|
|
7
7
|
var accentColors = {
|
|
@@ -20,6 +20,7 @@ var lightTheme = ({
|
|
|
20
20
|
customColors,
|
|
21
21
|
customShadows,
|
|
22
22
|
...baseThemeOptions
|
|
23
|
+
// biome-ignore lint/complexity/noExcessiveCognitiveComplexity: This is a theme file, it's fine to have a lot of properties
|
|
23
24
|
} = {}) => ({
|
|
24
25
|
...baseTheme(baseThemeOptions),
|
|
25
26
|
colors: {
|
|
@@ -68,9 +69,22 @@ var lightTheme = ({
|
|
|
68
69
|
tertiaryText: "rgba(0, 0, 0, 0.35)",
|
|
69
70
|
textSelection: "rgba(0, 0, 0, 0.10)",
|
|
70
71
|
selectedDropdownItemText: customColors?.primaryText ?? "#000",
|
|
72
|
+
dropdownLabelColor: customColors?.primaryText ?? "#000",
|
|
73
|
+
copyButtonBackgroundBase: customColors?.offBackground ?? "#F7F7F7",
|
|
74
|
+
copyButtonBackgroundHover: customColors?.hoverState ?? "#F0F0F0",
|
|
75
|
+
copyButtonBackgroundActive: customColors?.inputBorderHover ?? "#E5E5E5",
|
|
76
|
+
copyButtonBorderBase: customColors?.mediumStroke ?? "#F0F0F0",
|
|
77
|
+
copyButtonBorderHover: customColors?.mediumStroke ?? "#F0F0F0",
|
|
78
|
+
funFeatureListBackgroundBase: customColors?.offBackground ?? "#F7F7F7",
|
|
79
|
+
funFeatureListBackgroundHover: customColors?.hoverState ?? "#F0F0F0",
|
|
80
|
+
funFeatureListBorderColor: "transparent",
|
|
81
|
+
funFeatureListBorderColorHover: "transparent",
|
|
71
82
|
selectedDropdownItemBackground: "transparent",
|
|
83
|
+
alwaysVisibleLabelBackgroundHover: "transparent",
|
|
72
84
|
// input
|
|
85
|
+
inputLabel: customColors?.primaryText ?? "#000",
|
|
73
86
|
inputBackground: "#FFFFFF",
|
|
87
|
+
inputBackgroundHover: customColors?.offBackground ?? "#F7F7F7",
|
|
74
88
|
inputBorderBase: "#F0F0F0",
|
|
75
89
|
inputBorderHover: "#E5E5E5",
|
|
76
90
|
// tab
|
|
@@ -167,11 +181,16 @@ var lightTheme = ({
|
|
|
167
181
|
optionBoxBackground: customColors?.optionBoxBackground ?? customColors?.modalBackground ?? "#FFF",
|
|
168
182
|
// keeps gradient in SourcePaymentMethodItem if optionBoxBackground differs from modal background
|
|
169
183
|
optionBoxBackgroundUninteractive: customColors?.optionBoxBackgroundUninteractive ?? "transparent",
|
|
184
|
+
optionBoxBorderBase: customColors?.optionBoxBorderBase ?? customColors?.mediumStroke ?? "#F0F0F0",
|
|
170
185
|
optionBoxBorderHover: customColors?.optionBoxBorderHover ?? customColors?.mediumStroke ?? "#F0F0F0",
|
|
186
|
+
optionBoxDefaultModeNotActiveBorderBase: customColors?.optionBoxDefaultModeNotActiveBorderBase ?? "transparent",
|
|
187
|
+
optionBoxDefaultModeNotActiveBorderHover: customColors?.optionBoxDefaultModeNotActiveBorderHover ?? "transparent",
|
|
171
188
|
dropdownActiveItemBackgroundBase: customColors?.dropdownActiveItemBackgroundBase ?? customColors?.modalBackground ?? "#FFF",
|
|
172
189
|
openDropdownBackgroundColor: customColors?.openDropdownBackgroundColor ?? customColors?.optionBoxBackground ?? customColors?.modalBackground ?? "#FFF",
|
|
173
190
|
dropdownActiveItemBackgroundHover: customColors?.dropdownActiveItemBackgroundHover ?? customColors?.offBackground ?? "#F7F7F7",
|
|
174
191
|
dropdownActiveItemBackgroundDisabled: customColors?.dropdownActiveItemBackgroundDisabled ?? "transparent",
|
|
192
|
+
dropdownActiveItemBorderBase: customColors?.dropdownActiveItemBorderBase ?? customColors?.mediumStroke ?? "#F0F0F0",
|
|
193
|
+
dropdownActiveItemBorderHover: customColors?.dropdownActiveItemBorderHover ?? customColors?.mediumStroke ?? "#F0F0F0",
|
|
175
194
|
txSummaryBoxBackground: customColors?.txSummaryBoxBackground ?? customColors?.modalBackground ?? "#FFF",
|
|
176
195
|
txSummaryBoxBorder: customColors?.txSummaryBoxBorder ?? customColors?.lightStroke ?? "#F7F7F7",
|
|
177
196
|
counterRingColor: customColors?.counterRingColor ?? accentColor,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
baseTheme
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-TWG76V3I.js";
|
|
5
5
|
|
|
6
6
|
// src/themes/darkTheme.ts
|
|
7
7
|
var accentColors = {
|
|
@@ -20,6 +20,7 @@ var darkTheme = ({
|
|
|
20
20
|
customColors,
|
|
21
21
|
customShadows,
|
|
22
22
|
...baseThemeOptions
|
|
23
|
+
// biome-ignore lint/complexity/noExcessiveCognitiveComplexity: This is a theme file, it's fine to have a lot of properties
|
|
23
24
|
} = {}) => ({
|
|
24
25
|
...baseTheme(baseThemeOptions),
|
|
25
26
|
colors: {
|
|
@@ -68,9 +69,22 @@ var darkTheme = ({
|
|
|
68
69
|
tertiaryText: "rgba(255, 255, 255, 0.35)",
|
|
69
70
|
textSelection: "rgba(255, 255, 255, 0.10)",
|
|
70
71
|
selectedDropdownItemText: customColors?.primaryText ?? "#FFF",
|
|
72
|
+
dropdownLabelColor: customColors?.primaryText ?? "#FFF",
|
|
73
|
+
copyButtonBackgroundBase: customColors?.offBackground ?? "#1F1F1F",
|
|
74
|
+
copyButtonBackgroundHover: customColors?.hoverState ?? "#333333",
|
|
75
|
+
copyButtonBackgroundActive: customColors?.inputBorderHover ?? "#525252",
|
|
76
|
+
copyButtonBorderBase: customColors?.mediumStroke ?? "#333333",
|
|
77
|
+
copyButtonBorderHover: customColors?.mediumStroke ?? "#333333",
|
|
78
|
+
funFeatureListBackgroundBase: customColors?.offBackground ?? "#1F1F1F",
|
|
79
|
+
funFeatureListBackgroundHover: customColors?.hoverState ?? "#333333",
|
|
80
|
+
funFeatureListBorderColor: "transparent",
|
|
81
|
+
funFeatureListBorderColorHover: "transparent",
|
|
71
82
|
selectedDropdownItemBackground: "transparent",
|
|
83
|
+
alwaysVisibleLabelBackgroundHover: "transparent",
|
|
72
84
|
// input
|
|
85
|
+
inputLabel: customColors?.primaryText ?? "#FFF",
|
|
73
86
|
inputBackground: "#000000",
|
|
87
|
+
inputBackgroundHover: customColors?.offBackground ?? "#1F1F1F",
|
|
74
88
|
inputBorderBase: "#333333",
|
|
75
89
|
inputBorderHover: "#525252",
|
|
76
90
|
// tab
|
|
@@ -167,11 +181,16 @@ var darkTheme = ({
|
|
|
167
181
|
optionBoxBackground: customColors?.optionBoxBackground ?? customColors?.modalBackground ?? "#000",
|
|
168
182
|
// keeps gradient in SourcePaymentMethodItem if optionBoxBackground differs from modal background
|
|
169
183
|
optionBoxBackgroundUninteractive: customColors?.optionBoxBackgroundUninteractive ?? "transparent",
|
|
184
|
+
optionBoxBorderBase: customColors?.optionBoxBorderBase ?? customColors?.mediumStroke ?? "#333333",
|
|
170
185
|
optionBoxBorderHover: customColors?.optionBoxBorderHover ?? customColors?.mediumStroke ?? "#333333",
|
|
186
|
+
optionBoxDefaultModeNotActiveBorderBase: customColors?.optionBoxDefaultModeNotActiveBorderBase ?? "transparent",
|
|
187
|
+
optionBoxDefaultModeNotActiveBorderHover: customColors?.optionBoxDefaultModeNotActiveBorderHover ?? "transparent",
|
|
171
188
|
dropdownActiveItemBackgroundBase: customColors?.dropdownActiveItemBackgroundBase ?? customColors?.modalBackground ?? "#000000",
|
|
172
189
|
openDropdownBackgroundColor: customColors?.openDropdownBackgroundColor ?? customColors?.optionBoxBackground ?? customColors?.modalBackground ?? "#000",
|
|
173
190
|
dropdownActiveItemBackgroundHover: customColors?.dropdownActiveItemBackgroundHover ?? customColors?.offBackground ?? "#1F1F1F",
|
|
174
191
|
dropdownActiveItemBackgroundDisabled: customColors?.dropdownActiveItemBackgroundDisabled ?? "transparent",
|
|
192
|
+
dropdownActiveItemBorderBase: customColors?.dropdownActiveItemBorderBase ?? customColors?.mediumStroke ?? "#333333",
|
|
193
|
+
dropdownActiveItemBorderHover: customColors?.dropdownActiveItemBorderHover ?? customColors?.mediumStroke ?? "#333333",
|
|
175
194
|
txSummaryBoxBackground: customColors?.txSummaryBoxBackground ?? customColors?.modalBackground ?? "#000",
|
|
176
195
|
txSummaryBoxBorder: customColors?.txSummaryBoxBorder ?? customColors?.lightStroke ?? "#333333",
|
|
177
196
|
counterRingColor: customColors?.counterRingColor ?? accentColor,
|
|
@@ -26,7 +26,8 @@ var radiusScales = {
|
|
|
26
26
|
dropdownItem: "4px",
|
|
27
27
|
dropdownList: "12px",
|
|
28
28
|
modalTopbarIcon: "9999px",
|
|
29
|
-
withdrawalInput: "12px"
|
|
29
|
+
withdrawalInput: "12px",
|
|
30
|
+
useConnected: "8px"
|
|
30
31
|
},
|
|
31
32
|
medium: {
|
|
32
33
|
actionButton: "10px",
|
|
@@ -46,7 +47,8 @@ var radiusScales = {
|
|
|
46
47
|
dropdownItem: "4px",
|
|
47
48
|
dropdownList: "10px",
|
|
48
49
|
modalTopbarIcon: "9999px",
|
|
49
|
-
withdrawalInput: "10px"
|
|
50
|
+
withdrawalInput: "10px",
|
|
51
|
+
useConnected: "8px"
|
|
50
52
|
},
|
|
51
53
|
none: {
|
|
52
54
|
actionButton: "0px",
|
|
@@ -66,7 +68,8 @@ var radiusScales = {
|
|
|
66
68
|
dropdownItem: "0px",
|
|
67
69
|
dropdownList: "0px",
|
|
68
70
|
modalTopbarIcon: "0px",
|
|
69
|
-
withdrawalInput: "0px"
|
|
71
|
+
withdrawalInput: "0px",
|
|
72
|
+
useConnected: "0px"
|
|
70
73
|
},
|
|
71
74
|
small: {
|
|
72
75
|
actionButton: "8px",
|
|
@@ -86,7 +89,8 @@ var radiusScales = {
|
|
|
86
89
|
dropdownItem: "4px",
|
|
87
90
|
dropdownList: "8px",
|
|
88
91
|
modalTopbarIcon: "9999px",
|
|
89
|
-
withdrawalInput: "8px"
|
|
92
|
+
withdrawalInput: "8px",
|
|
93
|
+
useConnected: "8px"
|
|
90
94
|
}
|
|
91
95
|
};
|
|
92
96
|
var blurs = {
|
|
@@ -182,6 +186,7 @@ var baseTheme = ({
|
|
|
182
186
|
paymentAmountSkeletonCircleSize: "15px",
|
|
183
187
|
paymentMethodItemIconSize: "20px",
|
|
184
188
|
selectAssetItemIconSize: "24px",
|
|
189
|
+
sourceListGap: "4px",
|
|
185
190
|
txBreakdownSkeletonWidth: "72px",
|
|
186
191
|
txSummaryLineSkeletonHeight: "14px",
|
|
187
192
|
txSummaryLineSkeletonWidth: "54px",
|
|
@@ -261,6 +266,8 @@ var baseTheme = ({
|
|
|
261
266
|
dropdownItemFontSize: FONT_SIZINGS[fontSizing][12],
|
|
262
267
|
sourceListSectionLabelFontSize: FONT_SIZINGS[fontSizing][12],
|
|
263
268
|
formOfPaymentsListSectionLabelFontSize: FONT_SIZINGS[fontSizing][12],
|
|
269
|
+
quickOptionFontSize: FONT_SIZINGS[fontSizing][14],
|
|
270
|
+
useConnectedFontSize: FONT_SIZINGS[fontSizing][12],
|
|
264
271
|
...customFontSizings
|
|
265
272
|
},
|
|
266
273
|
radii: {
|
|
@@ -283,6 +290,7 @@ var baseTheme = ({
|
|
|
283
290
|
dropdownList: customBorderRadiuses?.dropdownList ?? customBorderRadiuses?.dropdown ?? radiusScales[borderRadius].dropdown,
|
|
284
291
|
modalTopbarIcon: radiusScales[borderRadius].modalTopbarIcon,
|
|
285
292
|
withdrawalInput: radiusScales[borderRadius].withdrawalInput,
|
|
293
|
+
useConnected: radiusScales[borderRadius].useConnected,
|
|
286
294
|
...customBorderRadiuses
|
|
287
295
|
},
|
|
288
296
|
borderWidths: {
|
|
@@ -321,6 +329,10 @@ var baseTheme = ({
|
|
|
321
329
|
youPayYouReceivePaddingLeft: "12px",
|
|
322
330
|
youPayYouReceivePaddingRight: "16px",
|
|
323
331
|
youPayYouReceivePaddingY: "8px",
|
|
332
|
+
inputPaddingX: "12px",
|
|
333
|
+
inputPaddingY: "12px",
|
|
334
|
+
dropdownActiveItemRegularSizePaddingY: "8px",
|
|
335
|
+
assetListDefaultGap: "4px",
|
|
324
336
|
...customSpacings
|
|
325
337
|
},
|
|
326
338
|
textTransforms: {
|