@funkit/connect 9.3.0 → 9.3.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,30 @@
1
1
  # @funkit/connect
2
2
 
3
+ ## 9.3.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 7e7e08f: fix(connect): fix brokerage list gap across customers
8
+ - 96d574a: feat: preload swapped icons
9
+ - 7058a47: fix wallet option showing for dust balances by aligning usability check with asset selection screen
10
+ - 192e9d0: feat: update swapped iframe events
11
+ - b735dae: fix overlay scroll bug within swapped iframe in polymarket
12
+
13
+ ## 9.3.1
14
+
15
+ ### Patch Changes
16
+
17
+ - a77a0a4: feat(connect): show Unavailable badge for geo-blocked payment methods
18
+ - 20f61a0: fix see less text cut off bug
19
+ - a940837: move dropdown to radix ui based implementation
20
+ - 6e3659e: feat: swapped theme edits
21
+ - 06c289a: feat(connect): fanatics withdrawal custom top component
22
+ - 99bcd33: withdrawal max button minimum amount check bug fixed
23
+ - a3e31d3: fix: swapped loader skeleton
24
+ - 466f42d: fix primary button bg mismatch with swapped
25
+ - Updated dependencies [26aca0f]
26
+ - @funkit/api-base@3.0.2
27
+
3
28
  ## 9.3.0
4
29
 
5
30
  ### Minor Changes
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  baseTheme
4
- } from "./chunk-TWG76V3I.js";
4
+ } from "./chunk-MXNOQTKX.js";
5
5
 
6
6
  // src/themes/lightTheme.ts
