@funkit/connect 3.0.0-next.2 → 3.0.0-next.4

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 (100) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/{chunk-SCKVYTAC.js → chunk-76VEFMWE.js} +5 -2
  3. package/dist/{chunk-LKYHSF23.js → chunk-Z3QREJ3Q.js} +6 -3
  4. package/dist/components/AsyncImage/AsyncImage.d.ts +3 -2
  5. package/dist/components/Box/Box.d.ts +28 -24
  6. package/dist/components/Dialog/Dialog.css.d.ts +1 -0
  7. package/dist/components/Dialog/Dialog.d.ts +3 -1
  8. package/dist/components/Dialog/DialogContent.css.d.ts +2 -0
  9. package/dist/components/DydxSwitchModalTab/DydxSwitchModalTab.d.ts +10 -0
  10. package/dist/components/DydxSwitchModalTab/Icons.d.ts +3 -0
  11. package/dist/components/FunAsset/FunAssetItem.d.ts +1 -1
  12. package/dist/components/FunBadge/FunBadge.d.ts +2 -1
  13. package/dist/components/FunButton/FunButton.css.d.ts +3 -2
  14. package/dist/components/FunButton/FunIconButton.d.ts +24 -15
  15. package/dist/components/FunButton/FunRedirectButton.d.ts +8 -0
  16. package/dist/components/FunCheckoutModal/FunCheckoutPrimaryInfo.d.ts +4 -2
  17. package/dist/components/FunCheckoutModal/FunCheckoutVerifyDetailsStep.d.ts +1 -1
  18. package/dist/components/FunConnectOptions/FunSignInStep.d.ts +2 -0
  19. package/dist/components/FunContainer/FunContainer.d.ts +1 -3
  20. package/dist/components/FunInput/FunTwoFaInput.d.ts +5 -4
  21. package/dist/components/FunNoResults/FunNoResults.d.ts +2 -2
  22. package/dist/components/FunPayments/FunPaymentMethods.d.ts +4 -18
  23. package/dist/components/FunPayments/FunPaymentMoonpayType.css.d.ts +1 -0
  24. package/dist/components/FunPayments/FunPaymentMoonpayType.d.ts +1 -3
  25. package/dist/components/FunPayments/FunPaymentSetup.d.ts +2 -3
  26. package/dist/components/FunSkeletonLoader/FunSkeletonBlock.d.ts +9 -6
  27. package/dist/components/FunSkeletonLoader/FunSkeletonCircle.d.ts +14 -5
  28. package/dist/components/FunkitProvider/FunkitCheckoutContext.d.ts +4 -1
  29. package/dist/components/FunkitProvider/FunkitConfigContext.d.ts +3 -43
  30. package/dist/components/FunkitProvider/FunkitMoonpayProvider.d.ts +4 -1
  31. package/dist/components/FunkitProvider/FunkitThemeProvider.d.ts +16 -4
  32. package/dist/components/FunkitProvider/GeneralWalletProvider.d.ts +7 -3
  33. package/dist/components/Icons/AcornsIcon.d.ts +3 -1
  34. package/dist/components/Icons/BitFlyerIcon.d.ts +3 -1
  35. package/dist/components/Icons/BitfinexIcon.d.ts +4 -0
  36. package/dist/components/Icons/BitstampIcon.d.ts +3 -1
  37. package/dist/components/Icons/BybitIcon.d.ts +3 -1
  38. package/dist/components/Icons/CoinlistIcon.d.ts +3 -1
  39. package/dist/components/Icons/CryptoComIcon.d.ts +3 -1
  40. package/dist/components/Icons/DeviceConfirmationIcon.d.ts +2 -0
  41. package/dist/components/Icons/EmailConfirmationIcon.d.ts +2 -0
  42. package/dist/components/Icons/EtradeIcon.d.ts +3 -1
  43. package/dist/components/Icons/EvmWallet.d.ts +2 -0
  44. package/dist/components/Icons/GateIo.d.ts +3 -1
  45. package/dist/components/Icons/HuobiIcon.d.ts +3 -1
  46. package/dist/components/Icons/KrakenIcon.d.ts +3 -1
  47. package/dist/components/Icons/KucoinIcon.d.ts +3 -1
  48. package/dist/components/Icons/MailIcon.d.ts +5 -1
  49. package/dist/components/Icons/OkxIcon.d.ts +3 -1
  50. package/dist/components/Icons/PaymentMethodIcons.d.ts +23 -0
  51. package/dist/components/Icons/Spinner.d.ts +1 -3
  52. package/dist/components/Icons/StashIcon.d.ts +3 -1
  53. package/dist/components/Icons/WalletIcon.d.ts +0 -2
  54. package/dist/components/Icons/WhitelistIcon.d.ts +2 -0
  55. package/dist/components/ProfileDetails/ActivityTraversalContext.d.ts +17 -26
  56. package/dist/components/ProfileDetails/FunProfileViews/ActivityHistory/ActivityHistory.d.ts +2 -8
  57. package/dist/components/ProfileDetails/FunProfileViews/Home/Home.css.d.ts +0 -7
  58. package/dist/components/ProfileDetails/FunProfileViews/Home/HomeCheckoutDisplayRow.d.ts +1 -0
  59. package/dist/components/ProfileDetails/FunProfileViews/Home/HomeTokenDisplayRow.d.ts +1 -0
  60. package/dist/components/ProfileDetails/FunProfileViews/Home/index.d.ts +4 -9
  61. package/dist/components/ProfileDetails/FunProfileViews/Settings/Settings.d.ts +5 -0
  62. package/dist/components/ProfileDetails/ProfileDetails.d.ts +1 -1
  63. package/dist/components/Text/Text.d.ts +1 -1
  64. package/dist/consts/payment.d.ts +1 -8
  65. package/dist/css/sprinkles.css.d.ts +37 -27
  66. package/dist/hooks/useDynamicFont.d.ts +1 -0
  67. package/dist/hooks/useMesh.d.ts +3 -2
  68. package/dist/hooks/useScrollDivider.d.ts +4 -3
  69. package/dist/index.css +1987 -1267
  70. package/dist/index.js +11249 -10868
  71. package/dist/themes/darkTheme.d.ts +4 -1
  72. package/dist/themes/darkTheme.js +1 -1
  73. package/dist/themes/lightTheme.d.ts +4 -1
  74. package/dist/themes/lightTheme.js +1 -1
  75. package/dist/utils/assets.d.ts +0 -4
  76. package/dist/utils/checkout.d.ts +1 -5
  77. package/dist/utils/combineChainSymbolOrAddress.d.ts +4 -0
  78. package/dist/utils/deposit.d.ts +2 -3
  79. package/dist/utils/flags/config.d.ts +7 -2
  80. package/dist/utils/flags/index.d.ts +2 -1
  81. package/dist/utils/isMainnetUsdt.d.ts +2 -0
  82. package/dist/utils/noop.d.ts +1 -0
  83. package/dist/wallets/walletConnectors/index.js +61 -61
  84. package/package.json +5 -5
  85. package/dist/components/FunPayments/FunPaymentOtcType.d.ts +0 -2
  86. package/dist/components/SkeletalLoader/SkeletalLoader.css.d.ts +0 -1
  87. package/dist/components/SkeletalLoader/SkeletalLoader.d.ts +0 -2
  88. package/dist/css/presets.d.ts +0 -2
  89. package/dist/utils/flatten.d.ts +0 -1
  90. package/dist/wallets/walletConnectors/chunk-FLTQRYFS.js +0 -27
  91. package/dist/wallets/walletConnectors/{chunk-5K4DIMYR.js → chunk-4HKPVECK.js} +3 -3
  92. package/dist/wallets/walletConnectors/{chunk-AXPQHNUI.js → chunk-4K3EKHXR.js} +3 -3
  93. package/dist/wallets/walletConnectors/{chunk-B7FHT3CB.js → chunk-5MVCKMZT.js} +3 -3
  94. package/dist/wallets/walletConnectors/{chunk-QP2BIVXD.js → chunk-5NZLWT3Y.js} +4 -4
  95. package/dist/wallets/walletConnectors/{chunk-2EMZOYQI.js → chunk-B5D7DYVV.js} +3 -3
  96. package/dist/wallets/walletConnectors/{chunk-L7QI6PBN.js → chunk-HLH777AC.js} +3 -3
  97. package/dist/wallets/walletConnectors/{chunk-EFIENLEE.js → chunk-HMDUVRZP.js} +3 -3
  98. package/dist/wallets/walletConnectors/{chunk-AUVBWDIK.js → chunk-KDGMYRMC.js} +3 -3
  99. package/dist/wallets/walletConnectors/{chunk-UZEMNN3Q.js → chunk-VU6B3HMD.js} +3 -3
  100. package/dist/wallets/walletConnectors/{chunk-UWZQZY4S.js → chunk-YRK6XWL6.js} +4 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # @funkit/connect
