@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
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { HistoryContentPages } from '../../../../utils/checkoutHistory';
|
|
3
3
|
import { FunProfileView } from '../../ProfileDetails';
|
|
4
|
-
export declare
|
|
4
|
+
export declare enum SelectedHomeTab {
|
|
5
|
+
ASSETS = "assets",
|
|
6
|
+
CHECKOUTS = " checkouts"
|
|
7
|
+
}
|
|
8
|
+
export declare function Home({ onClose, onChangeView, onSelectActivity, defaultHomeTab, }: {
|
|
5
9
|
onClose: () => void;
|
|
6
10
|
onChangeView: (newView: FunProfileView) => void;
|
|
7
11
|
onSelectActivity: ({ depositAddress, initialPage, returnViewPresets, }: {
|
|
@@ -11,4 +15,5 @@ export declare function Home({ onClose, onChangeView, onSelectActivity, }: {
|
|
|
11
15
|
[x: string]: any;
|
|
12
16
|
};
|
|
13
17
|
}) => void;
|
|
18
|
+
defaultHomeTab?: SelectedHomeTab;
|
|
14
19
|
}): React.JSX.Element;
|
package/dist/consts/funkit.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { CheckoutState } from '@funkit/api-base';
|
|
2
|
+
import { OAuthProviderType } from '@privy-io/js-sdk-core';
|
|
2
3
|
import { Address } from 'viem';
|
|
3
4
|
export declare const NATIVE_TOKEN = "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee";
|
|
4
5
|
export declare const FUNKIT_CONNECTOR_ID = "funkitConnector";
|
|
@@ -23,6 +24,13 @@ export declare enum FunkitSocialLoginMethod {
|
|
|
23
24
|
APPLE = "apple_oauth",
|
|
24
25
|
FARCASTER = "farcaster"
|
|
25
26
|
}
|
|
27
|
+
export type SocialLoginOption = {
|
|
28
|
+
funkitKey: FunkitSocialLoginMethod;
|
|
29
|
+
provider: OAuthProviderType | 'farcaster';
|
|
30
|
+
icon: React.ReactNode;
|
|
31
|
+
name: string;
|
|
32
|
+
};
|
|
33
|
+
export type FunkitPrioritizedLoginType = 'none' | 'web2' | 'web3';
|
|
26
34
|
export interface FunkitUserInfoBase {
|
|
27
35
|
/** Unique identifier of the user **/
|
|
28
36
|
id: string | Address;
|
|
@@ -27,16 +27,22 @@ declare const themeContractValues: {
|
|
|
27
27
|
paymentOptionBorderHover: string;
|
|
28
28
|
paymentOptionBorderActive: string;
|
|
29
29
|
paymentOptionBorderActiveHover: string;
|
|
30
|
+
paymentOptionBorderDisabled: string;
|
|
30
31
|
standby: string;
|
|
32
|
+
success: string;
|
|
31
33
|
loadingBase: string;
|
|
32
34
|
loadingAccent: string;
|
|
35
|
+
chainIconBorder: string;
|
|
33
36
|
modalBackdrop: string;
|
|
34
37
|
modalBackground: string;
|
|
35
38
|
modalBorder: string;
|
|
36
39
|
notificationPrimary: string;
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
+
offBackground: string;
|
|
41
|
+
hoverState: string;
|
|
42
|
+
offBackgroundInverse: string;
|
|
43
|
+
primaryText: string;
|
|
44
|
+
secondaryText: string;
|
|
45
|
+
tertiaryText: string;
|
|
40
46
|
textDisabled: string;
|
|
41
47
|
textSelection: string;
|
|
42
48
|
inputFieldPrimary: string;
|
|
@@ -44,6 +50,9 @@ declare const themeContractValues: {
|
|
|
44
50
|
inputFieldDisabled: string;
|
|
45
51
|
optionBackground: string;
|
|
46
52
|
optionBackgroundSecondary: string;
|
|
53
|
+
actionColor: string;
|
|
54
|
+
actionColorHover: string;
|
|
55
|
+
actionColorDisabled: string;
|
|
47
56
|
buttonPrimary: string;
|
|
48
57
|
buttonProcessing: string;
|
|
49
58
|
buttonDisabled: string;
|
|
@@ -67,6 +76,10 @@ declare const themeContractValues: {
|
|
|
67
76
|
heavy: string;
|
|
68
77
|
};
|
|
69
78
|
fontSize: {
|
|
79
|
+
'8': {
|
|
80
|
+
fontSize: string;
|
|
81
|
+
lineHeight: string;
|
|
82
|
+
};
|
|
70
83
|
'10': {
|
|
71
84
|
fontSize: string;
|
|
72
85
|
lineHeight: string;
|
|
@@ -99,6 +112,10 @@ declare const themeContractValues: {
|
|
|
99
112
|
fontSize: string;
|
|
100
113
|
lineHeight: string;
|
|
101
114
|
};
|
|
115
|
+
'40': {
|
|
116
|
+
fontSize: string;
|
|
117
|
+
lineHeight: string;
|
|
118
|
+
};
|
|
102
119
|
'57': {
|
|
103
120
|
fontSize: string;
|
|
104
121
|
lineHeight: string;
|
|
@@ -118,6 +135,8 @@ declare const themeContractValues: {
|
|
|
118
135
|
selectedOption: string;
|
|
119
136
|
selectedWallet: string;
|
|
120
137
|
walletLogo: string;
|
|
138
|
+
button: string;
|
|
139
|
+
callToAction: string;
|
|
121
140
|
};
|
|
122
141
|
blurs: {
|
|
123
142
|
modalOverlay: string;
|
|
@@ -152,16 +171,22 @@ export declare const themeVars: {
|
|
|
152
171
|
paymentOptionBorderHover: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
153
172
|
paymentOptionBorderActive: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
154
173
|
paymentOptionBorderActiveHover: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
174
|
+
paymentOptionBorderDisabled: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
155
175
|
standby: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
176
|
+
success: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
156
177
|
loadingBase: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
157
178
|
loadingAccent: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
179
|
+
chainIconBorder: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
158
180
|
modalBackdrop: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
159
181
|
modalBackground: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
160
182
|
modalBorder: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
161
183
|
notificationPrimary: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
184
|
+
offBackground: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
185
|
+
hoverState: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
186
|
+
offBackgroundInverse: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
187
|
+
primaryText: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
188
|
+
secondaryText: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
189
|
+
tertiaryText: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
165
190
|
textDisabled: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
166
191
|
textSelection: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
167
192
|
inputFieldPrimary: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -169,6 +194,9 @@ export declare const themeVars: {
|
|
|
169
194
|
inputFieldDisabled: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
170
195
|
optionBackground: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
171
196
|
optionBackgroundSecondary: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
197
|
+
actionColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
198
|
+
actionColorHover: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
199
|
+
actionColorDisabled: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
172
200
|
buttonPrimary: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
173
201
|
buttonProcessing: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
174
202
|
buttonDisabled: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -192,6 +220,10 @@ export declare const themeVars: {
|
|
|
192
220
|
heavy: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
193
221
|
};
|
|
194
222
|
fontSize: {
|
|
223
|
+
'8': {
|
|
224
|
+
fontSize: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
225
|
+
lineHeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
226
|
+
};
|
|
195
227
|
'10': {
|
|
196
228
|
fontSize: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
197
229
|
lineHeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -224,6 +256,10 @@ export declare const themeVars: {
|
|
|
224
256
|
fontSize: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
225
257
|
lineHeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
226
258
|
};
|
|
259
|
+
'40': {
|
|
260
|
+
fontSize: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
261
|
+
lineHeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
262
|
+
};
|
|
227
263
|
'57': {
|
|
228
264
|
fontSize: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
229
265
|
lineHeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -243,6 +279,8 @@ export declare const themeVars: {
|
|
|
243
279
|
selectedOption: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
244
280
|
selectedWallet: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
245
281
|
walletLogo: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
282
|
+
button: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
283
|
+
callToAction: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
246
284
|
};
|
|
247
285
|
blurs: {
|
|
248
286
|
modalOverlay: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -447,29 +485,33 @@ export declare const normalizeResponsiveValue: <Value extends string | number |
|
|
|
447
485
|
};
|
|
448
486
|
}, Value>) => Partial<Record<"smallScreen" | "largeScreen", Value>>;
|
|
449
487
|
export declare const sprinkles: ((props: {
|
|
450
|
-
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" | "
|
|
451
|
-
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" | "
|
|
452
|
-
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" | "
|
|
453
|
-
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" | "
|
|
454
|
-
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" | "
|
|
488
|
+
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" | {
|
|
489
|
+
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;
|
|
490
|
+
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;
|
|
491
|
+
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;
|
|
492
|
+
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;
|
|
493
|
+
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;
|
|
455
494
|
} | undefined;
|
|
456
|
-
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" | "
|
|
457
|
-
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" | "
|
|
458
|
-
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" | "
|
|
459
|
-
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" | "
|
|
460
|
-
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" | "
|
|
495
|
+
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" | {
|
|
496
|
+
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;
|
|
497
|
+
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;
|
|
498
|
+
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;
|
|
499
|
+
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;
|
|
500
|
+
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;
|
|
461
501
|
} | undefined;
|
|
462
|
-
boxShadow?: "connectButton" | "dialog" | "profileDetailsAction" | "selectedOption" | "selectedWallet" | "walletLogo" | {
|
|
463
|
-
base?: "connectButton" | "dialog" | "profileDetailsAction" | "selectedOption" | "selectedWallet" | "walletLogo" | undefined;
|
|
464
|
-
hover?: "connectButton" | "dialog" | "profileDetailsAction" | "selectedOption" | "selectedWallet" | "walletLogo" | undefined;
|
|
465
|
-
active?: "connectButton" | "dialog" | "profileDetailsAction" | "selectedOption" | "selectedWallet" | "walletLogo" | undefined;
|
|
466
|
-
selection?: "connectButton" | "dialog" | "profileDetailsAction" | "selectedOption" | "selectedWallet" | "walletLogo" | undefined;
|
|
502
|
+
boxShadow?: "button" | "connectButton" | "dialog" | "profileDetailsAction" | "selectedOption" | "selectedWallet" | "walletLogo" | "callToAction" | {
|
|
503
|
+
base?: "button" | "connectButton" | "dialog" | "profileDetailsAction" | "selectedOption" | "selectedWallet" | "walletLogo" | "callToAction" | undefined;
|
|
504
|
+
hover?: "button" | "connectButton" | "dialog" | "profileDetailsAction" | "selectedOption" | "selectedWallet" | "walletLogo" | "callToAction" | undefined;
|
|
505
|
+
active?: "button" | "connectButton" | "dialog" | "profileDetailsAction" | "selectedOption" | "selectedWallet" | "walletLogo" | "callToAction" | undefined;
|
|
506
|
+
selection?: "button" | "connectButton" | "dialog" | "profileDetailsAction" | "selectedOption" | "selectedWallet" | "walletLogo" | "callToAction" | undefined;
|
|
507
|
+
focused?: "button" | "connectButton" | "dialog" | "profileDetailsAction" | "selectedOption" | "selectedWallet" | "walletLogo" | "callToAction" | undefined;
|
|
467
508
|
} | undefined;
|
|
468
|
-
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" | "
|
|
469
|
-
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" | "
|
|
470
|
-
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" | "
|
|
471
|
-
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" | "
|
|
472
|
-
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" | "
|
|
509
|
+
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" | {
|
|
510
|
+
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;
|
|
511
|
+
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;
|
|
512
|
+
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;
|
|
513
|
+
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;
|
|
514
|
+
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;
|
|
473
515
|
} | undefined;
|
|
474
516
|
} & {
|
|
475
517
|
alignItems?: "center" | "flex-end" | "flex-start" | {
|
|
@@ -483,43 +525,43 @@ export declare const sprinkles: ((props: {
|
|
|
483
525
|
} & {
|
|
484
526
|
readonly alignSelf?: "center" | "flex-end" | "flex-start" | undefined;
|
|
485
527
|
readonly backgroundSize?: "cover" | undefined;
|
|
486
|
-
readonly borderRadius?: "1" | "10" | "13" | "16" | "actionButton" | "connectButton" | "menuButton" | "modal" | "modalMobile" | "6" | "24" | "25%" | "full" | undefined;
|
|
528
|
+
readonly borderRadius?: "1" | "10" | "13" | "16" | "actionButton" | "connectButton" | "menuButton" | "modal" | "modalMobile" | "4" | "6" | "24" | "25%" | "full" | undefined;
|
|
487
529
|
readonly borderStyle?: "dotted" | "hidden" | "solid" | undefined;
|
|
488
|
-
readonly borderWidth?: "0" | "1" | "2" | "
|
|
489
|
-
readonly cursor?: "pointer" | undefined;
|
|
530
|
+
readonly borderWidth?: "0" | "1" | "2" | "3" | "4" | "0.5" | undefined;
|
|
531
|
+
readonly cursor?: "default" | "not-allowed" | "pointer" | undefined;
|
|
490
532
|
readonly flexDirection?: "column" | "row" | undefined;
|
|
491
533
|
readonly fontFamily?: "body" | undefined;
|
|
492
|
-
readonly fontSize?: "10" | "12" | "13" | "14" | "16" | "18" | "20" | "23" | "57" | undefined;
|
|
534
|
+
readonly fontSize?: "8" | "10" | "12" | "13" | "14" | "16" | "18" | "20" | "23" | "40" | "57" | undefined;
|
|
493
535
|
readonly fontWeight?: "medium" | "bold" | "regular" | "semibold" | "heavy" | undefined;
|
|
494
|
-
readonly gap?: "0" | "1" | "10" | "12" | "14" | "16" | "18" | "20" | "2" | "3" | "
|
|
495
|
-
readonly height?: "1" | "10" | "12" | "14" | "16" | "
|
|
536
|
+
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;
|
|
537
|
+
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;
|
|
496
538
|
readonly justifyContent?: "center" | "space-around" | "space-between" | "flex-end" | "flex-start" | undefined;
|
|
497
539
|
readonly textAlign?: "inherit" | "left" | "right" | "center" | undefined;
|
|
498
|
-
readonly marginBottom?: "0" | "1" | "10" | "12" | "14" | "16" | "18" | "20" | "2" | "3" | "
|
|
499
|
-
readonly marginLeft?: "0" | "1" | "10" | "12" | "14" | "16" | "18" | "20" | "2" | "3" | "
|
|
500
|
-
readonly marginRight?: "0" | "1" | "10" | "12" | "14" | "16" | "18" | "20" | "2" | "3" | "
|
|
501
|
-
readonly marginTop?: "0" | "1" | "10" | "12" | "14" | "16" | "18" | "20" | "2" | "3" | "
|
|
502
|
-
readonly minHeight?: "1" | "10" | "12" | "14" | "16" | "
|
|
503
|
-
readonly maxHeight?: "1" | "10" | "12" | "14" | "16" | "
|
|
504
|
-
readonly maxWidth?: "1" | "10" | "12" | "14" | "16" | "
|
|
505
|
-
readonly minWidth?: "1" | "10" | "12" | "14" | "16" | "
|
|
540
|
+
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;
|
|
541
|
+
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;
|
|
542
|
+
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;
|
|
543
|
+
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;
|
|
544
|
+
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;
|
|
545
|
+
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;
|
|
546
|
+
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;
|
|
547
|
+
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;
|
|
506
548
|
readonly overflow?: "hidden" | undefined;
|
|
507
|
-
readonly paddingBottom?: "0" | "1" | "10" | "12" | "14" | "16" | "18" | "20" | "2" | "3" | "
|
|
508
|
-
readonly paddingLeft?: "0" | "1" | "10" | "12" | "14" | "16" | "18" | "20" | "2" | "3" | "
|
|
509
|
-
readonly paddingRight?: "0" | "1" | "10" | "12" | "14" | "16" | "18" | "20" | "2" | "3" | "
|
|
510
|
-
readonly paddingTop?: "0" | "1" | "10" | "12" | "14" | "16" | "18" | "20" | "2" | "3" | "
|
|
549
|
+
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;
|
|
550
|
+
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;
|
|
551
|
+
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;
|
|
552
|
+
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;
|
|
511
553
|
readonly position?: "fixed" | "absolute" | "relative" | undefined;
|
|
512
554
|
readonly right?: "0" | undefined;
|
|
513
555
|
readonly transition?: "transform" | "default" | undefined;
|
|
514
556
|
readonly userSelect?: "none" | undefined;
|
|
515
|
-
readonly width?: "1" | "10" | "12" | "14" | "16" | "
|
|
557
|
+
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;
|
|
516
558
|
readonly backdropFilter?: "modalOverlay" | undefined;
|
|
517
|
-
margin?: "0" | "1" | "10" | "12" | "14" | "16" | "18" | "20" | "2" | "3" | "
|
|
518
|
-
marginX?: "0" | "1" | "10" | "12" | "14" | "16" | "18" | "20" | "2" | "3" | "
|
|
519
|
-
marginY?: "0" | "1" | "10" | "12" | "14" | "16" | "18" | "20" | "2" | "3" | "
|
|
520
|
-
padding?: "0" | "1" | "10" | "12" | "14" | "16" | "18" | "20" | "2" | "3" | "
|
|
521
|
-
paddingX?: "0" | "1" | "10" | "12" | "14" | "16" | "18" | "20" | "2" | "3" | "
|
|
522
|
-
paddingY?: "0" | "1" | "10" | "12" | "14" | "16" | "18" | "20" | "2" | "3" | "
|
|
559
|
+
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;
|
|
560
|
+
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;
|
|
561
|
+
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;
|
|
562
|
+
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;
|
|
563
|
+
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;
|
|
564
|
+
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;
|
|
523
565
|
}) => string) & {
|
|
524
566
|
properties: Set<"alignItems" | "alignSelf" | "backdropFilter" | "backgroundSize" | "boxShadow" | "color" | "cursor" | "display" | "flexDirection" | "fontFamily" | "fontSize" | "fontWeight" | "height" | "justifyContent" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "textAlign" | "userSelect" | "width" | "background" | "borderColor" | "borderRadius" | "borderStyle" | "borderWidth" | "gap" | "margin" | "overflow" | "padding" | "transition" | "marginX" | "marginY" | "paddingX" | "paddingY">;
|
|
525
567
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useInterval(callback: () => void, delay: number): void;
|
package/dist/hooks/useMesh.d.ts
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { LinkPayload } from '@meshconnect/web-link-sdk';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
2
3
|
import { FunSelectOption } from '../components/FunSelect/FunSelect';
|
|
4
|
+
import { PaymentMethodInfo } from '../consts/payment';
|
|
3
5
|
import { MeshExchanges } from '../utils/mesh';
|
|
6
|
+
export declare const getMeshExchangeIconMap: (size?: number) => Partial<Record<MeshExchanges, ReactNode>>;
|
|
4
7
|
export declare const useMeshExchanges: ({ fullInfo, }: {
|
|
5
8
|
fullInfo: boolean;
|
|
6
9
|
}) => {
|
|
7
10
|
options: FunSelectOption[];
|
|
8
|
-
|
|
9
|
-
[x: string]: React.ReactNode;
|
|
10
|
-
};
|
|
11
|
+
preparePaymentInfo: (meshMeta: LinkPayload) => PaymentMethodInfo;
|
|
11
12
|
};
|
|
12
13
|
/**
|
|
13
14
|
* Fetches mesh-related network information across all chains, given an exchange
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Can be utilized to display divider when content is scrollable
|
|
3
|
+
* Checkout attribute should be used only for checkout modal that has extra section at the bottom
|
|
4
|
+
* @returns necessary classes, ref for the content and boolean if content is scrollable
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
export declare const useScrollDivider: (checkout?: boolean) => {
|
|
8
|
+
ref: import("react").RefObject<HTMLInputElement>;
|
|
9
|
+
scrollClass: string;
|
|
10
|
+
hasDivider: boolean;
|
|
11
|
+
};
|