@funkit/connect 9.20.0 → 9.21.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.
Files changed (34) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/{chunk-PFIXC5YK.js → chunk-36KVHK22.js} +5 -2
  3. package/dist/{chunk-6K4U3Z4Z.js → chunk-4YEAUICE.js} +5 -0
  4. package/dist/{chunk-NBECXHBY.js → chunk-67BKQQNG.js} +5 -2
  5. package/dist/clients/chunk-52NKHZS2.js +69 -0
  6. package/dist/clients/{chunk-CSONEKIF.js → chunk-KSSSSWR6.js} +1 -1
  7. package/dist/clients/{chunk-47AQXZQE.js → chunk-NCCAYPLO.js} +1 -1
  8. package/dist/clients/{chunk-JOM2J5WB.js → chunk-OWXKWC7I.js} +27 -16
  9. package/dist/clients/{chunk-UNCVGPTD.js → chunk-ZMVXBMON.js} +1 -1
  10. package/dist/clients/fanatics.css +2891 -2702
  11. package/dist/clients/fanatics.js +5 -5
  12. package/dist/clients/lighter.css +2891 -2702
  13. package/dist/clients/lighter.js +3 -3
  14. package/dist/clients/nado.d.ts +78 -0
  15. package/dist/clients/nado.js +107 -0
  16. package/dist/clients/polymarket/PolymarketDepositAccountDropdown.css +2900 -2708
  17. package/dist/clients/polymarket/PolymarketDepositAccountDropdown.js +5 -5
  18. package/dist/clients/polymarket/index.css +2900 -2708
  19. package/dist/clients/polymarket/index.js +5 -5
  20. package/dist/components/Box/Box.d.ts +21 -21
  21. package/dist/components/FunButton/FunButton.css.d.ts +1 -0
  22. package/dist/components/FunOptionBox/FunOptionBox.css.d.ts +1 -1
  23. package/dist/css/sprinkles.css.d.ts +33 -21
  24. package/dist/index.css +2900 -2708
  25. package/dist/index.js +176 -150
  26. package/dist/modals/WithdrawalModal/WithdrawalContent.d.ts +7 -0
  27. package/dist/providers/FunkitThemeProvider.d.ts +18 -0
  28. package/dist/themes/baseTheme.d.ts +3 -1
  29. package/dist/themes/baseTheme.js +1 -1
  30. package/dist/themes/darkTheme.js +2 -2
  31. package/dist/themes/lightTheme.js +2 -2
  32. package/dist/wallets/walletConnectors/index.js +32 -32
  33. package/package.json +2 -2
  34. package/dist/clients/chunk-JVTKIEOP.js +0 -69
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  Box
4
- } from "./chunk-JVTKIEOP.js";
4
+ } from "./chunk-52NKHZS2.js";
5
5
 
6
6
  // src/components/Text/Text.tsx
7
7
  import React from "react";
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  Box
4
- } from "./chunk-JVTKIEOP.js";
4
+ } from "./chunk-52NKHZS2.js";
5
5
  import {
6
6
  logger
7
7
  } from "./chunk-UUHGOBKZ.js";
@@ -1,23 +1,23 @@
1
1
  "use client";
2
2
  import {
3
- POLYMARKET_PERPS_ROUTING_ID,
4
- POLYMARKET_PREDICTIONS_ROUTING_ID
5
- } from "./chunk-4752IYY6.js";
3
+ usePolymarketAccountBalances
4
+ } from "./chunk-MRBN4XCA.js";
6
5
  import {
7
6
  Text
8
- } from "./chunk-CSONEKIF.js";
7
+ } from "./chunk-KSSSSWR6.js";
9
8
  import {
10
9
  Box,
11
10
  themeVars,
12
11
  useFunkitTranslation
13
- } from "./chunk-JVTKIEOP.js";
12
+ } from "./chunk-52NKHZS2.js";
13
+ import {
14
+ POLYMARKET_PERPS_ROUTING_ID,
15
+ POLYMARKET_PREDICTIONS_ROUTING_ID
16
+ } from "./chunk-4752IYY6.js";
14
17
  import {
15
18
  POLYGON_USDCE,
16
19
  PUSD_TOKEN
17
20
  } from "./chunk-MOUTRRN3.js";
