@stakekit/widget 0.0.276 → 0.0.278
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/dist/bundle/index.bundle.css +1 -1
- package/dist/bundle/index.bundle.js +40 -40
- package/dist/package/index.package.css +1284 -1211
- package/dist/package/index.package.js +2775 -2603
- package/dist/types/components/atoms/box/index.d.ts +3 -3
- package/dist/types/components/atoms/button/styles.css.d.ts +3 -0
- package/dist/types/components/atoms/divider/styles.css.d.ts +1 -3
- package/dist/types/components/atoms/max-button/styles.css.d.ts +2 -8
- package/dist/types/components/atoms/select-modal/styles.css.d.ts +1 -9
- package/dist/types/components/molecules/summary-item/index.css.d.ts +21 -15
- package/dist/types/domain/types/external-providers.d.ts +7 -2
- package/dist/types/domain/types/yields.d.ts +1 -0
- package/dist/types/pages/details/activity-page/components/activity-filters/styles.css.d.ts +1 -1
- package/dist/types/pages/details/earn-page/components/select-token-section/styles.css.d.ts +6 -2
- package/dist/types/pages/steps/hooks/errors.d.ts +3 -1
- package/dist/types/pages/steps/hooks/use-steps-machine.hook.d.ts +1 -1
- package/dist/types/pages/steps/hooks/use-steps.hook.d.ts +2 -1
- package/dist/types/pages/steps/pages/styles.css.d.ts +1 -0
- package/dist/types/pages-dashboard/common/components/styles.css.d.ts +2 -4
- package/dist/types/pages-dashboard/common/components/tabs/styles.css.d.ts +8 -7
- package/dist/types/pages-dashboard/overview/earn-details/earn-details-formatters.d.ts +1 -1
- package/dist/types/pages-dashboard/overview/earn-page/styles.css.d.ts +4 -8
- package/dist/types/pages-dashboard/overview/positions/styles.css.d.ts +3 -1
- package/dist/types/providers/sk-wallet/errors.d.ts +2 -1
- package/dist/types/providers/theme-wrapper.d.ts +7 -0
- package/dist/types/styles/theme/atoms.css.d.ts +3 -3
- package/dist/types/styles/theme/contract.css.d.ts +8 -0
- package/dist/types/styles/theme/properties.d.ts +24 -0
- package/dist/types/styles/theme/themes.d.ts +16 -0
- package/dist/types/styles/tokens/colors/contract.d.ts +8 -0
- package/dist/types/translation/resources.d.ts +2 -0
- package/dist/website/assets/{basic-DU5w7kdv.js → basic-B6mp0zAt.js} +1 -1
- package/dist/website/assets/{basic-CpcEs1GD.js → basic-COtSRBWn.js} +1 -1
- package/dist/website/assets/{browser-DvOBRbll.js → browser-DlS057kQ.js} +1 -1
- package/dist/website/assets/{build-Cr-Kp_EZ.js → build-B42j8XfN.js} +1 -1
- package/dist/website/assets/{build-rt6xIlo_.js → build-C3BnF_yX.js} +1 -1
- package/dist/website/assets/{cardano-connector-Cmbkas8k.js → cardano-connector-Bhntw_t9.js} +1 -1
- package/dist/website/assets/{core-BCBOJeDN.js → core-XcRP3coP.js} +2 -2
- package/dist/website/assets/{dist-cxjMJHcC.js → dist-Codtf9eb.js} +1 -1
- package/dist/website/assets/{dist-D00tXgFF.js → dist-inm--arR.js} +1 -1
- package/dist/website/assets/en_US-IFPOGBSL-DmyC9Biu.js +1 -0
- package/dist/website/assets/{esm-DwAVGOvO.js → esm-ZiJzF2A0.js} +1 -1
- package/dist/website/assets/{exports-Bd3_9cI2.js → exports-CyYSC3cP.js} +1 -1
- package/dist/website/assets/index-DKvgVcnp.js +2044 -0
- package/dist/website/assets/index-DURgR3jz.css +1 -0
- package/dist/website/assets/{index.es-pxgKNF2Q.js → index.es-DvvwVKcs.js} +2 -2
- package/dist/website/assets/{ledger-connector-Dl0ewoRv.js → ledger-connector-B18-WePP.js} +1 -1
- package/dist/website/assets/{receive-Cb9X0-X3.js → receive-AVnNiEqk.js} +1 -1
- package/dist/website/assets/{registry-qGhX95wF.js → registry-DdkFsSTf.js} +1 -1
- package/dist/website/assets/{safe-connector-fpbcUPyE.js → safe-connector-8xKDfpEB.js} +1 -1
- package/dist/website/assets/{socials-IzpjXHEF.js → socials-DPfvdnuK.js} +1 -1
- package/dist/website/assets/{solana-connector-DMwmOYcE.js → solana-connector-Bv33WvyR.js} +1 -1
- package/dist/website/assets/{substrate-connector-BjmH8Kfk.js → substrate-connector-DlOCsOcs.js} +1 -1
- package/dist/website/assets/{ton-connector-CDdILKhA.js → ton-connector-D8V6GzAg.js} +1 -1
- package/dist/website/assets/{tron-connector-CwTP3MOd.js → tron-connector-DEk19bH5.js} +3 -3
- package/dist/website/assets/tx-B31H-PDz.js +1 -0
- package/dist/website/assets/{wallet-manager-cSwSAC9E.js → wallet-manager-Buj8Wwd2.js} +3 -3
- package/dist/website/assets/{wui-qr-code-CulBm8yY.js → wui-qr-code-CaP1gUiJ.js} +1 -1
- package/dist/website/index.html +2 -2
- package/package.json +1 -1
- package/dist/website/assets/en_US-IFPOGBSL-CZkuvGib.js +0 -1
- package/dist/website/assets/index-B7bJTB96.js +0 -2044
- package/dist/website/assets/index-Cm1198kl.css +0 -1
- package/dist/website/assets/tx-B1U8yUTO.js +0 -1
|
@@ -24,9 +24,9 @@ export declare const Box: import("react").ForwardRefExoticComponent<Omit<AllHTML
|
|
|
24
24
|
readonly borderWidth?: 1 | 2 | 3 | 0.5 | undefined;
|
|
25
25
|
readonly borderStyle?: "solid" | undefined;
|
|
26
26
|
readonly overflowWrap?: "normal" | "break-word" | "anywhere" | undefined;
|
|
27
|
-
readonly color?: "connectKit" | "text" | "white" | "transparent" | "primary" | "accent" | "disabled" | "textMuted" | "textDanger" | "background" | "backgroundMuted" | "tokenSelectBackground" | "tokenSelectHoverBackground" | "tokenSelect" | "skeletonLoaderBase" | "skeletonLoaderHighlight" | "tabBorder" | "stakeSectionBackground" | "dropdownBackground" | "selectValidatorMultiSelectedBackground" | "selectValidatorMultiDefaultBackground" | "warningBoxBackground" | "positionsClaimRewardsBackground" | "positionsActionRequiredBackground" | "positionsPendingBackground" | "positionsRewardRate" | "modalOverlayBackground" | "modalBodyBackground" | "tooltipBackground" | "primaryButtonColor" | "primaryButtonBackground" | "secondaryButtonColor" | "secondaryButtonBackground" | "smallButtonColor" | "smallButtonBackground" | "smallLightButtonColor" | "smallLightButtonBackground" | "disabledButtonColor" | "disabledButtonBackground" | "dashboardDetailsSectionBackground" | "summaryItemBackground" | undefined;
|
|
28
|
-
readonly background?: "connectKit" | "text" | "white" | "transparent" | "primary" | "accent" | "disabled" | "textMuted" | "textDanger" | "background" | "backgroundMuted" | "tokenSelectBackground" | "tokenSelectHoverBackground" | "tokenSelect" | "skeletonLoaderBase" | "skeletonLoaderHighlight" | "tabBorder" | "stakeSectionBackground" | "dropdownBackground" | "selectValidatorMultiSelectedBackground" | "selectValidatorMultiDefaultBackground" | "warningBoxBackground" | "positionsClaimRewardsBackground" | "positionsActionRequiredBackground" | "positionsPendingBackground" | "positionsRewardRate" | "modalOverlayBackground" | "modalBodyBackground" | "tooltipBackground" | "primaryButtonColor" | "primaryButtonBackground" | "secondaryButtonColor" | "secondaryButtonBackground" | "smallButtonColor" | "smallButtonBackground" | "smallLightButtonColor" | "smallLightButtonBackground" | "disabledButtonColor" | "disabledButtonBackground" | "dashboardDetailsSectionBackground" | "summaryItemBackground" | undefined;
|
|
29
|
-
readonly borderColor?: "connectKit" | "text" | "white" | "transparent" | "primary" | "accent" | "disabled" | "textMuted" | "textDanger" | "background" | "backgroundMuted" | "tokenSelectBackground" | "tokenSelectHoverBackground" | "tokenSelect" | "skeletonLoaderBase" | "skeletonLoaderHighlight" | "tabBorder" | "stakeSectionBackground" | "dropdownBackground" | "selectValidatorMultiSelectedBackground" | "selectValidatorMultiDefaultBackground" | "warningBoxBackground" | "positionsClaimRewardsBackground" | "positionsActionRequiredBackground" | "positionsPendingBackground" | "positionsRewardRate" | "modalOverlayBackground" | "modalBodyBackground" | "tooltipBackground" | "primaryButtonColor" | "primaryButtonBackground" | "secondaryButtonColor" | "secondaryButtonBackground" | "smallButtonColor" | "smallButtonBackground" | "smallLightButtonColor" | "smallLightButtonBackground" | "disabledButtonColor" | "disabledButtonBackground" | "dashboardDetailsSectionBackground" | "summaryItemBackground" | undefined;
|
|
27
|
+
readonly color?: "connectKit" | "text" | "white" | "transparent" | "primary" | "accent" | "disabled" | "textMuted" | "textDanger" | "background" | "backgroundMuted" | "tokenSelectBackground" | "tokenSelectHoverBackground" | "tokenSelectBorder" | "tokenSelect" | "skeletonLoaderBase" | "skeletonLoaderHighlight" | "tabBorder" | "stakeSectionBackground" | "dropdownBackground" | "selectValidatorMultiSelectedBackground" | "selectValidatorMultiDefaultBackground" | "warningBoxBackground" | "errorBoxBackground" | "positionsClaimRewardsBackground" | "positionsActionRequiredBackground" | "positionsPendingBackground" | "positionsRewardRate" | "modalOverlayBackground" | "modalBodyBackground" | "tooltipBackground" | "primaryButtonColor" | "primaryButtonBackground" | "secondaryButtonColor" | "secondaryButtonBackground" | "smallButtonColor" | "smallButtonBackground" | "smallLightButtonColor" | "smallLightButtonBackground" | "disabledButtonColor" | "disabledButtonBackground" | "dashboardDetailsSectionBackground" | "summaryItemBackground" | "summaryLabelStakedBackground" | "summaryLabelStakedColor" | "summaryLabelApyBackground" | "summaryLabelApyColor" | "summaryLabelAvailableBackground" | "summaryLabelAvailableColor" | undefined;
|
|
28
|
+
readonly background?: "connectKit" | "text" | "white" | "transparent" | "primary" | "accent" | "disabled" | "textMuted" | "textDanger" | "background" | "backgroundMuted" | "tokenSelectBackground" | "tokenSelectHoverBackground" | "tokenSelectBorder" | "tokenSelect" | "skeletonLoaderBase" | "skeletonLoaderHighlight" | "tabBorder" | "stakeSectionBackground" | "dropdownBackground" | "selectValidatorMultiSelectedBackground" | "selectValidatorMultiDefaultBackground" | "warningBoxBackground" | "errorBoxBackground" | "positionsClaimRewardsBackground" | "positionsActionRequiredBackground" | "positionsPendingBackground" | "positionsRewardRate" | "modalOverlayBackground" | "modalBodyBackground" | "tooltipBackground" | "primaryButtonColor" | "primaryButtonBackground" | "secondaryButtonColor" | "secondaryButtonBackground" | "smallButtonColor" | "smallButtonBackground" | "smallLightButtonColor" | "smallLightButtonBackground" | "disabledButtonColor" | "disabledButtonBackground" | "dashboardDetailsSectionBackground" | "summaryItemBackground" | "summaryLabelStakedBackground" | "summaryLabelStakedColor" | "summaryLabelApyBackground" | "summaryLabelApyColor" | "summaryLabelAvailableBackground" | "summaryLabelAvailableColor" | undefined;
|
|
29
|
+
readonly borderColor?: "connectKit" | "text" | "white" | "transparent" | "primary" | "accent" | "disabled" | "textMuted" | "textDanger" | "background" | "backgroundMuted" | "tokenSelectBackground" | "tokenSelectHoverBackground" | "tokenSelectBorder" | "tokenSelect" | "skeletonLoaderBase" | "skeletonLoaderHighlight" | "tabBorder" | "stakeSectionBackground" | "dropdownBackground" | "selectValidatorMultiSelectedBackground" | "selectValidatorMultiDefaultBackground" | "warningBoxBackground" | "errorBoxBackground" | "positionsClaimRewardsBackground" | "positionsActionRequiredBackground" | "positionsPendingBackground" | "positionsRewardRate" | "modalOverlayBackground" | "modalBodyBackground" | "tooltipBackground" | "primaryButtonColor" | "primaryButtonBackground" | "secondaryButtonColor" | "secondaryButtonBackground" | "smallButtonColor" | "smallButtonBackground" | "smallLightButtonColor" | "smallLightButtonBackground" | "disabledButtonColor" | "disabledButtonBackground" | "dashboardDetailsSectionBackground" | "summaryItemBackground" | "summaryLabelStakedBackground" | "summaryLabelStakedColor" | "summaryLabelApyBackground" | "summaryLabelApyColor" | "summaryLabelAvailableBackground" | "summaryLabelAvailableColor" | undefined;
|
|
30
30
|
} & {
|
|
31
31
|
readonly display?: "none" | "flex" | "block" | "inline" | "inline-block" | "inline-flex" | {
|
|
32
32
|
mobile?: "none" | "flex" | "block" | "inline" | "inline-block" | "inline-flex" | undefined;
|
|
@@ -1,20 +1,14 @@
|
|
|
1
1
|
export declare const container: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
2
2
|
variant: {
|
|
3
3
|
default: string;
|
|
4
|
-
utila: ({
|
|
4
|
+
utila: (string | {
|
|
5
5
|
borderRadius: "4px";
|
|
6
|
-
background?: undefined;
|
|
7
|
-
} | {
|
|
8
|
-
background: "#F4F5FF";
|
|
9
|
-
borderRadius?: undefined;
|
|
10
6
|
})[];
|
|
11
7
|
};
|
|
12
8
|
}>;
|
|
13
9
|
export declare const text: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
14
10
|
variant: {
|
|
15
11
|
default: string;
|
|
16
|
-
utila:
|
|
17
|
-
color: "#5C70FF";
|
|
18
|
-
})[];
|
|
12
|
+
utila: string[];
|
|
19
13
|
};
|
|
20
14
|
}>;
|
|
@@ -7,14 +7,6 @@ export declare const selectModalGroupLabel: string;
|
|
|
7
7
|
export declare const selectedListItem: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
8
8
|
variant: {
|
|
9
9
|
default: {};
|
|
10
|
-
utila: {
|
|
11
|
-
background: "#4A60FF14";
|
|
12
|
-
border: "1px solid #4A60FF";
|
|
13
|
-
selectors: {
|
|
14
|
-
"&:hover": {
|
|
15
|
-
background: "#4A60FF14";
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
};
|
|
10
|
+
utila: {};
|
|
19
11
|
};
|
|
20
12
|
}>;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { type RecipeVariants } from "@vanilla-extract/recipes";
|
|
2
2
|
export declare const summaryContainer: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
3
3
|
variant: {
|
|
4
|
-
default:
|
|
4
|
+
default: {
|
|
5
|
+
gap: "24px";
|
|
6
|
+
};
|
|
5
7
|
utila: {
|
|
6
8
|
gap: "24px";
|
|
7
9
|
};
|
|
@@ -22,10 +24,11 @@ export declare const summaryItem: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
22
24
|
};
|
|
23
25
|
variant: {
|
|
24
26
|
default: (string | {
|
|
25
|
-
|
|
27
|
+
borderRadius: "8px";
|
|
28
|
+
borderWidth: "1px";
|
|
29
|
+
borderStyle: "solid";
|
|
26
30
|
})[];
|
|
27
31
|
utila: (string | {
|
|
28
|
-
borderColor: "#e4e4e7";
|
|
29
32
|
borderRadius: "8px";
|
|
30
33
|
borderWidth: "1px";
|
|
31
34
|
borderStyle: "solid";
|
|
@@ -42,9 +45,9 @@ export declare const summaryItem: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
42
45
|
}>;
|
|
43
46
|
export declare const summaryNumber: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
44
47
|
variant: {
|
|
45
|
-
default: {
|
|
46
|
-
fontSize: "
|
|
47
|
-
};
|
|
48
|
+
default: (string | {
|
|
49
|
+
fontSize: "18px";
|
|
50
|
+
})[];
|
|
48
51
|
utila: (string | {
|
|
49
52
|
fontSize: "18px";
|
|
50
53
|
})[];
|
|
@@ -60,8 +63,8 @@ export declare const summaryNumber: import("@vanilla-extract/recipes").RuntimeFn
|
|
|
60
63
|
export declare const summaryLabelContainer: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
61
64
|
variant: {
|
|
62
65
|
default: {
|
|
63
|
-
borderRadius: "
|
|
64
|
-
padding: "
|
|
66
|
+
borderRadius: "4px";
|
|
67
|
+
padding: "2px 6px";
|
|
65
68
|
};
|
|
66
69
|
utila: {
|
|
67
70
|
borderRadius: "4px";
|
|
@@ -78,22 +81,25 @@ export declare const summaryLabelContainer: import("@vanilla-extract/recipes").R
|
|
|
78
81
|
};
|
|
79
82
|
type: {
|
|
80
83
|
staked: {
|
|
81
|
-
background:
|
|
82
|
-
color:
|
|
84
|
+
background: `var(--${string})`;
|
|
85
|
+
color: `var(--${string})`;
|
|
83
86
|
};
|
|
84
87
|
apy: {
|
|
85
|
-
background:
|
|
86
|
-
color:
|
|
88
|
+
background: `var(--${string})`;
|
|
89
|
+
color: `var(--${string})`;
|
|
87
90
|
};
|
|
88
91
|
available: {
|
|
89
|
-
background:
|
|
90
|
-
color:
|
|
92
|
+
background: `var(--${string})`;
|
|
93
|
+
color: `var(--${string})`;
|
|
91
94
|
};
|
|
92
95
|
};
|
|
93
96
|
}>;
|
|
94
97
|
export declare const summaryLabel: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
95
98
|
variant: {
|
|
96
|
-
default: {
|
|
99
|
+
default: {
|
|
100
|
+
color: "inherit";
|
|
101
|
+
fontSize: "12px";
|
|
102
|
+
};
|
|
97
103
|
utila: {
|
|
98
104
|
color: "inherit";
|
|
99
105
|
fontSize: "12px";
|
|
@@ -2,12 +2,17 @@ import { EitherAsync } from "purify-ts";
|
|
|
2
2
|
import type { RefObject } from "react";
|
|
3
3
|
import type { SKExternalProviders } from "./wallets";
|
|
4
4
|
import type { SKTx, SKTxMeta } from "./wallets/generic-wallet";
|
|
5
|
+
export declare class ExternalProviderError extends Error {
|
|
6
|
+
readonly customMessage: string | null;
|
|
7
|
+
_tag: string;
|
|
8
|
+
constructor(customMessage: string | null, cause?: unknown);
|
|
9
|
+
}
|
|
5
10
|
export declare class ExternalProvider {
|
|
6
11
|
private variantProvider;
|
|
7
12
|
constructor(variantProvider: RefObject<SKExternalProviders>);
|
|
8
|
-
sendTransaction(tx: SKTx, txMeta: SKTxMeta): EitherAsync<
|
|
13
|
+
sendTransaction(tx: SKTx, txMeta: SKTxMeta): EitherAsync<Error | ExternalProviderError, string>;
|
|
9
14
|
switchChain({ chainId }: {
|
|
10
15
|
chainId: number;
|
|
11
16
|
}): EitherAsync<Error, void>;
|
|
12
|
-
signMessage(messageHash: string): EitherAsync<
|
|
17
|
+
signMessage(messageHash: string): EitherAsync<ExternalProviderError, string>;
|
|
13
18
|
}
|
|
@@ -89,6 +89,7 @@ export declare const getYieldOutputToken: (yieldDto: YieldBase) => import("purif
|
|
|
89
89
|
readonly isPoints?: boolean;
|
|
90
90
|
readonly coinGeckoId?: string;
|
|
91
91
|
}>;
|
|
92
|
+
export declare const hasYieldBearingOutputToken: (yieldDto: YieldBase) => boolean;
|
|
92
93
|
export declare const isUnstakeYieldType: (yieldType: ExtendedYieldType) => yieldType is "native_staking" | "staking" | "restaking" | "pooled_staking";
|
|
93
94
|
export declare const isDepositYieldType: (yieldType: ExtendedYieldType) => yieldType is "vault" | "lending" | "fixed_yield" | "real_world_asset" | "concentrated_liquidity_pool" | "liquidity_pool";
|
|
94
95
|
export declare const getYieldTypeLabels: (yieldDto: YieldBase, t: TFunction) => YieldTypeLabelsMap[keyof YieldTypeLabelsMap];
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
export declare const priceTxt: string;
|
|
2
2
|
export declare const selectTokenSection: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
3
3
|
variant: {
|
|
4
|
-
default:
|
|
4
|
+
default: {
|
|
5
|
+
background: "transparent";
|
|
6
|
+
};
|
|
5
7
|
utila: {
|
|
6
8
|
background: "transparent";
|
|
7
9
|
};
|
|
@@ -17,7 +19,9 @@ export declare const selectTokenSection: import("@vanilla-extract/recipes").Runt
|
|
|
17
19
|
}>;
|
|
18
20
|
export declare const selectTokenTitle: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
19
21
|
variant: {
|
|
20
|
-
default: {
|
|
22
|
+
default: {
|
|
23
|
+
fontSize: "14px";
|
|
24
|
+
};
|
|
21
25
|
utila: {
|
|
22
26
|
fontSize: "14px";
|
|
23
27
|
};
|
|
@@ -2,7 +2,9 @@ export declare class SignError extends Error {
|
|
|
2
2
|
_tag: string;
|
|
3
3
|
txId: string;
|
|
4
4
|
network: string;
|
|
5
|
-
|
|
5
|
+
customMessage: string | null;
|
|
6
|
+
constructor({ customMessage, network, txId, }: {
|
|
7
|
+
customMessage?: string | null;
|
|
6
8
|
txId: string;
|
|
7
9
|
network: string;
|
|
8
10
|
});
|
|
@@ -8,7 +8,7 @@ type TxMeta = {
|
|
|
8
8
|
url: string | null;
|
|
9
9
|
signedTx: string | null;
|
|
10
10
|
broadcasted: boolean | null;
|
|
11
|
-
signError: SendTransactionError | TransactionDecodeError | null;
|
|
11
|
+
signError: SendTransactionError | TransactionDecodeError | SignError | null;
|
|
12
12
|
txCheckError: GetStakeSessionError | null;
|
|
13
13
|
done: boolean;
|
|
14
14
|
};
|
|
@@ -16,12 +16,13 @@ export declare const useSteps: ({ inputToken, session, onSignSuccess, providersD
|
|
|
16
16
|
url: string | null;
|
|
17
17
|
signedTx: string | null;
|
|
18
18
|
broadcasted: boolean | null;
|
|
19
|
-
signError: import("../../../providers/sk-wallet/errors").SendTransactionError | import("../../../providers/sk-wallet/errors").TransactionDecodeError | null;
|
|
19
|
+
signError: import("../../../providers/sk-wallet/errors").SendTransactionError | import("../../../providers/sk-wallet/errors").TransactionDecodeError | import("./errors").SignError | null;
|
|
20
20
|
txCheckError: import("./errors").GetStakeSessionError | null;
|
|
21
21
|
done: boolean;
|
|
22
22
|
};
|
|
23
23
|
}[];
|
|
24
24
|
cta: PageCta;
|
|
25
|
+
customSignErrorMessage: string | null;
|
|
25
26
|
};
|
|
26
27
|
export declare enum TxStateEnum {
|
|
27
28
|
SIGN_IDLE = 0,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const wrapper: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
2
2
|
variant: {
|
|
3
3
|
default: {
|
|
4
|
-
borderRadius: "
|
|
4
|
+
borderRadius: "14px";
|
|
5
5
|
};
|
|
6
6
|
utila: {
|
|
7
7
|
borderRadius: "14px";
|
|
@@ -42,8 +42,6 @@ export declare const tabPageContainer: import("@vanilla-extract/recipes").Runtim
|
|
|
42
42
|
export declare const tabPageDivider: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
43
43
|
variant: {
|
|
44
44
|
default: string[];
|
|
45
|
-
utila:
|
|
46
|
-
background: "#e4e4e7";
|
|
47
|
-
}[];
|
|
45
|
+
utila: string[];
|
|
48
46
|
};
|
|
49
47
|
}>;
|
|
@@ -3,7 +3,7 @@ export declare const tabsGroupDivider: string;
|
|
|
3
3
|
export declare const tab: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
4
4
|
variant: {
|
|
5
5
|
default: {
|
|
6
|
-
borderRadius: "
|
|
6
|
+
borderRadius: "8px";
|
|
7
7
|
padding: "8px 16px";
|
|
8
8
|
}[];
|
|
9
9
|
utila: {
|
|
@@ -22,9 +22,7 @@ export declare const tab: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
22
22
|
export declare const tabBorder: string;
|
|
23
23
|
export declare const tabContainer: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
24
24
|
variant: {
|
|
25
|
-
default: {
|
|
26
|
-
minWidth: "74px";
|
|
27
|
-
};
|
|
25
|
+
default: {};
|
|
28
26
|
utila: {};
|
|
29
27
|
porto: {};
|
|
30
28
|
finery: {
|
|
@@ -37,12 +35,13 @@ export declare const tabText: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
37
35
|
selected: {};
|
|
38
36
|
};
|
|
39
37
|
variant: {
|
|
40
|
-
default: {
|
|
38
|
+
default: (string | {
|
|
39
|
+
fontSize: "14px";
|
|
40
|
+
})[];
|
|
41
41
|
utila: (string | {
|
|
42
42
|
fontSize: "14px";
|
|
43
43
|
})[];
|
|
44
44
|
porto: (string | {
|
|
45
|
-
color: "#87899C";
|
|
46
45
|
fontSize: "14px";
|
|
47
46
|
})[];
|
|
48
47
|
};
|
|
@@ -51,7 +50,9 @@ export declare const tabsContainer: import("@vanilla-extract/recipes").RuntimeFn
|
|
|
51
50
|
variant: {
|
|
52
51
|
default: {
|
|
53
52
|
gap: "4px";
|
|
54
|
-
padding: "
|
|
53
|
+
padding: "8px";
|
|
54
|
+
paddingLeft: "24px";
|
|
55
|
+
paddingRight: "24px";
|
|
55
56
|
};
|
|
56
57
|
utila: {
|
|
57
58
|
gap: "4px";
|
|
@@ -16,7 +16,7 @@ export declare const formatProviderTvl: (tvl: string | number | null | undefined
|
|
|
16
16
|
export declare const formatProviderStatus: (status: string | null | undefined) => string | null;
|
|
17
17
|
export declare const formatProviderWebsite: (website: string) => string;
|
|
18
18
|
export declare const formatProviderWebsiteHref: (website: string) => string;
|
|
19
|
-
export declare const formatRewardTokenLabel: (yieldDto: Yield) => string;
|
|
19
|
+
export declare const formatRewardTokenLabel: (yieldDto: Yield, t: TFunction) => string;
|
|
20
20
|
export declare const formatPricePerShare: (yieldDto: Yield) => string | null;
|
|
21
21
|
export declare const formatCooldownDays: (days: number, t: TFunction) => string;
|
|
22
22
|
export declare const formatRewardClaiming: (yieldDto: Yield, t: TFunction) => string;
|
|
@@ -1,19 +1,15 @@
|
|
|
1
1
|
export declare const container: string;
|
|
2
2
|
export declare const changeButton: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
3
3
|
variant: {
|
|
4
|
-
default:
|
|
5
|
-
utila:
|
|
6
|
-
|
|
7
|
-
};
|
|
8
|
-
porto: {
|
|
9
|
-
color: "#AB95FF";
|
|
10
|
-
};
|
|
4
|
+
default: string;
|
|
5
|
+
utila: string;
|
|
6
|
+
porto: string;
|
|
11
7
|
finery: {};
|
|
12
8
|
};
|
|
13
9
|
}>;
|
|
14
10
|
export declare const selectTokenTitleContainer: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
15
11
|
variant: {
|
|
16
|
-
default:
|
|
12
|
+
default: string;
|
|
17
13
|
utila: string;
|
|
18
14
|
porto: string;
|
|
19
15
|
};
|
|
@@ -11,7 +11,9 @@ export declare const sectionHeader: string;
|
|
|
11
11
|
export declare const sectionTitle: string;
|
|
12
12
|
export declare const positionsTitle: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
13
13
|
variant: {
|
|
14
|
-
default:
|
|
14
|
+
default: {
|
|
15
|
+
fontSize: "16px";
|
|
16
|
+
};
|
|
15
17
|
utila: {
|
|
16
18
|
fontSize: "16px";
|
|
17
19
|
};
|
|
@@ -4,8 +4,9 @@ export declare class SafeFailedError extends Error {
|
|
|
4
4
|
constructor(type: SafeFailedError["type"]);
|
|
5
5
|
}
|
|
6
6
|
export declare class SendTransactionError extends Error {
|
|
7
|
+
readonly customMessage: string | null;
|
|
7
8
|
_tag: string;
|
|
8
|
-
constructor(cause?: unknown);
|
|
9
|
+
constructor(cause?: unknown, customMessage?: string | null);
|
|
9
10
|
}
|
|
10
11
|
export declare class TransactionDecodeError extends Error {
|
|
11
12
|
_tag: string;
|
|
@@ -1,2 +1,9 @@
|
|
|
1
1
|
import type { PropsWithChildren } from "react";
|
|
2
|
+
import { lightTheme } from "../styles/theme/themes";
|
|
3
|
+
import type { RecursivePartial } from "../types/utils";
|
|
4
|
+
import type { SettingsContextType } from "./settings/types";
|
|
5
|
+
export declare const getThemeOverrides: ({ baseTheme, variant, }: {
|
|
6
|
+
baseTheme: typeof lightTheme;
|
|
7
|
+
variant: SettingsContextType["variant"];
|
|
8
|
+
}) => RecursivePartial<typeof lightTheme>;
|
|
2
9
|
export declare const ThemeWrapper: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -14,9 +14,9 @@ export declare const atoms: ((props: {
|
|
|
14
14
|
readonly borderWidth?: 1 | 2 | 3 | 0.5 | undefined;
|
|
15
15
|
readonly borderStyle?: "solid" | undefined;
|
|
16
16
|
readonly overflowWrap?: "normal" | "break-word" | "anywhere" | undefined;
|
|
17
|
-
readonly color?: "connectKit" | "text" | "white" | "transparent" | "primary" | "accent" | "disabled" | "textMuted" | "textDanger" | "background" | "backgroundMuted" | "tokenSelectBackground" | "tokenSelectHoverBackground" | "tokenSelect" | "skeletonLoaderBase" | "skeletonLoaderHighlight" | "tabBorder" | "stakeSectionBackground" | "dropdownBackground" | "selectValidatorMultiSelectedBackground" | "selectValidatorMultiDefaultBackground" | "warningBoxBackground" | "positionsClaimRewardsBackground" | "positionsActionRequiredBackground" | "positionsPendingBackground" | "positionsRewardRate" | "modalOverlayBackground" | "modalBodyBackground" | "tooltipBackground" | "primaryButtonColor" | "primaryButtonBackground" | "secondaryButtonColor" | "secondaryButtonBackground" | "smallButtonColor" | "smallButtonBackground" | "smallLightButtonColor" | "smallLightButtonBackground" | "disabledButtonColor" | "disabledButtonBackground" | "dashboardDetailsSectionBackground" | "summaryItemBackground" | undefined;
|
|
18
|
-
readonly background?: "connectKit" | "text" | "white" | "transparent" | "primary" | "accent" | "disabled" | "textMuted" | "textDanger" | "background" | "backgroundMuted" | "tokenSelectBackground" | "tokenSelectHoverBackground" | "tokenSelect" | "skeletonLoaderBase" | "skeletonLoaderHighlight" | "tabBorder" | "stakeSectionBackground" | "dropdownBackground" | "selectValidatorMultiSelectedBackground" | "selectValidatorMultiDefaultBackground" | "warningBoxBackground" | "positionsClaimRewardsBackground" | "positionsActionRequiredBackground" | "positionsPendingBackground" | "positionsRewardRate" | "modalOverlayBackground" | "modalBodyBackground" | "tooltipBackground" | "primaryButtonColor" | "primaryButtonBackground" | "secondaryButtonColor" | "secondaryButtonBackground" | "smallButtonColor" | "smallButtonBackground" | "smallLightButtonColor" | "smallLightButtonBackground" | "disabledButtonColor" | "disabledButtonBackground" | "dashboardDetailsSectionBackground" | "summaryItemBackground" | undefined;
|
|
19
|
-
readonly borderColor?: "connectKit" | "text" | "white" | "transparent" | "primary" | "accent" | "disabled" | "textMuted" | "textDanger" | "background" | "backgroundMuted" | "tokenSelectBackground" | "tokenSelectHoverBackground" | "tokenSelect" | "skeletonLoaderBase" | "skeletonLoaderHighlight" | "tabBorder" | "stakeSectionBackground" | "dropdownBackground" | "selectValidatorMultiSelectedBackground" | "selectValidatorMultiDefaultBackground" | "warningBoxBackground" | "positionsClaimRewardsBackground" | "positionsActionRequiredBackground" | "positionsPendingBackground" | "positionsRewardRate" | "modalOverlayBackground" | "modalBodyBackground" | "tooltipBackground" | "primaryButtonColor" | "primaryButtonBackground" | "secondaryButtonColor" | "secondaryButtonBackground" | "smallButtonColor" | "smallButtonBackground" | "smallLightButtonColor" | "smallLightButtonBackground" | "disabledButtonColor" | "disabledButtonBackground" | "dashboardDetailsSectionBackground" | "summaryItemBackground" | undefined;
|
|
17
|
+
readonly color?: "connectKit" | "text" | "white" | "transparent" | "primary" | "accent" | "disabled" | "textMuted" | "textDanger" | "background" | "backgroundMuted" | "tokenSelectBackground" | "tokenSelectHoverBackground" | "tokenSelectBorder" | "tokenSelect" | "skeletonLoaderBase" | "skeletonLoaderHighlight" | "tabBorder" | "stakeSectionBackground" | "dropdownBackground" | "selectValidatorMultiSelectedBackground" | "selectValidatorMultiDefaultBackground" | "warningBoxBackground" | "errorBoxBackground" | "positionsClaimRewardsBackground" | "positionsActionRequiredBackground" | "positionsPendingBackground" | "positionsRewardRate" | "modalOverlayBackground" | "modalBodyBackground" | "tooltipBackground" | "primaryButtonColor" | "primaryButtonBackground" | "secondaryButtonColor" | "secondaryButtonBackground" | "smallButtonColor" | "smallButtonBackground" | "smallLightButtonColor" | "smallLightButtonBackground" | "disabledButtonColor" | "disabledButtonBackground" | "dashboardDetailsSectionBackground" | "summaryItemBackground" | "summaryLabelStakedBackground" | "summaryLabelStakedColor" | "summaryLabelApyBackground" | "summaryLabelApyColor" | "summaryLabelAvailableBackground" | "summaryLabelAvailableColor" | undefined;
|
|
18
|
+
readonly background?: "connectKit" | "text" | "white" | "transparent" | "primary" | "accent" | "disabled" | "textMuted" | "textDanger" | "background" | "backgroundMuted" | "tokenSelectBackground" | "tokenSelectHoverBackground" | "tokenSelectBorder" | "tokenSelect" | "skeletonLoaderBase" | "skeletonLoaderHighlight" | "tabBorder" | "stakeSectionBackground" | "dropdownBackground" | "selectValidatorMultiSelectedBackground" | "selectValidatorMultiDefaultBackground" | "warningBoxBackground" | "errorBoxBackground" | "positionsClaimRewardsBackground" | "positionsActionRequiredBackground" | "positionsPendingBackground" | "positionsRewardRate" | "modalOverlayBackground" | "modalBodyBackground" | "tooltipBackground" | "primaryButtonColor" | "primaryButtonBackground" | "secondaryButtonColor" | "secondaryButtonBackground" | "smallButtonColor" | "smallButtonBackground" | "smallLightButtonColor" | "smallLightButtonBackground" | "disabledButtonColor" | "disabledButtonBackground" | "dashboardDetailsSectionBackground" | "summaryItemBackground" | "summaryLabelStakedBackground" | "summaryLabelStakedColor" | "summaryLabelApyBackground" | "summaryLabelApyColor" | "summaryLabelAvailableBackground" | "summaryLabelAvailableColor" | undefined;
|
|
19
|
+
readonly borderColor?: "connectKit" | "text" | "white" | "transparent" | "primary" | "accent" | "disabled" | "textMuted" | "textDanger" | "background" | "backgroundMuted" | "tokenSelectBackground" | "tokenSelectHoverBackground" | "tokenSelectBorder" | "tokenSelect" | "skeletonLoaderBase" | "skeletonLoaderHighlight" | "tabBorder" | "stakeSectionBackground" | "dropdownBackground" | "selectValidatorMultiSelectedBackground" | "selectValidatorMultiDefaultBackground" | "warningBoxBackground" | "errorBoxBackground" | "positionsClaimRewardsBackground" | "positionsActionRequiredBackground" | "positionsPendingBackground" | "positionsRewardRate" | "modalOverlayBackground" | "modalBodyBackground" | "tooltipBackground" | "primaryButtonColor" | "primaryButtonBackground" | "secondaryButtonColor" | "secondaryButtonBackground" | "smallButtonColor" | "smallButtonBackground" | "smallLightButtonColor" | "smallLightButtonBackground" | "disabledButtonColor" | "disabledButtonBackground" | "dashboardDetailsSectionBackground" | "summaryItemBackground" | "summaryLabelStakedBackground" | "summaryLabelStakedColor" | "summaryLabelApyBackground" | "summaryLabelApyColor" | "summaryLabelAvailableBackground" | "summaryLabelAvailableColor" | undefined;
|
|
20
20
|
} & {
|
|
21
21
|
readonly display?: "none" | "flex" | "block" | "inline" | "inline-block" | "inline-flex" | {
|
|
22
22
|
mobile?: "none" | "flex" | "block" | "inline" | "inline-block" | "inline-flex" | undefined;
|
|
@@ -12,6 +12,7 @@ export declare const vars: {
|
|
|
12
12
|
backgroundMuted: `var(--${string})`;
|
|
13
13
|
tokenSelectBackground: `var(--${string})`;
|
|
14
14
|
tokenSelectHoverBackground: `var(--${string})`;
|
|
15
|
+
tokenSelectBorder: `var(--${string})`;
|
|
15
16
|
tokenSelect: `var(--${string})`;
|
|
16
17
|
skeletonLoaderBase: `var(--${string})`;
|
|
17
18
|
skeletonLoaderHighlight: `var(--${string})`;
|
|
@@ -21,6 +22,7 @@ export declare const vars: {
|
|
|
21
22
|
selectValidatorMultiSelectedBackground: `var(--${string})`;
|
|
22
23
|
selectValidatorMultiDefaultBackground: `var(--${string})`;
|
|
23
24
|
warningBoxBackground: `var(--${string})`;
|
|
25
|
+
errorBoxBackground: `var(--${string})`;
|
|
24
26
|
positionsClaimRewardsBackground: `var(--${string})`;
|
|
25
27
|
positionsActionRequiredBackground: `var(--${string})`;
|
|
26
28
|
positionsPendingBackground: `var(--${string})`;
|
|
@@ -40,6 +42,12 @@ export declare const vars: {
|
|
|
40
42
|
disabledButtonBackground: `var(--${string})`;
|
|
41
43
|
dashboardDetailsSectionBackground: `var(--${string})`;
|
|
42
44
|
summaryItemBackground: `var(--${string})`;
|
|
45
|
+
summaryLabelStakedBackground: `var(--${string})`;
|
|
46
|
+
summaryLabelStakedColor: `var(--${string})`;
|
|
47
|
+
summaryLabelApyBackground: `var(--${string})`;
|
|
48
|
+
summaryLabelApyColor: `var(--${string})`;
|
|
49
|
+
summaryLabelAvailableBackground: `var(--${string})`;
|
|
50
|
+
summaryLabelAvailableColor: `var(--${string})`;
|
|
43
51
|
connectKit: {
|
|
44
52
|
accentColor: `var(--${string})`;
|
|
45
53
|
accentColorForeground: `var(--${string})`;
|
|
@@ -88,6 +88,7 @@ export declare const unresponsiveProperties: {
|
|
|
88
88
|
backgroundMuted: `var(--${string})`;
|
|
89
89
|
tokenSelectBackground: `var(--${string})`;
|
|
90
90
|
tokenSelectHoverBackground: `var(--${string})`;
|
|
91
|
+
tokenSelectBorder: `var(--${string})`;
|
|
91
92
|
tokenSelect: `var(--${string})`;
|
|
92
93
|
skeletonLoaderBase: `var(--${string})`;
|
|
93
94
|
skeletonLoaderHighlight: `var(--${string})`;
|
|
@@ -97,6 +98,7 @@ export declare const unresponsiveProperties: {
|
|
|
97
98
|
selectValidatorMultiSelectedBackground: `var(--${string})`;
|
|
98
99
|
selectValidatorMultiDefaultBackground: `var(--${string})`;
|
|
99
100
|
warningBoxBackground: `var(--${string})`;
|
|
101
|
+
errorBoxBackground: `var(--${string})`;
|
|
100
102
|
positionsClaimRewardsBackground: `var(--${string})`;
|
|
101
103
|
positionsActionRequiredBackground: `var(--${string})`;
|
|
102
104
|
positionsPendingBackground: `var(--${string})`;
|
|
@@ -116,6 +118,12 @@ export declare const unresponsiveProperties: {
|
|
|
116
118
|
disabledButtonBackground: `var(--${string})`;
|
|
117
119
|
dashboardDetailsSectionBackground: `var(--${string})`;
|
|
118
120
|
summaryItemBackground: `var(--${string})`;
|
|
121
|
+
summaryLabelStakedBackground: `var(--${string})`;
|
|
122
|
+
summaryLabelStakedColor: `var(--${string})`;
|
|
123
|
+
summaryLabelApyBackground: `var(--${string})`;
|
|
124
|
+
summaryLabelApyColor: `var(--${string})`;
|
|
125
|
+
summaryLabelAvailableBackground: `var(--${string})`;
|
|
126
|
+
summaryLabelAvailableColor: `var(--${string})`;
|
|
119
127
|
connectKit: {
|
|
120
128
|
accentColor: `var(--${string})`;
|
|
121
129
|
accentColorForeground: `var(--${string})`;
|
|
@@ -162,6 +170,7 @@ export declare const unresponsiveProperties: {
|
|
|
162
170
|
backgroundMuted: `var(--${string})`;
|
|
163
171
|
tokenSelectBackground: `var(--${string})`;
|
|
164
172
|
tokenSelectHoverBackground: `var(--${string})`;
|
|
173
|
+
tokenSelectBorder: `var(--${string})`;
|
|
165
174
|
tokenSelect: `var(--${string})`;
|
|
166
175
|
skeletonLoaderBase: `var(--${string})`;
|
|
167
176
|
skeletonLoaderHighlight: `var(--${string})`;
|
|
@@ -171,6 +180,7 @@ export declare const unresponsiveProperties: {
|
|
|
171
180
|
selectValidatorMultiSelectedBackground: `var(--${string})`;
|
|
172
181
|
selectValidatorMultiDefaultBackground: `var(--${string})`;
|
|
173
182
|
warningBoxBackground: `var(--${string})`;
|
|
183
|
+
errorBoxBackground: `var(--${string})`;
|
|
174
184
|
positionsClaimRewardsBackground: `var(--${string})`;
|
|
175
185
|
positionsActionRequiredBackground: `var(--${string})`;
|
|
176
186
|
positionsPendingBackground: `var(--${string})`;
|
|
@@ -190,6 +200,12 @@ export declare const unresponsiveProperties: {
|
|
|
190
200
|
disabledButtonBackground: `var(--${string})`;
|
|
191
201
|
dashboardDetailsSectionBackground: `var(--${string})`;
|
|
192
202
|
summaryItemBackground: `var(--${string})`;
|
|
203
|
+
summaryLabelStakedBackground: `var(--${string})`;
|
|
204
|
+
summaryLabelStakedColor: `var(--${string})`;
|
|
205
|
+
summaryLabelApyBackground: `var(--${string})`;
|
|
206
|
+
summaryLabelApyColor: `var(--${string})`;
|
|
207
|
+
summaryLabelAvailableBackground: `var(--${string})`;
|
|
208
|
+
summaryLabelAvailableColor: `var(--${string})`;
|
|
193
209
|
connectKit: {
|
|
194
210
|
accentColor: `var(--${string})`;
|
|
195
211
|
accentColorForeground: `var(--${string})`;
|
|
@@ -236,6 +252,7 @@ export declare const unresponsiveProperties: {
|
|
|
236
252
|
backgroundMuted: `var(--${string})`;
|
|
237
253
|
tokenSelectBackground: `var(--${string})`;
|
|
238
254
|
tokenSelectHoverBackground: `var(--${string})`;
|
|
255
|
+
tokenSelectBorder: `var(--${string})`;
|
|
239
256
|
tokenSelect: `var(--${string})`;
|
|
240
257
|
skeletonLoaderBase: `var(--${string})`;
|
|
241
258
|
skeletonLoaderHighlight: `var(--${string})`;
|
|
@@ -245,6 +262,7 @@ export declare const unresponsiveProperties: {
|
|
|
245
262
|
selectValidatorMultiSelectedBackground: `var(--${string})`;
|
|
246
263
|
selectValidatorMultiDefaultBackground: `var(--${string})`;
|
|
247
264
|
warningBoxBackground: `var(--${string})`;
|
|
265
|
+
errorBoxBackground: `var(--${string})`;
|
|
248
266
|
positionsClaimRewardsBackground: `var(--${string})`;
|
|
249
267
|
positionsActionRequiredBackground: `var(--${string})`;
|
|
250
268
|
positionsPendingBackground: `var(--${string})`;
|
|
@@ -264,6 +282,12 @@ export declare const unresponsiveProperties: {
|
|
|
264
282
|
disabledButtonBackground: `var(--${string})`;
|
|
265
283
|
dashboardDetailsSectionBackground: `var(--${string})`;
|
|
266
284
|
summaryItemBackground: `var(--${string})`;
|
|
285
|
+
summaryLabelStakedBackground: `var(--${string})`;
|
|
286
|
+
summaryLabelStakedColor: `var(--${string})`;
|
|
287
|
+
summaryLabelApyBackground: `var(--${string})`;
|
|
288
|
+
summaryLabelApyColor: `var(--${string})`;
|
|
289
|
+
summaryLabelAvailableBackground: `var(--${string})`;
|
|
290
|
+
summaryLabelAvailableColor: `var(--${string})`;
|
|
267
291
|
connectKit: {
|
|
268
292
|
accentColor: `var(--${string})`;
|
|
269
293
|
accentColorForeground: `var(--${string})`;
|
|
@@ -12,6 +12,7 @@ export declare const lightTheme: {
|
|
|
12
12
|
backgroundMuted: string;
|
|
13
13
|
tokenSelectBackground: string;
|
|
14
14
|
tokenSelectHoverBackground: string;
|
|
15
|
+
tokenSelectBorder: string;
|
|
15
16
|
tokenSelect: string;
|
|
16
17
|
skeletonLoaderBase: string;
|
|
17
18
|
skeletonLoaderHighlight: string;
|
|
@@ -21,6 +22,7 @@ export declare const lightTheme: {
|
|
|
21
22
|
selectValidatorMultiSelectedBackground: string;
|
|
22
23
|
selectValidatorMultiDefaultBackground: string;
|
|
23
24
|
warningBoxBackground: string;
|
|
25
|
+
errorBoxBackground: string;
|
|
24
26
|
positionsClaimRewardsBackground: string;
|
|
25
27
|
positionsActionRequiredBackground: string;
|
|
26
28
|
positionsPendingBackground: string;
|
|
@@ -40,6 +42,12 @@ export declare const lightTheme: {
|
|
|
40
42
|
disabledButtonBackground: string;
|
|
41
43
|
dashboardDetailsSectionBackground: string;
|
|
42
44
|
summaryItemBackground: string;
|
|
45
|
+
summaryLabelStakedBackground: string;
|
|
46
|
+
summaryLabelStakedColor: string;
|
|
47
|
+
summaryLabelApyBackground: string;
|
|
48
|
+
summaryLabelApyColor: string;
|
|
49
|
+
summaryLabelAvailableBackground: string;
|
|
50
|
+
summaryLabelAvailableColor: string;
|
|
43
51
|
} & {
|
|
44
52
|
connectKit: import("../tokens/connect-kit").ConnectKitTheme["colors"];
|
|
45
53
|
};
|
|
@@ -232,6 +240,7 @@ export declare const darkTheme: {
|
|
|
232
240
|
backgroundMuted: string;
|
|
233
241
|
tokenSelectBackground: string;
|
|
234
242
|
tokenSelectHoverBackground: string;
|
|
243
|
+
tokenSelectBorder: string;
|
|
235
244
|
tokenSelect: string;
|
|
236
245
|
skeletonLoaderBase: string;
|
|
237
246
|
skeletonLoaderHighlight: string;
|
|
@@ -241,6 +250,7 @@ export declare const darkTheme: {
|
|
|
241
250
|
selectValidatorMultiSelectedBackground: string;
|
|
242
251
|
selectValidatorMultiDefaultBackground: string;
|
|
243
252
|
warningBoxBackground: string;
|
|
253
|
+
errorBoxBackground: string;
|
|
244
254
|
positionsClaimRewardsBackground: string;
|
|
245
255
|
positionsActionRequiredBackground: string;
|
|
246
256
|
positionsPendingBackground: string;
|
|
@@ -260,6 +270,12 @@ export declare const darkTheme: {
|
|
|
260
270
|
disabledButtonBackground: string;
|
|
261
271
|
dashboardDetailsSectionBackground: string;
|
|
262
272
|
summaryItemBackground: string;
|
|
273
|
+
summaryLabelStakedBackground: string;
|
|
274
|
+
summaryLabelStakedColor: string;
|
|
275
|
+
summaryLabelApyBackground: string;
|
|
276
|
+
summaryLabelApyColor: string;
|
|
277
|
+
summaryLabelAvailableBackground: string;
|
|
278
|
+
summaryLabelAvailableColor: string;
|
|
263
279
|
} & {
|
|
264
280
|
connectKit: import("../tokens/connect-kit").ConnectKitTheme["colors"];
|
|
265
281
|
};
|