@funkit/connect 8.2.1-next.2 → 8.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 +80 -0
- package/dist/__generated__/default_configs.d.ts +7 -0
- package/dist/{chunk-BP7VOYBS.js → chunk-A24XIU2M.js} +3 -1
- package/dist/{chunk-MYPFORR2.js → chunk-CMS4F5PL.js} +3 -2
- package/dist/{chunk-KKGSXLMH.js → chunk-GRQP5R23.js} +3 -2
- package/dist/clients/fanatics.css +3648 -3563
- package/dist/clients/fanatics.js +3 -3
- package/dist/components/Box/Box.d.ts +28 -28
- package/dist/css/sprinkles.css.d.ts +40 -28
- package/dist/hooks/queries/useRecentCheckouts.d.ts +0 -5
- package/dist/hooks/usePaymentSources.d.ts +1 -1
- package/dist/hooks/useRelayBypass.d.ts +0 -9
- package/dist/hooks/useUserIpInfo.d.ts +19 -0
- package/dist/index.css +3648 -3563
- package/dist/index.js +2203 -2226
- package/dist/providers/FunkitConfigContext.d.ts +9 -2
- package/dist/providers/FunkitMoonpayProvider.d.ts +0 -14
- 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/utils/flags/config.d.ts +1 -1
- package/dist/wallets/walletConnectors/index.js +10 -10
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,85 @@
|
|
|
1
1
|
# @funkit/connect
|
|
2
2
|
|
|
3
|
+
## 8.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 0ba280c: feat(fun-relay): add rawCalldata support to ApiFunkitCheckoutActionParams and export RELAY_LIGHTER_CHAIN_ID
|
|
8
|
+
- ddb5ea7: Remove relay bypass feature flag logic as quote routing is now controlled by the backend. The useRelayBypass hook now always enables relay for whitelisted payment methods.
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- 0d3abef: feat(connect): send DirectExecutionType.ACROSS when quote has metadata.across.enabled
|
|
13
|
+
- a558f90: feat(connect): migrate CheckoutTimeEstimateOverrides flag to statsig
|
|
14
|
+
feat(connect): migrate EnableTokenTransferUniversalDepositAddress flag to statsig
|
|
15
|
+
- 0566c14: feat(connect): migrate EnableTokenTransfer flag to statsig
|
|
16
|
+
- c15dec4: feat(connect): move EnableBluvoBrokerage flag to statsig
|
|
17
|
+
- df1274f: feat(connect): migrate BlockedCountries flag to statsig
|
|
18
|
+
- 6d13870: feat(connect): configurable source change close button
|
|
19
|
+
- 043457b: feat(connect): update fanatics transfer crypto labels and fontsize
|
|
20
|
+
- bdc8605: feat(connect): add counterRingColor to theme
|
|
21
|
+
- 389d272: fix(connect): select asset custom banner margin
|
|
22
|
+
- Updated dependencies [0d3abef]
|
|
23
|
+
- Updated dependencies [0ba280c]
|
|
24
|
+
- Updated dependencies [a558f90]
|
|
25
|
+
- Updated dependencies [ddb5ea7]
|
|
26
|
+
- Updated dependencies [0566c14]
|
|
27
|
+
- Updated dependencies [c15dec4]
|
|
28
|
+
- Updated dependencies [df1274f]
|
|
29
|
+
- @funkit/api-base@2.1.3
|
|
30
|
+
- @funkit/fun-relay@2.4.0
|
|
31
|
+
- @funkit/utils@1.2.0
|
|
32
|
+
|
|
33
|
+
## 8.2.1
|
|
34
|
+
|
|
35
|
+
### Patch Changes
|
|
36
|
+
|
|
37
|
+
- 87c0f00: feat(connect): split decimal based on locale
|
|
38
|
+
- 761464a: feat(connect): fanatics checkout history
|
|
39
|
+
- fcf7c8b: refactor(connect): select asset screen - minor refactor and breaking up into smaller components
|
|
40
|
+
- 68d2aaf: feat(connect): add theme level variables to modal header icon buttons
|
|
41
|
+
- 074e0f5: fix(connect): custom payment method icon for connected wallet users
|
|
42
|
+
- 29ac86d: Add configurable props to custom source banner component
|
|
43
|
+
- d1a72f7: feat(connect): preload remote S3 url
|
|
44
|
+
- 203029c: feat(connect): add theme level control to set font size for you send you receive component
|
|
45
|
+
- b7886e5: feat(connect): migrate EnableFiatDeposit flag to statsig
|
|
46
|
+
- 4833bc1: Do not unnecessarily fetch Lighter accounts
|
|
47
|
+
- ad0a860: fix(connect): input screen decimal color check
|
|
48
|
+
- 9ffd984: feat(connect): ability to pass custom icons to payment method icons
|
|
49
|
+
- 6cea746: feat(connect): add instant time estimate label via config
|
|
50
|
+
- d9821eb: swapped based use cash tab UI implementation
|
|
51
|
+
- 2f4c5c2: feat(connect): add theme styling for cash crypto toggle
|
|
52
|
+
- 9f3ff5c: fix(connect): transparent caret color bug
|
|
53
|
+
- cade95a: geist mono font for amounts in fanatics theme
|
|
54
|
+
- 0b0e4e8: fanatics modal mobile view improvements
|
|
55
|
+
- 9f98ac4: feat(connect): add dynamic chain icon mask on FunAvatar component
|
|
56
|
+
- 49376c3: fix: getBalance computation no longer relies on deprecated field
|
|
57
|
+
- 7d6b623: new skeletons for fanatics
|
|
58
|
+
- 0d1a649: feat(connect): customizable payment method icons
|
|
59
|
+
- 38be23d: feat: new inputAmountFiatDecimalsColor theme variable
|
|
60
|
+
- 88aed38: fix(connect): select asset screen - padding issue for navigateOnAssetClick variant
|
|
61
|
+
- ce0e7ff: fix(connect): cdn url path
|
|
62
|
+
- ff96c90: feat(connect): hide destination field in payment summary for simplifiedUi config
|
|
63
|
+
- 14355da: feat(connect): ability to display step vs animated progress
|
|
64
|
+
- aabec47: feat(connect): ui customization to hide secondary token symbol on FunAssetItem
|
|
65
|
+
- 1f1c515: chore(connect): fanatics confirmation step
|
|
66
|
+
- cc8ed95: feat(connect): fanatics connect exchange screen
|
|
67
|
+
- a677e72: refactor(connect): break up TransactionStatus into separate files
|
|
68
|
+
- 52208da: fix(connect): fix stale value with flush sync
|
|
69
|
+
- 5aa2e13: feat(connect): migrate CheckoutNotificationsRefreshInterval flag to statsig
|
|
70
|
+
- 5bba47b: fix(connect): update default theme value horizontal padding on confirmation screen
|
|
71
|
+
- 0c04e6e: chore: deprecate unused hook useUsableWalletAssetsForCheckout
|
|
72
|
+
- 2f67612: fix font sizes for fanatics
|
|
73
|
+
- Updated dependencies [dee4a4b]
|
|
74
|
+
- Updated dependencies [4f6433f]
|
|
75
|
+
- Updated dependencies [b7886e5]
|
|
76
|
+
- Updated dependencies [c939c70]
|
|
77
|
+
- Updated dependencies [78f741f]
|
|
78
|
+
- Updated dependencies [5aa2e13]
|
|
79
|
+
- @funkit/fun-relay@2.3.0
|
|
80
|
+
- @funkit/api-base@2.1.2
|
|
81
|
+
- @funkit/utils@1.1.25
|
|
82
|
+
|
|
3
83
|
## 8.2.1-next.2
|
|
4
84
|
|
|
5
85
|
### Patch Changes
|
|
@@ -264,6 +264,13 @@ declare const _default: {
|
|
|
264
264
|
readonly value: false;
|
|
265
265
|
};
|
|
266
266
|
readonly enabletokentransfer: {
|
|
267
|
+
readonly variants: readonly [{
|
|
268
|
+
readonly condition: {
|
|
269
|
+
readonly type: "country";
|
|
270
|
+
readonly countryCodes: readonly ["US"];
|
|
271
|
+
};
|
|
272
|
+
readonly value: false;
|
|
273
|
+
}];
|
|
267
274
|
readonly value: true;
|
|
268
275
|
};
|
|
269
276
|
readonly enabletokentransferuniversaldepositaddress: {
|
|
@@ -165,7 +165,8 @@ var baseTheme = ({
|
|
|
165
165
|
txBreakdownSkeletonWidth: "72px",
|
|
166
166
|
txSummaryLineSkeletonHeight: "14px",
|
|
167
167
|
txSummaryLineSkeletonWidth: "54px",
|
|
168
|
-
...customDimensions
|
|
168
|
+
...customDimensions,
|
|
169
|
+
modalBottomBarCloseButtonHeight: customDimensions?.modalBottomBarCloseButtonHeight ?? customDimensions?.modalBottomBarButtonHeight ?? "34px"
|
|
169
170
|
},
|
|
170
171
|
fonts: typeof customFontFamily === "string" ? {
|
|
171
172
|
amountValue: customFontFamily,
|
|
@@ -233,6 +234,7 @@ var baseTheme = ({
|
|
|
233
234
|
transferTokenLabelFontSize: FONT_SIZINGS[fontSizing][12],
|
|
234
235
|
depositAddressFontSize: FONT_SIZINGS[fontSizing][10],
|
|
235
236
|
funFeatureListItemFontSize: FONT_SIZINGS[fontSizing][12],
|
|
237
|
+
dropdownItemFontSize: FONT_SIZINGS[fontSizing][12],
|
|
236
238
|
...customFontSizings
|
|
237
239
|
},
|
|
238
240
|
radii: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
baseTheme
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-A24XIU2M.js";
|
|
5
5
|
|
|
6
6
|
// src/themes/lightTheme.ts
|
|
7
7
|
var accentColors = {
|
|
@@ -169,7 +169,8 @@ var lightTheme = ({
|
|
|
169
169
|
dropdownActiveItemBackgroundHover: customColors?.dropdownActiveItemBackgroundHover ?? customColors?.offBackground ?? "#F7F7F7",
|
|
170
170
|
dropdownActiveItemBackgroundDisabled: customColors?.dropdownActiveItemBackgroundDisabled ?? "transparent",
|
|
171
171
|
txSummaryBoxBackground: customColors?.txSummaryBoxBackground ?? customColors?.modalBackground ?? "#FFF",
|
|
172
|
-
txSummaryBoxBorder: customColors?.txSummaryBoxBorder ?? customColors?.lightStroke ?? "#F7F7F7"
|
|
172
|
+
txSummaryBoxBorder: customColors?.txSummaryBoxBorder ?? customColors?.lightStroke ?? "#F7F7F7",
|
|
173
|
+
counterRingColor: customColors?.counterRingColor ?? accentColor
|
|
173
174
|
},
|
|
174
175
|
shadows: {
|
|
175
176
|
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-A24XIU2M.js";
|
|
5
5
|
|
|
6
6
|
// src/themes/darkTheme.ts
|
|
7
7
|
var accentColors = {
|
|
@@ -169,7 +169,8 @@ var darkTheme = ({
|
|
|
169
169
|
dropdownActiveItemBackgroundHover: customColors?.dropdownActiveItemBackgroundHover ?? customColors?.offBackground ?? "#1F1F1F",
|
|
170
170
|
dropdownActiveItemBackgroundDisabled: customColors?.dropdownActiveItemBackgroundDisabled ?? "transparent",
|
|
171
171
|
txSummaryBoxBackground: customColors?.txSummaryBoxBackground ?? customColors?.modalBackground ?? "#000",
|
|
172
|
-
txSummaryBoxBorder: customColors?.txSummaryBoxBorder ?? customColors?.lightStroke ?? "#333333"
|
|
172
|
+
txSummaryBoxBorder: customColors?.txSummaryBoxBorder ?? customColors?.lightStroke ?? "#333333",
|
|
173
|
+
counterRingColor: customColors?.counterRingColor ?? accentColor
|
|
173
174
|
},
|
|
174
175
|
shadows: {
|
|
175
176
|
connectButton: "0px 4px 12px rgba(0, 0, 0, 0.1)",
|