@funkit/connect 8.3.1-next.0 → 8.4.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 +125 -0
- package/dist/{chunk-5JRQC2VM.js → chunk-4WY7FNYP.js} +14 -0
- package/dist/{chunk-CUWQELX3.js → chunk-UUHLEWAL.js} +4 -2
- package/dist/{chunk-VWSYBHAK.js → chunk-Z4QDKBBG.js} +4 -2
- package/dist/clients/fanatics.css +4064 -3651
- package/dist/clients/fanatics.d.ts +6 -0
- package/dist/clients/fanatics.js +118 -43
- package/dist/components/Box/Box.d.ts +45 -45
- package/dist/components/FunCheckoutHistory/FunDirectExecutionHistoryBottomBar.d.ts +1 -0
- package/dist/components/FunCheckoutHistory/FunTxSummarySections.d.ts +7 -0
- package/dist/components/FunCheckoutHistory/TotalTimeItem.d.ts +6 -0
- package/dist/components/FunCheckoutHistory/YouSendItem.d.ts +6 -0
- package/dist/components/FunCheckoutHistory/useCustomStatusAnimationAboveTopbar.d.ts +1 -3
- package/dist/components/FunCheckoutModalHeightAnimationWrapper/FunCheckoutModalHeightAnimationWrapper.d.ts +3 -1
- package/dist/components/FunInfoBanner/InfoBanner.d.ts +1 -1
- package/dist/components/FunPaymentMethodItem/FunPaymentMethodItem.d.ts +1 -0
- package/dist/components/FunPayments/FunPaymentMethods.d.ts +7 -0
- package/dist/components/Icons/New/CircleBitcoinIcon.d.ts +4 -0
- package/dist/components/Icons/New/DollarIcon.d.ts +3 -1
- package/dist/components/Tabs/Tabs.d.ts +1 -0
- package/dist/consts/customers.d.ts +1 -1
- package/dist/consts/layout.d.ts +0 -1
- package/dist/css/sprinkles.css.d.ts +91 -45
- package/dist/domains/asset.d.ts +1 -1
- package/dist/domains/meld.d.ts +0 -6
- package/dist/hooks/queries/useFops.d.ts +4 -2
- package/dist/hooks/queries/useSwappedDefaultCurrency.d.ts +5 -0
- package/dist/hooks/track/CheckoutModalEvent.d.ts +7 -0
- package/dist/hooks/useCheckoutDirectExecutionHistory.d.ts +1 -0
- package/dist/hooks/useStepQueryReadiness.d.ts +32 -0
- package/dist/index.css +4090 -3671
- package/dist/index.js +3894 -3058
- package/dist/modals/CheckoutModal/ConfirmationStep/useCheckoutConfirmation.d.ts +1 -0
- package/dist/modals/CheckoutModal/FunCheckoutStep.d.ts +2 -1
- package/dist/modals/CheckoutModal/LoadingAccount.d.ts +1 -1
- package/dist/modals/CheckoutModal/MeldQuotes/MeldQuotes.d.ts +1 -1
- package/dist/modals/CheckoutModal/SourceChange/CryptoCashToggle.d.ts +5 -1
- package/dist/modals/CheckoutModal/SourceChange/FormOfPaymentsList.d.ts +10 -0
- package/dist/modals/CheckoutModal/SourceChange/SourceChange.d.ts +10 -0
- package/dist/modals/CheckoutModal/SourceChange/SourceChangeLoading.d.ts +4 -0
- package/dist/modals/CheckoutModal/SourceChange/{DefaultSourceList.d.ts → SourceList.d.ts} +3 -3
- package/dist/modals/CheckoutModal/SourceChange/sourceChange.css.d.ts +2 -1
- package/dist/modals/CheckoutModal/stepTransition.d.ts +7 -0
- package/dist/providers/FunkitCheckoutContext/index.d.ts +1 -0
- package/dist/providers/FunkitConfigContext.d.ts +14 -0
- package/dist/providers/FunkitProvider.d.ts +1 -0
- package/dist/providers/FunkitThemeProvider.d.ts +69 -0
- package/dist/themes/baseTheme.js +1 -1
- package/dist/themes/darkTheme.js +2 -2
- package/dist/themes/lightTheme.js +2 -2
- package/dist/utils/across.d.ts +5 -0
- package/dist/utils/depositCutoff.d.ts +9 -0
- package/dist/utils/directExecution.d.ts +16 -0
- package/dist/utils/flags/config.d.ts +2 -2
- package/dist/utils/lighter.d.ts +1 -1
- package/dist/utils/sanitizeHtml.d.ts +7 -0
- package/dist/utils/sanitizeUrl.d.ts +10 -0
- package/dist/utils/tokenIconUrl.d.ts +1 -1
- package/dist/utils/transfer.d.ts +2 -1
- package/dist/wallets/walletConnectors/index.js +24 -24
- package/package.json +4 -4
- package/dist/atoms/activeCheckout.d.ts +0 -183
- package/dist/atoms/activeWithdrawal.d.ts +0 -21
- package/dist/atoms/bridgeProviders/acrossAdapter.d.ts +0 -109
- package/dist/atoms/bridgeProviders/index.d.ts +0 -25
- package/dist/atoms/bridgeProviders/registry.d.ts +0 -12
- package/dist/atoms/bridgeProviders/relayAdapter.d.ts +0 -60
- package/dist/atoms/bridgeProviders/types.d.ts +0 -182
- package/dist/atoms/checkoutProgress.d.ts +0 -22
- package/dist/atoms/directExecution.d.ts +0 -70
- package/dist/atoms/funkitCheckout.d.ts +0 -18
- package/dist/atoms/funkitProvider/index.d.ts +0 -24
- package/dist/atoms/generalWallet.d.ts +0 -45
- package/dist/atoms/i18n.d.ts +0 -6
- package/dist/atoms/modalState.d.ts +0 -30
- package/dist/atoms/quote.d.ts +0 -98
- package/dist/atoms/stepTransition.d.ts +0 -6
- package/dist/atoms/store.d.ts +0 -1
- package/dist/atoms/track/index.d.ts +0 -10
- package/dist/atoms/utils.d.ts +0 -2
- package/dist/atoms/wagmi.d.ts +0 -4
- package/dist/atoms/walletClient.d.ts +0 -15391
- package/dist/chunk-A24XIU2M.js +0 -299
- package/dist/chunk-CMS4F5PL.js +0 -209
- package/dist/chunk-FBCU3TQA.js +0 -204
- package/dist/chunk-GRQP5R23.js +0 -209
- package/dist/chunk-MGQZMUZ2.js +0 -288
- package/dist/chunk-OTMBU2BL.js +0 -204
- package/dist/domains/across.d.ts +0 -29
- package/dist/domains/track.d.ts +0 -14
- package/dist/hooks/useUsableWalletAssetsForCheckout.d.ts +0 -2
- package/dist/modals/CheckoutModal/SelectAsset.d.ts +0 -14
- package/dist/modals/CheckoutModal/SourceChange/FanaticsSourceList.d.ts +0 -15
- package/dist/wallets/walletConnectors/chunk-3ZWIUCOI.js +0 -96
- package/dist/wallets/walletConnectors/chunk-4SC3PZVM.js +0 -70
- package/dist/wallets/walletConnectors/chunk-5AV2NSL3.js +0 -98
- package/dist/wallets/walletConnectors/chunk-5FWURLPF.js +0 -218
- package/dist/wallets/walletConnectors/chunk-6677RKVT.js +0 -69
- package/dist/wallets/walletConnectors/chunk-75A4Q5E5.js +0 -92
- package/dist/wallets/walletConnectors/chunk-ENLR4LXN.js +0 -94
- package/dist/wallets/walletConnectors/chunk-FT5BX7TL.js +0 -103
- package/dist/wallets/walletConnectors/chunk-GEMN6DM5.js +0 -106
- package/dist/wallets/walletConnectors/chunk-GXTI2PZD.js +0 -100
- package/dist/wallets/walletConnectors/chunk-LGT6IAXI.js +0 -93
- package/dist/wallets/walletConnectors/chunk-N7475PGA.js +0 -110
- package/dist/wallets/walletConnectors/chunk-O6YFVGVQ.js +0 -99
- package/dist/wallets/walletConnectors/chunk-OCM5YHT5.js +0 -92
- package/dist/wallets/walletConnectors/chunk-PRGCIJ7Y.js +0 -87
- package/dist/wallets/walletConnectors/chunk-RNIMZDHW.js +0 -95
- package/dist/wallets/walletConnectors/chunk-TLOROKED.js +0 -96
- package/dist/wallets/walletConnectors/chunk-WNQ3NPHX.js +0 -66
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,130 @@
|
|
|
1
1
|
# @funkit/connect
|
|
2
2
|
|
|
3
|
+
## 8.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- ba04b38: Add Global Compute customer and enable brokerage features by default
|
|
8
|
+
- 4a24b76: Replace dangerouslySetInnerHTML with style ref textContent for theme CSS injection
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- e756825: feat(connect): show Across icon and label in selected route when Across is enabled
|
|
13
|
+
- 04f8d12: feat(connect): treat Across (CCTP) routes as slow deposits with 1-2 min time estimate
|
|
14
|
+
- e1ef9a8: fix(connect): skip swap impact and use Across expected output for received amount
|
|
15
|
+
- 91f9cb4: feat(connect): add AZTEC token support for Lighter exchange
|
|
16
|
+
- b3589c1: embed theme params in the fops request for swapped
|
|
17
|
+
- bc5436e: change final buttons on fanatics
|
|
18
|
+
- 2ccdc83: refactor: reorder meld options
|
|
19
|
+
- c6fc3e7: fix: iframe postMessage origin validation
|
|
20
|
+
- a7ca00e: fix(connect): fix fanatics font size
|
|
21
|
+
- 9185842: update crypto cash toggle on polymarket
|
|
22
|
+
- 0e6d9bd: feat(connect): map skeleton heights to actual font sizes in FunPaymentMethodItemSkeleton
|
|
23
|
+
- 4fe1634: implement swapped iframe integration
|
|
24
|
+
- 5e289de: feat(connect,api-base): properly map fiatCurrencyCode in fops endpoint
|
|
25
|
+
- bd51750: feat(connect): make CryptoCashToggle styles theme configurable
|
|
26
|
+
- a61d9e5: fix(connect): redirect completion tx explorer to Lighter for L1 deposits
|
|
27
|
+
- 3c36d53: Fix stale withdrawal quote reuse across consecutive withdrawals by resetting checkout ID on "New Withdrawal"
|
|
28
|
+
- 80c85ed: feat(connect): hide dollar value loader if static value is available
|
|
29
|
+
- f1b51e0: feat(connect): max height on mobile
|
|
30
|
+
- 12e06a2: feat(connect): ability to update source change layout via ui config
|
|
31
|
+
- 6e9ec49: feat(connect): add theme level configs to source list section labels
|
|
32
|
+
- db3bd12: feat(connect): update lighter utils to use dynamic target id for dynamic target assets
|
|
33
|
+
- 7ebf0ca: fix(connect): add i18n for Across and LayerZero time estimate strings
|
|
34
|
+
- 4b10e4a: fix(connect): wrong payment method active tab during navigation
|
|
35
|
+
- a615907: feat(connect): improve metric collection for analytics events
|
|
36
|
+
- b47ccab: added primary secondary tertiary font names in uicustomizations to pass to swapped
|
|
37
|
+
- 729eb2b: fix: adjust Across bridge time estimates and fix Lighter explorer link
|
|
38
|
+
- 3053bec: feat(connect): tx summary compact sections
|
|
39
|
+
- 712bacc: refactor(connect): reorder SourceChange component hooks and variables for readability
|
|
40
|
+
- ff3b620: feat(connect): pass svm recipient address for non-evm target chain
|
|
41
|
+
- aeb52c7: fix(connect): skip broken Polygon default viem RPC
|
|
42
|
+
- 28eb98c: misc fixes
|
|
43
|
+
- e13fffb: feat(connect): update fanatics padding for close and action button
|
|
44
|
+
- 9e07543: feat(connect): improve fops error UI
|
|
45
|
+
- 8840aa9: feat: add dynamic s3 icon fallback
|
|
46
|
+
- 4fc223a: extra bottom padding removed for swapped iframe
|
|
47
|
+
- 45eb6ec: feat(connect): show total time instead of pay amount on success
|
|
48
|
+
- a653ae3: fix(connect): increase flag fetch timeout to 10s
|
|
49
|
+
- a6e1abd: feat(connect): add popular section for fiat payment methods
|
|
50
|
+
- 2ac1d6d: refactor(connect): extract completion tx resolution into utility function
|
|
51
|
+
- 644c1ad: Remove dangerouslySetInnerHTML from InfoBanner and strip HTML from usdceWarning translations.
|
|
52
|
+
- 28eb98c: refactor(connect): rename isLighterNativeFlow to isLighterSlowDeposit and extract delayed cutoff utility
|
|
53
|
+
- 64f367d: feat(connect): handle withdrawal rate limit errors
|
|
54
|
+
- 7e19469: chore(connect): silence statsig warnings
|
|
55
|
+
- 508713c: fix(connect): update transaction status padding for fanatics
|
|
56
|
+
- 126661c: feat(connect): add page readiness tracking for checkout steps
|
|
57
|
+
- 438c9f7: swapped origin check implemented
|
|
58
|
+
- d4d38db: feat(connect): add source change initial loader
|
|
59
|
+
- e52cd59: Add USD as default value for swappedCurrencyCode in useFops hook
|
|
60
|
+
- Updated dependencies [e1ef9a8]
|
|
61
|
+
- Updated dependencies [91f9cb4]
|
|
62
|
+
- Updated dependencies [ba04b38]
|
|
63
|
+
- Updated dependencies [b3589c1]
|
|
64
|
+
- Updated dependencies [4fe1634]
|
|
65
|
+
- Updated dependencies [4fe1634]
|
|
66
|
+
- Updated dependencies [5e289de]
|
|
67
|
+
- Updated dependencies [8aa93f1]
|
|
68
|
+
- Updated dependencies [d3d8eae]
|
|
69
|
+
- Updated dependencies [3b1c2c0]
|
|
70
|
+
- Updated dependencies [45acbad]
|
|
71
|
+
- Updated dependencies [a6e1abd]
|
|
72
|
+
- @funkit/utils@1.2.1
|
|
73
|
+
- @funkit/fun-relay@2.5.0
|
|
74
|
+
- @funkit/api-base@2.2.0
|
|
75
|
+
|
|
76
|
+
## 8.4.0-next.1
|
|
77
|
+
|
|
78
|
+
### Minor Changes
|
|
79
|
+
|
|
80
|
+
- ba04b38: Add Global Compute customer and enable brokerage features by default
|
|
81
|
+
|
|
82
|
+
### Patch Changes
|
|
83
|
+
|
|
84
|
+
- e756825: feat(connect): show Across icon and label in selected route when Across is enabled
|
|
85
|
+
- 04f8d12: feat(connect): treat Across (CCTP) routes as slow deposits with 1-2 min time estimate
|
|
86
|
+
- b3589c1: embed theme params in the fops request for swapped
|
|
87
|
+
- bc5436e: change final buttons on fanatics
|
|
88
|
+
- 2ccdc83: refactor: reorder meld options
|
|
89
|
+
- c6fc3e7: fix: iframe postMessage origin validation
|
|
90
|
+
- a7ca00e: fix(connect): fix fanatics font size
|
|
91
|
+
- 8cb1965: chore: sanitize htmls
|
|
92
|
+
- 0e6d9bd: feat(connect): map skeleton heights to actual font sizes in FunPaymentMethodItemSkeleton
|
|
93
|
+
- 4fe1634: implement swapped iframe integration
|
|
94
|
+
- bd51750: feat(connect): make CryptoCashToggle styles theme configurable
|
|
95
|
+
- a61d9e5: fix(connect): redirect completion tx explorer to Lighter for L1 deposits
|
|
96
|
+
- 3c36d53: Fix stale withdrawal quote reuse across consecutive withdrawals by resetting checkout ID on "New Withdrawal"
|
|
97
|
+
- f1b51e0: feat(connect): max height on mobile
|
|
98
|
+
- 12e06a2: feat(connect): ability to update source change layout via ui config
|
|
99
|
+
- 6e9ec49: feat(connect): add theme level configs to source list section labels
|
|
100
|
+
- 7ebf0ca: fix(connect): add i18n for Across and LayerZero time estimate strings
|
|
101
|
+
- a615907: feat(connect): improve metric collection for analytics events
|
|
102
|
+
- 729eb2b: fix: adjust Across bridge time estimates and fix Lighter explorer link
|
|
103
|
+
- 712bacc: refactor(connect): reorder SourceChange component hooks and variables for readability
|
|
104
|
+
- aeb52c7: fix(connect): skip broken Polygon default viem RPC
|
|
105
|
+
- 28eb98c: misc fixes
|
|
106
|
+
- e13fffb: feat(connect): update fanatics padding for close and action button
|
|
107
|
+
- 8840aa9: feat: add dynamic s3 icon fallback
|
|
108
|
+
- 4fc223a: extra bottom padding removed for swapped iframe
|
|
109
|
+
- a653ae3: fix(connect): increase flag fetch timeout to 10s
|
|
110
|
+
- 2ac1d6d: refactor(connect): extract completion tx resolution into utility function
|
|
111
|
+
- 644c1ad: Remove dangerouslySetInnerHTML from InfoBanner and strip HTML from usdceWarning translations.
|
|
112
|
+
- 28eb98c: refactor(connect): rename isLighterNativeFlow to isLighterSlowDeposit and extract delayed cutoff utility
|
|
113
|
+
- 64f367d: feat(connect): handle withdrawal rate limit errors
|
|
114
|
+
- 7e19469: chore(connect): silence statsig warnings
|
|
115
|
+
- 508713c: fix(connect): update transaction status padding for fanatics
|
|
116
|
+
- 126661c: feat(connect): add page readiness tracking for checkout steps
|
|
117
|
+
- d4d38db: feat(connect): add source change initial loader
|
|
118
|
+
- Updated dependencies [ba04b38]
|
|
119
|
+
- Updated dependencies [b3589c1]
|
|
120
|
+
- Updated dependencies [4fe1634]
|
|
121
|
+
- Updated dependencies [4fe1634]
|
|
122
|
+
- Updated dependencies [8aa93f1]
|
|
123
|
+
- Updated dependencies [3b1c2c0]
|
|
124
|
+
- @funkit/api-base@2.2.0-next.0
|
|
125
|
+
- @funkit/utils@1.2.1-next.0
|
|
126
|
+
- @funkit/fun-relay@2.4.1-next.1
|
|
127
|
+
|
|
3
128
|
## 8.3.1-next.0
|
|
4
129
|
|
|
5
130
|
### Patch Changes
|
|
@@ -152,6 +152,7 @@ var baseTheme = ({
|
|
|
152
152
|
},
|
|
153
153
|
dimensions: {
|
|
154
154
|
connectExchangeIconSize: "48px",
|
|
155
|
+
cryptoCashToggleIconSize: "20px",
|
|
155
156
|
dollarValueSkeletonHeight: "60px",
|
|
156
157
|
dollarValueSkeletonWidth: "160px",
|
|
157
158
|
inputAmountQuickOptionButtonHeight: "36px",
|
|
@@ -161,6 +162,7 @@ var baseTheme = ({
|
|
|
161
162
|
paymentAmountSkeletonBlockHeight: "10px",
|
|
162
163
|
paymentAmountSkeletonBlockWidth: "93px",
|
|
163
164
|
paymentAmountSkeletonCircleSize: "15px",
|
|
165
|
+
paymentMethodItemIconSize: "20px",
|
|
164
166
|
selectAssetItemIconSize: "24px",
|
|
165
167
|
txBreakdownSkeletonWidth: "72px",
|
|
166
168
|
txSummaryLineSkeletonHeight: "14px",
|
|
@@ -192,6 +194,7 @@ var baseTheme = ({
|
|
|
192
194
|
},
|
|
193
195
|
fontWeight: {
|
|
194
196
|
...DEFAULT_FONT_WEIGHTS,
|
|
197
|
+
cryptoCashToggle: DEFAULT_FONT_WEIGHTS.medium,
|
|
195
198
|
inputAmount: DEFAULT_FONT_WEIGHTS.medium,
|
|
196
199
|
modalTopbarTitle: DEFAULT_FONT_WEIGHTS.medium,
|
|
197
200
|
modalBottomBarButtonText: DEFAULT_FONT_WEIGHTS.medium,
|
|
@@ -205,11 +208,13 @@ var baseTheme = ({
|
|
|
205
208
|
txStatusTitle: DEFAULT_FONT_WEIGHTS.medium,
|
|
206
209
|
txSummaryLabel: DEFAULT_FONT_WEIGHTS.medium,
|
|
207
210
|
txSummaryValue: DEFAULT_FONT_WEIGHTS.medium,
|
|
211
|
+
sourceListSectionLabelFontWeight: DEFAULT_FONT_WEIGHTS.medium,
|
|
208
212
|
...customFontWeights
|
|
209
213
|
},
|
|
210
214
|
fontSize: {
|
|
211
215
|
...FONT_SIZINGS[fontSizing],
|
|
212
216
|
body: FONT_SIZINGS[fontSizing][14],
|
|
217
|
+
cryptoCashToggle: FONT_SIZINGS[fontSizing][12],
|
|
213
218
|
"header-14": { fontSize: "14px", lineHeight: "14px" },
|
|
214
219
|
"header-36": { fontSize: "36px", lineHeight: "36px" },
|
|
215
220
|
buttonTextPrimary: FONT_SIZINGS[fontSizing][12],
|
|
@@ -235,6 +240,7 @@ var baseTheme = ({
|
|
|
235
240
|
depositAddressFontSize: FONT_SIZINGS[fontSizing][10],
|
|
236
241
|
funFeatureListItemFontSize: FONT_SIZINGS[fontSizing][12],
|
|
237
242
|
dropdownItemFontSize: FONT_SIZINGS[fontSizing][12],
|
|
243
|
+
sourceListSectionLabelFontSize: FONT_SIZINGS[fontSizing][12],
|
|
238
244
|
...customFontSizings
|
|
239
245
|
},
|
|
240
246
|
radii: {
|
|
@@ -260,12 +266,17 @@ var baseTheme = ({
|
|
|
260
266
|
borderWidths: {
|
|
261
267
|
activeOptionBorderWidth: "1px",
|
|
262
268
|
buttonTertiaryBorderWidth: "0px",
|
|
269
|
+
cryptoCashToggleContainerBorderWidth: "0px",
|
|
263
270
|
txSummaryBoxBorderWidth: "1px",
|
|
264
271
|
...customBorderWidths
|
|
265
272
|
},
|
|
266
273
|
spacing: {
|
|
267
274
|
confirmationStepMarginTop: "6px",
|
|
268
275
|
confirmationStepVerticalGap: "18px",
|
|
276
|
+
cryptoCashToggleContainerPadding: "3px",
|
|
277
|
+
cryptoCashToggleMarginBottom: "16px",
|
|
278
|
+
cryptoCashToggleMarginTop: "24px",
|
|
279
|
+
cryptoCashToggleTabPaddingY: "6px",
|
|
269
280
|
modalBaseHorizontalPadding: "6px",
|
|
270
281
|
modalBottomBarButtonPaddingY: "0px",
|
|
271
282
|
modalBottomHorizontalPadding: "12px",
|
|
@@ -284,6 +295,9 @@ var baseTheme = ({
|
|
|
284
295
|
txSummaryLineItemPadding: "0px",
|
|
285
296
|
txSummaryDividerMarginX: "12px",
|
|
286
297
|
txSummaryDividerMarginY: "12px",
|
|
298
|
+
verticalSectionGap: "18px",
|
|
299
|
+
youPayYouReceivePaddingLeft: "12px",
|
|
300
|
+
youPayYouReceivePaddingRight: "16px",
|
|
287
301
|
youPayYouReceivePaddingY: "8px",
|
|
288
302
|
...customSpacings
|
|
289
303
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
baseTheme
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4WY7FNYP.js";
|
|
5
5
|
|
|
6
6
|
// src/themes/lightTheme.ts
|
|
7
7
|
var accentColors = {
|
|
@@ -170,7 +170,9 @@ var lightTheme = ({
|
|
|
170
170
|
dropdownActiveItemBackgroundDisabled: customColors?.dropdownActiveItemBackgroundDisabled ?? "transparent",
|
|
171
171
|
txSummaryBoxBackground: customColors?.txSummaryBoxBackground ?? customColors?.modalBackground ?? "#FFF",
|
|
172
172
|
txSummaryBoxBorder: customColors?.txSummaryBoxBorder ?? customColors?.lightStroke ?? "#F7F7F7",
|
|
173
|
-
counterRingColor: customColors?.counterRingColor ?? accentColor
|
|
173
|
+
counterRingColor: customColors?.counterRingColor ?? accentColor,
|
|
174
|
+
cryptoCashToggleContainerBorderColor: customColors?.cryptoCashToggleContainerBorderColor ?? "transparent",
|
|
175
|
+
cryptoCashToggleBackground: customColors?.cryptoCashToggleBackground ?? "transparent"
|
|
174
176
|
},
|
|
175
177
|
shadows: {
|
|
176
178
|
connectButton: "0px 4px 12px rgba(0, 0, 0, 0.1)",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
baseTheme
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4WY7FNYP.js";
|
|
5
5
|
|
|
6
6
|
// src/themes/darkTheme.ts
|
|
7
7
|
var accentColors = {
|
|
@@ -170,7 +170,9 @@ var darkTheme = ({
|
|
|
170
170
|
dropdownActiveItemBackgroundDisabled: customColors?.dropdownActiveItemBackgroundDisabled ?? "transparent",
|
|
171
171
|
txSummaryBoxBackground: customColors?.txSummaryBoxBackground ?? customColors?.modalBackground ?? "#000",
|
|
172
172
|
txSummaryBoxBorder: customColors?.txSummaryBoxBorder ?? customColors?.lightStroke ?? "#333333",
|
|
173
|
-
counterRingColor: customColors?.counterRingColor ?? accentColor
|
|
173
|
+
counterRingColor: customColors?.counterRingColor ?? accentColor,
|
|
174
|
+
cryptoCashToggleContainerBorderColor: customColors?.cryptoCashToggleContainerBorderColor ?? "transparent",
|
|
175
|
+
cryptoCashToggleBackground: customColors?.cryptoCashToggleBackground ?? "transparent"
|
|
174
176
|
},
|
|
175
177
|
shadows: {
|
|
176
178
|
connectButton: "0px 4px 12px rgba(0, 0, 0, 0.1)",
|