@funkit/connect 2.0.7 → 3.0.0-next.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 (172) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/__private__/index.d.ts +2 -0
  3. package/dist/{chunk-I24HX4XM.js → chunk-O57HO5YO.js} +9 -5
  4. package/dist/{chunk-BZPWFPPL.js → chunk-T74JTC6K.js} +25 -14
  5. package/dist/{chunk-3AR2EI7X.js → chunk-X5AJP4CF.js} +25 -14
  6. package/dist/components/Box/Box.d.ts +49 -45
  7. package/dist/components/ChainModal/Chain.d.ts +2 -1
  8. package/dist/components/CloseButton/CloseButton.d.ts +1 -2
  9. package/dist/components/ConnectButton/ConnectButtonRenderer.d.ts +1 -0
  10. package/dist/components/DevTest/DevEmbed.d.ts +2 -0
  11. package/dist/components/Dialog/Dialog.css.d.ts +2 -1
  12. package/dist/components/Dialog/DialogContent.css.d.ts +3 -3
  13. package/dist/components/Dialog/DialogContent.d.ts +3 -6
  14. package/dist/components/FunAlert/FunAlert.d.ts +5 -0
  15. package/dist/components/FunAsset/FunAssetBadge.d.ts +9 -0
  16. package/dist/components/FunAsset/FunAssetItem.d.ts +11 -0
  17. package/dist/components/FunBadge/FunBadge.d.ts +10 -3
  18. package/dist/components/FunBottomBar/FunBottomBar.css.d.ts +2 -0
  19. package/dist/components/FunBottomBar/FunBottomBar.d.ts +10 -0
  20. package/dist/components/FunButton/FunButton.d.ts +6 -7
  21. package/dist/components/FunButton/FunIconButton.d.ts +4 -2
  22. package/dist/components/FunCallToAction/FunCallToAction.d.ts +10 -0
  23. package/dist/components/FunCheckoutHistoryModal/FunCheckoutHistoryTransaction.css.d.ts +4 -0
  24. package/dist/components/FunCheckoutHistoryModal/FunCheckoutHistoryTransaction.d.ts +8 -0
  25. package/dist/components/FunCheckoutHistoryModal/FunCheckoutStatus.d.ts +7 -0
  26. package/dist/components/FunCheckoutModal/FunCheckoutConfirmationStep.d.ts +3 -1
  27. package/dist/components/FunCheckoutModal/FunCheckoutConnectExchangeStep.d.ts +11 -0
  28. package/dist/components/FunCheckoutModal/FunCheckoutInputAmountStep.d.ts +5 -2
  29. package/dist/components/FunCheckoutModal/FunCheckoutModal.d.ts +1 -0
  30. package/dist/components/FunConnectOptions/ConnectDetails.d.ts +4 -3
  31. package/dist/components/FunConnectOptions/FunConnectOptions.d.ts +6 -5
  32. package/dist/components/FunConnectOptions/FunConnectResultStep.d.ts +14 -0
  33. package/dist/components/FunConnectOptions/FunFarcasterConnectingStep.d.ts +2 -3
  34. package/dist/components/FunConnectOptions/FunSignInStep.d.ts +2 -1
  35. package/dist/components/FunConnectOptions/FunWeb2ConnectingStep.d.ts +1 -3
  36. package/dist/components/FunConnectOptions/FunWeb3ConnectingStep.d.ts +5 -4
  37. package/dist/components/FunContainer/FunContainer.d.ts +3 -5
  38. package/dist/components/FunDivider/FunDivider.css.d.ts +1 -0
  39. package/dist/components/FunDivider/FunDivider.d.ts +6 -3
  40. package/dist/components/FunGuarantees/FunGuarantees.d.ts +7 -0
  41. package/dist/components/FunInput/FunInput.css.d.ts +1 -0
  42. package/dist/components/FunInput/FunInput.d.ts +12 -11
  43. package/dist/components/FunInput/FunTextAreaInput.d.ts +3 -4
  44. package/dist/components/FunInput/FunTwoFaInput.d.ts +4 -2
  45. package/dist/components/FunMessage/FunMessage.d.ts +9 -0
  46. package/dist/components/FunModalTitleSection/FunModalTitleSection.d.ts +7 -5
  47. package/dist/components/FunModalTitleSection/FunModalTitleSectionCountdown.d.ts +7 -0
  48. package/dist/components/FunNoResults/FunNoResults.d.ts +2 -0
  49. package/dist/components/FunNotification/FunNotification.d.ts +5 -1
  50. package/dist/components/FunOptionBox/FunOptionBox.css.d.ts +1 -0
  51. package/dist/components/FunOptionBox/FunOptionBox.d.ts +13 -0
  52. package/dist/components/FunPaymentMethodItem/FunPaymentMethodItem.d.ts +11 -0
  53. package/dist/components/FunPayments/FunPaymentMeshType.d.ts +3 -3
  54. package/dist/components/FunPayments/FunPaymentMethods.d.ts +3 -4
  55. package/dist/components/FunPayments/FunPaymentSetup.d.ts +4 -4
  56. package/dist/components/FunSelect/FunSelect.d.ts +3 -21
  57. package/dist/components/FunSelectBrokerage/FunBrokerageItem.css.d.ts +1 -0
  58. package/dist/components/FunSelectBrokerage/FunBrokerageItem.d.ts +9 -0
  59. package/dist/components/FunSelectBrokerage/FunSelectBrokerage.css.d.ts +1 -0
  60. package/dist/components/FunSelectBrokerage/FunSelectBrokerage.d.ts +9 -0
  61. package/dist/components/FunSocials/FunSocials.d.ts +9 -0
  62. package/dist/components/FunkitProvider/FunkitConfigContext.d.ts +5 -20
  63. package/dist/components/FunkitProvider/FunkitThemeProvider.d.ts +88 -12
  64. package/dist/components/FunkitProvider/FunkitWeb2Provider.d.ts +1 -0
  65. package/dist/components/FunkitProvider/GeneralWalletProvider.d.ts +1 -0
  66. package/dist/components/GradientLoader/GradientLoader.css.d.ts +1 -0
  67. package/dist/components/GradientLoader/GradientLoader.d.ts +2 -0
  68. package/dist/components/Icons/AlpacaIcon.d.ts +3 -1
  69. package/dist/components/Icons/ArrowIcon.d.ts +9 -0
  70. package/dist/components/Icons/BinanceIcon.d.ts +3 -1
  71. package/dist/components/Icons/CexloIcon.d.ts +3 -1
  72. package/dist/components/Icons/{Copied.d.ts → Checked.d.ts} +1 -1
  73. package/dist/components/Icons/{NoAssetsFoundIcon.d.ts → CloseIcon.d.ts} +1 -1
  74. package/dist/components/Icons/CopyDoubleIcon.d.ts +2 -0
  75. package/dist/components/Icons/CryptoIcon.d.ts +2 -0
  76. package/dist/components/Icons/EtoroIcon.d.ts +3 -1
  77. package/dist/components/Icons/FunLogoIcon.d.ts +2 -0
  78. package/dist/components/Icons/GeminiIcon.d.ts +3 -1
  79. package/dist/components/Icons/GreenRoundCheckmark.d.ts +4 -0
  80. package/dist/components/Icons/HandIcon.d.ts +2 -0
  81. package/dist/components/Icons/Icons.css.d.ts +0 -1
  82. package/dist/components/Icons/Info.d.ts +3 -2
  83. package/dist/components/Icons/LockIcon.d.ts +2 -0
  84. package/dist/components/Icons/LogoutIcon.d.ts +3 -1
  85. package/dist/components/Icons/MailIcon.d.ts +2 -0
  86. package/dist/components/Icons/MoonPayLogoIcon.d.ts +2 -0
  87. package/dist/components/Icons/OkcoinIcon.d.ts +3 -1
  88. package/dist/components/Icons/PhoneIcon.d.ts +2 -0
  89. package/dist/components/Icons/PublicIcon.d.ts +3 -1
  90. package/dist/components/Icons/ReceiptIcon.d.ts +3 -1
  91. package/dist/components/Icons/RedRoundErrorCross.d.ts +4 -0
  92. package/dist/components/Icons/RobinhoodIcon.d.ts +3 -1
  93. package/dist/components/Icons/SearchSkeletonIcon.d.ts +2 -0
  94. package/dist/components/Icons/SelectDropdownIcon.d.ts +2 -0
  95. package/dist/components/Icons/SettingsIcon.d.ts +3 -1
  96. package/dist/components/Icons/ShieldIcon.d.ts +2 -0
  97. package/dist/components/Icons/SocialsIcon.d.ts +2 -0
  98. package/dist/components/Icons/Spinner.d.ts +3 -1
  99. package/dist/components/Icons/StatusIcons.d.ts +7 -3
  100. package/dist/components/Icons/TwoFaIcon.d.ts +2 -0
  101. package/dist/components/Icons/WalletIcon.d.ts +1 -0
  102. package/dist/components/Icons/WeBullIcon.d.ts +3 -1
  103. package/dist/components/ModalSelection/ModalSelection.d.ts +2 -1
  104. package/dist/components/ProfileDetails/FunProfileViews/Home/HomeCheckoutDisplayRow.css.d.ts +1 -0
  105. package/dist/components/ProfileDetails/FunProfileViews/Home/HomeCheckoutDisplayRow.d.ts +7 -0
  106. package/dist/components/ProfileDetails/FunProfileViews/Home/index.d.ts +6 -1
  107. package/dist/components/ProfileDetails/ProfileDetails.d.ts +1 -0
  108. package/dist/consts/funkit.d.ts +8 -0
  109. package/dist/css/sprinkles.css.d.ts +93 -51
  110. package/dist/hooks/useDynamicFont.d.ts +5 -0
  111. package/dist/hooks/useInterval.d.ts +1 -0
  112. package/dist/hooks/useMesh.d.ts +5 -4
  113. package/dist/hooks/useScrollDivider.d.ts +11 -0
  114. package/dist/index.css +2679 -1481
  115. package/dist/index.d.ts +1 -0
  116. package/dist/index.js +10333 -8882
  117. package/dist/themes/baseTheme.d.ts +1 -1
  118. package/dist/themes/baseTheme.js +1 -1
  119. package/dist/themes/darkTheme.d.ts +22 -3
  120. package/dist/themes/darkTheme.js +2 -2
  121. package/dist/themes/lightTheme.d.ts +22 -3
  122. package/dist/themes/lightTheme.js +2 -2
  123. package/dist/utils/assets.d.ts +25 -0
  124. package/dist/utils/checkout.d.ts +7 -2
  125. package/dist/utils/formatTimestamp.d.ts +2 -1
  126. package/dist/wallets/useWalletConnectors.d.ts +1 -0
  127. package/dist/wallets/walletConnectors/argentWallet/argentWallet.js +2 -2
  128. package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +3 -3
  129. package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +3 -3
  130. package/dist/wallets/walletConnectors/bloomWallet/bloomWallet.js +2 -2
  131. package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
  132. package/dist/wallets/walletConnectors/chunk-32KBKKGT.js +182 -0
  133. package/dist/wallets/walletConnectors/chunk-3CLNL7LR.js +73 -0
  134. package/dist/wallets/walletConnectors/chunk-7GGRZNT3.js +96 -0
  135. package/dist/wallets/walletConnectors/chunk-CMXZK5RR.js +94 -0
  136. package/dist/wallets/walletConnectors/chunk-F4EJ42XO.js +105 -0
  137. package/dist/wallets/walletConnectors/chunk-FL2VIO76.js +71 -0
  138. package/dist/wallets/walletConnectors/chunk-IIJOJ6AD.js +102 -0
  139. package/dist/wallets/walletConnectors/chunk-LJRV5JY7.js +95 -0
  140. package/dist/wallets/walletConnectors/chunk-MSRKKVDE.js +98 -0
  141. package/dist/wallets/walletConnectors/chunk-YUIRWCAS.js +101 -0
  142. package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
  143. package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
  144. package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
  145. package/dist/wallets/walletConnectors/dawnWallet/dawnWallet.js +2 -2
  146. package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
  147. package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +3 -3
  148. package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +3 -3
  149. package/dist/wallets/walletConnectors/index.js +69 -69
  150. package/dist/wallets/walletConnectors/ledgerWallet/ledgerWallet.js +2 -2
  151. package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +3 -3
  152. package/dist/wallets/walletConnectors/oktoWallet/oktoWallet.js +2 -2
  153. package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +3 -3
  154. package/dist/wallets/walletConnectors/omniWallet/omniWallet.js +2 -2
  155. package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +3 -3
  156. package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +2 -2
  157. package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
  158. package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
  159. package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +3 -3
  160. package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +3 -3
  161. package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +3 -3
  162. package/package.json +3 -3
  163. package/dist/components/FunButton/FunTermsAndConditionsTextButton.d.ts +0 -2
  164. package/dist/components/FunConnectOptions/FunConnectErrorStep.d.ts +0 -10
  165. package/dist/components/Icons/Back.d.ts +0 -2
  166. package/dist/components/Icons/Close.d.ts +0 -2
  167. package/dist/components/Icons/FunBackIcon.d.ts +0 -2
  168. package/dist/components/ModalSelection/ModalSelection.css.d.ts +0 -1
  169. package/dist/components/QRCode/QRCode.css.d.ts +0 -1
  170. package/dist/fun-error-AZCFCLIM.js +0 -6
  171. /package/dist/components/{FunDevTestModal → DevTest}/FunDevTestModal.d.ts +0 -0
  172. /package/dist/components/Icons/{Success.d.ts → SuccessIcon.d.ts} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @funkit/connect