7
7
  var accentColors = {
@@ -20,7 +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
+ // biome-ignore lint/complexity/noExcessiveCognitiveComplexity: just a bunch of ?? defaults
24
24
  } = {}) => ({
25
25
  ...baseTheme(baseThemeOptions),
26
26
  colors: {
@@ -69,7 +69,6 @@ var lightTheme = ({
69
69
  tertiaryText: "rgba(0, 0, 0, 0.35)",
70
70
  textSelection: "rgba(0, 0, 0, 0.10)",
71
71
  selectedDropdownItemText: customColors?.primaryText ?? "#000",
72
- dropdownLabelColor: customColors?.primaryText ?? "#000",
73
72
  copyButtonBackgroundBase: customColors?.offBackground ?? "#F7F7F7",
74
73
  copyButtonBackgroundHover: customColors?.hoverState ?? "#F0F0F0",
75
74
  copyButtonBackgroundActive: customColors?.inputBorderHover ?? "#E5E5E5",
@@ -140,6 +139,9 @@ var lightTheme = ({
140
139
  // primaryText
141
140
  youPayYouReceiveSecondaryText: "#737373",
142
141
  // secondaryText
142
+ withdrawalYouWillReceiveLabel: customColors?.withdrawalYouWillReceiveLabel ?? customColors?.primaryText ?? "#000",
143
+ withdrawalYouWillReceiveValueCrypto: customColors?.withdrawalYouWillReceiveValueCrypto ?? customColors?.primaryText ?? "#000",
144
+ withdrawalYouWillReceiveValueUsd: customColors?.withdrawalYouWillReceiveValueUsd ?? customColors?.secondaryText ?? "#737373",
143
145
  // badges
144
146
  badgeBackgroundSuccess: "rgba(124, 242, 136, 0.1)",
145
147
  badgeBorderSuccess: "rgba(124, 242, 136, 0.2)",
@@ -219,20 +219,24 @@ var baseTheme = ({
219
219
  ...DEFAULT_FONT_WEIGHTS,
220
220
  cryptoCashToggle: DEFAULT_FONT_WEIGHTS.medium,
221
221
  inputAmount: DEFAULT_FONT_WEIGHTS.medium,
222
+ inputLabel: DEFAULT_FONT_WEIGHTS.medium,
223
+ inputValue: DEFAULT_FONT_WEIGHTS.medium,
222
224
  modalTopbarTitle: DEFAULT_FONT_WEIGHTS.medium,
223
225
  modalBottomBarButtonText: DEFAULT_FONT_WEIGHTS.medium,
224
226
  paymentMethodItemSubtitle: DEFAULT_FONT_WEIGHTS.regular,
225
227
  paymentMethodItemTitle: DEFAULT_FONT_WEIGHTS.medium,
226
228
  selectAssetItemSubtitle: DEFAULT_FONT_WEIGHTS.regular,
227
229
  selectAssetItemTitle: DEFAULT_FONT_WEIGHTS.medium,
228
- transferTokenLabelFontWeight: DEFAULT_FONT_WEIGHTS.medium,
230
+ sourceListSectionLabelFontWeight: DEFAULT_FONT_WEIGHTS.medium,
229
231
  txBreakdown: DEFAULT_FONT_WEIGHTS.regular,
230
232
  txStatusDescription: DEFAULT_FONT_WEIGHTS.regular,
231
233
  txStatusTitle: DEFAULT_FONT_WEIGHTS.medium,
232
234
  txSummaryLabel: DEFAULT_FONT_WEIGHTS.medium,
233
235
  txSummaryValue: DEFAULT_FONT_WEIGHTS.medium,
234
- sourceListSectionLabelFontWeight: DEFAULT_FONT_WEIGHTS.medium,
235
236
  formOfPaymentsListSectionLabelFontWeight: DEFAULT_FONT_WEIGHTS.medium,
237
+ withdrawalYouWillReceiveLabel: DEFAULT_FONT_WEIGHTS.regular,
238
+ withdrawalYouWillReceiveValueCrypto: DEFAULT_FONT_WEIGHTS.medium,
239
+ withdrawalYouWillReceiveValueUsd: DEFAULT_FONT_WEIGHTS.regular,
236
240
  ...customFontWeights
237
241
  },
238
242
  fontSize: {
@@ -246,6 +250,8 @@ var baseTheme = ({
246
250
  buttonTextTertiary: FONT_SIZINGS[fontSizing][12],
247
251
  dollarValue: FONT_SIZINGS[fontSizing][40],
248
252
  inputAmount: FONT_SIZINGS[fontSizing][57],
253
+ inputLabel: customFontSizings[12] ?? FONT_SIZINGS[fontSizing][12],
254
+ inputValue: customFontSizings[13] ?? FONT_SIZINGS[fontSizing][13],
249
255
  modalTopbarSubtitle: FONT_SIZINGS[fontSizing][10],
250
256
  modalTopbarTitle: FONT_SIZINGS[fontSizing][13],
251
257
  modalBottomBarButtonText: FONT_SIZINGS[fontSizing][12],
@@ -258,9 +264,9 @@ var baseTheme = ({
258
264
  txStatusTitle: FONT_SIZINGS[fontSizing][13],
259
265
  txSummaryLabel: FONT_SIZINGS[fontSizing][12],
260
266
  txSummaryValue: FONT_SIZINGS[fontSizing][12],
267
+ withdrawalYouWillReceive: customFontSizings[12] ?? FONT_SIZINGS[fontSizing][12],
261
268
  youPayYouReceivePrimaryFontSize: FONT_SIZINGS[fontSizing][12],
262
269
  youPayYouReceiveSecondaryFontSize: FONT_SIZINGS[fontSizing][10],
263
- transferTokenLabelFontSize: FONT_SIZINGS[fontSizing][12],
264
270
  depositAddressFontSize: FONT_SIZINGS[fontSizing][10],
265
271
  funFeatureListItemFontSize: FONT_SIZINGS[fontSizing][12],
266
272
  dropdownItemFontSize: FONT_SIZINGS[fontSizing][12],
@@ -318,6 +324,7 @@ var baseTheme = ({
318
324
  selectAssetItemTextGap: "0px",
319
325
  selectBrokerageItemPaddingX: "12px",
320
326
  selectBrokerageItemPaddingY: "11px",
327
+ selectBrokerageListGap: "0px",
321
328
  txBreakdownMarginY: "18px",
322
329
  txBreakdownPaddingX: "12px",
323
330
  txSummaryBoxPaddingX: "12px",
@@ -326,6 +333,7 @@ var baseTheme = ({
326
333
  txSummaryDividerMarginX: "12px",
327
334
  txSummaryDividerMarginY: "12px",
328
335
  verticalSectionGap: "18px",
336
+ withdrawalModalPaddingTop: "12px",
329
337
  youPayYouReceivePaddingLeft: "12px",
330
338
  youPayYouReceivePaddingRight: "16px",
331
339
  youPayYouReceivePaddingY: "8px",
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  baseTheme
4
- } from "./chunk-TWG76V3I.js";
4
+ } from "./chunk-MXNOQTKX.js";
5
5
 
6
6
  // src/themes/darkTheme.ts
7
7
  var accentColors = {
@@ -20,7 +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
+ // biome-ignore lint/complexity/noExcessiveCognitiveComplexity: just a bunch of ?? defaults
24
24
  } = {}) => ({
25
25
  ...baseTheme(baseThemeOptions),
26
26
  colors: {
@@ -69,7 +69,6 @@ var darkTheme = ({
69
69
  tertiaryText: "rgba(255, 255, 255, 0.35)",
70
70
  textSelection: "rgba(255, 255, 255, 0.10)",
71
71
  selectedDropdownItemText: customColors?.primaryText ?? "#FFF",
72
- dropdownLabelColor: customColors?.primaryText ?? "#FFF",
73
72
  copyButtonBackgroundBase: customColors?.offBackground ?? "#1F1F1F",
74
73
  copyButtonBackgroundHover: customColors?.hoverState ?? "#333333",
75
74
  copyButtonBackgroundActive: customColors?.inputBorderHover ?? "#525252",
@@ -140,6 +139,9 @@ var darkTheme = ({
140
139
  // primaryText
141
140
  youPayYouReceiveSecondaryText: "#8C8C8C",
142
141
  // secondaryText
142
+ withdrawalYouWillReceiveLabel: customColors?.withdrawalYouWillReceiveLabel ?? customColors?.primaryText ?? "#FFF",
143
+ withdrawalYouWillReceiveValueCrypto: customColors?.withdrawalYouWillReceiveValueCrypto ?? customColors?.primaryText ?? "#FFF",
144
+ withdrawalYouWillReceiveValueUsd: customColors?.withdrawalYouWillReceiveValueUsd ?? customColors?.secondaryText ?? "#8C8C8C",
143
145
  // badges
144
146
  badgeBackgroundSuccess: "rgba(124, 242, 136, 0.1)",
145
147
  badgeBorderSuccess: "rgba(124, 242, 136, 0.2)",