@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.
- package/CHANGELOG.md +12 -0
- package/dist/__private__/index.d.ts +2 -0
- package/dist/{chunk-I24HX4XM.js → chunk-O57HO5YO.js} +9 -5
- package/dist/{chunk-BZPWFPPL.js → chunk-T74JTC6K.js} +25 -14
- package/dist/{chunk-3AR2EI7X.js → chunk-X5AJP4CF.js} +25 -14
- package/dist/components/Box/Box.d.ts +49 -45
- package/dist/components/ChainModal/Chain.d.ts +2 -1
- package/dist/components/CloseButton/CloseButton.d.ts +1 -2
- package/dist/components/ConnectButton/ConnectButtonRenderer.d.ts +1 -0
- package/dist/components/DevTest/DevEmbed.d.ts +2 -0
- package/dist/components/Dialog/Dialog.css.d.ts +2 -1
- package/dist/components/Dialog/DialogContent.css.d.ts +3 -3
- package/dist/components/Dialog/DialogContent.d.ts +3 -6
- package/dist/components/FunAlert/FunAlert.d.ts +5 -0
- package/dist/components/FunAsset/FunAssetBadge.d.ts +9 -0
- package/dist/components/FunAsset/FunAssetItem.d.ts +11 -0
- package/dist/components/FunBadge/FunBadge.d.ts +10 -3
- package/dist/components/FunBottomBar/FunBottomBar.css.d.ts +2 -0
- package/dist/components/FunBottomBar/FunBottomBar.d.ts +10 -0
- package/dist/components/FunButton/FunButton.d.ts +6 -7
- package/dist/components/FunButton/FunIconButton.d.ts +4 -2
- package/dist/components/FunCallToAction/FunCallToAction.d.ts +10 -0
- package/dist/components/FunCheckoutHistoryModal/FunCheckoutHistoryTransaction.css.d.ts +4 -0
- package/dist/components/FunCheckoutHistoryModal/FunCheckoutHistoryTransaction.d.ts +8 -0
- package/dist/components/FunCheckoutHistoryModal/FunCheckoutStatus.d.ts +7 -0
- package/dist/components/FunCheckoutModal/FunCheckoutConfirmationStep.d.ts +3 -1
- package/dist/components/FunCheckoutModal/FunCheckoutConnectExchangeStep.d.ts +11 -0
- package/dist/components/FunCheckoutModal/FunCheckoutInputAmountStep.d.ts +5 -2
- package/dist/components/FunCheckoutModal/FunCheckoutModal.d.ts +1 -0
- package/dist/components/FunConnectOptions/ConnectDetails.d.ts +4 -3
- package/dist/components/FunConnectOptions/FunConnectOptions.d.ts +6 -5
- package/dist/components/FunConnectOptions/FunConnectResultStep.d.ts +14 -0
- package/dist/components/FunConnectOptions/FunFarcasterConnectingStep.d.ts +2 -3
- package/dist/components/FunConnectOptions/FunSignInStep.d.ts +2 -1
- package/dist/components/FunConnectOptions/FunWeb2ConnectingStep.d.ts +1 -3
- package/dist/components/FunConnectOptions/FunWeb3ConnectingStep.d.ts +5 -4
- package/dist/components/FunContainer/FunContainer.d.ts +3 -5
- package/dist/components/FunDivider/FunDivider.css.d.ts +1 -0
- package/dist/components/FunDivider/FunDivider.d.ts +6 -3
- package/dist/components/FunGuarantees/FunGuarantees.d.ts +7 -0
- package/dist/components/FunInput/FunInput.css.d.ts +1 -0
- package/dist/components/FunInput/FunInput.d.ts +12 -11
- package/dist/components/FunInput/FunTextAreaInput.d.ts +3 -4
- package/dist/components/FunInput/FunTwoFaInput.d.ts +4 -2
- package/dist/components/FunMessage/FunMessage.d.ts +9 -0
- package/dist/components/FunModalTitleSection/FunModalTitleSection.d.ts +7 -5
- package/dist/components/FunModalTitleSection/FunModalTitleSectionCountdown.d.ts +7 -0
- package/dist/components/FunNoResults/FunNoResults.d.ts +2 -0
- package/dist/components/FunNotification/FunNotification.d.ts +5 -1
- package/dist/components/FunOptionBox/FunOptionBox.css.d.ts +1 -0
- package/dist/components/FunOptionBox/FunOptionBox.d.ts +13 -0
- package/dist/components/FunPaymentMethodItem/FunPaymentMethodItem.d.ts +11 -0
- package/dist/components/FunPayments/FunPaymentMeshType.d.ts +3 -3
- package/dist/components/FunPayments/FunPaymentMethods.d.ts +3 -4
- package/dist/components/FunPayments/FunPaymentSetup.d.ts +4 -4
- package/dist/components/FunSelect/FunSelect.d.ts +3 -21
- package/dist/components/FunSelectBrokerage/FunBrokerageItem.css.d.ts +1 -0
- package/dist/components/FunSelectBrokerage/FunBrokerageItem.d.ts +9 -0
- package/dist/components/FunSelectBrokerage/FunSelectBrokerage.css.d.ts +1 -0
- package/dist/components/FunSelectBrokerage/FunSelectBrokerage.d.ts +9 -0
- package/dist/components/FunSocials/FunSocials.d.ts +9 -0
- package/dist/components/FunkitProvider/FunkitConfigContext.d.ts +5 -20
- package/dist/components/FunkitProvider/FunkitThemeProvider.d.ts +88 -12
- package/dist/components/FunkitProvider/FunkitWeb2Provider.d.ts +1 -0
- package/dist/components/FunkitProvider/GeneralWalletProvider.d.ts +1 -0
- package/dist/components/GradientLoader/GradientLoader.css.d.ts +1 -0
- package/dist/components/GradientLoader/GradientLoader.d.ts +2 -0
- package/dist/components/Icons/AlpacaIcon.d.ts +3 -1
- package/dist/components/Icons/ArrowIcon.d.ts +9 -0
- package/dist/components/Icons/BinanceIcon.d.ts +3 -1
- package/dist/components/Icons/CexloIcon.d.ts +3 -1
- package/dist/components/Icons/{Copied.d.ts → Checked.d.ts} +1 -1
- package/dist/components/Icons/{NoAssetsFoundIcon.d.ts → CloseIcon.d.ts} +1 -1
- package/dist/components/Icons/CopyDoubleIcon.d.ts +2 -0
- package/dist/components/Icons/CryptoIcon.d.ts +2 -0
- package/dist/components/Icons/EtoroIcon.d.ts +3 -1
- package/dist/components/Icons/FunLogoIcon.d.ts +2 -0
- package/dist/components/Icons/GeminiIcon.d.ts +3 -1
- package/dist/components/Icons/GreenRoundCheckmark.d.ts +4 -0
- package/dist/components/Icons/HandIcon.d.ts +2 -0
- package/dist/components/Icons/Icons.css.d.ts +0 -1
- package/dist/components/Icons/Info.d.ts +3 -2
- package/dist/components/Icons/LockIcon.d.ts +2 -0
- package/dist/components/Icons/LogoutIcon.d.ts +3 -1
- package/dist/components/Icons/MailIcon.d.ts +2 -0
- package/dist/components/Icons/MoonPayLogoIcon.d.ts +2 -0
- package/dist/components/Icons/OkcoinIcon.d.ts +3 -1
- package/dist/components/Icons/PhoneIcon.d.ts +2 -0
- package/dist/components/Icons/PublicIcon.d.ts +3 -1
- package/dist/components/Icons/ReceiptIcon.d.ts +3 -1
- package/dist/components/Icons/RedRoundErrorCross.d.ts +4 -0
- package/dist/components/Icons/RobinhoodIcon.d.ts +3 -1
- package/dist/components/Icons/SearchSkeletonIcon.d.ts +2 -0
- package/dist/components/Icons/SelectDropdownIcon.d.ts +2 -0
- package/dist/components/Icons/SettingsIcon.d.ts +3 -1
- package/dist/components/Icons/ShieldIcon.d.ts +2 -0
- package/dist/components/Icons/SocialsIcon.d.ts +2 -0
- package/dist/components/Icons/Spinner.d.ts +3 -1
- package/dist/components/Icons/StatusIcons.d.ts +7 -3
- package/dist/components/Icons/TwoFaIcon.d.ts +2 -0
- package/dist/components/Icons/WalletIcon.d.ts +1 -0
- package/dist/components/Icons/WeBullIcon.d.ts +3 -1
- package/dist/components/ModalSelection/ModalSelection.d.ts +2 -1
- package/dist/components/ProfileDetails/FunProfileViews/Home/HomeCheckoutDisplayRow.css.d.ts +1 -0
- package/dist/components/ProfileDetails/FunProfileViews/Home/HomeCheckoutDisplayRow.d.ts +7 -0
- package/dist/components/ProfileDetails/FunProfileViews/Home/index.d.ts +6 -1
- package/dist/components/ProfileDetails/ProfileDetails.d.ts +1 -0
- package/dist/consts/funkit.d.ts +8 -0
- package/dist/css/sprinkles.css.d.ts +93 -51
- package/dist/hooks/useDynamicFont.d.ts +5 -0
- package/dist/hooks/useInterval.d.ts +1 -0
- package/dist/hooks/useMesh.d.ts +5 -4
- package/dist/hooks/useScrollDivider.d.ts +11 -0
- package/dist/index.css +2679 -1481
- package/dist/index.d.ts +1 -0
- package/dist/index.js +10333 -8882
- package/dist/themes/baseTheme.d.ts +1 -1
- package/dist/themes/baseTheme.js +1 -1
- package/dist/themes/darkTheme.d.ts +22 -3
- package/dist/themes/darkTheme.js +2 -2
- package/dist/themes/lightTheme.d.ts +22 -3
- package/dist/themes/lightTheme.js +2 -2
- package/dist/utils/assets.d.ts +25 -0
- package/dist/utils/checkout.d.ts +7 -2
- package/dist/utils/formatTimestamp.d.ts +2 -1
- package/dist/wallets/useWalletConnectors.d.ts +1 -0
- package/dist/wallets/walletConnectors/argentWallet/argentWallet.js +2 -2
- package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +3 -3
- package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +3 -3
- package/dist/wallets/walletConnectors/bloomWallet/bloomWallet.js +2 -2
- package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
- package/dist/wallets/walletConnectors/chunk-32KBKKGT.js +182 -0
- package/dist/wallets/walletConnectors/chunk-3CLNL7LR.js +73 -0
- package/dist/wallets/walletConnectors/chunk-7GGRZNT3.js +96 -0
- package/dist/wallets/walletConnectors/chunk-CMXZK5RR.js +94 -0
- package/dist/wallets/walletConnectors/chunk-F4EJ42XO.js +105 -0
- package/dist/wallets/walletConnectors/chunk-FL2VIO76.js +71 -0
- package/dist/wallets/walletConnectors/chunk-IIJOJ6AD.js +102 -0
- package/dist/wallets/walletConnectors/chunk-LJRV5JY7.js +95 -0
- package/dist/wallets/walletConnectors/chunk-MSRKKVDE.js +98 -0
- package/dist/wallets/walletConnectors/chunk-YUIRWCAS.js +101 -0
- package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
- package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
- package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
- package/dist/wallets/walletConnectors/dawnWallet/dawnWallet.js +2 -2
- package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
- package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +3 -3
- package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +3 -3
- package/dist/wallets/walletConnectors/index.js +69 -69
- package/dist/wallets/walletConnectors/ledgerWallet/ledgerWallet.js +2 -2
- package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +3 -3
- package/dist/wallets/walletConnectors/oktoWallet/oktoWallet.js +2 -2
- package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +3 -3
- package/dist/wallets/walletConnectors/omniWallet/omniWallet.js +2 -2
- package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +3 -3
- package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +2 -2
- package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
- package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
- package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +3 -3
- package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +3 -3
- package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +3 -3
- package/package.json +3 -3
- package/dist/components/FunButton/FunTermsAndConditionsTextButton.d.ts +0 -2
- package/dist/components/FunConnectOptions/FunConnectErrorStep.d.ts +0 -10
- package/dist/components/Icons/Back.d.ts +0 -2
- package/dist/components/Icons/Close.d.ts +0 -2
- package/dist/components/Icons/FunBackIcon.d.ts +0 -2
- package/dist/components/ModalSelection/ModalSelection.css.d.ts +0 -1
- package/dist/components/QRCode/QRCode.css.d.ts +0 -1
- package/dist/fun-error-AZCFCLIM.js +0 -6
- /package/dist/components/{FunDevTestModal → DevTest}/FunDevTestModal.d.ts +0 -0
- /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
|
|
@@ -8,7 +8,7 @@ var fontStacks = {
|
|
|
8
8
|
};
|
|
9
9
|
var radiusScales = {
|
|
10
10
|
large: {
|
|
11
|
-
actionButton: "
|
|
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(
|
|
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
|
-
"
|
|
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: "
|
|
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 = "
|
|
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-
|
|
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: "#
|
|
10
|
-
orange: { accentColor: "#
|
|
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: "#
|
|
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:
|
|
37
|
-
generalBorder: "
|
|
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.
|
|
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
|
-
|
|
56
|
+
chainIconBorder: "#E5E5E5",
|
|
57
|
+
modalBackdrop: "rgba(0, 0, 0, 0.2)",
|
|
55
58
|
modalBackground: "#1A1B1F",
|
|
56
|
-
modalBorder: "
|
|
59
|
+
modalBorder: "#292929",
|
|
57
60
|
notificationPrimary: "rgba(255, 255, 255, 0.03)",
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
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: "#
|
|
74
|
-
buttonWarning:
|
|
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-
|
|
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: "#
|
|
10
|
-
orange: { accentColor: "#
|
|
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: "#
|
|
14
|
-
white: { accentColor: "#
|
|
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:
|
|
37
|
-
generalBorder: "
|
|
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(
|
|
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
|
-
|
|
56
|
+
chainIconBorder: "#E5E5E5",
|
|
57
|
+
modalBackdrop: "rgba(0, 0, 0, 0.2)",
|
|
55
58
|
modalBackground: "#FFF",
|
|
56
|
-
modalBorder: "
|
|
59
|
+
modalBorder: "#F7F7F7",
|
|
57
60
|
notificationPrimary: "rgba(49, 163, 248, 0.15)",
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
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:
|
|
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" | "
|
|
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" | "
|
|
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" | "
|
|
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" | "
|
|
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" | "
|
|
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" | "
|
|
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" | "
|
|
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" | "
|
|
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" | "
|
|
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" | "
|
|
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" | "
|
|
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" | "
|
|
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" | "
|
|
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" | "
|
|
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" | "
|
|
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" | "
|
|
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" | "
|
|
50
|
-
readonly height?: "1" | "10" | "12" | "14" | "16" | "
|
|
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" | "
|
|
54
|
-
readonly marginLeft?: "0" | "1" | "10" | "12" | "14" | "16" | "18" | "20" | "2" | "3" | "
|
|
55
|
-
readonly marginRight?: "0" | "1" | "10" | "12" | "14" | "16" | "18" | "20" | "2" | "3" | "
|
|
56
|
-
readonly marginTop?: "0" | "1" | "10" | "12" | "14" | "16" | "18" | "20" | "2" | "3" | "
|
|
57
|
-
readonly minHeight?: "1" | "10" | "12" | "14" | "16" | "
|
|
58
|
-
readonly maxHeight?: "1" | "10" | "12" | "14" | "16" | "
|
|
59
|
-
readonly maxWidth?: "1" | "10" | "12" | "14" | "16" | "
|
|
60
|
-
readonly minWidth?: "1" | "10" | "12" | "14" | "16" | "
|
|
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" | "
|
|
63
|
-
readonly paddingLeft?: "0" | "1" | "10" | "12" | "14" | "16" | "18" | "20" | "2" | "3" | "
|
|
64
|
-
readonly paddingRight?: "0" | "1" | "10" | "12" | "14" | "16" | "18" | "20" | "2" | "3" | "
|
|
65
|
-
readonly paddingTop?: "0" | "1" | "10" | "12" | "14" | "16" | "18" | "20" | "2" | "3" | "
|
|
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" | "
|
|
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" | "
|
|
73
|
-
marginX?: "0" | "1" | "10" | "12" | "14" | "16" | "18" | "20" | "2" | "3" | "
|
|
74
|
-
marginY?: "0" | "1" | "10" | "12" | "14" | "16" | "18" | "20" | "2" | "3" | "
|
|
75
|
-
padding?: "0" | "1" | "10" | "12" | "14" | "16" | "18" | "20" | "2" | "3" | "
|
|
76
|
-
paddingX?: "0" | "1" | "10" | "12" | "14" | "16" | "18" | "20" | "2" | "3" | "
|
|
77
|
-
paddingY?: "0" | "1" | "10" | "12" | "14" | "16" | "18" | "20" | "2" | "3" | "
|
|
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,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;
|