@gearbox-protocol/ui-kit 4.0.0 → 4.0.1
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/section-heading/constants.cjs +1 -1
- package/dist/cjs/components/base/segmented-tabs/constants.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/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/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/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/section-heading/constants.js +3 -3
- package/dist/esm/components/base/segmented-tabs/constants.js +3 -3
- 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/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/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/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/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/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
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
1
|
+
const s = {
|
|
2
|
+
root: "position-assets-root",
|
|
3
|
+
row: "position-assets-row",
|
|
4
|
+
worth: "position-assets-worth",
|
|
5
|
+
empty: "position-assets-empty"
|
|
6
|
+
};
|
|
7
7
|
export {
|
|
8
|
-
|
|
8
|
+
s as PositionAssetsTest
|
|
9
9
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
1
|
+
const t = {
|
|
2
|
+
root: "review-button-root",
|
|
3
|
+
error: "review-button-error",
|
|
4
|
+
tip: "review-button-tip"
|
|
5
|
+
};
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
t as ReviewButtonTest
|
|
8
8
|
};
|
|
@@ -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
|
};
|
|
@@ -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,24 +1,24 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as a, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { IconPending as n } from "@gearbox-protocol/static";
|
|
3
|
-
import { legalAgreementAwaitingRootVariants as r, legalAgreementAwaitingTitleVariants as
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
3
|
+
import { legalAgreementAwaitingRootVariants as r, legalAgreementAwaitingTitleVariants as l, legalAgreementAwaitingDescriptionVariants as s } from "./legal-agreement.variants.js";
|
|
4
|
+
const g = {
|
|
5
|
+
root: "legal-agreement-awaiting-panel-root"
|
|
6
|
+
};
|
|
7
7
|
function A({
|
|
8
|
-
waitingForSignatureText:
|
|
8
|
+
waitingForSignatureText: i = "Please sign the message in your wallet to agree to the Terms of Service.",
|
|
9
9
|
theme: e = "default"
|
|
10
10
|
}) {
|
|
11
|
-
return /* @__PURE__ */
|
|
11
|
+
return /* @__PURE__ */ a(
|
|
12
12
|
"div",
|
|
13
13
|
{
|
|
14
14
|
className: r({ theme: e }),
|
|
15
15
|
"data-testid": g.root,
|
|
16
16
|
children: [
|
|
17
|
-
/* @__PURE__ */
|
|
18
|
-
/* @__PURE__ */
|
|
17
|
+
/* @__PURE__ */ a("div", { className: l({ theme: e }), children: [
|
|
18
|
+
/* @__PURE__ */ t(n, { size: 20, className: "animate-spin" }),
|
|
19
19
|
"Waiting for Signature"
|
|
20
20
|
] }),
|
|
21
|
-
/* @__PURE__ */
|
|
21
|
+
/* @__PURE__ */ t("p", { className: s({ theme: e }), children: i })
|
|
22
22
|
]
|
|
23
23
|
}
|
|
24
24
|
);
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as a, jsxs as s } from "react/jsx-runtime";
|
|
2
2
|
import { faTriangleExclamation as h } from "@fortawesome/free-solid-svg-icons";
|
|
3
3
|
import { Checkbox as b } from "../checkbox/checkbox.js";
|
|
4
4
|
import { CheckboxLabeled as u } from "../checkbox/checkbox-labeled.js";
|
|
5
5
|
import { FaIcon as N } from "../icons/fa-icon.js";
|
|
6
6
|
import { legalAgreementPanelRootVariants as k, legalAgreementPanelNotificationVariants as p, legalAgreementPanelV2BannerVariants as f, legalAgreementPanelCheckboxListVariants as v, legalAgreementPanelCheckboxListTitleVariants as A, legalAgreementPanelCheckboxRowVariants as x, legalAgreementPanelCheckboxLabelVariants as g } from "./legal-agreement.variants.js";
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
7
|
+
const P = {
|
|
8
|
+
root: "legal-agreement-panel-root"
|
|
9
|
+
};
|
|
10
10
|
function T({
|
|
11
|
-
config:
|
|
11
|
+
config: l,
|
|
12
12
|
checkedItems: i,
|
|
13
|
-
onCheckedChange:
|
|
13
|
+
onCheckedChange: t,
|
|
14
14
|
hasV2Signature: r,
|
|
15
|
-
showTitle:
|
|
16
|
-
checkboxIdPrefix:
|
|
15
|
+
showTitle: o,
|
|
16
|
+
checkboxIdPrefix: c,
|
|
17
17
|
theme: e
|
|
18
18
|
}) {
|
|
19
19
|
return /* @__PURE__ */ s(
|
|
@@ -22,79 +22,79 @@ function T({
|
|
|
22
22
|
className: k({ theme: e }),
|
|
23
23
|
"data-testid": P.root,
|
|
24
24
|
children: [
|
|
25
|
-
|
|
26
|
-
/* @__PURE__ */
|
|
25
|
+
o ? /* @__PURE__ */ a("h2", { className: "text-center text-xl font-semibold text-foreground", children: r ? l.updatedTitle || "Terms of Service Updated" : l.title || "Legal Agreement" }) : null,
|
|
26
|
+
/* @__PURE__ */ a("div", { className: p({ theme: e }), children: l.notificationText }),
|
|
27
27
|
r ? /* @__PURE__ */ s("div", { className: f({ theme: e }), children: [
|
|
28
|
-
/* @__PURE__ */
|
|
28
|
+
/* @__PURE__ */ a(
|
|
29
29
|
N,
|
|
30
30
|
{
|
|
31
31
|
icon: h,
|
|
32
32
|
className: "size-5 shrink-0 text-yellow-500 mt-0.5"
|
|
33
33
|
}
|
|
34
34
|
),
|
|
35
|
-
/* @__PURE__ */
|
|
35
|
+
/* @__PURE__ */ a("div", { className: "text-sm text-yellow-500", children: l.updatedTermsNoticeText ?? `Our Terms of Service have been updated. Please review and sign the new agreement to continue using ${l.productName}.` })
|
|
36
36
|
] }) : null,
|
|
37
37
|
/* @__PURE__ */ s("div", { className: v({ theme: e }), children: [
|
|
38
|
-
|
|
38
|
+
l.checkboxListTitle ? /* @__PURE__ */ a(
|
|
39
39
|
"div",
|
|
40
40
|
{
|
|
41
41
|
className: A({ theme: e }),
|
|
42
|
-
children:
|
|
42
|
+
children: l.checkboxListTitle
|
|
43
43
|
}
|
|
44
44
|
) : null,
|
|
45
|
-
|
|
46
|
-
const d = `${
|
|
47
|
-
return e === "gearboxV3" ? /* @__PURE__ */
|
|
45
|
+
l.checkboxItems.map((n) => {
|
|
46
|
+
const d = `${c}-${n.id}`, m = i[n.id] || !1;
|
|
47
|
+
return e === "gearboxV3" ? /* @__PURE__ */ a(
|
|
48
48
|
"div",
|
|
49
49
|
{
|
|
50
50
|
className: x({ theme: e }),
|
|
51
|
-
children: /* @__PURE__ */
|
|
51
|
+
children: /* @__PURE__ */ a(
|
|
52
52
|
u,
|
|
53
53
|
{
|
|
54
54
|
id: d,
|
|
55
55
|
checked: m,
|
|
56
|
-
onChange: () => n
|
|
56
|
+
onChange: () => t(n.id),
|
|
57
57
|
boxAlign: "flex-start",
|
|
58
58
|
size: "lg",
|
|
59
59
|
color: "secondary",
|
|
60
|
-
children: /* @__PURE__ */
|
|
60
|
+
children: /* @__PURE__ */ a(
|
|
61
61
|
"div",
|
|
62
62
|
{
|
|
63
63
|
className: g({
|
|
64
64
|
theme: e
|
|
65
65
|
}),
|
|
66
|
-
children:
|
|
66
|
+
children: n.content
|
|
67
67
|
}
|
|
68
68
|
)
|
|
69
69
|
}
|
|
70
70
|
)
|
|
71
71
|
},
|
|
72
|
-
|
|
72
|
+
n.id
|
|
73
73
|
) : /* @__PURE__ */ s(
|
|
74
74
|
"label",
|
|
75
75
|
{
|
|
76
76
|
htmlFor: d,
|
|
77
77
|
className: x({ theme: e }),
|
|
78
78
|
children: [
|
|
79
|
-
/* @__PURE__ */
|
|
79
|
+
/* @__PURE__ */ a(
|
|
80
80
|
b,
|
|
81
81
|
{
|
|
82
82
|
id: d,
|
|
83
83
|
checked: m,
|
|
84
|
-
onCheckedChange: () => n
|
|
84
|
+
onCheckedChange: () => t(n.id),
|
|
85
85
|
className: "mt-1"
|
|
86
86
|
}
|
|
87
87
|
),
|
|
88
|
-
/* @__PURE__ */
|
|
88
|
+
/* @__PURE__ */ a(
|
|
89
89
|
"span",
|
|
90
90
|
{
|
|
91
91
|
className: g({ theme: e }),
|
|
92
|
-
children:
|
|
92
|
+
children: n.content
|
|
93
93
|
}
|
|
94
94
|
)
|
|
95
95
|
]
|
|
96
96
|
},
|
|
97
|
-
|
|
97
|
+
n.id
|
|
98
98
|
);
|
|
99
99
|
})
|
|
100
100
|
] })
|
|
@@ -103,23 +103,23 @@ function T({
|
|
|
103
103
|
);
|
|
104
104
|
}
|
|
105
105
|
function $({
|
|
106
|
-
config:
|
|
106
|
+
config: l,
|
|
107
107
|
checkedItems: i,
|
|
108
|
-
onCheckedChange:
|
|
108
|
+
onCheckedChange: t,
|
|
109
109
|
hasV2Signature: r = !1,
|
|
110
|
-
showTitle:
|
|
111
|
-
checkboxIdPrefix:
|
|
110
|
+
showTitle: o = !1,
|
|
111
|
+
checkboxIdPrefix: c = "legal-checkbox",
|
|
112
112
|
theme: e = "default"
|
|
113
113
|
}) {
|
|
114
|
-
return /* @__PURE__ */
|
|
114
|
+
return /* @__PURE__ */ a(
|
|
115
115
|
T,
|
|
116
116
|
{
|
|
117
|
-
config:
|
|
117
|
+
config: l,
|
|
118
118
|
checkedItems: i,
|
|
119
|
-
onCheckedChange:
|
|
119
|
+
onCheckedChange: t,
|
|
120
120
|
hasV2Signature: r,
|
|
121
|
-
showTitle:
|
|
122
|
-
checkboxIdPrefix:
|
|
121
|
+
showTitle: o,
|
|
122
|
+
checkboxIdPrefix: c,
|
|
123
123
|
theme: e
|
|
124
124
|
}
|
|
125
125
|
);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
1
|
+
const t = {
|
|
2
|
+
root: "sdk-status-pill-root",
|
|
3
|
+
dot: "sdk-status-pill-dot",
|
|
4
|
+
tooltip: "sdk-status-pill-tooltip"
|
|
5
|
+
};
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
t as SdkStatusPillTest
|
|
8
8
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
1
|
+
const i = {
|
|
2
|
+
priceScaleTitles: "trading-view-price-scale-titles",
|
|
3
|
+
priceScaleTitle: (e) => `trading-view-price-scale-title-${e}`
|
|
4
|
+
};
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
i as TradingViewTest
|
|
7
7
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { default as React, ReactNode } from 'react';
|
|
2
|
-
export declare
|
|
3
|
-
|
|
4
|
-
}
|
|
5
|
-
export declare
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
2
|
+
export declare const ChipTest: {
|
|
3
|
+
readonly root: "chip-root";
|
|
4
|
+
};
|
|
5
|
+
export declare const ChipsTest: {
|
|
6
|
+
readonly root: "chips-root";
|
|
7
|
+
readonly chip: "chip-root";
|
|
8
|
+
};
|
|
9
9
|
export type ChipTone = "success" | "info" | "neutral" | "warning" | "danger" | "accent";
|
|
10
10
|
export interface ChipProps {
|
|
11
11
|
readonly children?: ReactNode;
|