2
2
 
3
+ ## 3.0.0-next.0
4
+
5
+ ### Major Changes
6
+
7
+ - b90e164: feat: v3 upgrade - phase 1 - baseline styles, themes, configuration
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [b90e164]
12
+ - @funkit/core@2.1.2-next.0
13
+ - @funkit/wagmi-tools@3.0.4-next.0
14
+
3
15
  ## 2.0.7
4
16
 
5
17
  ### Patch Changes
@@ -1,4 +1,6 @@
1
+ import { DevEmbed } from '../components/DevTest/DevEmbed';
1
2
  export declare const __private__: {
2
3
  dialogContent: string;
3
4
  dialogContentMobile: string;
5
+ DevEmbed: typeof DevEmbed;
4
6
  };
@@ -8,7 +8,7 @@ var fontStacks = {
8
8
  };
9
9
  var radiusScales = {
10
10
  large: {
11
- actionButton: "9999px",
11
+ actionButton: "12px",
12
12
  connectButton: "12px",
13
13
  modal: "24px",
14
14
  modalMobile: "28px"
@@ -40,7 +40,7 @@ var blurs = {
40
40
  modalOverlay: "blur(0px)"
41
41
  },
42
42
  small: {
43
- modalOverlay: "blur(4px)"
43
+ modalOverlay: "blur(8px)"
44
44
  }
45
45
  };
46
46
  var DEFAULT_FONT_WEIGHTS = {
@@ -51,19 +51,22 @@ var DEFAULT_FONT_WEIGHTS = {
51
51
  heavy: "800"
52
52
  };
53
53
  var DEFAULT_FONT_SIZES = {
54
- "10": { fontSize: "10px", lineHeight: "18px" },
54
+ "8": { fontSize: "8px", lineHeight: "10px" },
55
+ "10": { fontSize: "10px", lineHeight: "15px" },
55
56
  "12": { fontSize: "12px", lineHeight: "18px" },
56
57
  "13": { fontSize: "13px", lineHeight: "18px" },
57
58
  "14": { fontSize: "14px", lineHeight: "18px" },
58
59
  "16": { fontSize: "16px", lineHeight: "20px" },
59
60
  "18": { fontSize: "18px", lineHeight: "24px" },
60
- "20": { fontSize: "20px", lineHeight: "24px" },
61
+ "20": { fontSize: "20px", lineHeight: "20px" },
61
62
  "23": { fontSize: "23px", lineHeight: "29px" },
63
+ "40": { fontSize: "40px", lineHeight: "48px" },
62
64
  "57": { fontSize: "57px", lineHeight: "68px" }
63
65
  };
64
66
  var FONT_SIZINGS = {
65
67
  regular: DEFAULT_FONT_SIZES,
66
68
  small: {
69
+ "8": { fontSize: "8px", lineHeight: "16px" },
67
70
  "10": { fontSize: "8px", lineHeight: "16px" },
68
71
  "12": { fontSize: "10px", lineHeight: "16px" },
69
72
  "13": { fontSize: "10px", lineHeight: "16px" },
@@ -72,6 +75,7 @@ var FONT_SIZINGS = {
72
75
  "18": { fontSize: "14px", lineHeight: "20px" },
73
76
  "20": { fontSize: "18px", lineHeight: "20px" },
74
77
  "23": { fontSize: "20px", lineHeight: "28px" },
78
+ "40": { fontSize: "34px", lineHeight: "40px" },
75
79
  "57": { fontSize: "50px", lineHeight: "60px" }
76
80
  }
77
81
  };
@@ -81,7 +85,7 @@ var baseTheme = ({
81
85
  fontSizing = "regular",
82
86
  customFontFamily = "",
83
87
  customFontWeights = DEFAULT_FONT_WEIGHTS,
84
- overlayBlur = "none"
88
+ overlayBlur = "small"
85
89
  }) => ({
86
90
  blurs: {
87
91
  modalOverlay: blurs[overlayBlur].modalOverlay
@@ -1,16 +1,16 @@
1
1
  "use client";
2
2
  import {
3
3
  baseTheme
4
- } from "./chunk-I24HX4XM.js";
4
+ } from "./chunk-O57HO5YO.js";
5
5
 
6
6
  // src/themes/darkTheme.ts
7
7
  var accentColors = {
8
8
  blue: { accentColor: "#3898FF", accentColorForeground: "#FFF" },
9
- green: { accentColor: "#4BD166", accentColorForeground: "#000" },
10
- orange: { accentColor: "#FF983D", accentColorForeground: "#000" },
9
+ green: { accentColor: "#66CC00", accentColorForeground: "#000" },
10
+ orange: { accentColor: "#F6851B", accentColorForeground: "#000" },
11
11
  pink: { accentColor: "#FF7AB8", accentColorForeground: "#000" },
12
12
  purple: { accentColor: "#7A70FF", accentColorForeground: "#FFF" },
13
- red: { accentColor: "#FF6257", accentColorForeground: "#FFF" },
13
+ red: { accentColor: "#F34126", accentColorForeground: "#FFF" },
14
14
  white: { accentColor: "#FFF", accentColorForeground: "#000" }
15
15
  };
16
16
  var defaultAccentColor = accentColors.white;
@@ -33,13 +33,13 @@ var darkTheme = ({
33
33
  connectButtonText: "#FFF",
34
34
  connectButtonTextError: "#FFF",
35
35
  connectionIndicator: "#30E000",
36
- error: "#FF494A",
37
- generalBorder: "rgba(255, 255, 255, 0.08)",
36
+ error: accentColors.red.accentColor,
37
+ generalBorder: "#292929",
38
38
  generalBorderDim: "rgba(255, 255, 255, 0.04)",
39
39
  menuItemBackground: "rgba(255, 255, 255, 0.03)",
40
40
  modalText: "#FFF",
41
41
  modalTextDim: "rgba(255, 255, 255, 0.4)",
42
- modalTextSecondary: "rgba(255, 255, 255, 0.6)",
42
+ modalTextSecondary: "rgba(255, 255, 255, 0.35)",
43
43
  profileAction: "rgba(255, 255, 255, 0.1)",
44
44
  profileActionHover: "rgba(255, 255, 255, 0.2)",
45
45
  profileForeground: "rgba(255, 255, 255, 0.06)",
@@ -48,16 +48,22 @@ var darkTheme = ({
48
48
  paymentOptionBorderHover: "transparent",
49
49
  paymentOptionBorderActive: "transparent",
50
50
  paymentOptionBorderActiveHover: "transparent",
51
+ paymentOptionBorderDisabled: "#333333",
51
52
  standby: "#F6851B",
53
+ success: "#66CC00",
52
54
  loadingBase: "rgba(255, 255, 255, 0.05)",
53
55
  loadingAccent: "rgba(255, 255, 255, 0.2)",
54
- modalBackdrop: "rgba(0, 0, 0, 0.4)",
56
+ chainIconBorder: "#E5E5E5",
57
+ modalBackdrop: "rgba(0, 0, 0, 0.2)",
55
58
  modalBackground: "#1A1B1F",
56
- modalBorder: "rgba(255, 255, 255, 0.10)",
59
+ modalBorder: "#292929",
57
60
  notificationPrimary: "rgba(255, 255, 255, 0.03)",
58
- textPrimary: "#FFF",
59
- textSecondary: "rgba(255, 255, 255, 0.4)",
60
- textTertiary: "",
61
+ offBackground: "#1F1F1F",
62
+ hoverState: "#333333",
63
+ offBackgroundInverse: "#F2F2F2",
64
+ primaryText: "#FFF",
65
+ secondaryText: "#8C8C8C",
66
+ tertiaryText: "rgba(255, 255, 255, 0.35)",
61
67
  textDisabled: "",
62
68
  textSelection: "rgba(255, 255, 255, 0.10)",
63
69
  inputFieldPrimary: "#FFF",
@@ -65,13 +71,16 @@ var darkTheme = ({
65
71
  inputFieldDisabled: "",
66
72
  optionBackground: "rgba(255, 255, 255, 0.10)",
67
73
  optionBackgroundSecondary: "transparent",
74
+ actionColor: "#FFF",
75
+ actionColorHover: "rgba(255, 255, 255, 0.8)",
76
+ actionColorDisabled: "rgba(255, 255, 255, 0.65)",
68
77
  buttonPrimary: accentColor,
69
78
  buttonProcessing: accentColorForeground,
70
79
  buttonDisabled: "rgba(255, 255, 255, 0.20)",
71
80
  buttonTextPrimary: "#000000",
72
81
  buttonTextSecondary: "#FFFFFF",
73
- buttonTextDisabled: "#000000",
74
- buttonWarning: "#F34126",
82
+ buttonTextDisabled: "#595959",
83
+ buttonWarning: accentColors.red.accentColor,
75
84
  buttonSuccess: "#2EA200",
76
85
  buttonTextWarning: "#FFFFFF",
77
86
  buttonTextSuccess: "#FFFFFF",
@@ -85,6 +94,8 @@ var darkTheme = ({
85
94
  selectedOption: "0px 2px 6px rgba(0, 0, 0, 0.24)",
86
95
  selectedWallet: "0px 2px 6px rgba(0, 0, 0, 0.24)",
87
96
  walletLogo: "0px 2px 16px rgba(0, 0, 0, 0.16)",
97
+ button: "0px 1px 2px 0px rgba(0, 0, 0, 0.20)",
98
+ callToAction: "0px 4px 4px rgba(0, 0, 0, 0.25)",
88
99
  ...customShadows || {}
89
100
  },
90
101
  moonpayTheme: "dark"
@@ -1,17 +1,17 @@
1
1
  "use client";
2
2
  import {
3
3
  baseTheme
4
- } from "./chunk-I24HX4XM.js";
4
+ } from "./chunk-O57HO5YO.js";
5
5
 
6
6
  // src/themes/lightTheme.ts
7
7
  var accentColors = {
8
8
  blue: { accentColor: "#31A3F8", accentColorForeground: "#31A3F859" },
9
- green: { accentColor: "#1DB847", accentColorForeground: "#FFF" },
10
- orange: { accentColor: "#FF801F", accentColorForeground: "#FFF" },
9
+ green: { accentColor: "#66CC00", accentColorForeground: "#FFF" },
10
+ orange: { accentColor: "#F6851B", accentColorForeground: "#FFF" },
11
11
  pink: { accentColor: "#FF5CA0", accentColorForeground: "#FFF" },
12
12
  purple: { accentColor: "#5F5AFA", accentColorForeground: "#FFF" },
13
- red: { accentColor: "#FA423C", accentColorForeground: "#FFF" },
14
- white: { accentColor: "#31A3F8", accentColorForeground: "#fff" }
13
+ red: { accentColor: "#F34126", accentColorForeground: "#FFF" },
14
+ white: { accentColor: "#000000", accentColorForeground: "#fff" }
15
15
  };
16
16
  var defaultAccentColor = accentColors.white;
17
17
  var lightTheme = ({
@@ -33,13 +33,13 @@ var lightTheme = ({
33
33
  connectButtonText: "#25292E",
34
34
  connectButtonTextError: "#FFF",
35
35
  connectionIndicator: "#30E000",
36
- error: "#FF494A",
37
- generalBorder: "rgba(0, 0, 0, 0.06)",
36
+ error: accentColors.red.accentColor,
37
+ generalBorder: "#F7F7F7",
38
38
  generalBorderDim: "rgba(0, 0, 0, 0.03)",
39
39
  menuItemBackground: "#FCFCFC",
40
40
  modalText: "rgba(0, 0, 0, 1)",
41
41
  modalTextDim: "rgba(60, 66, 66, 0.3)",
42
- modalTextSecondary: "rgba(26, 27, 31, 0.35)",
42
+ modalTextSecondary: "rgba(0, 0, 0, 0.35)",
43
43
  profileAction: "#FFF",
44
44
  profileActionHover: "rgba(255, 255, 255, 0.40)",
45
45
  profileForeground: "rgba(60, 66, 66, 0.06)",
@@ -48,16 +48,22 @@ var lightTheme = ({
48
48
  paymentOptionBorderHover: "transparent",
49
49
  paymentOptionBorderActive: "transparent",
50
50
  paymentOptionBorderActiveHover: "transparent",
51
+ paymentOptionBorderDisabled: "#F7F7F7",
51
52
  standby: "#F6851B",
53
+ success: "#66CC00",
52
54
  loadingBase: "rgba(0, 0, 0, 0.05)",
53
55
  loadingAccent: "rgba(0, 0, 0, 0.2)",
54
- modalBackdrop: "rgba(0, 0, 0, 0.4)",
56
+ chainIconBorder: "#E5E5E5",
57
+ modalBackdrop: "rgba(0, 0, 0, 0.2)",
55
58
  modalBackground: "#FFF",
56
- modalBorder: "rgba(0, 0, 0, 0.05)",
59
+ modalBorder: "#F7F7F7",
57
60
  notificationPrimary: "rgba(49, 163, 248, 0.15)",
58
- textPrimary: "#000000",
59
- textSecondary: "#1A1B1F99",
60
- textTertiary: "#1A1B1F59",
61
+ offBackground: "#F7F7F7",
62
+ hoverState: "#F0F0F0",
63
+ offBackgroundInverse: "#333",
64
+ primaryText: "#000",
65
+ secondaryText: "#737373",
66
+ tertiaryText: "rgba(0, 0, 0, 0.35)",
61
67
  textDisabled: "",
62
68
  textSelection: "rgba(0, 0, 0, 0.10)",
63
69
  inputFieldPrimary: "#000000",
@@ -65,10 +71,13 @@ var lightTheme = ({
65
71
  inputFieldDisabled: "#1A1B1F99",
66
72
  optionBackground: "rgba(0, 0, 0, 0.05)",
67
73
  optionBackgroundSecondary: "transparent",
74
+ actionColor: "#000",
75
+ actionColorHover: "rgba(0, 0, 0, 0.7)",
76
+ actionColorDisabled: "rgba(0, 0, 0, 0.50)",
68
77
  buttonPrimary: accentColor,
69
78
  buttonProcessing: accentColorForeground,
70
79
  buttonDisabled: "#31A3F826",
71
- buttonWarning: "#F34126",
80
+ buttonWarning: accentColors.red.accentColor,
72
81
  buttonSuccess: "#2EA200",
73
82
  buttonTextWarning: "#FFFFFF",
74
83
  buttonTextSuccess: "#FFFFFF",
@@ -85,6 +94,8 @@ var lightTheme = ({
85
94
  selectedOption: "0px 2px 6px rgba(0, 0, 0, 0.24)",
86
95
  selectedWallet: "0px 2px 6px rgba(0, 0, 0, 0.12)",
87
96
  walletLogo: "0px 2px 16px rgba(0, 0, 0, 0.16)",
97
+ button: "0px 1px 2px 0px rgba(0, 0, 0, 0.20)",
98
+ callToAction: "0px 4px 4px rgba(0, 0, 0, 0.25)",
88
99
  ...customShadows || {}
89
100
  },
90
101
  moonpayTheme: "light"
@@ -2,29 +2,33 @@ 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" | "actionButtonSecondaryBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "paymentOptionBorderBase" | "paymentOptionBorderHover" | "paymentOptionBorderActive" | "paymentOptionBorderActiveHover" | "standby" | "loadingBase" | "loadingAccent" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "textPrimary" | "textSecondary" | "textTertiary" | "textDisabled" | "textSelection" | "inputFieldPrimary" | "inputFieldPlaceholder" | "inputFieldDisabled" | "optionBackground" | "optionBackgroundSecondary" | "buttonPrimary" | "buttonProcessing" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextSecondary" | "buttonTextDisabled" | {
6
- base?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "actionButtonSecondaryBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "paymentOptionBorderBase" | "paymentOptionBorderHover" | "paymentOptionBorderActive" | "paymentOptionBorderActiveHover" | "standby" | "loadingBase" | "loadingAccent" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "textPrimary" | "textSecondary" | "textTertiary" | "textDisabled" | "textSelection" | "inputFieldPrimary" | "inputFieldPlaceholder" | "inputFieldDisabled" | "optionBackground" | "optionBackgroundSecondary" | "buttonPrimary" | "buttonProcessing" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextSecondary" | "buttonTextDisabled" | undefined;
7
- hover?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "actionButtonSecondaryBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "paymentOptionBorderBase" | "paymentOptionBorderHover" | "paymentOptionBorderActive" | "paymentOptionBorderActiveHover" | "standby" | "loadingBase" | "loadingAccent" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "textPrimary" | "textSecondary" | "textTertiary" | "textDisabled" | "textSelection" | "inputFieldPrimary" | "inputFieldPlaceholder" | "inputFieldDisabled" | "optionBackground" | "optionBackgroundSecondary" | "buttonPrimary" | "buttonProcessing" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextSecondary" | "buttonTextDisabled" | undefined;
8
- active?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "actionButtonSecondaryBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "paymentOptionBorderBase" | "paymentOptionBorderHover" | "paymentOptionBorderActive" | "paymentOptionBorderActiveHover" | "standby" | "loadingBase" | "loadingAccent" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "textPrimary" | "textSecondary" | "textTertiary" | "textDisabled" | "textSelection" | "inputFieldPrimary" | "inputFieldPlaceholder" | "inputFieldDisabled" | "optionBackground" | "optionBackgroundSecondary" | "buttonPrimary" | "buttonProcessing" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextSecondary" | "buttonTextDisabled" | undefined;
9
- selection?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "actionButtonSecondaryBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "paymentOptionBorderBase" | "paymentOptionBorderHover" | "paymentOptionBorderActive" | "paymentOptionBorderActiveHover" | "standby" | "loadingBase" | "loadingAccent" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "textPrimary" | "textSecondary" | "textTertiary" | "textDisabled" | "textSelection" | "inputFieldPrimary" | "inputFieldPlaceholder" | "inputFieldDisabled" | "optionBackground" | "optionBackgroundSecondary" | "buttonPrimary" | "buttonProcessing" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextSecondary" | "buttonTextDisabled" | undefined;
5
+ background?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "actionButtonSecondaryBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "paymentOptionBorderBase" | "paymentOptionBorderHover" | "paymentOptionBorderActive" | "paymentOptionBorderActiveHover" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "primaryText" | "secondaryText" | "tertiaryText" | "textDisabled" | "textSelection" | "inputFieldPrimary" | "inputFieldPlaceholder" | "inputFieldDisabled" | "optionBackground" | "optionBackgroundSecondary" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonProcessing" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextSecondary" | "buttonTextDisabled" | {
6
+ base?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "actionButtonSecondaryBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "paymentOptionBorderBase" | "paymentOptionBorderHover" | "paymentOptionBorderActive" | "paymentOptionBorderActiveHover" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "primaryText" | "secondaryText" | "tertiaryText" | "textDisabled" | "textSelection" | "inputFieldPrimary" | "inputFieldPlaceholder" | "inputFieldDisabled" | "optionBackground" | "optionBackgroundSecondary" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonProcessing" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextSecondary" | "buttonTextDisabled" | undefined;
7
+ hover?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "actionButtonSecondaryBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "paymentOptionBorderBase" | "paymentOptionBorderHover" | "paymentOptionBorderActive" | "paymentOptionBorderActiveHover" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "primaryText" | "secondaryText" | "tertiaryText" | "textDisabled" | "textSelection" | "inputFieldPrimary" | "inputFieldPlaceholder" | "inputFieldDisabled" | "optionBackground" | "optionBackgroundSecondary" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonProcessing" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextSecondary" | "buttonTextDisabled" | undefined;
8
+ active?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "actionButtonSecondaryBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "paymentOptionBorderBase" | "paymentOptionBorderHover" | "paymentOptionBorderActive" | "paymentOptionBorderActiveHover" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "primaryText" | "secondaryText" | "tertiaryText" | "textDisabled" | "textSelection" | "inputFieldPrimary" | "inputFieldPlaceholder" | "inputFieldDisabled" | "optionBackground" | "optionBackgroundSecondary" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonProcessing" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextSecondary" | "buttonTextDisabled" | undefined;
9
+ selection?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "actionButtonSecondaryBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "paymentOptionBorderBase" | "paymentOptionBorderHover" | "paymentOptionBorderActive" | "paymentOptionBorderActiveHover" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "primaryText" | "secondaryText" | "tertiaryText" | "textDisabled" | "textSelection" | "inputFieldPrimary" | "inputFieldPlaceholder" | "inputFieldDisabled" | "optionBackground" | "optionBackgroundSecondary" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonProcessing" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextSecondary" | "buttonTextDisabled" | undefined;
10
+ focused?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "actionButtonSecondaryBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "paymentOptionBorderBase" | "paymentOptionBorderHover" | "paymentOptionBorderActive" | "paymentOptionBorderActiveHover" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "primaryText" | "secondaryText" | "tertiaryText" | "textDisabled" | "textSelection" | "inputFieldPrimary" | "inputFieldPlaceholder" | "inputFieldDisabled" | "optionBackground" | "optionBackgroundSecondary" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonProcessing" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextSecondary" | "buttonTextDisabled" | undefined;
10
11
  } | undefined;
11
- borderColor?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "actionButtonSecondaryBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "paymentOptionBorderBase" | "paymentOptionBorderHover" | "paymentOptionBorderActive" | "paymentOptionBorderActiveHover" | "standby" | "loadingBase" | "loadingAccent" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "textPrimary" | "textSecondary" | "textTertiary" | "textDisabled" | "textSelection" | "inputFieldPrimary" | "inputFieldPlaceholder" | "inputFieldDisabled" | "optionBackground" | "optionBackgroundSecondary" | "buttonPrimary" | "buttonProcessing" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextSecondary" | "buttonTextDisabled" | {
12
- base?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "actionButtonSecondaryBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "paymentOptionBorderBase" | "paymentOptionBorderHover" | "paymentOptionBorderActive" | "paymentOptionBorderActiveHover" | "standby" | "loadingBase" | "loadingAccent" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "textPrimary" | "textSecondary" | "textTertiary" | "textDisabled" | "textSelection" | "inputFieldPrimary" | "inputFieldPlaceholder" | "inputFieldDisabled" | "optionBackground" | "optionBackgroundSecondary" | "buttonPrimary" | "buttonProcessing" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextSecondary" | "buttonTextDisabled" | undefined;
13
- hover?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "actionButtonSecondaryBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "paymentOptionBorderBase" | "paymentOptionBorderHover" | "paymentOptionBorderActive" | "paymentOptionBorderActiveHover" | "standby" | "loadingBase" | "loadingAccent" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "textPrimary" | "textSecondary" | "textTertiary" | "textDisabled" | "textSelection" | "inputFieldPrimary" | "inputFieldPlaceholder" | "inputFieldDisabled" | "optionBackground" | "optionBackgroundSecondary" | "buttonPrimary" | "buttonProcessing" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextSecondary" | "buttonTextDisabled" | undefined;
14
- active?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "actionButtonSecondaryBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "paymentOptionBorderBase" | "paymentOptionBorderHover" | "paymentOptionBorderActive" | "paymentOptionBorderActiveHover" | "standby" | "loadingBase" | "loadingAccent" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "textPrimary" | "textSecondary" | "textTertiary" | "textDisabled" | "textSelection" | "inputFieldPrimary" | "inputFieldPlaceholder" | "inputFieldDisabled" | "optionBackground" | "optionBackgroundSecondary" | "buttonPrimary" | "buttonProcessing" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextSecondary" | "buttonTextDisabled" | undefined;
15
- selection?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "actionButtonSecondaryBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "paymentOptionBorderBase" | "paymentOptionBorderHover" | "paymentOptionBorderActive" | "paymentOptionBorderActiveHover" | "standby" | "loadingBase" | "loadingAccent" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "textPrimary" | "textSecondary" | "textTertiary" | "textDisabled" | "textSelection" | "inputFieldPrimary" | "inputFieldPlaceholder" | "inputFieldDisabled" | "optionBackground" | "optionBackgroundSecondary" | "buttonPrimary" | "buttonProcessing" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextSecondary" | "buttonTextDisabled" | undefined;
12
+ borderColor?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "actionButtonSecondaryBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "paymentOptionBorderBase" | "paymentOptionBorderHover" | "paymentOptionBorderActive" | "paymentOptionBorderActiveHover" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "primaryText" | "secondaryText" | "tertiaryText" | "textDisabled" | "textSelection" | "inputFieldPrimary" | "inputFieldPlaceholder" | "inputFieldDisabled" | "optionBackground" | "optionBackgroundSecondary" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonProcessing" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextSecondary" | "buttonTextDisabled" | {
13
+ base?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "actionButtonSecondaryBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "paymentOptionBorderBase" | "paymentOptionBorderHover" | "paymentOptionBorderActive" | "paymentOptionBorderActiveHover" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "primaryText" | "secondaryText" | "tertiaryText" | "textDisabled" | "textSelection" | "inputFieldPrimary" | "inputFieldPlaceholder" | "inputFieldDisabled" | "optionBackground" | "optionBackgroundSecondary" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonProcessing" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextSecondary" | "buttonTextDisabled" | undefined;
14
+ hover?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "actionButtonSecondaryBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "paymentOptionBorderBase" | "paymentOptionBorderHover" | "paymentOptionBorderActive" | "paymentOptionBorderActiveHover" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "primaryText" | "secondaryText" | "tertiaryText" | "textDisabled" | "textSelection" | "inputFieldPrimary" | "inputFieldPlaceholder" | "inputFieldDisabled" | "optionBackground" | "optionBackgroundSecondary" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonProcessing" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextSecondary" | "buttonTextDisabled" | undefined;
15
+ active?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "actionButtonSecondaryBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "paymentOptionBorderBase" | "paymentOptionBorderHover" | "paymentOptionBorderActive" | "paymentOptionBorderActiveHover" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "primaryText" | "secondaryText" | "tertiaryText" | "textDisabled" | "textSelection" | "inputFieldPrimary" | "inputFieldPlaceholder" | "inputFieldDisabled" | "optionBackground" | "optionBackgroundSecondary" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonProcessing" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextSecondary" | "buttonTextDisabled" | undefined;
16
+ selection?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "actionButtonSecondaryBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "paymentOptionBorderBase" | "paymentOptionBorderHover" | "paymentOptionBorderActive" | "paymentOptionBorderActiveHover" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "primaryText" | "secondaryText" | "tertiaryText" | "textDisabled" | "textSelection" | "inputFieldPrimary" | "inputFieldPlaceholder" | "inputFieldDisabled" | "optionBackground" | "optionBackgroundSecondary" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonProcessing" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextSecondary" | "buttonTextDisabled" | undefined;
17
+ focused?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "actionButtonSecondaryBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "paymentOptionBorderBase" | "paymentOptionBorderHover" | "paymentOptionBorderActive" | "paymentOptionBorderActiveHover" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "primaryText" | "secondaryText" | "tertiaryText" | "textDisabled" | "textSelection" | "inputFieldPrimary" | "inputFieldPlaceholder" | "inputFieldDisabled" | "optionBackground" | "optionBackgroundSecondary" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonProcessing" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextSecondary" | "buttonTextDisabled" | undefined;
16
18
  } | undefined;
17
- boxShadow?: "connectButton" | "dialog" | "profileDetailsAction" | "selectedOption" | "selectedWallet" | "walletLogo" | {
18
- base?: "connectButton" | "dialog" | "profileDetailsAction" | "selectedOption" | "selectedWallet" | "walletLogo" | undefined;
19
- hover?: "connectButton" | "dialog" | "profileDetailsAction" | "selectedOption" | "selectedWallet" | "walletLogo" | undefined;
20
- active?: "connectButton" | "dialog" | "profileDetailsAction" | "selectedOption" | "selectedWallet" | "walletLogo" | undefined;
21
- selection?: "connectButton" | "dialog" | "profileDetailsAction" | "selectedOption" | "selectedWallet" | "walletLogo" | undefined;
19
+ boxShadow?: "button" | "connectButton" | "dialog" | "profileDetailsAction" | "selectedOption" | "selectedWallet" | "walletLogo" | "callToAction" | {
20
+ base?: "button" | "connectButton" | "dialog" | "profileDetailsAction" | "selectedOption" | "selectedWallet" | "walletLogo" | "callToAction" | undefined;
21
+ hover?: "button" | "connectButton" | "dialog" | "profileDetailsAction" | "selectedOption" | "selectedWallet" | "walletLogo" | "callToAction" | undefined;
22
+ active?: "button" | "connectButton" | "dialog" | "profileDetailsAction" | "selectedOption" | "selectedWallet" | "walletLogo" | "callToAction" | undefined;
23
+ selection?: "button" | "connectButton" | "dialog" | "profileDetailsAction" | "selectedOption" | "selectedWallet" | "walletLogo" | "callToAction" | undefined;
24
+ focused?: "button" | "connectButton" | "dialog" | "profileDetailsAction" | "selectedOption" | "selectedWallet" | "walletLogo" | "callToAction" | undefined;
22
25
  } | undefined;
23
- color?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "actionButtonSecondaryBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "paymentOptionBorderBase" | "paymentOptionBorderHover" | "paymentOptionBorderActive" | "paymentOptionBorderActiveHover" | "standby" | "loadingBase" | "loadingAccent" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "textPrimary" | "textSecondary" | "textTertiary" | "textDisabled" | "textSelection" | "inputFieldPrimary" | "inputFieldPlaceholder" | "inputFieldDisabled" | "optionBackground" | "optionBackgroundSecondary" | "buttonPrimary" | "buttonProcessing" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextSecondary" | "buttonTextDisabled" | {
24
- base?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "actionButtonSecondaryBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "paymentOptionBorderBase" | "paymentOptionBorderHover" | "paymentOptionBorderActive" | "paymentOptionBorderActiveHover" | "standby" | "loadingBase" | "loadingAccent" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "textPrimary" | "textSecondary" | "textTertiary" | "textDisabled" | "textSelection" | "inputFieldPrimary" | "inputFieldPlaceholder" | "inputFieldDisabled" | "optionBackground" | "optionBackgroundSecondary" | "buttonPrimary" | "buttonProcessing" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextSecondary" | "buttonTextDisabled" | undefined;
25
- hover?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "actionButtonSecondaryBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "paymentOptionBorderBase" | "paymentOptionBorderHover" | "paymentOptionBorderActive" | "paymentOptionBorderActiveHover" | "standby" | "loadingBase" | "loadingAccent" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "textPrimary" | "textSecondary" | "textTertiary" | "textDisabled" | "textSelection" | "inputFieldPrimary" | "inputFieldPlaceholder" | "inputFieldDisabled" | "optionBackground" | "optionBackgroundSecondary" | "buttonPrimary" | "buttonProcessing" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextSecondary" | "buttonTextDisabled" | undefined;
26
- active?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "actionButtonSecondaryBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "paymentOptionBorderBase" | "paymentOptionBorderHover" | "paymentOptionBorderActive" | "paymentOptionBorderActiveHover" | "standby" | "loadingBase" | "loadingAccent" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "textPrimary" | "textSecondary" | "textTertiary" | "textDisabled" | "textSelection" | "inputFieldPrimary" | "inputFieldPlaceholder" | "inputFieldDisabled" | "optionBackground" | "optionBackgroundSecondary" | "buttonPrimary" | "buttonProcessing" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextSecondary" | "buttonTextDisabled" | undefined;
27
- selection?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "actionButtonSecondaryBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "paymentOptionBorderBase" | "paymentOptionBorderHover" | "paymentOptionBorderActive" | "paymentOptionBorderActiveHover" | "standby" | "loadingBase" | "loadingAccent" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "textPrimary" | "textSecondary" | "textTertiary" | "textDisabled" | "textSelection" | "inputFieldPrimary" | "inputFieldPlaceholder" | "inputFieldDisabled" | "optionBackground" | "optionBackgroundSecondary" | "buttonPrimary" | "buttonProcessing" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextSecondary" | "buttonTextDisabled" | undefined;
26
+ color?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "actionButtonSecondaryBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "paymentOptionBorderBase" | "paymentOptionBorderHover" | "paymentOptionBorderActive" | "paymentOptionBorderActiveHover" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "primaryText" | "secondaryText" | "tertiaryText" | "textDisabled" | "textSelection" | "inputFieldPrimary" | "inputFieldPlaceholder" | "inputFieldDisabled" | "optionBackground" | "optionBackgroundSecondary" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonProcessing" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextSecondary" | "buttonTextDisabled" | {
27
+ base?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "actionButtonSecondaryBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "paymentOptionBorderBase" | "paymentOptionBorderHover" | "paymentOptionBorderActive" | "paymentOptionBorderActiveHover" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "primaryText" | "secondaryText" | "tertiaryText" | "textDisabled" | "textSelection" | "inputFieldPrimary" | "inputFieldPlaceholder" | "inputFieldDisabled" | "optionBackground" | "optionBackgroundSecondary" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonProcessing" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextSecondary" | "buttonTextDisabled" | undefined;
28
+ hover?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "actionButtonSecondaryBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "paymentOptionBorderBase" | "paymentOptionBorderHover" | "paymentOptionBorderActive" | "paymentOptionBorderActiveHover" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "primaryText" | "secondaryText" | "tertiaryText" | "textDisabled" | "textSelection" | "inputFieldPrimary" | "inputFieldPlaceholder" | "inputFieldDisabled" | "optionBackground" | "optionBackgroundSecondary" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonProcessing" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextSecondary" | "buttonTextDisabled" | undefined;
29
+ active?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "actionButtonSecondaryBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "paymentOptionBorderBase" | "paymentOptionBorderHover" | "paymentOptionBorderActive" | "paymentOptionBorderActiveHover" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "primaryText" | "secondaryText" | "tertiaryText" | "textDisabled" | "textSelection" | "inputFieldPrimary" | "inputFieldPlaceholder" | "inputFieldDisabled" | "optionBackground" | "optionBackgroundSecondary" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonProcessing" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextSecondary" | "buttonTextDisabled" | undefined;
30
+ selection?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "actionButtonSecondaryBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "paymentOptionBorderBase" | "paymentOptionBorderHover" | "paymentOptionBorderActive" | "paymentOptionBorderActiveHover" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "primaryText" | "secondaryText" | "tertiaryText" | "textDisabled" | "textSelection" | "inputFieldPrimary" | "inputFieldPlaceholder" | "inputFieldDisabled" | "optionBackground" | "optionBackgroundSecondary" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonProcessing" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextSecondary" | "buttonTextDisabled" | undefined;
31
+ focused?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "actionButtonSecondaryBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "paymentOptionBorderBase" | "paymentOptionBorderHover" | "paymentOptionBorderActive" | "paymentOptionBorderActiveHover" | "paymentOptionBorderDisabled" | "standby" | "success" | "loadingBase" | "loadingAccent" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "offBackground" | "hoverState" | "offBackgroundInverse" | "primaryText" | "secondaryText" | "tertiaryText" | "textDisabled" | "textSelection" | "inputFieldPrimary" | "inputFieldPlaceholder" | "inputFieldDisabled" | "optionBackground" | "optionBackgroundSecondary" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonProcessing" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextWarning" | "buttonTextSuccess" | "buttonTextPrimary" | "buttonTextSecondary" | "buttonTextDisabled" | undefined;
28
32
  } | undefined;
29
33
  } & {
30
34
  alignItems?: "center" | "flex-end" | "flex-start" | {
@@ -38,43 +42,43 @@ export declare const Box: React.ForwardRefExoticComponent<{
38
42
  } & {
39
43
  readonly alignSelf?: "center" | "flex-end" | "flex-start" | undefined;
40
44
  readonly backgroundSize?: "cover" | undefined;
41
- readonly borderRadius?: "1" | "10" | "13" | "16" | "actionButton" | "connectButton" | "menuButton" | "modal" | "modalMobile" | "6" | "24" | "25%" | "full" | undefined;
45
+ readonly borderRadius?: "1" | "10" | "13" | "16" | "actionButton" | "connectButton" | "menuButton" | "modal" | "modalMobile" | "4" | "6" | "24" | "25%" | "full" | undefined;
42
46
  readonly borderStyle?: "dotted" | "hidden" | "solid" | undefined;
43
- readonly borderWidth?: "0" | "1" | "2" | "0.5" | "4" | undefined;
44
- readonly cursor?: "pointer" | undefined;
47
+ readonly borderWidth?: "0" | "1" | "2" | "3" | "4" | "0.5" | undefined;
48
+ readonly cursor?: "default" | "not-allowed" | "pointer" | undefined;
45
49
  readonly flexDirection?: "column" | "row" | undefined;
46
50
  readonly fontFamily?: "body" | undefined;
47
- readonly fontSize?: "10" | "12" | "13" | "14" | "16" | "18" | "20" | "23" | "57" | undefined;
51
+ readonly fontSize?: "8" | "10" | "12" | "13" | "14" | "16" | "18" | "20" | "23" | "40" | "57" | undefined;
48
52
  readonly fontWeight?: "medium" | "bold" | "regular" | "semibold" | "heavy" | undefined;
49
- readonly gap?: "0" | "1" | "10" | "12" | "14" | "16" | "18" | "20" | "2" | "3" | "6" | "24" | "4" | "8" | "28" | "30" | "32" | "36" | "44" | "-1" | "5" | "64" | undefined;
50
- readonly height?: "1" | "10" | "12" | "14" | "16" | "20" | "2" | "24" | "full" | "4" | "8" | "28" | "30" | "32" | "34" | "36" | "40" | "44" | "48" | "50" | "54" | "60" | "93" | "100" | "108" | "162" | "192" | "200" | "210" | "220" | "230" | "240" | "256" | "320" | "400" | "440" | "600" | "half" | "max" | undefined;
53
+ readonly gap?: "0" | "1" | "8" | "10" | "12" | "14" | "16" | "18" | "20" | "2" | "3" | "4" | "6" | "24" | "28" | "30" | "32" | "36" | "44" | "-1" | "5" | "9" | "15" | "64" | undefined;
54
+ readonly height?: "1" | "8" | "10" | "12" | "14" | "16" | "18" | "20" | "40" | "2" | "4" | "24" | "full" | "28" | "30" | "32" | "34" | "36" | "44" | "48" | "50" | "54" | "60" | "93" | "100" | "108" | "162" | "192" | "200" | "210" | "220" | "230" | "240" | "256" | "320" | "400" | "440" | "600" | "half" | "max" | undefined;
51
55
  readonly justifyContent?: "center" | "space-around" | "space-between" | "flex-end" | "flex-start" | undefined;
52
56
  readonly textAlign?: "inherit" | "left" | "right" | "center" | undefined;
53
- readonly marginBottom?: "0" | "1" | "10" | "12" | "14" | "16" | "18" | "20" | "2" | "3" | "6" | "24" | "4" | "8" | "28" | "30" | "32" | "36" | "44" | "-1" | "5" | "64" | undefined;
54
- readonly marginLeft?: "0" | "1" | "10" | "12" | "14" | "16" | "18" | "20" | "2" | "3" | "6" | "24" | "4" | "8" | "28" | "30" | "32" | "36" | "44" | "-1" | "5" | "64" | undefined;
55
- readonly marginRight?: "0" | "1" | "10" | "12" | "14" | "16" | "18" | "20" | "2" | "3" | "6" | "24" | "4" | "8" | "28" | "30" | "32" | "36" | "44" | "-1" | "5" | "64" | undefined;
56
- readonly marginTop?: "0" | "1" | "10" | "12" | "14" | "16" | "18" | "20" | "2" | "3" | "6" | "24" | "4" | "8" | "28" | "30" | "32" | "36" | "44" | "-1" | "5" | "64" | undefined;
57
- readonly minHeight?: "1" | "10" | "12" | "14" | "16" | "20" | "2" | "24" | "full" | "4" | "8" | "28" | "30" | "32" | "34" | "36" | "40" | "44" | "48" | "50" | "54" | "60" | "93" | "100" | "108" | "162" | "192" | "200" | "210" | "220" | "230" | "240" | "256" | "320" | "400" | "440" | "600" | "half" | "max" | undefined;
58
- readonly maxHeight?: "1" | "10" | "12" | "14" | "16" | "20" | "2" | "24" | "full" | "4" | "8" | "28" | "30" | "32" | "34" | "36" | "40" | "44" | "48" | "50" | "54" | "60" | "93" | "100" | "108" | "162" | "192" | "200" | "210" | "220" | "230" | "240" | "256" | "320" | "400" | "440" | "600" | "half" | "max" | undefined;
59
- readonly maxWidth?: "1" | "10" | "12" | "14" | "16" | "20" | "2" | "24" | "full" | "4" | "8" | "28" | "30" | "32" | "34" | "36" | "40" | "44" | "48" | "50" | "54" | "60" | "93" | "100" | "108" | "162" | "192" | "200" | "210" | "220" | "230" | "240" | "256" | "320" | "400" | "440" | "600" | "half" | "max" | undefined;
60
- readonly minWidth?: "1" | "10" | "12" | "14" | "16" | "20" | "2" | "24" | "full" | "4" | "8" | "28" | "30" | "32" | "34" | "36" | "40" | "44" | "48" | "50" | "54" | "60" | "93" | "100" | "108" | "162" | "192" | "200" | "210" | "220" | "230" | "240" | "256" | "320" | "400" | "440" | "600" | "half" | "max" | undefined;
57
+ readonly marginBottom?: "auto" | "0" | "1" | "8" | "10" | "12" | "14" | "16" | "18" | "20" | "2" | "3" | "4" | "6" | "24" | "28" | "30" | "32" | "36" | "44" | "-1" | "5" | "9" | "15" | "64" | "-18" | undefined;
58
+ readonly marginLeft?: "auto" | "0" | "1" | "8" | "10" | "12" | "14" | "16" | "18" | "20" | "2" | "3" | "4" | "6" | "24" | "28" | "30" | "32" | "36" | "44" | "-1" | "5" | "9" | "15" | "64" | "-18" | undefined;
59
+ readonly marginRight?: "auto" | "0" | "1" | "8" | "10" | "12" | "14" | "16" | "18" | "20" | "2" | "3" | "4" | "6" | "24" | "28" | "30" | "32" | "36" | "44" | "-1" | "5" | "9" | "15" | "64" | "-18" | undefined;
60
+ readonly marginTop?: "auto" | "0" | "1" | "8" | "10" | "12" | "14" | "16" | "18" | "20" | "2" | "3" | "4" | "6" | "24" | "28" | "30" | "32" | "36" | "44" | "-1" | "5" | "9" | "15" | "64" | "-18" | undefined;
61
+ readonly minHeight?: "1" | "8" | "10" | "12" | "14" | "16" | "18" | "20" | "40" | "2" | "4" | "24" | "full" | "28" | "30" | "32" | "34" | "36" | "44" | "48" | "50" | "54" | "60" | "93" | "100" | "108" | "162" | "192" | "200" | "210" | "220" | "230" | "240" | "256" | "320" | "400" | "440" | "600" | "half" | "max" | undefined;
62
+ readonly maxHeight?: "1" | "8" | "10" | "12" | "14" | "16" | "18" | "20" | "40" | "2" | "4" | "24" | "full" | "28" | "30" | "32" | "34" | "36" | "44" | "48" | "50" | "54" | "60" | "93" | "100" | "108" | "162" | "192" | "200" | "210" | "220" | "230" | "240" | "256" | "320" | "400" | "440" | "600" | "half" | "max" | undefined;
63
+ readonly maxWidth?: "1" | "8" | "10" | "12" | "14" | "16" | "18" | "20" | "40" | "2" | "4" | "24" | "full" | "28" | "30" | "32" | "34" | "36" | "44" | "48" | "50" | "54" | "60" | "93" | "100" | "108" | "162" | "192" | "200" | "210" | "220" | "230" | "240" | "256" | "320" | "400" | "440" | "600" | "half" | "max" | undefined;
64
+ readonly minWidth?: "1" | "8" | "10" | "12" | "14" | "16" | "18" | "20" | "40" | "2" | "4" | "24" | "full" | "28" | "30" | "32" | "34" | "36" | "44" | "48" | "50" | "54" | "60" | "93" | "100" | "108" | "162" | "192" | "200" | "210" | "220" | "230" | "240" | "256" | "320" | "400" | "440" | "600" | "half" | "max" | undefined;
61
65
  readonly overflow?: "hidden" | undefined;
62
- readonly paddingBottom?: "0" | "1" | "10" | "12" | "14" | "16" | "18" | "20" | "2" | "3" | "6" | "24" | "4" | "8" | "28" | "30" | "32" | "36" | "44" | "-1" | "5" | "64" | undefined;
63
- readonly paddingLeft?: "0" | "1" | "10" | "12" | "14" | "16" | "18" | "20" | "2" | "3" | "6" | "24" | "4" | "8" | "28" | "30" | "32" | "36" | "44" | "-1" | "5" | "64" | undefined;
64
- readonly paddingRight?: "0" | "1" | "10" | "12" | "14" | "16" | "18" | "20" | "2" | "3" | "6" | "24" | "4" | "8" | "28" | "30" | "32" | "36" | "44" | "-1" | "5" | "64" | undefined;
65
- readonly paddingTop?: "0" | "1" | "10" | "12" | "14" | "16" | "18" | "20" | "2" | "3" | "6" | "24" | "4" | "8" | "28" | "30" | "32" | "36" | "44" | "-1" | "5" | "64" | undefined;
66
+ readonly paddingBottom?: "0" | "1" | "8" | "10" | "12" | "14" | "16" | "18" | "20" | "2" | "3" | "4" | "6" | "24" | "28" | "30" | "32" | "36" | "44" | "-1" | "5" | "9" | "15" | "64" | undefined;
67
+ readonly paddingLeft?: "0" | "1" | "8" | "10" | "12" | "14" | "16" | "18" | "20" | "2" | "3" | "4" | "6" | "24" | "28" | "30" | "32" | "36" | "44" | "-1" | "5" | "9" | "15" | "64" | undefined;
68
+ readonly paddingRight?: "0" | "1" | "8" | "10" | "12" | "14" | "16" | "18" | "20" | "2" | "3" | "4" | "6" | "24" | "28" | "30" | "32" | "36" | "44" | "-1" | "5" | "9" | "15" | "64" | undefined;
69
+ readonly paddingTop?: "0" | "1" | "8" | "10" | "12" | "14" | "16" | "18" | "20" | "2" | "3" | "4" | "6" | "24" | "28" | "30" | "32" | "36" | "44" | "-1" | "5" | "9" | "15" | "64" | undefined;
66
70
  readonly position?: "fixed" | "absolute" | "relative" | undefined;
67
71
  readonly right?: "0" | undefined;
68
72
  readonly transition?: "transform" | "default" | undefined;
69
73
  readonly userSelect?: "none" | undefined;
70
- readonly width?: "1" | "10" | "12" | "14" | "16" | "20" | "2" | "24" | "full" | "4" | "8" | "28" | "30" | "32" | "34" | "36" | "40" | "44" | "48" | "50" | "54" | "60" | "93" | "100" | "108" | "162" | "192" | "200" | "210" | "220" | "230" | "240" | "256" | "320" | "400" | "440" | "600" | "half" | "max" | undefined;
74
+ readonly width?: "1" | "8" | "10" | "12" | "14" | "16" | "18" | "20" | "40" | "2" | "4" | "24" | "full" | "28" | "30" | "32" | "34" | "36" | "44" | "48" | "50" | "54" | "60" | "93" | "100" | "108" | "162" | "192" | "200" | "210" | "220" | "230" | "240" | "256" | "320" | "400" | "440" | "600" | "half" | "max" | undefined;
71
75
  readonly backdropFilter?: "modalOverlay" | undefined;
72
- margin?: "0" | "1" | "10" | "12" | "14" | "16" | "18" | "20" | "2" | "3" | "6" | "24" | "4" | "8" | "28" | "30" | "32" | "36" | "44" | "-1" | "5" | "64" | undefined;
73
- marginX?: "0" | "1" | "10" | "12" | "14" | "16" | "18" | "20" | "2" | "3" | "6" | "24" | "4" | "8" | "28" | "30" | "32" | "36" | "44" | "-1" | "5" | "64" | undefined;
74
- marginY?: "0" | "1" | "10" | "12" | "14" | "16" | "18" | "20" | "2" | "3" | "6" | "24" | "4" | "8" | "28" | "30" | "32" | "36" | "44" | "-1" | "5" | "64" | undefined;
75
- padding?: "0" | "1" | "10" | "12" | "14" | "16" | "18" | "20" | "2" | "3" | "6" | "24" | "4" | "8" | "28" | "30" | "32" | "36" | "44" | "-1" | "5" | "64" | undefined;
76
- paddingX?: "0" | "1" | "10" | "12" | "14" | "16" | "18" | "20" | "2" | "3" | "6" | "24" | "4" | "8" | "28" | "30" | "32" | "36" | "44" | "-1" | "5" | "64" | undefined;
77
- paddingY?: "0" | "1" | "10" | "12" | "14" | "16" | "18" | "20" | "2" | "3" | "6" | "24" | "4" | "8" | "28" | "30" | "32" | "36" | "44" | "-1" | "5" | "64" | undefined;
76
+ margin?: "auto" | "0" | "1" | "8" | "10" | "12" | "14" | "16" | "18" | "20" | "2" | "3" | "4" | "6" | "24" | "28" | "30" | "32" | "36" | "44" | "-1" | "5" | "9" | "15" | "64" | "-18" | undefined;
77
+ marginX?: "auto" | "0" | "1" | "8" | "10" | "12" | "14" | "16" | "18" | "20" | "2" | "3" | "4" | "6" | "24" | "28" | "30" | "32" | "36" | "44" | "-1" | "5" | "9" | "15" | "64" | "-18" | undefined;
78
+ marginY?: "auto" | "0" | "1" | "8" | "10" | "12" | "14" | "16" | "18" | "20" | "2" | "3" | "4" | "6" | "24" | "28" | "30" | "32" | "36" | "44" | "-1" | "5" | "9" | "15" | "64" | "-18" | undefined;
79
+ padding?: "0" | "1" | "8" | "10" | "12" | "14" | "16" | "18" | "20" | "2" | "3" | "4" | "6" | "24" | "28" | "30" | "32" | "36" | "44" | "-1" | "5" | "9" | "15" | "64" | undefined;
80
+ paddingX?: "0" | "1" | "8" | "10" | "12" | "14" | "16" | "18" | "20" | "2" | "3" | "4" | "6" | "24" | "28" | "30" | "32" | "36" | "44" | "-1" | "5" | "9" | "15" | "64" | undefined;
81
+ paddingY?: "0" | "1" | "8" | "10" | "12" | "14" | "16" | "18" | "20" | "2" | "3" | "4" | "6" | "24" | "28" | "30" | "32" | "36" | "44" | "-1" | "5" | "9" | "15" | "64" | undefined;
78
82
  } & {
79
83
  reset?: keyof JSX.IntrinsicElements;
80
84
  } & HTMLProperties<HTMLElement> & {
@@ -13,10 +13,11 @@ interface ChainProps {
13
13
  src: string | AsyncImageSrc | undefined | null;
14
14
  idx: number;
15
15
  }
16
- export declare function ChainLineItem({ chainId, chainIconSize, gap, }: {
16
+ export declare function ChainLineItem({ chainId, chainIconSize, gap, hideChainName, }: {
17
17
  chainId: number;
18
18
  chainIconSize: BoxProps['height'];
19
19
  gap?: BoxProps['gap'];
20
+ hideChainName?: boolean;
20
21
  }): React.JSX.Element | null;
21
22
  declare const Chain: ({ chainId, currentChainId, switchChain, chainIconSize, isLoading, src, name, iconBackground, idx, }: ChainProps) => React.JSX.Element;
22
23
  export default Chain;
@@ -1,5 +1,4 @@
1
1
  import React from 'react';
2
- export declare const CloseButton: ({ "aria-label": ariaLabel, onClose, }: {
3
- "aria-label"?: string;
2
+ export declare const CloseButton: ({ onClose }: {
4
3
  onClose: () => void;
5
4
  }) => React.JSX.Element;
@@ -7,6 +7,7 @@ export interface ConnectButtonRendererProps {
7
7
  balanceDecimals?: number;
8
8
  balanceFormatted?: string;
9
9
  balanceSymbol?: string;
10
+ balanceNativeAmount?: string;
10
11
  displayBalance?: string;
11
12
  displayName: string;
12
13
  displayAvatar: string;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare function DevEmbed(): React.JSX.Element;
@@ -1,5 +1,6 @@
1
+ export declare const DialogAnimationTimeIn = 250;
2
+ export declare const DialogAnimationTimeOut = 120;
1
3
  export declare const overlay: string;
2
4
  export declare const overlayOut: string;
3
- export declare const DialogAnimationTime = 150;
4
5
  export declare const content: string;
5
6
  export declare const contentSlideOut: string;