@gearbox-protocol/ui-kit 4.0.0 → 4.0.2
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/badge/chip.cjs +1 -1
- package/dist/cjs/components/base/amount-input/constants.cjs +1 -1
- package/dist/cjs/components/base/borrow-rate-block/constants.cjs +1 -1
- package/dist/cjs/components/base/chart-with-side-card/constants.cjs +1 -1
- package/dist/cjs/components/base/detailed-page-title/constants.cjs +1 -1
- package/dist/cjs/components/base/details-view/constants.cjs +1 -1
- package/dist/cjs/components/base/health-factor-block/constants.cjs +1 -1
- package/dist/cjs/components/base/history-chart/constants.cjs +1 -1
- package/dist/cjs/components/base/info-list/constants.cjs +1 -1
- package/dist/cjs/components/base/leverage-input/constants.cjs +1 -1
- package/dist/cjs/components/base/liquidation-params-table/constants.cjs +1 -1
- package/dist/cjs/components/base/liquidation-price-block/constants.cjs +1 -1
- package/dist/cjs/components/base/manage-pane/constants.cjs +1 -1
- package/dist/cjs/components/base/more-accordion/constants.cjs +1 -1
- package/dist/cjs/components/base/nested-info-stack/constants.cjs +1 -1
- package/dist/cjs/components/base/page-title/constants.cjs +1 -1
- package/dist/cjs/components/base/pool-apy-breakdown-card/constants.cjs +1 -1
- package/dist/cjs/components/base/position-assets/constants.cjs +1 -1
- package/dist/cjs/components/base/review-button/constants.cjs +1 -1
- package/dist/cjs/components/base/review-button/review-button.cjs +1 -1
- package/dist/cjs/components/base/section-heading/constants.cjs +1 -1
- package/dist/cjs/components/base/segmented-tabs/constants.cjs +1 -1
- package/dist/cjs/components/base/segmented-tabs/segmented-tabs.cjs +1 -1
- package/dist/cjs/components/base/stack/constants.cjs +1 -1
- package/dist/cjs/components/base/stat-badge/constants.cjs +1 -1
- package/dist/cjs/components/base/strategy-apy-breakdown-card/constants.cjs +1 -1
- package/dist/cjs/components/base/tabber/constants.cjs +1 -1
- package/dist/cjs/components/base/time-to-liquidation-block/constants.cjs +1 -1
- package/dist/cjs/components/base/title-meta/constants.cjs +1 -1
- package/dist/cjs/components/base/token-amount/constants.cjs +1 -1
- package/dist/cjs/components/base/token-pair-symbol/constants.cjs +1 -1
- package/dist/cjs/components/base/values/constants.cjs +1 -1
- package/dist/cjs/components/base-table/constants.cjs +1 -1
- package/dist/cjs/components/buttons/button/button.variants.cjs +1 -1
- package/dist/cjs/components/buttons/tab-button/tab-button.cjs +1 -1
- package/dist/cjs/components/client-adapters/index.cjs +1 -1
- package/dist/cjs/components/collateral-allocation-tooltip/constants.cjs +1 -1
- package/dist/cjs/components/composites/pool-assets-table/constants.cjs +1 -1
- package/dist/cjs/components/composites/tx-preview/confirm/amounts/constants.cjs +1 -1
- package/dist/cjs/components/composites/tx-preview/confirm/dialog/constants.cjs +1 -1
- package/dist/cjs/components/composites/tx-preview/confirm/result/constants.cjs +1 -1
- package/dist/cjs/components/composites/tx-preview/confirm/stepper/constants.cjs +1 -1
- package/dist/cjs/components/graph/default-config.cjs +1 -1
- package/dist/cjs/components/index.cjs +1 -1
- package/dist/cjs/components/legal-agreement/legal-agreement-awaiting-panel.cjs +1 -1
- package/dist/cjs/components/legal-agreement/legal-agreement-panel.cjs +1 -1
- package/dist/cjs/components/sdk-status-pill/constants.cjs +1 -1
- package/dist/cjs/components/slider/constants.cjs +1 -1
- package/dist/cjs/components/trading-view/constants.cjs +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/esm/components/badge/chip.js +14 -15
- package/dist/esm/components/base/amount-input/constants.js +12 -12
- package/dist/esm/components/base/borrow-rate-block/constants.js +6 -6
- package/dist/esm/components/base/chart-with-side-card/constants.js +6 -6
- package/dist/esm/components/base/detailed-page-title/constants.js +5 -5
- package/dist/esm/components/base/details-view/constants.js +9 -10
- package/dist/esm/components/base/health-factor-block/constants.js +6 -6
- package/dist/esm/components/base/history-chart/constants.js +7 -7
- package/dist/esm/components/base/info-list/constants.js +6 -6
- package/dist/esm/components/base/leverage-input/constants.js +7 -7
- package/dist/esm/components/base/liquidation-params-table/constants.js +4 -4
- package/dist/esm/components/base/liquidation-price-block/constants.js +6 -6
- package/dist/esm/components/base/manage-pane/constants.js +9 -9
- package/dist/esm/components/base/more-accordion/constants.js +5 -5
- package/dist/esm/components/base/nested-info-stack/constants.js +4 -4
- package/dist/esm/components/base/page-title/constants.js +4 -4
- package/dist/esm/components/base/pool-apy-breakdown-card/constants.js +7 -7
- package/dist/esm/components/base/position-assets/constants.js +7 -7
- package/dist/esm/components/base/review-button/constants.js +6 -6
- package/dist/esm/components/base/review-button/review-button.js +19 -25
- package/dist/esm/components/base/section-heading/constants.js +3 -3
- package/dist/esm/components/base/segmented-tabs/constants.js +3 -3
- package/dist/esm/components/base/segmented-tabs/segmented-tabs.js +7 -6
- package/dist/esm/components/base/stack/constants.js +4 -4
- package/dist/esm/components/base/stat-badge/constants.js +7 -7
- package/dist/esm/components/base/strategy-apy-breakdown-card/constants.js +10 -10
- package/dist/esm/components/base/tabber/constants.js +6 -6
- package/dist/esm/components/base/time-to-liquidation-block/constants.js +6 -6
- package/dist/esm/components/base/title-meta/constants.js +7 -7
- package/dist/esm/components/base/token-amount/constants.js +4 -4
- package/dist/esm/components/base/token-pair-symbol/constants.js +4 -4
- package/dist/esm/components/base/values/constants.js +17 -18
- package/dist/esm/components/base-table/constants.js +9 -10
- package/dist/esm/components/buttons/button/button.variants.js +5 -5
- package/dist/esm/components/buttons/tab-button/tab-button.js +12 -9
- package/dist/esm/components/client-adapters/index.js +2 -4
- package/dist/esm/components/collateral-allocation-tooltip/constants.js +9 -10
- package/dist/esm/components/composites/pool-assets-table/constants.js +8 -8
- package/dist/esm/components/composites/tx-preview/confirm/amounts/constants.js +4 -4
- package/dist/esm/components/composites/tx-preview/confirm/dialog/constants.js +6 -6
- package/dist/esm/components/composites/tx-preview/confirm/result/constants.js +18 -21
- package/dist/esm/components/composites/tx-preview/confirm/stepper/constants.js +4 -4
- package/dist/esm/components/graph/default-config.js +20 -20
- package/dist/esm/components/index.js +279 -281
- package/dist/esm/components/legal-agreement/legal-agreement-awaiting-panel.js +10 -10
- package/dist/esm/components/legal-agreement/legal-agreement-panel.js +36 -36
- package/dist/esm/components/navbar-logo/navbar-logo.js +10 -13
- package/dist/esm/components/rounded-image/rounded-image.js +23 -26
- package/dist/esm/components/sdk-status-pill/constants.js +6 -6
- package/dist/esm/components/slider/constants.js +4 -4
- package/dist/esm/components/trading-view/constants.js +5 -5
- package/dist/esm/index.js +327 -329
- package/dist/globals.css +1 -1
- package/dist/types/components/badge/chip.d.ts +7 -7
- package/dist/types/components/base/amount-input/constants.d.ts +11 -11
- package/dist/types/components/base/borrow-rate-block/constants.d.ts +5 -5
- package/dist/types/components/base/chart-with-side-card/constants.d.ts +5 -5
- package/dist/types/components/base/detailed-page-title/constants.d.ts +4 -4
- package/dist/types/components/base/details-view/constants.d.ts +9 -9
- package/dist/types/components/base/health-factor-block/constants.d.ts +5 -5
- package/dist/types/components/base/history-chart/constants.d.ts +6 -6
- package/dist/types/components/base/info-list/constants.d.ts +5 -5
- package/dist/types/components/base/leverage-input/constants.d.ts +6 -6
- package/dist/types/components/base/liquidation-params-table/constants.d.ts +3 -3
- package/dist/types/components/base/liquidation-price-block/constants.d.ts +5 -5
- package/dist/types/components/base/manage-pane/constants.d.ts +9 -9
- package/dist/types/components/base/more-accordion/constants.d.ts +4 -4
- package/dist/types/components/base/nested-info-stack/constants.d.ts +3 -3
- package/dist/types/components/base/page-title/constants.d.ts +3 -3
- package/dist/types/components/base/pool-apy-breakdown-card/constants.d.ts +7 -7
- package/dist/types/components/base/position-assets/constants.d.ts +6 -6
- package/dist/types/components/base/review-button/constants.d.ts +5 -5
- package/dist/types/components/base/section-heading/constants.d.ts +3 -3
- package/dist/types/components/base/segmented-tabs/constants.d.ts +3 -3
- package/dist/types/components/base/stack/constants.d.ts +3 -3
- package/dist/types/components/base/stat-badge/constants.d.ts +6 -6
- package/dist/types/components/base/strategy-apy-breakdown-card/constants.d.ts +9 -9
- package/dist/types/components/base/tabber/constants.d.ts +5 -5
- package/dist/types/components/base/time-to-liquidation-block/constants.d.ts +5 -5
- package/dist/types/components/base/title-meta/constants.d.ts +6 -6
- package/dist/types/components/base/token-amount/constants.d.ts +3 -3
- package/dist/types/components/base/token-pair-symbol/constants.d.ts +3 -3
- package/dist/types/components/base/values/constants.d.ts +16 -16
- package/dist/types/components/base-table/constants.d.ts +8 -8
- package/dist/types/components/client-adapters/index.d.ts +0 -1
- package/dist/types/components/collateral-allocation-tooltip/constants.d.ts +8 -8
- package/dist/types/components/composites/pool-assets-table/constants.d.ts +7 -7
- package/dist/types/components/composites/tx-preview/confirm/amounts/constants.d.ts +3 -3
- package/dist/types/components/composites/tx-preview/confirm/dialog/constants.d.ts +6 -6
- package/dist/types/components/composites/tx-preview/confirm/result/constants.d.ts +18 -18
- package/dist/types/components/composites/tx-preview/confirm/stepper/constants.d.ts +3 -3
- package/dist/types/components/legal-agreement/legal-agreement-awaiting-panel.d.ts +3 -3
- package/dist/types/components/legal-agreement/legal-agreement-panel.d.ts +3 -3
- package/dist/types/components/sdk-status-pill/constants.d.ts +5 -5
- package/dist/types/components/slider/constants.d.ts +3 -3
- package/dist/types/components/trading-view/constants.d.ts +4 -4
- package/package.json +3 -2
- package/dist/cjs/components/client-adapters/styled-button/index.cjs +0 -1
- package/dist/cjs/components/client-adapters/styled-button/styled-button.cjs +0 -1
- package/dist/esm/components/client-adapters/styled-button/index.js +0 -4
- package/dist/esm/components/client-adapters/styled-button/styled-button.js +0 -29
- package/dist/types/components/client-adapters/styled-button/index.d.ts +0 -1
- package/dist/types/components/client-adapters/styled-button/styled-button.d.ts +0 -18
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
1
|
+
const t = {
|
|
2
|
+
root: "stat-badge-root",
|
|
3
|
+
grid: "stat-badge-grid-root",
|
|
4
|
+
action: "stat-badge-action",
|
|
5
|
+
delta: "stat-badge-delta"
|
|
6
|
+
};
|
|
7
7
|
export {
|
|
8
|
-
|
|
8
|
+
t as StatBadgeTest
|
|
9
9
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
1
|
+
const a = {
|
|
2
|
+
root: "strategy-apy-breakdown-card-root",
|
|
3
|
+
net: "strategy-apy-breakdown-card-net",
|
|
4
|
+
collateral: "strategy-apy-breakdown-card-collateral",
|
|
5
|
+
borrow: "strategy-apy-breakdown-card-borrow",
|
|
6
|
+
value: "strategy-apy-breakdown-card-value",
|
|
7
|
+
points: "strategy-apy-breakdown-card-points",
|
|
8
|
+
caption: "strategy-apy-breakdown-card-caption"
|
|
9
|
+
};
|
|
10
10
|
export {
|
|
11
|
-
|
|
11
|
+
a as StrategyApyBreakdownCardTest
|
|
12
12
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
1
|
+
const o = {
|
|
2
|
+
root: "time-to-liquidation-block-root",
|
|
3
|
+
value: "time-to-liquidation-block-value",
|
|
4
|
+
valueTo: "time-to-liquidation-block-value-to"
|
|
5
|
+
};
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
o as TimeToLiquidationBlockTest
|
|
8
8
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
1
|
+
const t = {
|
|
2
|
+
root: "title-meta-root",
|
|
3
|
+
network: "title-meta-network",
|
|
4
|
+
curator: "title-meta-curator",
|
|
5
|
+
link: "title-meta-link"
|
|
6
|
+
};
|
|
7
7
|
export {
|
|
8
|
-
|
|
8
|
+
t as TitleMetaTest
|
|
9
9
|
};
|
|
@@ -1,20 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
1
|
+
const e = {
|
|
2
|
+
apy: "value-apy",
|
|
3
|
+
usd: "value-usd",
|
|
4
|
+
leverage: "value-leverage",
|
|
5
|
+
utilization: "value-utilization",
|
|
6
|
+
healthFactor: "value-health-factor",
|
|
7
|
+
pnl: "value-pnl",
|
|
8
|
+
priceImpact: "value-price-impact",
|
|
9
|
+
tokenBigint: "value-token-bigint",
|
|
10
|
+
points: "value-points",
|
|
11
|
+
placeholder: "value-placeholder",
|
|
12
|
+
accruing: "value-accruing"
|
|
13
|
+
}, a = {
|
|
14
|
+
root: "position-short-label"
|
|
15
|
+
};
|
|
17
16
|
export {
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
a as PositionShortLabelTest,
|
|
18
|
+
e as ValueTest
|
|
20
19
|
};
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
1
|
+
const e = {
|
|
2
|
+
root: "base-table-root",
|
|
3
|
+
head: "base-table-head",
|
|
4
|
+
empty: "base-table-empty"
|
|
5
|
+
}, t = {
|
|
6
|
+
root: "base-table-line-root"
|
|
7
|
+
};
|
|
9
8
|
export {
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
t as BaseTableLineTest,
|
|
10
|
+
e as BaseTableTest
|
|
12
11
|
};
|
|
@@ -4,7 +4,7 @@ import "@gearbox-protocol/sdk/onchain";
|
|
|
4
4
|
import "../../../utils/z-index.js";
|
|
5
5
|
const i = r(
|
|
6
6
|
// TODO: remove !
|
|
7
|
-
"inline-flex items-center justify-center gap-2 whitespace-
|
|
7
|
+
"inline-flex items-center justify-center gap-2 whitespace-normal text-center rounded-md text-sm font-medium transition-colors cursor-pointer disabled:!cursor-not-allowed [&_svg]:pointer-events-none [&_svg:not([style*='width']):not([style*='height'])]:size-4 [&_svg]:shrink-0 border border-transparent outline-none focus-visible:outline-none",
|
|
8
8
|
{
|
|
9
9
|
variants: {
|
|
10
10
|
variant: {
|
|
@@ -49,10 +49,10 @@ const i = r(
|
|
|
49
49
|
size: {
|
|
50
50
|
auto: "h-auto p-1.5",
|
|
51
51
|
xs: "px-3 py-0.5 text-xs rounded-full",
|
|
52
|
-
sm: "h-7 px-3 !text-xs !leading-[14px] rounded-[6px]",
|
|
53
|
-
md: "h-8 px-3.5 !text-sm !leading-4 rounded-[8px]",
|
|
54
|
-
default: "px-4 h-[40px] !text-[15px] !leading-[18px] rounded-[12px]",
|
|
55
|
-
lg: "px-4 h-[44px] !text-[16px] !leading-[19px] rounded-[22px]",
|
|
52
|
+
sm: "min-h-7 h-fit px-3 py-1 !text-xs !leading-[14px] rounded-[6px]",
|
|
53
|
+
md: "min-h-8 h-fit px-3.5 py-1.5 !text-sm !leading-4 rounded-[8px]",
|
|
54
|
+
default: "px-4 min-h-[40px] h-fit py-2.5 !text-[15px] !leading-[18px] rounded-[12px]",
|
|
55
|
+
lg: "px-4 min-h-[44px] h-fit py-2.5 !text-[16px] !leading-[19px] rounded-[22px]",
|
|
56
56
|
icon: "h-9 w-9 p-2"
|
|
57
57
|
},
|
|
58
58
|
width: {
|
|
@@ -1,20 +1,23 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import * as
|
|
3
|
-
import { Button as
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import * as p from "react";
|
|
3
|
+
import { Button as e } from "../button/button.js";
|
|
4
|
+
import { cn as n } from "../../../utils/cn.js";
|
|
5
|
+
import "@gearbox-protocol/sdk/onchain";
|
|
6
|
+
import "../../../utils/z-index.js";
|
|
7
|
+
const s = p.forwardRef(
|
|
8
|
+
({ className: t, children: o, size: r, ...a }, m) => /* @__PURE__ */ i(
|
|
9
|
+
e,
|
|
7
10
|
{
|
|
8
11
|
ref: m,
|
|
9
12
|
variant: "outline",
|
|
10
13
|
size: r,
|
|
11
|
-
className: t,
|
|
14
|
+
className: n("whitespace-nowrap", t),
|
|
12
15
|
...a,
|
|
13
16
|
children: o
|
|
14
17
|
}
|
|
15
18
|
)
|
|
16
19
|
);
|
|
17
|
-
|
|
20
|
+
s.displayName = "TabButton";
|
|
18
21
|
export {
|
|
19
|
-
|
|
22
|
+
s as TabButton
|
|
20
23
|
};
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { StyledDialogContainer as l } from "./styled-dialog-container/styled-dialog-container.js";
|
|
1
|
+
import { StyledDialogContainer as r } from "./styled-dialog-container/styled-dialog-container.js";
|
|
3
2
|
export {
|
|
4
|
-
|
|
5
|
-
l as StyledDialogContainer
|
|
3
|
+
r as StyledDialogContainer
|
|
6
4
|
};
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
1
|
+
const o = {
|
|
2
|
+
root: "collateral-allocation-tooltip-root",
|
|
3
|
+
row: "collateral-allocation-tooltip-row",
|
|
4
|
+
wheel: "collateral-allocation-tooltip-wheel"
|
|
5
|
+
}, l = {
|
|
6
|
+
root: "allocation-wheel-root"
|
|
7
|
+
};
|
|
9
8
|
export {
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
l as AllocationWheelTest,
|
|
10
|
+
o as CollateralAllocationTooltipTest
|
|
12
11
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
1
|
+
const e = {
|
|
2
|
+
root: "pool-assets-table-root",
|
|
3
|
+
exposureCell: "pool-assets-table-exposure-cell",
|
|
4
|
+
capCell: "pool-assets-table-cap-cell",
|
|
5
|
+
capBelowExposureTip: "pool-assets-table-cap-below-exposure-tip",
|
|
6
|
+
capUtilizationCell: "pool-assets-table-cap-utilization-cell"
|
|
7
|
+
};
|
|
8
8
|
export {
|
|
9
|
-
|
|
9
|
+
e as PoolAssetsTableTest
|
|
10
10
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
1
|
+
const o = {
|
|
2
|
+
root: "transaction-confirm-dialog-root",
|
|
3
|
+
execution: "transaction-confirm-dialog-execution",
|
|
4
|
+
progress: "transaction-confirm-dialog-progress",
|
|
5
|
+
result: "transaction-confirm-dialog-result"
|
|
6
|
+
};
|
|
7
7
|
export {
|
|
8
8
|
o as TransactionConfirmDialogTest
|
|
9
9
|
};
|
|
@@ -1,24 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
class r {
|
|
17
|
-
static root = "transaction-confirm-execute-button-root";
|
|
18
|
-
}
|
|
1
|
+
const t = {
|
|
2
|
+
root: "transaction-confirm-success-result-root",
|
|
3
|
+
headline: "transaction-confirm-success-result-headline",
|
|
4
|
+
subtitle: "transaction-confirm-success-result-subtitle",
|
|
5
|
+
footer: "transaction-confirm-success-result-footer"
|
|
6
|
+
}, o = {
|
|
7
|
+
root: "transaction-confirm-failure-result-root",
|
|
8
|
+
footer: "transaction-confirm-failure-result-footer"
|
|
9
|
+
}, r = {
|
|
10
|
+
root: "transaction-confirm-tx-hash-row-root",
|
|
11
|
+
txHashLink: "transaction-confirm-tx-hash-row-tx-hash-link",
|
|
12
|
+
addToWallet: "transaction-confirm-tx-hash-row-add-to-wallet"
|
|
13
|
+
}, n = {
|
|
14
|
+
root: "transaction-confirm-execute-button-root"
|
|
15
|
+
};
|
|
19
16
|
export {
|
|
20
|
-
|
|
17
|
+
n as TransactionConfirmExecuteButtonTest,
|
|
21
18
|
o as TransactionConfirmFailureResultTest,
|
|
22
|
-
|
|
23
|
-
|
|
19
|
+
t as TransactionConfirmSuccessResultTest,
|
|
20
|
+
r as TransactionConfirmTxHashRowTest
|
|
24
21
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { resolveCSSColor as o } from "./colors.js";
|
|
2
|
-
const
|
|
2
|
+
const e = "#02c39a", n = {
|
|
3
3
|
topColor: "rgba(76, 175, 80, 0.56)",
|
|
4
4
|
bottomColor: "rgba(76, 175, 80, 0.04)",
|
|
5
|
-
lineColor:
|
|
5
|
+
lineColor: e,
|
|
6
6
|
lineWidth: 2,
|
|
7
7
|
lastValueVisible: !1,
|
|
8
8
|
priceLineVisible: !1
|
|
9
|
-
}, a = 'Rubik, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif', l = 14, t = 5,
|
|
10
|
-
function
|
|
11
|
-
const
|
|
9
|
+
}, a = 'Rubik, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif', l = 14, t = 5, b = Math.ceil(l / 2) + 2, c = l + 6, u = 40;
|
|
10
|
+
function f() {
|
|
11
|
+
const r = o(
|
|
12
12
|
"hsl(var(--muted-foreground))",
|
|
13
13
|
"rgb(163, 163, 163)"
|
|
14
14
|
), i = o("hsl(var(--card))", "rgb(24, 24, 24)");
|
|
@@ -31,7 +31,7 @@ function u() {
|
|
|
31
31
|
borderColor: "rgba(224, 227, 235, 0.1)",
|
|
32
32
|
entireTextOnly: !1,
|
|
33
33
|
tickMarkDensity: t,
|
|
34
|
-
textColor:
|
|
34
|
+
textColor: r
|
|
35
35
|
},
|
|
36
36
|
rightPriceScale: {
|
|
37
37
|
visible: !0,
|
|
@@ -41,13 +41,13 @@ function u() {
|
|
|
41
41
|
borderColor: "rgba(224, 227, 235, 0.1)",
|
|
42
42
|
entireTextOnly: !1,
|
|
43
43
|
tickMarkDensity: t,
|
|
44
|
-
textColor:
|
|
44
|
+
textColor: r
|
|
45
45
|
},
|
|
46
46
|
layout: {
|
|
47
47
|
background: {
|
|
48
48
|
color: i
|
|
49
49
|
},
|
|
50
|
-
textColor:
|
|
50
|
+
textColor: r,
|
|
51
51
|
fontSize: l,
|
|
52
52
|
fontFamily: a
|
|
53
53
|
},
|
|
@@ -75,32 +75,32 @@ function u() {
|
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
77
|
}
|
|
78
|
-
function
|
|
78
|
+
function g() {
|
|
79
79
|
return {
|
|
80
80
|
topColor: "rgba(76, 175, 80, 0.56)",
|
|
81
81
|
bottomColor: "rgba(76, 175, 80, 0.04)",
|
|
82
|
-
lineColor:
|
|
82
|
+
lineColor: e,
|
|
83
83
|
lineWidth: 2,
|
|
84
84
|
lastValueVisible: !1,
|
|
85
85
|
priceLineVisible: !1
|
|
86
86
|
};
|
|
87
87
|
}
|
|
88
|
-
function
|
|
88
|
+
function _() {
|
|
89
89
|
return {
|
|
90
90
|
showLabel: !0,
|
|
91
|
-
color:
|
|
92
|
-
labelBackgroundColor:
|
|
91
|
+
color: e,
|
|
92
|
+
labelBackgroundColor: e,
|
|
93
93
|
width: 2
|
|
94
94
|
};
|
|
95
95
|
}
|
|
96
96
|
export {
|
|
97
|
-
|
|
97
|
+
b as AXIS_EDGE_LABEL_PADDING_PX,
|
|
98
98
|
l as AXIS_FONT_SIZE,
|
|
99
99
|
t as AXIS_TICK_MARK_DENSITY,
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
100
|
+
u as AXIS_TIME_EDGE_PADDING_PX,
|
|
101
|
+
c as AXIS_TOP_LABEL_PADDING_PX,
|
|
102
|
+
n as DEFAULT_AREA_SERIES,
|
|
103
|
+
f as getDefaultOptions,
|
|
104
|
+
g as getDefaultSeries,
|
|
105
|
+
_ as getDefaultVerticalLine
|
|
106
106
|
};
|