2
2
 
3
+ ## 3.0.0-next.4
4
+
5
+ ### Patch Changes
6
+
7
+ - v3 updates
8
+ - Updated dependencies
9
+ - @funkit/api-base@1.0.2-next.1
10
+ - @funkit/core@2.1.2-next.2
11
+ - @funkit/wagmi-tools@3.0.4-next.2
12
+
13
+ ## 3.0.0-next.3
14
+
15
+ ### Major Changes
16
+
17
+ - 751f3cb: paymentsConfig is removed from FunkitConfig. defaultPaymentMethod is added to useCheckout config
18
+ - 9f3005e: remove unused config in FunkitPaymentsConfig
19
+
20
+ ### Patch Changes
21
+
22
+ - v3 repolishes
23
+
3
24
  ## 3.0.0-next.2
4
25
 
5
26
  ### Patch Changes
@@ -42,7 +42,7 @@ var lightTheme = ({
42
42
  success: "#66CC00",
43
43
  loadingBase: "rgba(0, 0, 0, 0.05)",
44
44
  loadingAccent: "rgba(0, 0, 0, 0.2)",
45
- chainIconBorder: "#E5E5E5",
45
+ chainIconBorder: "#fff",
46
46
  // FUNKIT COLORS
47
47
  // modal backgrounds
48
48
  modalBackdrop: "rgba(0, 0, 0, 0.2)",
@@ -52,6 +52,7 @@ var lightTheme = ({
52
52
  offBackground: "#F7F7F7",
53
53
  hoverState: "#F0F0F0",
54
54
  offBackgroundInverse: "#333",
55
+ dydxSwitchActiveBackground: "#F7F7F7",
55
56
  //Text
56
57
  primaryText: "#000",
57
58
  secondaryText: "#737373",
@@ -86,6 +87,9 @@ var lightTheme = ({
86
87
  buttonStroke: "rgba(0, 0, 0, 0.5)",
87
88
  buttonTextSecondaryDisabled: "rgba(0, 0, 0, 0.5)",
88
89
  buttonTextSecondary: "#000000",
90
+ buttonIconBackgroundHover: "#F7F7F7",
91
+ buttonIconBackgroundPressed: "#F0F0F0",
92
+ buttonIconStroke: "rgba(0, 0, 0, 0.35)",
89
93
  // Override colors
90
94
  ...customColors || {}
91
95
  },
@@ -95,7 +99,6 @@ var lightTheme = ({
95
99
  selectedOption: "0px 2px 6px rgba(0, 0, 0, 0.24)",
96
100
  selectedWallet: "0px 2px 6px rgba(0, 0, 0, 0.12)",
97
101
  button: "0px 1px 2px 0px rgba(0, 0, 0, 0.20)",
98
- callToAction: "0px 4px 4px rgba(0, 0, 0, 0.25)",
99
102
  // Override shadows
100
103
  ...customShadows || {}
101
104
  },
@@ -42,16 +42,17 @@ var darkTheme = ({
42
42
  success: "#66CC00",
43
43
  loadingBase: "rgba(255, 255, 255, 0.05)",
44
44
  loadingAccent: "rgba(255, 255, 255, 0.2)",
45
- chainIconBorder: "#E5E5E5",
45
+ chainIconBorder: "#fff",
46
46
  // FUNKIT COLORS
47
47
  // modal backgrounds
48
48
  modalBackdrop: "rgba(0, 0, 0, 0.2)",
49
- modalBackground: "#1A1B1F",
49
+ modalBackground: "#000000",
50
50
  modalBorder: "#292929",
51
51
  notificationPrimary: "rgba(255, 255, 255, 0.03)",
52
52
  offBackground: "#1F1F1F",
53
53
  hoverState: "#333333",
54
54
  offBackgroundInverse: "#F2F2F2",
55
+ dydxSwitchActiveBackground: "#181825",
55
56
  //Text
56
57
  primaryText: "#FFF",
57
58
  secondaryText: "#8C8C8C",
@@ -86,6 +87,9 @@ var darkTheme = ({
86
87
  buttonStroke: "rgba(255, 255, 255, 0.35)",
87
88
  buttonTextSecondaryDisabled: "rgba(255, 255, 255, 0.65)",
88
89
  buttonTextSecondary: "#FFFFFF",
90
+ buttonIconBackgroundHover: "#333333",
91
+ buttonIconBackgroundPressed: "#333333",
92
+ buttonIconStroke: "rgba(255, 255, 255, 0.35)",
89
93
  // Override colors
90
94
  ...customColors || {}
91
95
  },
@@ -95,7 +99,6 @@ var darkTheme = ({
95
99
  selectedOption: "0px 2px 6px rgba(0, 0, 0, 0.24)",
96
100
  selectedWallet: "0px 2px 6px rgba(0, 0, 0, 0.24)",
97
101
  button: "0px 1px 2px 0px rgba(0, 0, 0, 0.20)",
98
- callToAction: "0px 4px 4px rgba(0, 0, 0, 0.25)",
99
102
  // Override shadows
100
103
  ...customShadows || {}
101
104
  },
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import React, { ReactElement } from 'react';
2
2
  import { BoxProps } from '../Box/Box';
3
3
  import { AsyncImageSrc } from './useAsyncImage';
4
4
  type CustomBorderColor = {
@@ -8,6 +8,7 @@ interface AsyncImageProps {
8
8
  alt?: string;
9
9
  src: string | AsyncImageSrc | undefined;
10
10
  fallbackSrc?: string | undefined;
11
+ fallbackElement?: ReactElement | undefined;
11
12
  width: BoxProps['width'] | number;
12
13
  height: BoxProps['height'] | number;
13
14
  useAsImage?: boolean;
@@ -17,5 +18,5 @@ interface AsyncImageProps {
17
18
  boxShadow?: BoxProps['boxShadow'];
18
19
  testId?: string;
19
20
  }
20
- export declare function AsyncImage({ alt, background, borderColor, borderRadius, boxShadow, height, useAsImage, src: srcProp, fallbackSrc, width, testId, }: AsyncImageProps): React.JSX.Element;
21
+ export declare function AsyncImage({ alt, background, borderColor, borderRadius, boxShadow, height, useAsImage, src: srcProp, fallbackSrc, fallbackElement, width, testId, }: AsyncImageProps): React.JSX.Element;
21
22
  export {};
@@ -2,33 +2,37 @@ import { ClassValue } from 'clsx';
2
2
  import * as React from 'react';
3
3
  type HTMLProperties<T = HTMLElement> = Omit<React.AllHTMLAttributes<T>, 'as' | 'className' | 'color' | 'height' | 'width'>;
4
4
  export declare const Box: React.ForwardRefExoticComponent<{
5
- background?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "selectedOptionBorder" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "primaryText" | "secondaryText" | "tertiaryText" | "textSelection" | "inputBackground" | "inputBorderBase" | "inputBorderHover" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextDisabled" | "buttonBackgroundTertiary" | "buttonBackgroundHoverTertiary" | "buttonTextTertiary" | "buttonTextDisabledTertiary" | "buttonStrokeTertiary" | "buttonBackground" | "buttonBackgroundHover" | "buttonBackgroundDisabled" | "buttonText" | "buttonStroke" | "buttonTextSecondaryDisabled" | "buttonTextSecondary" | {
6
- base?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "selectedOptionBorder" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "primaryText" | "secondaryText" | "tertiaryText" | "textSelection" | "inputBackground" | "inputBorderBase" | "inputBorderHover" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextDisabled" | "buttonBackgroundTertiary" | "buttonBackgroundHoverTertiary" | "buttonTextTertiary" | "buttonTextDisabledTertiary" | "buttonStrokeTertiary" | "buttonBackground" | "buttonBackgroundHover" | "buttonBackgroundDisabled" | "buttonText" | "buttonStroke" | "buttonTextSecondaryDisabled" | "buttonTextSecondary" | undefined;
7
- hover?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "selectedOptionBorder" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "primaryText" | "secondaryText" | "tertiaryText" | "textSelection" | "inputBackground" | "inputBorderBase" | "inputBorderHover" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextDisabled" | "buttonBackgroundTertiary" | "buttonBackgroundHoverTertiary" | "buttonTextTertiary" | "buttonTextDisabledTertiary" | "buttonStrokeTertiary" | "buttonBackground" | "buttonBackgroundHover" | "buttonBackgroundDisabled" | "buttonText" | "buttonStroke" | "buttonTextSecondaryDisabled" | "buttonTextSecondary" | undefined;
8
- active?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "selectedOptionBorder" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "primaryText" | "secondaryText" | "tertiaryText" | "textSelection" | "inputBackground" | "inputBorderBase" | "inputBorderHover" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextDisabled" | "buttonBackgroundTertiary" | "buttonBackgroundHoverTertiary" | "buttonTextTertiary" | "buttonTextDisabledTertiary" | "buttonStrokeTertiary" | "buttonBackground" | "buttonBackgroundHover" | "buttonBackgroundDisabled" | "buttonText" | "buttonStroke" | "buttonTextSecondaryDisabled" | "buttonTextSecondary" | undefined;
9
- selection?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "selectedOptionBorder" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "primaryText" | "secondaryText" | "tertiaryText" | "textSelection" | "inputBackground" | "inputBorderBase" | "inputBorderHover" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextDisabled" | "buttonBackgroundTertiary" | "buttonBackgroundHoverTertiary" | "buttonTextTertiary" | "buttonTextDisabledTertiary" | "buttonStrokeTertiary" | "buttonBackground" | "buttonBackgroundHover" | "buttonBackgroundDisabled" | "buttonText" | "buttonStroke" | "buttonTextSecondaryDisabled" | "buttonTextSecondary" | undefined;
10
- focused?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "selectedOptionBorder" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "primaryText" | "secondaryText" | "tertiaryText" | "textSelection" | "inputBackground" | "inputBorderBase" | "inputBorderHover" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextDisabled" | "buttonBackgroundTertiary" | "buttonBackgroundHoverTertiary" | "buttonTextTertiary" | "buttonTextDisabledTertiary" | "buttonStrokeTertiary" | "buttonBackground" | "buttonBackgroundHover" | "buttonBackgroundDisabled" | "buttonText" | "buttonStroke" | "buttonTextSecondaryDisabled" | "buttonTextSecondary" | undefined;
5
+ background?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "selectedOptionBorder" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "dydxSwitchActiveBackground" | "primaryText" | "secondaryText" | "tertiaryText" | "textSelection" | "inputBackground" | "inputBorderBase" | "inputBorderHover" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextDisabled" | "buttonBackgroundTertiary" | "buttonBackgroundHoverTertiary" | "buttonTextTertiary" | "buttonTextDisabledTertiary" | "buttonStrokeTertiary" | "buttonBackground" | "buttonBackgroundHover" | "buttonBackgroundDisabled" | "buttonText" | "buttonStroke" | "buttonTextSecondaryDisabled" | "buttonTextSecondary" | "buttonIconBackgroundHover" | "buttonIconBackgroundPressed" | "buttonIconStroke" | {
6
+ base?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "selectedOptionBorder" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "dydxSwitchActiveBackground" | "primaryText" | "secondaryText" | "tertiaryText" | "textSelection" | "inputBackground" | "inputBorderBase" | "inputBorderHover" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextDisabled" | "buttonBackgroundTertiary" | "buttonBackgroundHoverTertiary" | "buttonTextTertiary" | "buttonTextDisabledTertiary" | "buttonStrokeTertiary" | "buttonBackground" | "buttonBackgroundHover" | "buttonBackgroundDisabled" | "buttonText" | "buttonStroke" | "buttonTextSecondaryDisabled" | "buttonTextSecondary" | "buttonIconBackgroundHover" | "buttonIconBackgroundPressed" | "buttonIconStroke" | undefined;
7
+ hover?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "selectedOptionBorder" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "dydxSwitchActiveBackground" | "primaryText" | "secondaryText" | "tertiaryText" | "textSelection" | "inputBackground" | "inputBorderBase" | "inputBorderHover" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextDisabled" | "buttonBackgroundTertiary" | "buttonBackgroundHoverTertiary" | "buttonTextTertiary" | "buttonTextDisabledTertiary" | "buttonStrokeTertiary" | "buttonBackground" | "buttonBackgroundHover" | "buttonBackgroundDisabled" | "buttonText" | "buttonStroke" | "buttonTextSecondaryDisabled" | "buttonTextSecondary" | "buttonIconBackgroundHover" | "buttonIconBackgroundPressed" | "buttonIconStroke" | undefined;
8
+ active?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "selectedOptionBorder" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "dydxSwitchActiveBackground" | "primaryText" | "secondaryText" | "tertiaryText" | "textSelection" | "inputBackground" | "inputBorderBase" | "inputBorderHover" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextDisabled" | "buttonBackgroundTertiary" | "buttonBackgroundHoverTertiary" | "buttonTextTertiary" | "buttonTextDisabledTertiary" | "buttonStrokeTertiary" | "buttonBackground" | "buttonBackgroundHover" | "buttonBackgroundDisabled" | "buttonText" | "buttonStroke" | "buttonTextSecondaryDisabled" | "buttonTextSecondary" | "buttonIconBackgroundHover" | "buttonIconBackgroundPressed" | "buttonIconStroke" | undefined;
9
+ selection?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "selectedOptionBorder" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "dydxSwitchActiveBackground" | "primaryText" | "secondaryText" | "tertiaryText" | "textSelection" | "inputBackground" | "inputBorderBase" | "inputBorderHover" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextDisabled" | "buttonBackgroundTertiary" | "buttonBackgroundHoverTertiary" | "buttonTextTertiary" | "buttonTextDisabledTertiary" | "buttonStrokeTertiary" | "buttonBackground" | "buttonBackgroundHover" | "buttonBackgroundDisabled" | "buttonText" | "buttonStroke" | "buttonTextSecondaryDisabled" | "buttonTextSecondary" | "buttonIconBackgroundHover" | "buttonIconBackgroundPressed" | "buttonIconStroke" | undefined;
10
+ focused?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "selectedOptionBorder" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "dydxSwitchActiveBackground" | "primaryText" | "secondaryText" | "tertiaryText" | "textSelection" | "inputBackground" | "inputBorderBase" | "inputBorderHover" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextDisabled" | "buttonBackgroundTertiary" | "buttonBackgroundHoverTertiary" | "buttonTextTertiary" | "buttonTextDisabledTertiary" | "buttonStrokeTertiary" | "buttonBackground" | "buttonBackgroundHover" | "buttonBackgroundDisabled" | "buttonText" | "buttonStroke" | "buttonTextSecondaryDisabled" | "buttonTextSecondary" | "buttonIconBackgroundHover" | "buttonIconBackgroundPressed" | "buttonIconStroke" | undefined;
11
+ focusedVisible?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "selectedOptionBorder" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "dydxSwitchActiveBackground" | "primaryText" | "secondaryText" | "tertiaryText" | "textSelection" | "inputBackground" | "inputBorderBase" | "inputBorderHover" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextDisabled" | "buttonBackgroundTertiary" | "buttonBackgroundHoverTertiary" | "buttonTextTertiary" | "buttonTextDisabledTertiary" | "buttonStrokeTertiary" | "buttonBackground" | "buttonBackgroundHover" | "buttonBackgroundDisabled" | "buttonText" | "buttonStroke" | "buttonTextSecondaryDisabled" | "buttonTextSecondary" | "buttonIconBackgroundHover" | "buttonIconBackgroundPressed" | "buttonIconStroke" | undefined;
11
12
  } | undefined;
12
- borderColor?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "selectedOptionBorder" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "primaryText" | "secondaryText" | "tertiaryText" | "textSelection" | "inputBackground" | "inputBorderBase" | "inputBorderHover" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextDisabled" | "buttonBackgroundTertiary" | "buttonBackgroundHoverTertiary" | "buttonTextTertiary" | "buttonTextDisabledTertiary" | "buttonStrokeTertiary" | "buttonBackground" | "buttonBackgroundHover" | "buttonBackgroundDisabled" | "buttonText" | "buttonStroke" | "buttonTextSecondaryDisabled" | "buttonTextSecondary" | {
13
- base?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "selectedOptionBorder" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "primaryText" | "secondaryText" | "tertiaryText" | "textSelection" | "inputBackground" | "inputBorderBase" | "inputBorderHover" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextDisabled" | "buttonBackgroundTertiary" | "buttonBackgroundHoverTertiary" | "buttonTextTertiary" | "buttonTextDisabledTertiary" | "buttonStrokeTertiary" | "buttonBackground" | "buttonBackgroundHover" | "buttonBackgroundDisabled" | "buttonText" | "buttonStroke" | "buttonTextSecondaryDisabled" | "buttonTextSecondary" | undefined;
14
- hover?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "selectedOptionBorder" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "primaryText" | "secondaryText" | "tertiaryText" | "textSelection" | "inputBackground" | "inputBorderBase" | "inputBorderHover" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextDisabled" | "buttonBackgroundTertiary" | "buttonBackgroundHoverTertiary" | "buttonTextTertiary" | "buttonTextDisabledTertiary" | "buttonStrokeTertiary" | "buttonBackground" | "buttonBackgroundHover" | "buttonBackgroundDisabled" | "buttonText" | "buttonStroke" | "buttonTextSecondaryDisabled" | "buttonTextSecondary" | undefined;
15
- active?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "selectedOptionBorder" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "primaryText" | "secondaryText" | "tertiaryText" | "textSelection" | "inputBackground" | "inputBorderBase" | "inputBorderHover" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextDisabled" | "buttonBackgroundTertiary" | "buttonBackgroundHoverTertiary" | "buttonTextTertiary" | "buttonTextDisabledTertiary" | "buttonStrokeTertiary" | "buttonBackground" | "buttonBackgroundHover" | "buttonBackgroundDisabled" | "buttonText" | "buttonStroke" | "buttonTextSecondaryDisabled" | "buttonTextSecondary" | undefined;
16
- selection?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "selectedOptionBorder" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "primaryText" | "secondaryText" | "tertiaryText" | "textSelection" | "inputBackground" | "inputBorderBase" | "inputBorderHover" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextDisabled" | "buttonBackgroundTertiary" | "buttonBackgroundHoverTertiary" | "buttonTextTertiary" | "buttonTextDisabledTertiary" | "buttonStrokeTertiary" | "buttonBackground" | "buttonBackgroundHover" | "buttonBackgroundDisabled" | "buttonText" | "buttonStroke" | "buttonTextSecondaryDisabled" | "buttonTextSecondary" | undefined;
17
- focused?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "selectedOptionBorder" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "primaryText" | "secondaryText" | "tertiaryText" | "textSelection" | "inputBackground" | "inputBorderBase" | "inputBorderHover" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextDisabled" | "buttonBackgroundTertiary" | "buttonBackgroundHoverTertiary" | "buttonTextTertiary" | "buttonTextDisabledTertiary" | "buttonStrokeTertiary" | "buttonBackground" | "buttonBackgroundHover" | "buttonBackgroundDisabled" | "buttonText" | "buttonStroke" | "buttonTextSecondaryDisabled" | "buttonTextSecondary" | undefined;
13
+ borderColor?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "selectedOptionBorder" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "dydxSwitchActiveBackground" | "primaryText" | "secondaryText" | "tertiaryText" | "textSelection" | "inputBackground" | "inputBorderBase" | "inputBorderHover" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextDisabled" | "buttonBackgroundTertiary" | "buttonBackgroundHoverTertiary" | "buttonTextTertiary" | "buttonTextDisabledTertiary" | "buttonStrokeTertiary" | "buttonBackground" | "buttonBackgroundHover" | "buttonBackgroundDisabled" | "buttonText" | "buttonStroke" | "buttonTextSecondaryDisabled" | "buttonTextSecondary" | "buttonIconBackgroundHover" | "buttonIconBackgroundPressed" | "buttonIconStroke" | {
14
+ base?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "selectedOptionBorder" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "dydxSwitchActiveBackground" | "primaryText" | "secondaryText" | "tertiaryText" | "textSelection" | "inputBackground" | "inputBorderBase" | "inputBorderHover" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextDisabled" | "buttonBackgroundTertiary" | "buttonBackgroundHoverTertiary" | "buttonTextTertiary" | "buttonTextDisabledTertiary" | "buttonStrokeTertiary" | "buttonBackground" | "buttonBackgroundHover" | "buttonBackgroundDisabled" | "buttonText" | "buttonStroke" | "buttonTextSecondaryDisabled" | "buttonTextSecondary" | "buttonIconBackgroundHover" | "buttonIconBackgroundPressed" | "buttonIconStroke" | undefined;
15
+ hover?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "selectedOptionBorder" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "dydxSwitchActiveBackground" | "primaryText" | "secondaryText" | "tertiaryText" | "textSelection" | "inputBackground" | "inputBorderBase" | "inputBorderHover" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextDisabled" | "buttonBackgroundTertiary" | "buttonBackgroundHoverTertiary" | "buttonTextTertiary" | "buttonTextDisabledTertiary" | "buttonStrokeTertiary" | "buttonBackground" | "buttonBackgroundHover" | "buttonBackgroundDisabled" | "buttonText" | "buttonStroke" | "buttonTextSecondaryDisabled" | "buttonTextSecondary" | "buttonIconBackgroundHover" | "buttonIconBackgroundPressed" | "buttonIconStroke" | undefined;
16
+ active?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "selectedOptionBorder" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "dydxSwitchActiveBackground" | "primaryText" | "secondaryText" | "tertiaryText" | "textSelection" | "inputBackground" | "inputBorderBase" | "inputBorderHover" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextDisabled" | "buttonBackgroundTertiary" | "buttonBackgroundHoverTertiary" | "buttonTextTertiary" | "buttonTextDisabledTertiary" | "buttonStrokeTertiary" | "buttonBackground" | "buttonBackgroundHover" | "buttonBackgroundDisabled" | "buttonText" | "buttonStroke" | "buttonTextSecondaryDisabled" | "buttonTextSecondary" | "buttonIconBackgroundHover" | "buttonIconBackgroundPressed" | "buttonIconStroke" | undefined;
17
+ selection?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "selectedOptionBorder" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "dydxSwitchActiveBackground" | "primaryText" | "secondaryText" | "tertiaryText" | "textSelection" | "inputBackground" | "inputBorderBase" | "inputBorderHover" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextDisabled" | "buttonBackgroundTertiary" | "buttonBackgroundHoverTertiary" | "buttonTextTertiary" | "buttonTextDisabledTertiary" | "buttonStrokeTertiary" | "buttonBackground" | "buttonBackgroundHover" | "buttonBackgroundDisabled" | "buttonText" | "buttonStroke" | "buttonTextSecondaryDisabled" | "buttonTextSecondary" | "buttonIconBackgroundHover" | "buttonIconBackgroundPressed" | "buttonIconStroke" | undefined;
18
+ focused?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "selectedOptionBorder" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "dydxSwitchActiveBackground" | "primaryText" | "secondaryText" | "tertiaryText" | "textSelection" | "inputBackground" | "inputBorderBase" | "inputBorderHover" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextDisabled" | "buttonBackgroundTertiary" | "buttonBackgroundHoverTertiary" | "buttonTextTertiary" | "buttonTextDisabledTertiary" | "buttonStrokeTertiary" | "buttonBackground" | "buttonBackgroundHover" | "buttonBackgroundDisabled" | "buttonText" | "buttonStroke" | "buttonTextSecondaryDisabled" | "buttonTextSecondary" | "buttonIconBackgroundHover" | "buttonIconBackgroundPressed" | "buttonIconStroke" | undefined;
19
+ focusedVisible?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "selectedOptionBorder" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "dydxSwitchActiveBackground" | "primaryText" | "secondaryText" | "tertiaryText" | "textSelection" | "inputBackground" | "inputBorderBase" | "inputBorderHover" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextDisabled" | "buttonBackgroundTertiary" | "buttonBackgroundHoverTertiary" | "buttonTextTertiary" | "buttonTextDisabledTertiary" | "buttonStrokeTertiary" | "buttonBackground" | "buttonBackgroundHover" | "buttonBackgroundDisabled" | "buttonText" | "buttonStroke" | "buttonTextSecondaryDisabled" | "buttonTextSecondary" | "buttonIconBackgroundHover" | "buttonIconBackgroundPressed" | "buttonIconStroke" | undefined;
18
20
  } | undefined;
19
- boxShadow?: "button" | "connectButton" | "dialog" | "selectedOption" | "selectedWallet" | "callToAction" | {
20
- base?: "button" | "connectButton" | "dialog" | "selectedOption" | "selectedWallet" | "callToAction" | undefined;
21
- hover?: "button" | "connectButton" | "dialog" | "selectedOption" | "selectedWallet" | "callToAction" | undefined;
22
- active?: "button" | "connectButton" | "dialog" | "selectedOption" | "selectedWallet" | "callToAction" | undefined;
23
- selection?: "button" | "connectButton" | "dialog" | "selectedOption" | "selectedWallet" | "callToAction" | undefined;
24
- focused?: "button" | "connectButton" | "dialog" | "selectedOption" | "selectedWallet" | "callToAction" | undefined;
21
+ boxShadow?: "button" | "connectButton" | "dialog" | "selectedOption" | "selectedWallet" | {
22
+ base?: "button" | "connectButton" | "dialog" | "selectedOption" | "selectedWallet" | undefined;
23
+ hover?: "button" | "connectButton" | "dialog" | "selectedOption" | "selectedWallet" | undefined;
24
+ active?: "button" | "connectButton" | "dialog" | "selectedOption" | "selectedWallet" | undefined;
25
+ selection?: "button" | "connectButton" | "dialog" | "selectedOption" | "selectedWallet" | undefined;
26
+ focused?: "button" | "connectButton" | "dialog" | "selectedOption" | "selectedWallet" | undefined;
27
+ focusedVisible?: "button" | "connectButton" | "dialog" | "selectedOption" | "selectedWallet" | undefined;
25
28
  } | undefined;
26
- color?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "selectedOptionBorder" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "primaryText" | "secondaryText" | "tertiaryText" | "textSelection" | "inputBackground" | "inputBorderBase" | "inputBorderHover" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextDisabled" | "buttonBackgroundTertiary" | "buttonBackgroundHoverTertiary" | "buttonTextTertiary" | "buttonTextDisabledTertiary" | "buttonStrokeTertiary" | "buttonBackground" | "buttonBackgroundHover" | "buttonBackgroundDisabled" | "buttonText" | "buttonStroke" | "buttonTextSecondaryDisabled" | "buttonTextSecondary" | {
27
- base?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "selectedOptionBorder" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "primaryText" | "secondaryText" | "tertiaryText" | "textSelection" | "inputBackground" | "inputBorderBase" | "inputBorderHover" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextDisabled" | "buttonBackgroundTertiary" | "buttonBackgroundHoverTertiary" | "buttonTextTertiary" | "buttonTextDisabledTertiary" | "buttonStrokeTertiary" | "buttonBackground" | "buttonBackgroundHover" | "buttonBackgroundDisabled" | "buttonText" | "buttonStroke" | "buttonTextSecondaryDisabled" | "buttonTextSecondary" | undefined;
28
- hover?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "selectedOptionBorder" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "primaryText" | "secondaryText" | "tertiaryText" | "textSelection" | "inputBackground" | "inputBorderBase" | "inputBorderHover" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextDisabled" | "buttonBackgroundTertiary" | "buttonBackgroundHoverTertiary" | "buttonTextTertiary" | "buttonTextDisabledTertiary" | "buttonStrokeTertiary" | "buttonBackground" | "buttonBackgroundHover" | "buttonBackgroundDisabled" | "buttonText" | "buttonStroke" | "buttonTextSecondaryDisabled" | "buttonTextSecondary" | undefined;
29
- active?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "selectedOptionBorder" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "primaryText" | "secondaryText" | "tertiaryText" | "textSelection" | "inputBackground" | "inputBorderBase" | "inputBorderHover" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextDisabled" | "buttonBackgroundTertiary" | "buttonBackgroundHoverTertiary" | "buttonTextTertiary" | "buttonTextDisabledTertiary" | "buttonStrokeTertiary" | "buttonBackground" | "buttonBackgroundHover" | "buttonBackgroundDisabled" | "buttonText" | "buttonStroke" | "buttonTextSecondaryDisabled" | "buttonTextSecondary" | undefined;
30
- selection?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "selectedOptionBorder" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "primaryText" | "secondaryText" | "tertiaryText" | "textSelection" | "inputBackground" | "inputBorderBase" | "inputBorderHover" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextDisabled" | "buttonBackgroundTertiary" | "buttonBackgroundHoverTertiary" | "buttonTextTertiary" | "buttonTextDisabledTertiary" | "buttonStrokeTertiary" | "buttonBackground" | "buttonBackgroundHover" | "buttonBackgroundDisabled" | "buttonText" | "buttonStroke" | "buttonTextSecondaryDisabled" | "buttonTextSecondary" | undefined;
31
- focused?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "selectedOptionBorder" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "primaryText" | "secondaryText" | "tertiaryText" | "textSelection" | "inputBackground" | "inputBorderBase" | "inputBorderHover" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextDisabled" | "buttonBackgroundTertiary" | "buttonBackgroundHoverTertiary" | "buttonTextTertiary" | "buttonTextDisabledTertiary" | "buttonStrokeTertiary" | "buttonBackground" | "buttonBackgroundHover" | "buttonBackgroundDisabled" | "buttonText" | "buttonStroke" | "buttonTextSecondaryDisabled" | "buttonTextSecondary" | undefined;
29
+ color?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "selectedOptionBorder" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "dydxSwitchActiveBackground" | "primaryText" | "secondaryText" | "tertiaryText" | "textSelection" | "inputBackground" | "inputBorderBase" | "inputBorderHover" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextDisabled" | "buttonBackgroundTertiary" | "buttonBackgroundHoverTertiary" | "buttonTextTertiary" | "buttonTextDisabledTertiary" | "buttonStrokeTertiary" | "buttonBackground" | "buttonBackgroundHover" | "buttonBackgroundDisabled" | "buttonText" | "buttonStroke" | "buttonTextSecondaryDisabled" | "buttonTextSecondary" | "buttonIconBackgroundHover" | "buttonIconBackgroundPressed" | "buttonIconStroke" | {
30
+ base?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "selectedOptionBorder" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "dydxSwitchActiveBackground" | "primaryText" | "secondaryText" | "tertiaryText" | "textSelection" | "inputBackground" | "inputBorderBase" | "inputBorderHover" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextDisabled" | "buttonBackgroundTertiary" | "buttonBackgroundHoverTertiary" | "buttonTextTertiary" | "buttonTextDisabledTertiary" | "buttonStrokeTertiary" | "buttonBackground" | "buttonBackgroundHover" | "buttonBackgroundDisabled" | "buttonText" | "buttonStroke" | "buttonTextSecondaryDisabled" | "buttonTextSecondary" | "buttonIconBackgroundHover" | "buttonIconBackgroundPressed" | "buttonIconStroke" | undefined;
31
+ hover?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "selectedOptionBorder" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "dydxSwitchActiveBackground" | "primaryText" | "secondaryText" | "tertiaryText" | "textSelection" | "inputBackground" | "inputBorderBase" | "inputBorderHover" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextDisabled" | "buttonBackgroundTertiary" | "buttonBackgroundHoverTertiary" | "buttonTextTertiary" | "buttonTextDisabledTertiary" | "buttonStrokeTertiary" | "buttonBackground" | "buttonBackgroundHover" | "buttonBackgroundDisabled" | "buttonText" | "buttonStroke" | "buttonTextSecondaryDisabled" | "buttonTextSecondary" | "buttonIconBackgroundHover" | "buttonIconBackgroundPressed" | "buttonIconStroke" | undefined;
32
+ active?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "selectedOptionBorder" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "dydxSwitchActiveBackground" | "primaryText" | "secondaryText" | "tertiaryText" | "textSelection" | "inputBackground" | "inputBorderBase" | "inputBorderHover" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextDisabled" | "buttonBackgroundTertiary" | "buttonBackgroundHoverTertiary" | "buttonTextTertiary" | "buttonTextDisabledTertiary" | "buttonStrokeTertiary" | "buttonBackground" | "buttonBackgroundHover" | "buttonBackgroundDisabled" | "buttonText" | "buttonStroke" | "buttonTextSecondaryDisabled" | "buttonTextSecondary" | "buttonIconBackgroundHover" | "buttonIconBackgroundPressed" | "buttonIconStroke" | undefined;
33
+ selection?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "selectedOptionBorder" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "dydxSwitchActiveBackground" | "primaryText" | "secondaryText" | "tertiaryText" | "textSelection" | "inputBackground" | "inputBorderBase" | "inputBorderHover" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextDisabled" | "buttonBackgroundTertiary" | "buttonBackgroundHoverTertiary" | "buttonTextTertiary" | "buttonTextDisabledTertiary" | "buttonStrokeTertiary" | "buttonBackground" | "buttonBackgroundHover" | "buttonBackgroundDisabled" | "buttonText" | "buttonStroke" | "buttonTextSecondaryDisabled" | "buttonTextSecondary" | "buttonIconBackgroundHover" | "buttonIconBackgroundPressed" | "buttonIconStroke" | undefined;
34
+ focused?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "selectedOptionBorder" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "dydxSwitchActiveBackground" | "primaryText" | "secondaryText" | "tertiaryText" | "textSelection" | "inputBackground" | "inputBorderBase" | "inputBorderHover" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextDisabled" | "buttonBackgroundTertiary" | "buttonBackgroundHoverTertiary" | "buttonTextTertiary" | "buttonTextDisabledTertiary" | "buttonStrokeTertiary" | "buttonBackground" | "buttonBackgroundHover" | "buttonBackgroundDisabled" | "buttonText" | "buttonStroke" | "buttonTextSecondaryDisabled" | "buttonTextSecondary" | "buttonIconBackgroundHover" | "buttonIconBackgroundPressed" | "buttonIconStroke" | undefined;
35
+ focusedVisible?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "selectedOptionBorder" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "dydxSwitchActiveBackground" | "primaryText" | "secondaryText" | "tertiaryText" | "textSelection" | "inputBackground" | "inputBorderBase" | "inputBorderHover" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextDisabled" | "buttonBackgroundTertiary" | "buttonBackgroundHoverTertiary" | "buttonTextTertiary" | "buttonTextDisabledTertiary" | "buttonStrokeTertiary" | "buttonBackground" | "buttonBackgroundHover" | "buttonBackgroundDisabled" | "buttonText" | "buttonStroke" | "buttonTextSecondaryDisabled" | "buttonTextSecondary" | "buttonIconBackgroundHover" | "buttonIconBackgroundPressed" | "buttonIconStroke" | undefined;
32
36
  } | undefined;
33
37
  } & {
34
38
  alignItems?: "center" | "flex-end" | "flex-start" | {
@@ -11,3 +11,4 @@ export declare const titleSection: {
11
11
  };
12
12
  export declare const animateTitleInClass: string;
13
13
  export declare const animateTitleOutClass: string;
14
+ export declare const dydxTitle: string;
@@ -17,7 +17,7 @@ interface DialogProps {
17
17
  export declare function Dialog({ children, onClose, open, titleId, isHidden, isSmartCloseable, }: DialogProps): React.JSX.Element;
18
18
  export declare namespace Dialog {
19
19
  var Title: ({ title, hasCloseButton, onClose, hasBackButton, onBack, backAnimation, skipBackDelay, countdownSeconds, countdownKey, delayCountdownReturnByBuffer, }: DialogTitleProps) => React.JSX.Element;
20
- var Content: ({ children, fullHeight, paddingX, className, ...boxProps }: DialogContentProps) => React.JSX.Element;
20
+ var Content: ({ children, fullHeight, paddingLeft, className, withTopDivider, withBottomDivider, ...boxProps }: DialogContentProps) => React.JSX.Element;
21
21
  var BottomSection: ({ paddingX, ...boxProps }: Omit<BoxProps, "children">) => React.JSX.Element;
22
22
  var BottomBar: ({ topSection, actionButtonProps, bottomSection, }: import("../FunBottomBar/FunBottomBar").FunBottomBarProps) => React.JSX.Element;
23
23
  }
@@ -25,6 +25,8 @@ interface DialogContentProps extends BoxProps {
25
25
  children: ReactNode;
26
26
  /** Whether the content should fill all available space */
27
27
  fullHeight?: boolean;
28
+ withTopDivider?: boolean;
29
+ withBottomDivider?: boolean;
28
30
  }
29
31
  export interface DialogTitleProps {
30
32
  title?: string;
@@ -1,5 +1,7 @@
1
+ export declare const SCROLL_BAR_WIDTH = 6;
1
2
  export declare const dialog: string;
2
3
  export declare const dialogCompact: string;
3
4
  export declare const dialogMobile: string;
4
5
  export declare const scrollContent: string;
6
+ export declare const scrollbarHidden: string;
5
7
  export declare const fullHeightContent: string;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import { FunCheckoutStep } from '../FunCheckoutModal/FunCheckoutModal';
3
+ import { FunkitActiveCheckoutItem } from '../FunkitProvider/FunkitCheckoutContext';
4
+ interface DydxSwitchTabProps {
5
+ checkoutItem: FunkitActiveCheckoutItem | null;
6
+ checkoutStep: FunCheckoutStep;
7
+ onClose?: () => void;
8
+ }
9
+ export declare function DydxSwitchTab({ checkoutItem, checkoutStep, onClose, }: DydxSwitchTabProps): React.JSX.Element | null;
10
+ export {};
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ export declare const Instant: React.JSX.Element;
3
+ export declare const Standard: React.JSX.Element;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  import { AssetHoldingsItem } from '../../utils/assets';
3
3
  interface FunAssetItemProps {
4
4
  asset: AssetHoldingsItem;
@@ -3,9 +3,10 @@ import { BoxProps } from '../Box/Box';
3
3
  interface FunBadgeProps {
4
4
  children: React.ReactNode;
5
5
  paddingX?: BoxProps['paddingX'];
6
+ paddingY?: BoxProps['paddingY'];
6
7
  borderRadius?: BoxProps['borderRadius'];
7
8
  background?: BoxProps['background'];
8
9
  color?: BoxProps['color'];
9
10
  }
10
- export declare function FunBadge({ children, background, color, borderRadius, paddingX, }: FunBadgeProps): React.JSX.Element;
11
+ export declare function FunBadge({ children, background, color, borderRadius, paddingY, paddingX, }: FunBadgeProps): React.JSX.Element;
11
12
  export {};
@@ -1,5 +1,6 @@
1
1
  export declare const funLinkButtonStyle: string;
2
+ export declare const transitionStyles: string;
2
3
  export declare const pressedStyles: string;
3
- export declare const funIconButtonStyle: string;
4
- export declare const iconStyle: string;
4
+ export declare const funIconButtonClickableStyle: string;
5
+ export declare const funIconButtonDisabledStyle: string;
5
6
  export declare const rotateStyle: string;
@@ -1,21 +1,30 @@
1
1
  import React from 'react';
2
2
  import { BoxProps } from '../Box/Box';
3
- /**
4
- * Circular icon button with dynamic height and width
5
- */
6
- export declare const FunIconButton: ({ onClick, icon, size, showBorder, paddingX, paddingY, borderRadius, ariaLabel, color, background, width, rotateIconAnimation, renderAsSquare, as, }: {
3
+ export interface FunIconButtonProps {
7
4
  onClick?: () => void;
5
+ onMouseEnter?: () => void;
6
+ onMouseLeave?: () => void;
8
7
  icon: React.ReactNode;
9
- size?: BoxProps["height"];
10
- paddingX?: BoxProps["paddingX"];
11
- paddingY?: BoxProps["paddingY"];
12
- borderRadius?: BoxProps["borderRadius"];
13
- showBorder?: boolean;
8
+ /** Total height and width of the clickable area (including borders) */
9
+ size?: BoxProps['height'];
10
+ /** Overrides width if the button is not round */
11
+ width?: BoxProps['width'];
12
+ /** Defaults to 0 - prefer using {@link size} for simple round buttons */
13
+ paddingX?: BoxProps['paddingX'];
14
+ /** Defaults to 0 - prefer using {@link size} for simple round buttons */
15
+ paddingY?: BoxProps['paddingY'];
16
+ /** Defaults to 8px */
17
+ gap?: BoxProps['gap'];
14
18
  ariaLabel?: string;
15
- color?: BoxProps["color"];
16
- background?: BoxProps["background"];
17
- width?: BoxProps["width"];
18
- rotateIconAnimation?: boolean;
19
+ color?: BoxProps['color'];
19
20
  renderAsSquare?: boolean;
20
- as?: BoxProps["as"];
21
- }) => React.JSX.Element;
21
+ as?: BoxProps['as'];
22
+ isDisabled?: boolean;
23
+ borderRadius?: BoxProps['borderRadius'];
24
+ style?: BoxProps['style'];
25
+ disableHoverStyles?: boolean;
26
+ children?: React.ReactNode;
27
+ /** Defaults to 'quiet' */
28
+ variant?: 'quiet' | 'outlined';
29
+ }
30
+ export declare const FunIconButton: ({ children, onClick, icon, size, width, gap, ariaLabel, color, as, isDisabled, borderRadius, style, disableHoverStyles, variant, ...props }: FunIconButtonProps) => React.JSX.Element;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { FunIconButtonProps } from './FunIconButton';
3
+ interface FunRedirectButtonProps extends Omit<FunIconButtonProps, 'icon'> {
4
+ icon?: React.ReactNode;
5
+ to: string;
6
+ }
7
+ export declare const FunRedirectButton: ({ to, size, paddingX, paddingY, icon, ...buttonProps }: FunRedirectButtonProps) => React.JSX.Element;
8
+ export {};
@@ -1,11 +1,13 @@
1
1
  import React from 'react';
2
2
  import { FunkitActiveCheckoutItem } from '../FunkitProvider/FunkitCheckoutContext';
3
- export declare function CheckoutPrimaryInfoSnapshot({ checkoutItem, isLoading, prioritizeDraftValue, }: {
3
+ export declare function CheckoutPrimaryInfoSnapshot({ checkoutItem, isLoading, prioritizeDraftValue, preserveMinHeight, }: {
4
4
  checkoutItem: FunkitActiveCheckoutItem;
5
5
  isLoading: boolean;
6
6
  prioritizeDraftValue: boolean;
7
+ preserveMinHeight?: boolean;
7
8
  }): React.JSX.Element;
8
- export declare function CheckoutPrimaryInfo({ checkoutId, prioritizeDraftValue, }: {
9
+ export declare function CheckoutPrimaryInfo({ checkoutId, prioritizeDraftValue, preserveMinHeight, }: {
9
10
  checkoutId: string | null;
10
11
  prioritizeDraftValue: boolean;
12
+ preserveMinHeight?: boolean;
11
13
  }): React.JSX.Element | null;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { PaymentMethodInfo } from '../../consts/payment';
3
3
  export declare function FunCheckoutVerifyDetailsStep({ checkoutId, onSelectPaymentMethod, }: {
4
- checkoutId: string | null;
4
+ checkoutId: string;
5
5
  onSelectPaymentMethod: (p: PaymentMethodInfo) => void;
6
6
  }): React.JSX.Element;
@@ -1,6 +1,8 @@
1
1
  import React from 'react';
2
+ import { SocialLoginOption } from '../../consts/funkit';
2
3
  import { WalletConnector } from '../../wallets/useWalletConnectors';
3
4
  import { ConnectStep } from './FunConnectOptions';
5
+ export declare function useEnabledSocialLogins(): SocialLoginOption[];
4
6
  /**
5
7
  * Modal content for a user that is not signed-in yet
6
8
  * Shows Web2 and Web3 sign in options
@@ -1,11 +1,9 @@
1
- import './FunContainer.css';
2
1
  import React, { PropsWithChildren } from 'react';
3
2
  export interface FunContainerProps {
4
3
  title?: string;
5
4
  titlePrefix?: React.ReactNode;
6
- isCollapsible?: boolean;
7
5
  isCollapsed?: boolean;
8
6
  showHoverEffect?: boolean;
9
7
  onClick?: () => void;
10
8
  }
11
- export declare function FunContainer({ children, title, titlePrefix, isCollapsible, isCollapsed, showHoverEffect, onClick, }: PropsWithChildren<FunContainerProps>): React.JSX.Element;
9
+ export declare function FunContainer({ children, title, titlePrefix, isCollapsed, showHoverEffect, onClick, }: PropsWithChildren<FunContainerProps>): React.JSX.Element;
@@ -1,12 +1,13 @@
1
1
  import React from 'react';
2
2
  export interface FunTwoFaInputProps {
3
3
  value: string;
4
- onChange: (input: string) => void;
5
- onCompleted?: (input: string) => void;
4
+ initialInputLength: number;
5
+ maxInputLength: number;
6
6
  hasError: boolean;
7
+ onChange: (input: string) => void;
7
8
  errorMessage?: string;
8
- inputLength: number;
9
9
  onResend?: () => void;
10
10
  hasResent?: boolean;
11
+ onCompleted?: (value: string) => void;
11
12
  }
12
- export declare const FunTwoFaInput: ({ value, onChange, onCompleted, hasError, errorMessage, inputLength, onResend, hasResent, }: FunTwoFaInputProps) => React.JSX.Element;
13
+ export declare const FunTwoFaInput: ({ value, onChange, hasError, errorMessage, initialInputLength, maxInputLength, onResend, hasResent, onCompleted, }: FunTwoFaInputProps) => React.JSX.Element;
@@ -1,2 +1,2 @@
1
- import React from 'react';
2
- export declare const FunNoResults: () => React.JSX.Element;
1
+ import React, { PropsWithChildren } from 'react';
2
+ export declare const FunNoResults: ({ children }: PropsWithChildren) => React.JSX.Element;
@@ -1,29 +1,15 @@
1
1
  import React from 'react';
2
- import { DepositTokenSymbol } from '../../consts/funkit';
3
- import { PaymentFlow, PaymentMethod, PaymentMethodInfo } from '../../consts/payment';
4
- export declare function AddPaymentMethodItem({ paymentFlow, paymentMethod, isClickable, isActive, onClick, disclaimerText, }: {
5
- paymentFlow: PaymentFlow;
6
- paymentMethod: PaymentMethod;
7
- isActive: boolean;
8
- isClickable?: boolean;
9
- onClick?: () => void;
10
- disclaimerText?: undefined | string;
11
- }): React.JSX.Element;
2
+ import { PaymentMethodInfo } from '../../consts/payment';
12
3
  export declare function ExistingPaymentMethodItem({ paymentMethodInfo, }: {
13
4
  paymentMethodInfo: PaymentMethodInfo;
14
5
  }): React.JSX.Element;
15
6
  /**
16
7
  * Handle selection and adding of payment methods
17
8
  */
18
- export declare function FunPaymentMethods({ primaryInfo, checkoutId, // only valid for paymentFlow === CHECKOUT
19
- paymentFlow, onSelect, isDisabled, depositInfo, }: {
9
+ export declare function FunPaymentMethods({ primaryInfo, checkoutId, onSelect, isDisabled, depositAmount, }: {
20
10
  primaryInfo: React.ReactNode;
21
- checkoutId?: string | null;
22
- paymentFlow: PaymentFlow;
11
+ checkoutId: string;
23
12
  onSelect: (paymentMethodInfo: PaymentMethodInfo) => void;
24
13
  isDisabled?: boolean;
25
- depositInfo?: {
26
- amount: string;
27
- tokenTicker: string | DepositTokenSymbol | null;
28
- };
14
+ depositAmount: string;
29
15
  }): React.JSX.Element;
@@ -1 +1,2 @@
1
1
  export declare const mpClass: string;
2
+ export declare const stretchStyle: string;
@@ -1,8 +1,6 @@
1
1
  import React from 'react';
2
2
  import { Address } from 'viem';
3
- import { PaymentFlow } from '../../consts/payment';
4
- export declare function FunPaymentMoonpayType({ paymentFlow, paymentAddress, depositToken, depositTokenChainId, depositTokenAmount, onBackToHome, redirectToCheckoutHistory, }: {
5
- paymentFlow: PaymentFlow;
3
+ export declare function FunPaymentMoonpayType({ paymentAddress, depositToken, depositTokenChainId, depositTokenAmount, redirectToCheckoutHistory, }: {
6
4
  paymentAddress: Address;
7
5
  depositToken: string;
8
6
  depositTokenChainId: string;