@gearbox-protocol/ui-kit 4.0.0-next.2 → 4.0.0-next.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/components/base/borrow-rate-block/borrow-rate-block.cjs +1 -1
- package/dist/cjs/components/base/detailed-page-title/detailed-page-title.cjs +1 -1
- package/dist/cjs/components/base/health-factor-block/health-factor-block.cjs +1 -1
- package/dist/cjs/components/base/index.cjs +1 -1
- package/dist/cjs/components/base/info-list/index.cjs +1 -1
- package/dist/cjs/components/base/info-list/info-list.cjs +1 -1
- package/dist/cjs/components/base/leverage-input/leverage-input.cjs +1 -1
- package/dist/cjs/components/base/liquidation-price-block/liquidation-price-block.cjs +1 -1
- package/dist/cjs/components/base/manage-pane/constants.cjs +1 -1
- package/dist/cjs/components/base/manage-pane/manage-pane.cjs +1 -1
- package/dist/cjs/components/base/page-title/index.cjs +1 -1
- package/dist/cjs/components/base/page-title/page-title.cjs +1 -1
- package/dist/cjs/components/base/stat-badge/stat-badge.cjs +1 -1
- package/dist/cjs/components/base/strategy-apy-breakdown-card/strategy-apy-breakdown-card.cjs +1 -1
- package/dist/cjs/components/base/time-to-liquidation-block/time-to-liquidation-block.cjs +1 -1
- package/dist/cjs/components/base/token-amount/token-amount.cjs +1 -1
- package/dist/cjs/components/base/values/constants.cjs +1 -1
- package/dist/cjs/components/base/values/index.cjs +1 -1
- package/dist/cjs/components/base/values/points-value.cjs +1 -0
- package/dist/cjs/components/base/values/scalars.cjs +1 -1
- package/dist/cjs/components/block-sync-pill/block-sync-pill.cjs +1 -1
- package/dist/cjs/components/checkbox/checkbox-labeled.cjs +1 -1
- package/dist/cjs/components/client-adapters/styled-rounded-image/styled-rounded-image.cjs +1 -1
- package/dist/cjs/components/composites/pool-assets-table/pool-assets-table-row.cjs +1 -1
- package/dist/cjs/components/composites/tx-preview/confirm/dialog/TransactionConfirmModalView.cjs +1 -1
- package/dist/cjs/components/graph/graph-view.cjs +1 -1
- package/dist/cjs/components/index.cjs +1 -1
- package/dist/cjs/components/with-copy/with-copy.cjs +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/utils/format-leverage.cjs +1 -0
- package/dist/cjs/utils/index.cjs +1 -1
- package/dist/esm/components/base/borrow-rate-block/borrow-rate-block.js +31 -25
- package/dist/esm/components/base/detailed-page-title/detailed-page-title.js +26 -27
- package/dist/esm/components/base/health-factor-block/health-factor-block.js +25 -25
- package/dist/esm/components/base/index.js +141 -136
- package/dist/esm/components/base/info-list/index.js +5 -4
- package/dist/esm/components/base/info-list/info-list.js +52 -27
- package/dist/esm/components/base/leverage-input/leverage-input.js +17 -19
- package/dist/esm/components/base/liquidation-price-block/liquidation-price-block.js +33 -28
- package/dist/esm/components/base/manage-pane/constants.js +3 -2
- package/dist/esm/components/base/manage-pane/manage-pane.js +154 -113
- package/dist/esm/components/base/page-title/index.js +5 -4
- package/dist/esm/components/base/page-title/page-title.js +31 -23
- package/dist/esm/components/base/stat-badge/stat-badge.js +18 -9
- package/dist/esm/components/base/strategy-apy-breakdown-card/strategy-apy-breakdown-card.js +3 -2
- package/dist/esm/components/base/time-to-liquidation-block/time-to-liquidation-block.js +31 -31
- package/dist/esm/components/base/token-amount/token-amount.js +17 -16
- package/dist/esm/components/base/values/constants.js +1 -0
- package/dist/esm/components/base/values/index.js +16 -13
- package/dist/esm/components/base/values/points-value.js +30 -0
- package/dist/esm/components/base/values/scalars.js +29 -27
- package/dist/esm/components/block-sync-pill/block-sync-pill.js +17 -16
- package/dist/esm/components/checkbox/checkbox-labeled.js +15 -14
- package/dist/esm/components/client-adapters/styled-rounded-image/styled-rounded-image.js +15 -14
- package/dist/esm/components/composites/pool-assets-table/pool-assets-table-row.js +17 -15
- package/dist/esm/components/composites/tx-preview/confirm/dialog/TransactionConfirmModalView.js +24 -23
- package/dist/esm/components/graph/graph-view.js +78 -95
- package/dist/esm/components/index.js +665 -660
- package/dist/esm/components/with-copy/with-copy.js +17 -16
- package/dist/esm/index.js +843 -836
- package/dist/esm/utils/format-leverage.js +6 -0
- package/dist/esm/utils/index.js +80 -78
- package/dist/globals.css +1 -1
- package/dist/types/components/base/borrow-rate-block/borrow-rate-block.d.ts +10 -5
- package/dist/types/components/base/detailed-page-title/detailed-page-title.d.ts +1 -3
- package/dist/types/components/base/health-factor-block/health-factor-block.d.ts +6 -6
- package/dist/types/components/base/info-list/info-list.d.ts +7 -0
- package/dist/types/components/base/liquidation-price-block/liquidation-price-block.d.ts +6 -4
- package/dist/types/components/base/manage-pane/constants.d.ts +1 -0
- package/dist/types/components/base/manage-pane/manage-pane.d.ts +3 -1
- package/dist/types/components/base/page-title/page-title.d.ts +12 -6
- package/dist/types/components/base/time-to-liquidation-block/time-to-liquidation-block.d.ts +5 -6
- package/dist/types/components/base/token-amount/token-amount.d.ts +8 -2
- package/dist/types/components/base/values/constants.d.ts +1 -0
- package/dist/types/components/base/values/index.d.ts +2 -1
- package/dist/types/components/base/values/points-value.d.ts +11 -0
- package/dist/types/components/base/values/position-short-label.d.ts +1 -1
- package/dist/types/components/base/values/scalars.d.ts +9 -0
- package/dist/types/components/composites/pool-assets-table/pool-assets-table-row.d.ts +1 -1
- package/dist/types/utils/format-leverage.d.ts +5 -0
- package/dist/types/utils/index.d.ts +1 -0
- package/package.json +2 -2
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsx as o, jsxs as
|
|
2
|
-
import { SimpleAccordion as
|
|
1
|
+
import { jsx as o, jsxs as m } from "react/jsx-runtime";
|
|
2
|
+
import { SimpleAccordion as l, SimpleAccordionItem as s } from "../../simple-accordion/simple-accordion.js";
|
|
3
3
|
import { TipCard as c } from "../../tip-card/tip-card.js";
|
|
4
|
-
import { FormattedMessageTyped as
|
|
4
|
+
import { FormattedMessageTyped as e } from "../../typed-intl/index.js";
|
|
5
5
|
import { Typography as d } from "../../typography/typography.js";
|
|
6
6
|
import { VSpace as f } from "../../vspace/vspace.js";
|
|
7
|
-
import { InfoList as
|
|
7
|
+
import { InfoList as b, InfoLine as i } from "../info-list/info-list.js";
|
|
8
8
|
import "react";
|
|
9
9
|
import "@gearbox-protocol/sdk";
|
|
10
10
|
import "clsx";
|
|
@@ -13,15 +13,21 @@ import "sonner";
|
|
|
13
13
|
import "@gearbox-protocol/sdk/common-utils";
|
|
14
14
|
import "luxon";
|
|
15
15
|
import "../../../utils/z-index.js";
|
|
16
|
-
import
|
|
16
|
+
import "../../points-icon/points-icon.js";
|
|
17
|
+
import { ApyValue as a } from "../values/scalars.js";
|
|
17
18
|
import "../../badge/badge.js";
|
|
18
|
-
import { BorrowRateBlockTest as
|
|
19
|
-
function
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
import { BorrowRateBlockTest as n } from "./constants.js";
|
|
20
|
+
function p(t) {
|
|
21
|
+
return typeof t == "number" ? t : t?.total;
|
|
22
|
+
}
|
|
23
|
+
function u(t) {
|
|
24
|
+
return typeof t == "number" ? t : t?.base;
|
|
25
|
+
}
|
|
26
|
+
function _({
|
|
27
|
+
data: t,
|
|
28
|
+
dataTo: r
|
|
23
29
|
}) {
|
|
24
|
-
return /* @__PURE__ */ o("div", { "data-testid":
|
|
30
|
+
return /* @__PURE__ */ o("div", { "data-testid": n.root, children: /* @__PURE__ */ o(l, { children: /* @__PURE__ */ o(
|
|
25
31
|
s,
|
|
26
32
|
{
|
|
27
33
|
value: "borrow-rate",
|
|
@@ -32,35 +38,35 @@ function L({
|
|
|
32
38
|
"div",
|
|
33
39
|
{
|
|
34
40
|
className: "min-w-0 flex-1 pr-1.5",
|
|
35
|
-
"data-testid":
|
|
41
|
+
"data-testid": n.trigger,
|
|
36
42
|
children: /* @__PURE__ */ o(
|
|
37
|
-
|
|
43
|
+
i,
|
|
38
44
|
{
|
|
39
45
|
title: "components.borrowRateBlock.label",
|
|
40
|
-
tip: /* @__PURE__ */ o(
|
|
41
|
-
value: /* @__PURE__ */ o(
|
|
42
|
-
valueTo:
|
|
46
|
+
tip: /* @__PURE__ */ o(e, { messageId: "components.borrowRateBlock.tip" }),
|
|
47
|
+
value: /* @__PURE__ */ o(a, { data: p(t) }),
|
|
48
|
+
valueTo: r !== void 0 ? /* @__PURE__ */ o(a, { data: p(r) }) : void 0
|
|
43
49
|
}
|
|
44
50
|
)
|
|
45
51
|
}
|
|
46
52
|
),
|
|
47
|
-
description: /* @__PURE__ */
|
|
53
|
+
description: /* @__PURE__ */ m("div", { "data-testid": n.details, children: [
|
|
48
54
|
/* @__PURE__ */ o(f, { size: 16 }),
|
|
49
|
-
/* @__PURE__ */ o(c, { backgroundColor: "transparent", textColor: "unset", children: /* @__PURE__ */
|
|
50
|
-
/* @__PURE__ */ o(d, { as: "span", variant: "caption", color: "secondary", children: /* @__PURE__ */ o(
|
|
55
|
+
/* @__PURE__ */ o(c, { backgroundColor: "transparent", textColor: "unset", children: /* @__PURE__ */ m(b, { children: [
|
|
56
|
+
/* @__PURE__ */ o(d, { as: "span", variant: "caption", color: "secondary", children: /* @__PURE__ */ o(e, { messageId: "components.borrowRateBlock.description" }) }),
|
|
51
57
|
/* @__PURE__ */ o(
|
|
52
|
-
|
|
58
|
+
i,
|
|
53
59
|
{
|
|
54
60
|
title: "components.borrowRateBlock.baseRate",
|
|
55
|
-
value: /* @__PURE__ */ o(
|
|
61
|
+
value: /* @__PURE__ */ o(a, { data: u(r ?? t) })
|
|
56
62
|
}
|
|
57
63
|
),
|
|
58
64
|
/* @__PURE__ */ o(
|
|
59
|
-
|
|
65
|
+
i,
|
|
60
66
|
{
|
|
61
67
|
title: "components.borrowRateBlock.normalization",
|
|
62
68
|
tip: /* @__PURE__ */ o(
|
|
63
|
-
|
|
69
|
+
e,
|
|
64
70
|
{
|
|
65
71
|
messageId: "components.borrowRateBlock.normalization.tip",
|
|
66
72
|
values: {
|
|
@@ -78,6 +84,6 @@ function L({
|
|
|
78
84
|
) }) });
|
|
79
85
|
}
|
|
80
86
|
export {
|
|
81
|
-
|
|
82
|
-
|
|
87
|
+
_ as BorrowRateBlock,
|
|
88
|
+
n as BorrowRateBlockTest
|
|
83
89
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as e, jsxs as r } from "react/jsx-runtime";
|
|
2
|
-
import { PageTitle as
|
|
2
|
+
import { PageTitle as N } from "../page-title/page-title.js";
|
|
3
3
|
import { Stack as i } from "../stack/stack.js";
|
|
4
|
-
import { DetailedPageTitleCopyButton as
|
|
5
|
-
import { DetailedPageTitleExplorerDropdown as
|
|
6
|
-
import { TokenSymbol as
|
|
4
|
+
import { DetailedPageTitleCopyButton as j } from "../../detailed-page-title/detailed-page-title-copy-button.js";
|
|
5
|
+
import { DetailedPageTitleExplorerDropdown as x } from "../../detailed-page-title/detailed-page-title-explorer-dropdown.js";
|
|
6
|
+
import { TokenSymbol as y } from "../../token-symbol/token-symbol.js";
|
|
7
7
|
import "react";
|
|
8
8
|
import "@gearbox-protocol/sdk";
|
|
9
9
|
import { cn as m } from "../../../utils/cn.js";
|
|
@@ -12,33 +12,32 @@ import "@gearbox-protocol/sdk/common-utils";
|
|
|
12
12
|
import "luxon";
|
|
13
13
|
import "../../../utils/z-index.js";
|
|
14
14
|
import { DetailedPageTitleTest as s } from "./constants.js";
|
|
15
|
-
function
|
|
15
|
+
function K({
|
|
16
16
|
title: c,
|
|
17
17
|
browserTitle: p,
|
|
18
|
-
head: d,
|
|
19
18
|
token: n,
|
|
20
|
-
icon:
|
|
21
|
-
tokenIconSize:
|
|
22
|
-
disabled:
|
|
19
|
+
icon: d,
|
|
20
|
+
tokenIconSize: u = 32,
|
|
21
|
+
disabled: g = !1,
|
|
23
22
|
toCopy: l,
|
|
24
23
|
explorerLinks: t,
|
|
25
|
-
badges:
|
|
24
|
+
badges: f,
|
|
26
25
|
actions: a,
|
|
27
26
|
buttonsSlot: o,
|
|
28
|
-
meta:
|
|
29
|
-
actionsPosition:
|
|
30
|
-
className:
|
|
27
|
+
meta: w,
|
|
28
|
+
actionsPosition: h = "left",
|
|
29
|
+
className: T
|
|
31
30
|
}) {
|
|
32
|
-
const
|
|
31
|
+
const D = n ? /* @__PURE__ */ e(
|
|
33
32
|
"span",
|
|
34
33
|
{
|
|
35
34
|
className: m(
|
|
36
35
|
"inline-flex shrink-0 self-center",
|
|
37
|
-
|
|
36
|
+
g ? "grayscale" : void 0
|
|
38
37
|
),
|
|
39
|
-
children: /* @__PURE__ */ e(
|
|
38
|
+
children: /* @__PURE__ */ e(y, { size: u, token: n })
|
|
40
39
|
}
|
|
41
|
-
) :
|
|
40
|
+
) : d, P = o != null || a != null || l != null || t != null && t.length > 0 ? /* @__PURE__ */ r(
|
|
42
41
|
i,
|
|
43
42
|
{
|
|
44
43
|
direction: "row",
|
|
@@ -49,9 +48,9 @@ function M({
|
|
|
49
48
|
children: [
|
|
50
49
|
a,
|
|
51
50
|
o,
|
|
52
|
-
l != null ? /* @__PURE__ */ e(
|
|
51
|
+
l != null ? /* @__PURE__ */ e(j, { toCopy: l }) : null,
|
|
53
52
|
t != null && t.length > 0 ? /* @__PURE__ */ e(
|
|
54
|
-
|
|
53
|
+
x,
|
|
55
54
|
{
|
|
56
55
|
explorerLinks: [...t]
|
|
57
56
|
}
|
|
@@ -63,7 +62,7 @@ function M({
|
|
|
63
62
|
i,
|
|
64
63
|
{
|
|
65
64
|
gap: "sm",
|
|
66
|
-
className: m("min-w-0",
|
|
65
|
+
className: m("min-w-0", T),
|
|
67
66
|
"data-testid": s.root,
|
|
68
67
|
children: [
|
|
69
68
|
/* @__PURE__ */ r(
|
|
@@ -72,25 +71,25 @@ function M({
|
|
|
72
71
|
direction: "row",
|
|
73
72
|
align: "center",
|
|
74
73
|
gap: "sm",
|
|
75
|
-
justify:
|
|
74
|
+
justify: h === "right" ? "between" : "start",
|
|
76
75
|
wrap: !0,
|
|
77
76
|
className: "w-full",
|
|
78
77
|
children: [
|
|
79
78
|
/* @__PURE__ */ r(i, { direction: "row", align: "center", gap: "sm", wrap: !0, className: "min-w-0", children: [
|
|
80
|
-
|
|
81
|
-
/* @__PURE__ */ e(
|
|
82
|
-
|
|
79
|
+
D,
|
|
80
|
+
/* @__PURE__ */ e(N, { title: c, browserTitle: p }),
|
|
81
|
+
f
|
|
83
82
|
] }),
|
|
84
|
-
|
|
83
|
+
P
|
|
85
84
|
]
|
|
86
85
|
}
|
|
87
86
|
),
|
|
88
|
-
|
|
87
|
+
w
|
|
89
88
|
]
|
|
90
89
|
}
|
|
91
90
|
);
|
|
92
91
|
}
|
|
93
92
|
export {
|
|
94
|
-
|
|
93
|
+
K as DetailedPageTitle,
|
|
95
94
|
s as DetailedPageTitleTest
|
|
96
95
|
};
|
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { useTitleText as
|
|
3
|
-
import { FadeoutLoading as
|
|
4
|
-
import { HealthFactor as
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { useTitleText as h } from "../text/use-title-text.js";
|
|
3
|
+
import { FadeoutLoading as s } from "../../fadeout-loading/fadeout-loading.js";
|
|
4
|
+
import { HealthFactor as c } from "../../health-factor/health-factor.js";
|
|
5
5
|
import { FormattedMessageTyped as n } from "../../typed-intl/index.js";
|
|
6
|
-
import { VerticalIndicator as
|
|
7
|
-
import { HealthFactorBlockTest as
|
|
6
|
+
import { VerticalIndicator as g } from "../../vertical-indicator/vertical-indicator.js";
|
|
7
|
+
import { HealthFactorBlockTest as t } from "./constants.js";
|
|
8
8
|
function b({
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
healthFactor: e,
|
|
10
|
+
healthFactorTo: a,
|
|
11
11
|
debt: r,
|
|
12
12
|
debtTo: p,
|
|
13
|
-
zone:
|
|
14
|
-
isLoading:
|
|
13
|
+
zone: i,
|
|
14
|
+
isLoading: l,
|
|
15
15
|
title: d,
|
|
16
16
|
tip: u,
|
|
17
17
|
testId: v
|
|
18
18
|
}) {
|
|
19
|
-
const
|
|
20
|
-
return /* @__PURE__ */
|
|
21
|
-
|
|
19
|
+
const f = h(), m = a !== void 0;
|
|
20
|
+
return /* @__PURE__ */ o(
|
|
21
|
+
g,
|
|
22
22
|
{
|
|
23
23
|
align: "center",
|
|
24
24
|
dimPreviousValue: !1,
|
|
25
|
-
"data-testid": v ??
|
|
26
|
-
label: d !== void 0 ?
|
|
27
|
-
tip: u ?? /* @__PURE__ */
|
|
28
|
-
value: /* @__PURE__ */
|
|
29
|
-
|
|
25
|
+
"data-testid": v ?? t.root,
|
|
26
|
+
label: d !== void 0 ? f(d) : /* @__PURE__ */ o(n, { messageId: "components.healthFactorBlock.label" }),
|
|
27
|
+
tip: u ?? /* @__PURE__ */ o(n, { messageId: "components.healthFactorBlock.tip" }),
|
|
28
|
+
value: /* @__PURE__ */ o(s, { loading: l, children: e === void 0 ? /* @__PURE__ */ o("span", { "data-testid": t.value, children: "—" }) : /* @__PURE__ */ o(
|
|
29
|
+
c,
|
|
30
30
|
{
|
|
31
31
|
value: e,
|
|
32
32
|
debt: r,
|
|
33
|
-
zone:
|
|
34
|
-
"data-testid":
|
|
33
|
+
zone: m ? void 0 : i,
|
|
34
|
+
"data-testid": t.value
|
|
35
35
|
}
|
|
36
36
|
) }),
|
|
37
|
-
valueTo:
|
|
38
|
-
|
|
37
|
+
valueTo: m ? /* @__PURE__ */ o(s, { loading: l, children: /* @__PURE__ */ o(
|
|
38
|
+
c,
|
|
39
39
|
{
|
|
40
40
|
value: a,
|
|
41
41
|
debt: p ?? r,
|
|
42
|
-
zone:
|
|
43
|
-
"data-testid":
|
|
42
|
+
zone: i,
|
|
43
|
+
"data-testid": t.valueTo
|
|
44
44
|
}
|
|
45
45
|
) }) : void 0
|
|
46
46
|
}
|
|
@@ -48,5 +48,5 @@ function b({
|
|
|
48
48
|
}
|
|
49
49
|
export {
|
|
50
50
|
b as HealthFactorBlock,
|
|
51
|
-
|
|
51
|
+
t as HealthFactorBlockTest
|
|
52
52
|
};
|
|
@@ -1,166 +1,171 @@
|
|
|
1
1
|
import { AmountInput as r } from "./amount-input/amount-input.js";
|
|
2
2
|
import { TokenSelectPanel as a } from "./amount-input/token-select-panel.js";
|
|
3
|
-
import { BorrowRateBlock as
|
|
3
|
+
import { BorrowRateBlock as p } from "./borrow-rate-block/borrow-rate-block.js";
|
|
4
4
|
import { BorrowRateBlockTest as f } from "./borrow-rate-block/constants.js";
|
|
5
5
|
import { ChartWithSideCard as x } from "./chart-with-side-card/chart-with-side-card.js";
|
|
6
6
|
import { ChartWithSideCardTest as s } from "./chart-with-side-card/constants.js";
|
|
7
7
|
import { DetailedPageTitle as d } from "./detailed-page-title/detailed-page-title.js";
|
|
8
|
-
import { AsideAlignAnchor as
|
|
8
|
+
import { AsideAlignAnchor as S } from "./details-view/detail-aside/detail-aside-scope.js";
|
|
9
9
|
import { DetailAsideScreenLayout as g } from "./details-view/detail-aside/detail-aside-screen-layout.js";
|
|
10
10
|
import { DetailsView as k, DetailsViewLeftPane as B, DetailsViewManagePane as A } from "./details-view/details-view.js";
|
|
11
11
|
import { HealthFactorBlockTest as L } from "./health-factor-block/constants.js";
|
|
12
12
|
import { HealthFactorBlock as C } from "./health-factor-block/health-factor-block.js";
|
|
13
13
|
import { HistoryChart as w } from "./history-chart/history-chart.js";
|
|
14
|
-
import { InfoLine as
|
|
14
|
+
import { InfoLine as V, InfoList as h, InfoSectionTitle as D, PointsInfoLine as H } from "./info-list/info-list.js";
|
|
15
15
|
import { InfoPortalOut as E, InfoPortalProvider as q } from "./info-portal/info-portal.js";
|
|
16
|
-
import { LeverageInput as
|
|
17
|
-
import { LiquidationParamsTableTest as
|
|
18
|
-
import { LiquidationParamsTable as
|
|
19
|
-
import { LiquidationPriceBlockTest as
|
|
20
|
-
import { LiquidationPriceBlock as
|
|
21
|
-
import { ManagePane as
|
|
22
|
-
import { MoreAccordionTest as
|
|
23
|
-
import { MoreAccordion as
|
|
24
|
-
import { NestedInfoStackTest as
|
|
25
|
-
import { NestedInfoStack as
|
|
26
|
-
import { PageTitle as
|
|
27
|
-
import { PoolApyBreakdownCardTest as
|
|
28
|
-
import { PoolApyBreakdownCard as
|
|
29
|
-
import { ReviewButton as
|
|
30
|
-
import { SectionHeading as
|
|
31
|
-
import { SEGMENTED_TABS_INACTIVE_BUTTON_CLASS as
|
|
32
|
-
import { SideCardTest as
|
|
33
|
-
import { SideCard as
|
|
34
|
-
import { SPACE_HEIGHT as
|
|
35
|
-
import { Stack as
|
|
36
|
-
import { StatBadge as
|
|
37
|
-
import { StickyBar as
|
|
38
|
-
import { StrategyApyBreakdownCardTest as
|
|
39
|
-
import { StrategyApyBreakdownCard as
|
|
40
|
-
import { Tabber as
|
|
41
|
-
import { useDetailScrollSpy as
|
|
42
|
-
import { useTitleText as
|
|
43
|
-
import { TimeToLiquidationBlockTest as
|
|
44
|
-
import { TimeToLiquidationBlock as
|
|
45
|
-
import { TitleMetaTest as
|
|
46
|
-
import { TitleMeta as
|
|
47
|
-
import { TokenAmount as
|
|
48
|
-
import { TokenPairSymbolTest as
|
|
49
|
-
import { TokenPairSymbol as
|
|
50
|
-
import { TokenPairTitleTest as
|
|
51
|
-
import { TokenPairTitle as
|
|
52
|
-
import { PositionShortLabelTest as
|
|
53
|
-
import { PnlValue as
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
16
|
+
import { LeverageInput as N } from "./leverage-input/leverage-input.js";
|
|
17
|
+
import { LiquidationParamsTableTest as F } from "./liquidation-params-table/constants.js";
|
|
18
|
+
import { LiquidationParamsTable as U } from "./liquidation-params-table/liquidation-params-table.js";
|
|
19
|
+
import { LiquidationPriceBlockTest as W } from "./liquidation-price-block/constants.js";
|
|
20
|
+
import { LiquidationPriceBlock as X } from "./liquidation-price-block/liquidation-price-block.js";
|
|
21
|
+
import { ManagePane as J, ManagePaneActionTab as K, ManagePaneMessage as Q, ManagePaneTab as Y, ManagePaneTabDropdown as Z } from "./manage-pane/manage-pane.js";
|
|
22
|
+
import { MoreAccordionTest as ee } from "./more-accordion/constants.js";
|
|
23
|
+
import { MoreAccordion as re } from "./more-accordion/more-accordion.js";
|
|
24
|
+
import { NestedInfoStackTest as ae } from "./nested-info-stack/constants.js";
|
|
25
|
+
import { NestedInfoStack as pe } from "./nested-info-stack/nested-info-stack.js";
|
|
26
|
+
import { PageHeadProvider as fe, PageTitle as ne } from "./page-title/page-title.js";
|
|
27
|
+
import { PoolApyBreakdownCardTest as Te } from "./pool-apy-breakdown-card/constants.js";
|
|
28
|
+
import { PoolApyBreakdownCard as le } from "./pool-apy-breakdown-card/pool-apy-breakdown-card.js";
|
|
29
|
+
import { ReviewButton as Pe } from "./review-button/review-button.js";
|
|
30
|
+
import { SectionHeading as ce } from "./section-heading/section-heading.js";
|
|
31
|
+
import { SEGMENTED_TABS_INACTIVE_BUTTON_CLASS as ue, SegmentedTabs as ke } from "./segmented-tabs/segmented-tabs.js";
|
|
32
|
+
import { SideCardTest as Ae } from "./side-card/constants.js";
|
|
33
|
+
import { SideCard as Le } from "./side-card/side-card.js";
|
|
34
|
+
import { SPACE_HEIGHT as Ce, SPACE_PX as Ie } from "./spacing.js";
|
|
35
|
+
import { Stack as Me } from "./stack/stack.js";
|
|
36
|
+
import { StatBadge as he, StatBadgeGrid as De } from "./stat-badge/stat-badge.js";
|
|
37
|
+
import { StickyBar as ve } from "./sticky-bar/sticky-bar.js";
|
|
38
|
+
import { StrategyApyBreakdownCardTest as qe } from "./strategy-apy-breakdown-card/constants.js";
|
|
39
|
+
import { StrategyApyBreakdownCard as Ne } from "./strategy-apy-breakdown-card/strategy-apy-breakdown-card.js";
|
|
40
|
+
import { Tabber as Fe, TabberSection as Ge, isTabber as Ue } from "./tabber/tabber.js";
|
|
41
|
+
import { useDetailScrollSpy as We } from "./tabber/use-detail-scroll-spy.js";
|
|
42
|
+
import { useTitleText as Xe } from "./text/use-title-text.js";
|
|
43
|
+
import { TimeToLiquidationBlockTest as Je } from "./time-to-liquidation-block/constants.js";
|
|
44
|
+
import { TimeToLiquidationBlock as Qe } from "./time-to-liquidation-block/time-to-liquidation-block.js";
|
|
45
|
+
import { TitleMetaTest as Ze } from "./title-meta/constants.js";
|
|
46
|
+
import { TitleMeta as eo } from "./title-meta/title-meta.js";
|
|
47
|
+
import { TokenAmount as ro } from "./token-amount/token-amount.js";
|
|
48
|
+
import { TokenPairSymbolTest as ao } from "./token-pair-symbol/constants.js";
|
|
49
|
+
import { TokenPairSymbol as po } from "./token-pair-symbol/token-pair-symbol.js";
|
|
50
|
+
import { TokenPairTitleTest as fo } from "./token-pair-title/constants.js";
|
|
51
|
+
import { TokenPairTitle as xo } from "./token-pair-title/token-pair-title.js";
|
|
52
|
+
import { PositionShortLabelTest as so, ValueTest as lo } from "./values/constants.js";
|
|
53
|
+
import { PnlValue as So } from "./values/pnl-value.js";
|
|
54
|
+
import { PointsValue as go } from "./values/points-value.js";
|
|
55
|
+
import { PositionShortLabel as ko } from "./values/position-short-label.js";
|
|
56
|
+
import { PositionTypeBadge as Ao } from "./values/position-type-badge.js";
|
|
57
|
+
import { ApyValue as Lo, HealthFactorValue as yo, LeverageValue as Co, TokenBigint as Io, UsdValue as wo, UtilizationValue as Mo, bps as Vo } from "./values/scalars.js";
|
|
58
|
+
import { AmountInputTest as Do } from "./amount-input/constants.js";
|
|
59
|
+
import { DetailedPageTitleTest as vo } from "./detailed-page-title/constants.js";
|
|
60
|
+
import { DetailsViewTest as qo } from "./details-view/constants.js";
|
|
61
|
+
import { HistoryChartTest as No } from "./history-chart/constants.js";
|
|
62
|
+
import { InfoListTest as Fo } from "./info-list/constants.js";
|
|
63
|
+
import { LeverageInputTest as Uo } from "./leverage-input/constants.js";
|
|
64
|
+
import { ManagePaneTest as Wo } from "./manage-pane/constants.js";
|
|
65
|
+
import { PageTitleTest as Xo } from "./page-title/constants.js";
|
|
66
|
+
import { ReviewButtonTest as Jo } from "./review-button/constants.js";
|
|
67
|
+
import { SectionHeadingTest as Qo } from "./section-heading/constants.js";
|
|
68
|
+
import { SegmentedTabsTest as Zo } from "./segmented-tabs/constants.js";
|
|
69
|
+
import { StackTest as er } from "./stack/constants.js";
|
|
70
|
+
import { StatBadgeTest as rr } from "./stat-badge/constants.js";
|
|
71
|
+
import { StickyBarTest as ar } from "./sticky-bar/constants.js";
|
|
72
|
+
import { TabberTest as pr } from "./tabber/constants.js";
|
|
73
|
+
import { TokenAmountTest as fr } from "./token-amount/constants.js";
|
|
73
74
|
export {
|
|
74
75
|
r as AmountInput,
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
76
|
+
Do as AmountInputTest,
|
|
77
|
+
Lo as ApyValue,
|
|
78
|
+
S as AsideAlignAnchor,
|
|
79
|
+
p as BorrowRateBlock,
|
|
79
80
|
f as BorrowRateBlockTest,
|
|
80
81
|
x as ChartWithSideCard,
|
|
81
82
|
s as ChartWithSideCardTest,
|
|
82
83
|
g as DetailAsideScreenLayout,
|
|
83
84
|
d as DetailedPageTitle,
|
|
84
|
-
|
|
85
|
+
vo as DetailedPageTitleTest,
|
|
85
86
|
k as DetailsView,
|
|
86
87
|
B as DetailsViewLeftPane,
|
|
87
88
|
A as DetailsViewManagePane,
|
|
88
|
-
|
|
89
|
+
qo as DetailsViewTest,
|
|
89
90
|
C as HealthFactorBlock,
|
|
90
91
|
L as HealthFactorBlockTest,
|
|
91
|
-
|
|
92
|
+
yo as HealthFactorValue,
|
|
92
93
|
w as HistoryChart,
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
94
|
+
No as HistoryChartTest,
|
|
95
|
+
V as InfoLine,
|
|
96
|
+
h as InfoList,
|
|
97
|
+
Fo as InfoListTest,
|
|
97
98
|
E as InfoPortalOut,
|
|
98
99
|
q as InfoPortalProvider,
|
|
99
100
|
D as InfoSectionTitle,
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
ke as
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
Qe as
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
101
|
+
N as LeverageInput,
|
|
102
|
+
Uo as LeverageInputTest,
|
|
103
|
+
Co as LeverageValue,
|
|
104
|
+
U as LiquidationParamsTable,
|
|
105
|
+
F as LiquidationParamsTableTest,
|
|
106
|
+
X as LiquidationPriceBlock,
|
|
107
|
+
W as LiquidationPriceBlockTest,
|
|
108
|
+
J as ManagePane,
|
|
109
|
+
K as ManagePaneActionTab,
|
|
110
|
+
Q as ManagePaneMessage,
|
|
111
|
+
Y as ManagePaneTab,
|
|
112
|
+
Z as ManagePaneTabDropdown,
|
|
113
|
+
Wo as ManagePaneTest,
|
|
114
|
+
re as MoreAccordion,
|
|
115
|
+
ee as MoreAccordionTest,
|
|
116
|
+
pe as NestedInfoStack,
|
|
117
|
+
ae as NestedInfoStackTest,
|
|
118
|
+
fe as PageHeadProvider,
|
|
119
|
+
ne as PageTitle,
|
|
120
|
+
Xo as PageTitleTest,
|
|
121
|
+
So as PnlValue,
|
|
122
|
+
H as PointsInfoLine,
|
|
123
|
+
go as PointsValue,
|
|
124
|
+
le as PoolApyBreakdownCard,
|
|
125
|
+
Te as PoolApyBreakdownCardTest,
|
|
126
|
+
ko as PositionShortLabel,
|
|
127
|
+
so as PositionShortLabelTest,
|
|
128
|
+
Ao as PositionTypeBadge,
|
|
129
|
+
Pe as ReviewButton,
|
|
130
|
+
Jo as ReviewButtonTest,
|
|
131
|
+
ue as SEGMENTED_TABS_INACTIVE_BUTTON_CLASS,
|
|
132
|
+
Ce as SPACE_HEIGHT,
|
|
133
|
+
Ie as SPACE_PX,
|
|
134
|
+
ce as SectionHeading,
|
|
135
|
+
Qo as SectionHeadingTest,
|
|
136
|
+
ke as SegmentedTabs,
|
|
137
|
+
Zo as SegmentedTabsTest,
|
|
138
|
+
Le as SideCard,
|
|
139
|
+
Ae as SideCardTest,
|
|
140
|
+
Me as Stack,
|
|
141
|
+
er as StackTest,
|
|
142
|
+
he as StatBadge,
|
|
143
|
+
De as StatBadgeGrid,
|
|
144
|
+
rr as StatBadgeTest,
|
|
145
|
+
ve as StickyBar,
|
|
146
|
+
ar as StickyBarTest,
|
|
147
|
+
Ne as StrategyApyBreakdownCard,
|
|
148
|
+
qe as StrategyApyBreakdownCardTest,
|
|
149
|
+
Fe as Tabber,
|
|
150
|
+
Ge as TabberSection,
|
|
151
|
+
pr as TabberTest,
|
|
152
|
+
Qe as TimeToLiquidationBlock,
|
|
153
|
+
Je as TimeToLiquidationBlockTest,
|
|
154
|
+
eo as TitleMeta,
|
|
155
|
+
Ze as TitleMetaTest,
|
|
156
|
+
ro as TokenAmount,
|
|
157
|
+
fr as TokenAmountTest,
|
|
158
|
+
Io as TokenBigint,
|
|
159
|
+
po as TokenPairSymbol,
|
|
160
|
+
ao as TokenPairSymbolTest,
|
|
161
|
+
xo as TokenPairTitle,
|
|
162
|
+
fo as TokenPairTitleTest,
|
|
159
163
|
a as TokenSelectPanel,
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
Ue as
|
|
165
|
-
We as
|
|
164
|
+
wo as UsdValue,
|
|
165
|
+
Mo as UtilizationValue,
|
|
166
|
+
lo as ValueTest,
|
|
167
|
+
Vo as bps,
|
|
168
|
+
Ue as isTabber,
|
|
169
|
+
We as useDetailScrollSpy,
|
|
170
|
+
Xe as useTitleText
|
|
166
171
|
};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { InfoLine as
|
|
1
|
+
import { InfoLine as t, InfoList as e, InfoSectionTitle as f, PointsInfoLine as i } from "./info-list.js";
|
|
2
2
|
import { InfoListTest as r } from "./constants.js";
|
|
3
3
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
t as InfoLine,
|
|
5
|
+
e as InfoList,
|
|
6
6
|
r as InfoListTest,
|
|
7
|
-
|
|
7
|
+
f as InfoSectionTitle,
|
|
8
|
+
i as PointsInfoLine
|
|
8
9
|
};
|