18
- import {
19
- usePolymarketAccountBalances
20
- } from "./chunk-MRBN4XCA.js";
21
21
  import {
22
22
  logger
23
23
  } from "./chunk-UUHGOBKZ.js";
@@ -278,6 +278,7 @@ var baseTheme = ({
278
278
  customBorderWidths,
279
279
  customBorderRadiuses = radiusScales[borderRadius],
280
280
  customDimensions,
281
+ customOpacities,
281
282
  customSpacings,
282
283
  customTextTransforms,
283
284
  overlayBlur = "small",
@@ -433,6 +434,10 @@ var baseTheme = ({
433
434
  txSummaryBoxBorderWidth: "1px",
434
435
  ...customBorderWidths
435
436
  },
437
+ opacities: {
438
+ buttonPrimaryDisabled: "1",
439
+ ...customOpacities
440
+ },
436
441
  spacing: {
437
442
  confirmationStepMarginTop: "6px",
438
443
  confirmationStepVerticalGap: "18px",
@@ -675,6 +680,7 @@ var darkTheme = ({
675
680
  // option Boxes
676
681
  optionBoxBackground: customColors?.optionBoxBackground ?? customColors?.modalBackground ?? "#000",
677
682
  // keeps gradient in SourcePaymentMethodItem if optionBoxBackground differs from modal background
683
+ optionBoxBorderedBackground: customColors?.optionBoxBorderedBackground ?? customColors?.optionBoxBackground ?? customColors?.modalBackground ?? "#000",
678
684
  optionBoxBackgroundUninteractive: customColors?.optionBoxBackgroundUninteractive ?? "transparent",
679
685
  optionBoxBorderBase: customColors?.optionBoxBorderBase ?? customColors?.mediumStroke ?? "#333333",
680
686
  optionBoxBorderHover: customColors?.optionBoxBorderHover ?? customColors?.mediumStroke ?? "#333333",
@@ -693,7 +699,9 @@ var darkTheme = ({
693
699
  modalBackgroundCheckoutComplete: customColors?.modalBackgroundCheckoutComplete ?? customColors?.modalBackground ?? "#000",
694
700
  counterRingColor: customColors?.counterRingColor ?? accentColor,
695
701
  cryptoCashToggleContainerBorderColor: customColors?.cryptoCashToggleContainerBorderColor ?? "transparent",
696
- cryptoCashToggleBackground: customColors?.cryptoCashToggleBackground ?? "transparent"
702
+ cryptoCashToggleBackground: customColors?.cryptoCashToggleBackground ?? "transparent",
703
+ qrCodeBackground: customColors?.qrCodeBackground ?? customColors?.modalBackground ?? "#000000",
704
+ qrCodeForeground: customColors?.qrCodeForeground ?? customColors?.primaryText ?? "#FFFFFF"
697
705
  },
698
706
  shadows: {
699
707
  connectButton: "0px 4px 12px rgba(0, 0, 0, 0.1)",
@@ -916,6 +924,7 @@ var lightTheme = ({
916
924
  // option Boxes
917
925
  optionBoxBackground: customColors?.optionBoxBackground ?? customColors?.modalBackground ?? "#FFF",
918
926
  // keeps gradient in SourcePaymentMethodItem if optionBoxBackground differs from modal background
927
+ optionBoxBorderedBackground: customColors?.optionBoxBorderedBackground ?? customColors?.optionBoxBackground ?? customColors?.modalBackground ?? "#FFF",
919
928
  optionBoxBackgroundUninteractive: customColors?.optionBoxBackgroundUninteractive ?? "transparent",
920
929
  optionBoxBorderBase: customColors?.optionBoxBorderBase ?? customColors?.mediumStroke ?? "#F0F0F0",
921
930
  optionBoxBorderHover: customColors?.optionBoxBorderHover ?? customColors?.mediumStroke ?? "#F0F0F0",
@@ -934,7 +943,9 @@ var lightTheme = ({
934
943
  modalBackgroundCheckoutComplete: customColors?.modalBackgroundCheckoutComplete ?? customColors?.modalBackground ?? "#FFF",
935
944
  counterRingColor: customColors?.counterRingColor ?? accentColor,
936
945
  cryptoCashToggleContainerBorderColor: customColors?.cryptoCashToggleContainerBorderColor ?? "transparent",
937
- cryptoCashToggleBackground: customColors?.cryptoCashToggleBackground ?? "transparent"
946
+ cryptoCashToggleBackground: customColors?.cryptoCashToggleBackground ?? "transparent",
947
+ qrCodeBackground: customColors?.qrCodeBackground ?? customColors?.modalBackground ?? "#FFF",
948
+ qrCodeForeground: customColors?.qrCodeForeground ?? customColors?.primaryText ?? "#000"
938
949
  },
939
950
  shadows: {
940
951
  connectButton: "0px 4px 12px rgba(0, 0, 0, 0.1)",
@@ -1039,12 +1050,12 @@ function FunSkeletonBlock({
1039
1050
  // src/components/FunInput/FunInput.css.ts
1040
1051
  var baseWrapperStyles = "zue0i60";
1041
1052
  var baseWrapperStylesNoTransition = "zue0i61";
1042
- var inputClass = "zue0i64 _1rsrm2f2py _1rsrm2fri _1rsrm2ftj _1rsrm2fvl _1rsrm2fpi";
1043
- var inputClassDisabled = "zue0i68 _1rsrm2f2ta _1rsrm2fri _1rsrm2ftj _1rsrm2fvl _1rsrm2fpi";
1044
- var inputClassDisabledNoTransition = "zue0i6a _1rsrm2f2ta _1rsrm2fri _1rsrm2ftj _1rsrm2fvl _1rsrm2fpi";
1045
- var inputClassError = "zue0i6c _1rsrm2f2py _1rsrm2fri _1rsrm2ftj _1rsrm2fvl _1rsrm2fpi";
1046
- var inputClassErrorNoTransition = "zue0i6f _1rsrm2f2py _1rsrm2fri _1rsrm2ftj _1rsrm2fvl _1rsrm2fpi";
1047
- var inputClassNoTransition = "zue0i66 _1rsrm2f2py _1rsrm2fri _1rsrm2ftj _1rsrm2fvl _1rsrm2fpi";
1053
+ var inputClass = "zue0i64 _1rsrm2f2qy _1rsrm2fri _1rsrm2ftj _1rsrm2fvl _1rsrm2fpi";
1054
+ var inputClassDisabled = "zue0i68 _1rsrm2f2ua _1rsrm2fri _1rsrm2ftj _1rsrm2fvl _1rsrm2fpi";
1055
+ var inputClassDisabledNoTransition = "zue0i6a _1rsrm2f2ua _1rsrm2fri _1rsrm2ftj _1rsrm2fvl _1rsrm2fpi";
1056
+ var inputClassError = "zue0i6c _1rsrm2f2qy _1rsrm2fri _1rsrm2ftj _1rsrm2fvl _1rsrm2fpi";
1057
+ var inputClassErrorNoTransition = "zue0i6f _1rsrm2f2qy _1rsrm2fri _1rsrm2ftj _1rsrm2fvl _1rsrm2fpi";
1058
+ var inputClassNoTransition = "zue0i66 _1rsrm2f2qy _1rsrm2fri _1rsrm2ftj _1rsrm2fvl _1rsrm2fpi";
1048
1059
  var numberInputResetStyle = "zue0i62";
1049
1060
 
1050
1061
  // src/components/FunInput/FunInput.tsx
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  useFunkitTranslation
4
- } from "./chunk-JVTKIEOP.js";
4
+ } from "./chunk-52NKHZS2.js";
5
5
 
6
6
  // src/providers/FunkitConfigContext.tsx
7
7
  import {