@gearbox-protocol/ui-kit 3.14.0-next.60 → 3.14.0-next.62
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/assets-list-cell/assets-list-cell.cjs +1 -1
- package/dist/cjs/components/block-sync/block-sync.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/complex-input/complex-input.cjs +1 -1
- package/dist/cjs/components/composites/index.cjs +1 -1
- package/dist/cjs/components/composites/pool-table/columns.cjs +1 -1
- package/dist/cjs/components/composites/tx-preview/confirm/amounts/TransactionConfirmAmountField.cjs +1 -1
- package/dist/cjs/components/composites/tx-preview/confirm/amounts/index.cjs +1 -1
- package/dist/cjs/components/composites/tx-preview/confirm/dialog/TransactionConfirmModalView.cjs +1 -0
- package/dist/cjs/components/composites/tx-preview/confirm/dialog/TransactionConfirmPageView.cjs +1 -1
- package/dist/cjs/components/composites/tx-preview/confirm/dialog/TransactionConfirmShell.cjs +1 -1
- package/dist/cjs/components/composites/tx-preview/confirm/dialog/index.cjs +1 -1
- package/dist/cjs/components/composites/tx-preview/confirm/index.cjs +1 -1
- package/dist/cjs/components/composites/tx-preview/confirm/stepper/ProgressStepper.cjs +1 -1
- package/dist/cjs/components/composites/tx-preview/confirm/stepper/constants.cjs +1 -1
- package/dist/cjs/components/composites/tx-preview/confirm/stepper/index.cjs +1 -1
- package/dist/cjs/components/composites/tx-preview/index.cjs +1 -1
- package/dist/cjs/components/compound-apy/compound-apy.cjs +1 -1
- package/dist/cjs/components/detailed-page-title/detailed-page-title.cjs +1 -1
- package/dist/cjs/components/index.cjs +1 -1
- package/dist/cjs/components/markdown-viewer/markdown-viewer.cjs +1 -1
- package/dist/cjs/components/time-to-liquidation/time-to-liquidation.cjs +1 -1
- package/dist/cjs/components/tokens-list-cell/tokens-list-cell.cjs +1 -1
- package/dist/cjs/components/with-copy/with-copy.cjs +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/esm/components/assets-list-cell/assets-list-cell.js +7 -5
- package/dist/esm/components/block-sync/block-sync.js +7 -5
- package/dist/esm/components/block-sync-pill/block-sync-pill.js +8 -6
- package/dist/esm/components/checkbox/checkbox-labeled.js +5 -3
- package/dist/esm/components/client-adapters/styled-rounded-image/styled-rounded-image.js +5 -3
- package/dist/esm/components/complex-input/complex-input.js +7 -5
- package/dist/esm/components/composites/index.js +100 -62
- package/dist/esm/components/composites/pool-table/columns.js +20 -18
- package/dist/esm/components/composites/tx-preview/confirm/amounts/TransactionConfirmAmountField.js +26 -25
- package/dist/esm/components/composites/tx-preview/confirm/amounts/index.js +0 -2
- package/dist/esm/components/composites/tx-preview/confirm/{preview/OperationPreviewContent.js → dialog/TransactionConfirmModalView.js} +51 -33
- package/dist/esm/components/composites/tx-preview/confirm/dialog/TransactionConfirmPageView.js +32 -49
- package/dist/esm/components/composites/tx-preview/confirm/dialog/TransactionConfirmShell.js +43 -39
- package/dist/esm/components/composites/tx-preview/confirm/dialog/index.js +4 -10
- package/dist/esm/components/composites/tx-preview/confirm/index.js +35 -52
- package/dist/esm/components/composites/tx-preview/confirm/stepper/ProgressStepper.js +37 -32
- package/dist/esm/components/composites/tx-preview/confirm/stepper/constants.js +2 -6
- package/dist/esm/components/composites/tx-preview/confirm/stepper/index.js +5 -8
- package/dist/esm/components/composites/tx-preview/index.js +38 -96
- package/dist/esm/components/compound-apy/compound-apy.js +7 -5
- package/dist/esm/components/detailed-page-title/detailed-page-title.js +5 -3
- package/dist/esm/components/index.js +686 -648
- package/dist/esm/components/markdown-viewer/markdown-viewer.js +7 -5
- package/dist/esm/components/time-to-liquidation/time-to-liquidation.js +5 -3
- package/dist/esm/components/tokens-list-cell/tokens-list-cell.js +7 -5
- package/dist/esm/components/with-copy/with-copy.js +7 -5
- package/dist/esm/index.js +837 -799
- package/dist/globals.css +1 -1
- package/dist/types/components/composites/index.d.ts +1 -0
- package/dist/types/components/composites/tx-preview/confirm/amounts/TransactionConfirmAmountField.d.ts +3 -3
- package/dist/types/components/composites/tx-preview/confirm/amounts/index.d.ts +0 -1
- package/dist/types/components/composites/tx-preview/confirm/dialog/TransactionConfirmModalView.d.ts +17 -0
- package/dist/types/components/composites/tx-preview/confirm/dialog/TransactionConfirmPageView.d.ts +12 -20
- package/dist/types/components/composites/tx-preview/confirm/dialog/TransactionConfirmShell.d.ts +4 -0
- package/dist/types/components/composites/tx-preview/confirm/dialog/index.d.ts +1 -4
- package/dist/types/components/composites/tx-preview/confirm/index.d.ts +0 -2
- package/dist/types/components/composites/tx-preview/confirm/stepper/ProgressStepper.d.ts +12 -5
- package/dist/types/components/composites/tx-preview/confirm/stepper/constants.d.ts +0 -3
- package/dist/types/components/composites/tx-preview/confirm/stepper/index.d.ts +0 -1
- package/dist/types/components/composites/tx-preview/index.d.ts +0 -16
- package/package.json +1 -11
- package/dist/cjs/components/composites/tx-preview/components/AddressAvatar.cjs +0 -1
- package/dist/cjs/components/composites/tx-preview/components/AddressParty.cjs +0 -1
- package/dist/cjs/components/composites/tx-preview/components/AddressRow.cjs +0 -1
- package/dist/cjs/components/composites/tx-preview/components/AmountRow.cjs +0 -1
- package/dist/cjs/components/composites/tx-preview/components/CollapsibleCard.cjs +0 -1
- package/dist/cjs/components/composites/tx-preview/components/SectionDivider.cjs +0 -1
- package/dist/cjs/components/composites/tx-preview/components/TransferList.cjs +0 -1
- package/dist/cjs/components/composites/tx-preview/components/TransferRow.cjs +0 -1
- package/dist/cjs/components/composites/tx-preview/components/addressLabel.cjs +0 -1
- package/dist/cjs/components/composites/tx-preview/components/index.cjs +0 -1
- package/dist/cjs/components/composites/tx-preview/confirm/amounts/TransactionConfirmAmountPair.cjs +0 -1
- package/dist/cjs/components/composites/tx-preview/confirm/dialog/TransactionConfirmDialogView.cjs +0 -1
- package/dist/cjs/components/composites/tx-preview/confirm/dialog/TransactionConfirmShell.constants.cjs +0 -1
- package/dist/cjs/components/composites/tx-preview/confirm/dialog/useTransactionConfirmDialog.cjs +0 -1
- package/dist/cjs/components/composites/tx-preview/confirm/preview/OperationPreviewContent.cjs +0 -1
- package/dist/cjs/components/composites/tx-preview/confirm/preview/index.cjs +0 -1
- package/dist/cjs/components/composites/tx-preview/confirm/stepper/TransactionProgressStepper.cjs +0 -1
- package/dist/cjs/components/composites/tx-preview/confirm/summary/PoolOperationConfirmDetails.cjs +0 -1
- package/dist/cjs/components/composites/tx-preview/confirm/summary/constants.cjs +0 -1
- package/dist/cjs/components/composites/tx-preview/confirm/summary/index.cjs +0 -1
- package/dist/cjs/components/composites/tx-preview/operations/OperationBody.cjs +0 -1
- package/dist/cjs/components/composites/tx-preview/operations/OperationsCard.cjs +0 -1
- package/dist/cjs/components/composites/tx-preview/operations/PoolDepositView.cjs +0 -1
- package/dist/cjs/components/composites/tx-preview/operations/PoolRow.cjs +0 -1
- package/dist/cjs/components/composites/tx-preview/operations/PoolWithdrawView.cjs +0 -1
- package/dist/cjs/components/composites/tx-preview/operations/index.cjs +0 -1
- package/dist/cjs/components/composites/tx-preview/state-change/BalanceChangeGroup.cjs +0 -1
- package/dist/cjs/components/composites/tx-preview/state-change/BalanceChangeRow.cjs +0 -1
- package/dist/cjs/components/composites/tx-preview/state-change/PoolStateChangeCard.cjs +0 -1
- package/dist/cjs/components/composites/tx-preview/state-change/StateChangeCard.cjs +0 -1
- package/dist/cjs/components/composites/tx-preview/state-change/index.cjs +0 -1
- package/dist/cjs/components/composites/tx-preview/types.cjs +0 -1
- package/dist/cjs/components/composites/tx-preview/utils/addressLabels.cjs +0 -1
- package/dist/cjs/components/composites/tx-preview/utils/index.cjs +0 -1
- package/dist/cjs/components/composites/tx-preview/utils/poolTokenInfo.cjs +0 -1
- package/dist/esm/components/composites/tx-preview/components/AddressAvatar.js +0 -47
- package/dist/esm/components/composites/tx-preview/components/AddressParty.js +0 -17
- package/dist/esm/components/composites/tx-preview/components/AddressRow.js +0 -16
- package/dist/esm/components/composites/tx-preview/components/AmountRow.js +0 -30
- package/dist/esm/components/composites/tx-preview/components/CollapsibleCard.js +0 -45
- package/dist/esm/components/composites/tx-preview/components/SectionDivider.js +0 -12
- package/dist/esm/components/composites/tx-preview/components/TransferList.js +0 -25
- package/dist/esm/components/composites/tx-preview/components/TransferRow.js +0 -52
- package/dist/esm/components/composites/tx-preview/components/addressLabel.js +0 -7
- package/dist/esm/components/composites/tx-preview/components/index.js +0 -20
- package/dist/esm/components/composites/tx-preview/confirm/amounts/TransactionConfirmAmountPair.js +0 -63
- package/dist/esm/components/composites/tx-preview/confirm/dialog/TransactionConfirmDialogView.js +0 -50
- package/dist/esm/components/composites/tx-preview/confirm/dialog/TransactionConfirmShell.constants.js +0 -6
- package/dist/esm/components/composites/tx-preview/confirm/dialog/useTransactionConfirmDialog.js +0 -20
- package/dist/esm/components/composites/tx-preview/confirm/preview/index.js +0 -4
- package/dist/esm/components/composites/tx-preview/confirm/stepper/TransactionProgressStepper.js +0 -67
- package/dist/esm/components/composites/tx-preview/confirm/summary/PoolOperationConfirmDetails.js +0 -65
- package/dist/esm/components/composites/tx-preview/confirm/summary/constants.js +0 -6
- package/dist/esm/components/composites/tx-preview/confirm/summary/index.js +0 -6
- package/dist/esm/components/composites/tx-preview/operations/OperationBody.js +0 -10
- package/dist/esm/components/composites/tx-preview/operations/OperationsCard.js +0 -195
- package/dist/esm/components/composites/tx-preview/operations/PoolDepositView.js +0 -204
- package/dist/esm/components/composites/tx-preview/operations/PoolRow.js +0 -20
- package/dist/esm/components/composites/tx-preview/operations/PoolWithdrawView.js +0 -198
- package/dist/esm/components/composites/tx-preview/operations/index.js +0 -13
- package/dist/esm/components/composites/tx-preview/state-change/BalanceChangeGroup.js +0 -185
- package/dist/esm/components/composites/tx-preview/state-change/BalanceChangeRow.js +0 -61
- package/dist/esm/components/composites/tx-preview/state-change/PoolStateChangeCard.js +0 -23
- package/dist/esm/components/composites/tx-preview/state-change/StateChangeCard.js +0 -200
- package/dist/esm/components/composites/tx-preview/state-change/index.js +0 -10
- package/dist/esm/components/composites/tx-preview/types.js +0 -1
- package/dist/esm/components/composites/tx-preview/utils/addressLabels.js +0 -41
- package/dist/esm/components/composites/tx-preview/utils/index.js +0 -6
- package/dist/esm/components/composites/tx-preview/utils/poolTokenInfo.js +0 -12
- package/dist/types/components/composites/tx-preview/components/AddressAvatar.d.ts +0 -12
- package/dist/types/components/composites/tx-preview/components/AddressParty.d.ts +0 -14
- package/dist/types/components/composites/tx-preview/components/AddressRow.d.ts +0 -7
- package/dist/types/components/composites/tx-preview/components/AmountRow.d.ts +0 -15
- package/dist/types/components/composites/tx-preview/components/CollapsibleCard.d.ts +0 -22
- package/dist/types/components/composites/tx-preview/components/SectionDivider.d.ts +0 -10
- package/dist/types/components/composites/tx-preview/components/TransferList.d.ts +0 -19
- package/dist/types/components/composites/tx-preview/components/TransferRow.d.ts +0 -30
- package/dist/types/components/composites/tx-preview/components/addressLabel.d.ts +0 -27
- package/dist/types/components/composites/tx-preview/components/index.d.ts +0 -9
- package/dist/types/components/composites/tx-preview/confirm/amounts/TransactionConfirmAmountPair.d.ts +0 -16
- package/dist/types/components/composites/tx-preview/confirm/dialog/TransactionConfirmDialogView.d.ts +0 -24
- package/dist/types/components/composites/tx-preview/confirm/dialog/TransactionConfirmShell.constants.d.ts +0 -3
- package/dist/types/components/composites/tx-preview/confirm/dialog/useTransactionConfirmDialog.d.ts +0 -8
- package/dist/types/components/composites/tx-preview/confirm/preview/OperationPreviewContent.d.ts +0 -12
- package/dist/types/components/composites/tx-preview/confirm/preview/index.d.ts +0 -1
- package/dist/types/components/composites/tx-preview/confirm/stepper/TransactionProgressStepper.d.ts +0 -7
- package/dist/types/components/composites/tx-preview/confirm/summary/PoolOperationConfirmDetails.d.ts +0 -15
- package/dist/types/components/composites/tx-preview/confirm/summary/constants.d.ts +0 -3
- package/dist/types/components/composites/tx-preview/confirm/summary/index.d.ts +0 -2
- package/dist/types/components/composites/tx-preview/operations/OperationBody.d.ts +0 -15
- package/dist/types/components/composites/tx-preview/operations/OperationsCard.d.ts +0 -21
- package/dist/types/components/composites/tx-preview/operations/PoolDepositView.d.ts +0 -11
- package/dist/types/components/composites/tx-preview/operations/PoolRow.d.ts +0 -8
- package/dist/types/components/composites/tx-preview/operations/PoolWithdrawView.d.ts +0 -11
- package/dist/types/components/composites/tx-preview/operations/index.d.ts +0 -5
- package/dist/types/components/composites/tx-preview/state-change/BalanceChangeGroup.d.ts +0 -11
- package/dist/types/components/composites/tx-preview/state-change/BalanceChangeRow.d.ts +0 -14
- package/dist/types/components/composites/tx-preview/state-change/PoolStateChangeCard.d.ts +0 -18
- package/dist/types/components/composites/tx-preview/state-change/StateChangeCard.d.ts +0 -21
- package/dist/types/components/composites/tx-preview/state-change/index.d.ts +0 -4
- package/dist/types/components/composites/tx-preview/types.d.ts +0 -19
- package/dist/types/components/composites/tx-preview/utils/addressLabels.d.ts +0 -16
- package/dist/types/components/composites/tx-preview/utils/index.d.ts +0 -2
- package/dist/types/components/composites/tx-preview/utils/poolTokenInfo.d.ts +0 -14
|
@@ -71,14 +71,17 @@ import "../icon-button/icon-button.js";
|
|
|
71
71
|
import "../separate-line/separate-line.js";
|
|
72
72
|
import "../tip-card/tip-card.js";
|
|
73
73
|
import "../composites/strategies-table/components/rewards-tooltip/rewards-tooltip-root.js";
|
|
74
|
+
import "../composites/tx-preview/confirm/amounts/TransactionConfirmAmountField.js";
|
|
75
|
+
import "../composites/tx-preview/confirm/dialog/constants.js";
|
|
76
|
+
import "../modal/modal.js";
|
|
77
|
+
import "../dialog/dialog-container.js";
|
|
78
|
+
import "../spinner-loader/spinner-loader.js";
|
|
74
79
|
import "../currency-button/currency-button.js";
|
|
75
80
|
import "../detailed-apy/detailed-apy.js";
|
|
76
81
|
import "../detailed-page-title/detailed-page-title.js";
|
|
77
82
|
import "../detailed-page-title/detailed-page-title-copy-button.js";
|
|
78
83
|
import "../detailed-page-title/detailed-page-title-explorer-dropdown.js";
|
|
79
|
-
import "../modal/modal.js";
|
|
80
84
|
import "@radix-ui/react-dialog";
|
|
81
|
-
import "../dialog/dialog-container.js";
|
|
82
85
|
import "../dialog/dialog-content.js";
|
|
83
86
|
import "../dialog/dialog-description.js";
|
|
84
87
|
import "../dialog/dialog-footer.js";
|
|
@@ -151,7 +154,6 @@ import "../slider/slider.js";
|
|
|
151
154
|
import "../slider/slider-context.js";
|
|
152
155
|
import "@radix-ui/react-slider";
|
|
153
156
|
import "../spinner/spinner.js";
|
|
154
|
-
import "../spinner-loader/spinner-loader.js";
|
|
155
157
|
import "../split-list/split-list.js";
|
|
156
158
|
import "../stat-badge/stat-badge.js";
|
|
157
159
|
import "../status-dot/status-dot.js";
|
|
@@ -71,14 +71,17 @@ import "../../icon-button/icon-button.js";
|
|
|
71
71
|
import "../../separate-line/separate-line.js";
|
|
72
72
|
import "../../tip-card/tip-card.js";
|
|
73
73
|
import "../../composites/strategies-table/components/rewards-tooltip/rewards-tooltip-root.js";
|
|
74
|
+
import "../../composites/tx-preview/confirm/amounts/TransactionConfirmAmountField.js";
|
|
75
|
+
import "../../composites/tx-preview/confirm/dialog/constants.js";
|
|
76
|
+
import "../../modal/modal.js";
|
|
77
|
+
import "../../dialog/dialog-container.js";
|
|
78
|
+
import "../../spinner-loader/spinner-loader.js";
|
|
74
79
|
import "../../currency-button/currency-button.js";
|
|
75
80
|
import "../../detailed-apy/detailed-apy.js";
|
|
76
81
|
import "../../detailed-page-title/detailed-page-title.js";
|
|
77
82
|
import "../../detailed-page-title/detailed-page-title-copy-button.js";
|
|
78
83
|
import "../../detailed-page-title/detailed-page-title-explorer-dropdown.js";
|
|
79
|
-
import "../../modal/modal.js";
|
|
80
84
|
import "@radix-ui/react-dialog";
|
|
81
|
-
import "../../dialog/dialog-container.js";
|
|
82
85
|
import "../../dialog/dialog-content.js";
|
|
83
86
|
import "../../dialog/dialog-description.js";
|
|
84
87
|
import "../../dialog/dialog-footer.js";
|
|
@@ -151,7 +154,6 @@ import "../../slider/slider.js";
|
|
|
151
154
|
import "../../slider/slider-context.js";
|
|
152
155
|
import "@radix-ui/react-slider";
|
|
153
156
|
import "../../spinner/spinner.js";
|
|
154
|
-
import "../../spinner-loader/spinner-loader.js";
|
|
155
157
|
import "../../split-list/split-list.js";
|
|
156
158
|
import "../../stat-badge/stat-badge.js";
|
|
157
159
|
import "../../status-dot/status-dot.js";
|
|
@@ -72,14 +72,17 @@ import "../icon-button/icon-button.js";
|
|
|
72
72
|
import "../separate-line/separate-line.js";
|
|
73
73
|
import "../tip-card/tip-card.js";
|
|
74
74
|
import "../composites/strategies-table/components/rewards-tooltip/rewards-tooltip-root.js";
|
|
75
|
+
import "../composites/tx-preview/confirm/amounts/TransactionConfirmAmountField.js";
|
|
76
|
+
import "../composites/tx-preview/confirm/dialog/constants.js";
|
|
77
|
+
import "../modal/modal.js";
|
|
78
|
+
import "../dialog/dialog-container.js";
|
|
79
|
+
import "../spinner-loader/spinner-loader.js";
|
|
75
80
|
import "../currency-button/currency-button.js";
|
|
76
81
|
import "../detailed-apy/detailed-apy.js";
|
|
77
82
|
import "../detailed-page-title/detailed-page-title.js";
|
|
78
83
|
import "../detailed-page-title/detailed-page-title-copy-button.js";
|
|
79
84
|
import "../detailed-page-title/detailed-page-title-explorer-dropdown.js";
|
|
80
|
-
import "../modal/modal.js";
|
|
81
85
|
import "@radix-ui/react-dialog";
|
|
82
|
-
import "../dialog/dialog-container.js";
|
|
83
86
|
import "../dialog/dialog-content.js";
|
|
84
87
|
import "../dialog/dialog-description.js";
|
|
85
88
|
import "../dialog/dialog-footer.js";
|
|
@@ -154,7 +157,6 @@ import "@radix-ui/react-slider";
|
|
|
154
157
|
import { BalanceIndicator as P } from "../smart-number-input/balance-indicator.js";
|
|
155
158
|
import "../smart-number-input/smart-number-input.js";
|
|
156
159
|
import "../spinner/spinner.js";
|
|
157
|
-
import "../spinner-loader/spinner-loader.js";
|
|
158
160
|
import "../split-list/split-list.js";
|
|
159
161
|
import "../stat-badge/stat-badge.js";
|
|
160
162
|
import "../status-dot/status-dot.js";
|
|
@@ -167,7 +169,7 @@ import "../theme-provider.js";
|
|
|
167
169
|
import "../time-to-liquidation/time-to-liquidation.js";
|
|
168
170
|
import "../toggle/toggle.js";
|
|
169
171
|
import "../with-filter-button/with-filter-button.js";
|
|
170
|
-
function
|
|
172
|
+
function Ji({
|
|
171
173
|
titleProps: s,
|
|
172
174
|
inputProps: a,
|
|
173
175
|
balanceIndicatorProps: c
|
|
@@ -230,5 +232,5 @@ function Gi({
|
|
|
230
232
|
);
|
|
231
233
|
}
|
|
232
234
|
export {
|
|
233
|
-
|
|
235
|
+
Ji as ComplexInput
|
|
234
236
|
};
|
|
@@ -1,89 +1,127 @@
|
|
|
1
|
-
import { CreditAccountHistory as
|
|
2
|
-
import { GEARBOX_PROTOCOL_INFO as a, ZERO_ADDRESS as
|
|
3
|
-
import { NotificationCenter as
|
|
4
|
-
import { OracleComponent as
|
|
1
|
+
import { CreditAccountHistory as e } from "./credit-account-history/credit-account-history.js";
|
|
2
|
+
import { GEARBOX_PROTOCOL_INFO as a, ZERO_ADDRESS as n, isMulticallOperation as i } from "./credit-account-history/types.js";
|
|
3
|
+
import { NotificationCenter as m } from "./notification-center/notification-center.js";
|
|
4
|
+
import { OracleComponent as p } from "./oracles-and-lt-table/oracle-component.js";
|
|
5
5
|
import { OraclesAndLTLineView as u } from "./oracles-and-lt-table/oracles-and-lt-line-view.js";
|
|
6
|
-
import { OraclesAndLTTableView as
|
|
7
|
-
import { OraclesAndLTTableHead as
|
|
8
|
-
import { OraclesList as
|
|
9
|
-
import { PoolAssetsTable as
|
|
6
|
+
import { OraclesAndLTTableView as T } from "./oracles-and-lt-table/oracles-and-lt-table.js";
|
|
7
|
+
import { OraclesAndLTTableHead as c } from "./oracles-and-lt-table/oracles-and-lt-table-head.js";
|
|
8
|
+
import { OraclesList as P, getPriceFeedInfo as g } from "./oracles-and-lt-table/oracles-list.js";
|
|
9
|
+
import { PoolAssetsTable as R } from "./pool-assets-table/pool-assets-table.js";
|
|
10
10
|
import { PoolAssetsTableHead as A } from "./pool-assets-table/pool-assets-table-head.js";
|
|
11
11
|
import { PoolAssetsTableRow as F } from "./pool-assets-table/pool-assets-table-row.js";
|
|
12
|
-
import { overflowContainerClassName as
|
|
12
|
+
import { overflowContainerClassName as y, overflowWrapClassName as L } from "./pool-credit-manager-info/overflow-layout.js";
|
|
13
13
|
import { PoolCreditManagerInfo as H } from "./pool-credit-manager-info/pool-credit-manager-info.js";
|
|
14
|
-
import { PoolCreditManagersTable as
|
|
15
|
-
import { PoolCreditManagersTableHead as
|
|
16
|
-
import { PoolCreditManagersTableRow as
|
|
17
|
-
import { balanceColumn as
|
|
14
|
+
import { PoolCreditManagersTable as h } from "./pool-credit-managers-table/pool-credit-managers-table.js";
|
|
15
|
+
import { PoolCreditManagersTableHead as N } from "./pool-credit-managers-table/pool-credit-managers-table-head.js";
|
|
16
|
+
import { PoolCreditManagersTableRow as E } from "./pool-credit-managers-table/pool-credit-managers-table-row.js";
|
|
17
|
+
import { balanceColumn as B, borrowApyColumn as W, borrowedColumn as _, collateralColumn as G, customColumn as Y, defaultPoolName as Z, poolColumn as z, supplyApyColumn as X, supplyColumn as j, utilizationColumn as k } from "./pool-table/columns.js";
|
|
18
18
|
import { PoolTable as J } from "./pool-table/pool-table.js";
|
|
19
19
|
import { customStrategyColumn as Q, strategyColumn as U, strategyLeverageColumn as $, strategyRewardsColumn as oo } from "./strategies-table/columns.js";
|
|
20
|
-
import { APYFeature as
|
|
21
|
-
import { RWAFeature as
|
|
22
|
-
import { DisabledWrap as
|
|
23
|
-
import { Feature as
|
|
24
|
-
import { FeatureRoot as
|
|
25
|
-
import { StrategiesTableNotFoundLine as
|
|
26
|
-
import { PointsFeature as
|
|
27
|
-
import { RewardsTooltip as Fo, RewardsTooltipHover as
|
|
28
|
-
import { RewardsTooltipRoot as
|
|
20
|
+
import { APYFeature as eo, APYFeatureTooltip as to } from "./strategies-table/components/apy-feature/apy-feature.js";
|
|
21
|
+
import { RWAFeature as no, StrategiesRewardsCell as io, StrategyPoints as so, ZeroSlippageFeature as mo } from "./strategies-table/components/cells/cells.js";
|
|
22
|
+
import { DisabledWrap as po, Plus as fo, TitleGrid as uo } from "./strategies-table/components/cells/cells.styles.js";
|
|
23
|
+
import { Feature as To } from "./strategies-table/components/feature/feature.js";
|
|
24
|
+
import { FeatureRoot as co } from "./strategies-table/components/feature/feature.styles.js";
|
|
25
|
+
import { StrategiesTableNotFoundLine as go } from "./strategies-table/components/not-found-line.js";
|
|
26
|
+
import { PointsFeature as Ro, PointsFeatureTooltip as So, PointsLabel as Ao } from "./strategies-table/components/points-feature/points-feature.js";
|
|
27
|
+
import { RewardsTooltip as Fo, RewardsTooltipHover as Oo } from "./strategies-table/components/rewards-tooltip/rewards-tooltip.js";
|
|
28
|
+
import { RewardsTooltipRoot as Lo } from "./strategies-table/components/rewards-tooltip/rewards-tooltip-root.js";
|
|
29
29
|
import { RewardsTooltipView as Ho } from "./strategies-table/components/rewards-tooltip/rewards-tooltip-view.js";
|
|
30
|
-
import { RewardsTooltipContent as
|
|
31
|
-
import { StrategiesTable as
|
|
30
|
+
import { RewardsTooltipContent as ho } from "./strategies-table/components/rewards-tooltip/tooltip-content.js";
|
|
31
|
+
import { StrategiesTable as No } from "./strategies-table/components/strategies-table.js";
|
|
32
|
+
import { TransactionConfirmAmountFieldTest as Eo, TransactionConfirmAmountPairTest as Io } from "./tx-preview/confirm/amounts/constants.js";
|
|
33
|
+
import { TransactionConfirmAmountField as Wo } from "./tx-preview/confirm/amounts/TransactionConfirmAmountField.js";
|
|
34
|
+
import { computeTransactionConfirmDialogLayout as Go } from "./tx-preview/confirm/dialog/computeTransactionConfirmDialogLayout.js";
|
|
35
|
+
import { TransactionConfirmDialogTest as Zo, transactionConfirmDialogShellVariants as zo, transactionConfirmModalContainerVariants as Xo, transactionConfirmPreviewScrollVariants as jo, transactionConfirmShellContentVariants as ko } from "./tx-preview/confirm/dialog/constants.js";
|
|
36
|
+
import { TransactionConfirmModalView as Jo } from "./tx-preview/confirm/dialog/TransactionConfirmModalView.js";
|
|
37
|
+
import { TransactionConfirmPageView as Qo } from "./tx-preview/confirm/dialog/TransactionConfirmPageView.js";
|
|
38
|
+
import { TransactionConfirmExecuteButton as $o } from "./tx-preview/confirm/execution/TransactionConfirmExecuteButton.js";
|
|
39
|
+
import { TransactionConfirmExecuteButtonTest as rr, TransactionConfirmFailureResultTest as er, TransactionConfirmSuccessResultTest as tr, TransactionConfirmTxHashRowTest as ar } from "./tx-preview/confirm/result/constants.js";
|
|
40
|
+
import { TransactionConfirmFailureResult as ir } from "./tx-preview/confirm/result/TransactionConfirmFailureResult.js";
|
|
41
|
+
import { TransactionConfirmSuccessIcon as mr } from "./tx-preview/confirm/result/TransactionConfirmSuccessIcon.js";
|
|
42
|
+
import { TransactionConfirmSuccessResult as pr } from "./tx-preview/confirm/result/TransactionConfirmSuccessResult.js";
|
|
43
|
+
import { TransactionConfirmTxHashRow as ur } from "./tx-preview/confirm/result/TransactionConfirmTxHashRow.js";
|
|
44
|
+
import { ProgressStepperTest as Tr } from "./tx-preview/confirm/stepper/constants.js";
|
|
45
|
+
import { ProgressStepper as cr } from "./tx-preview/confirm/stepper/ProgressStepper.js";
|
|
46
|
+
import { shouldShowTransactionProgressStepper as Pr } from "./tx-preview/confirm/stepper/transactionExecutionStepTypes.js";
|
|
32
47
|
export {
|
|
33
|
-
|
|
48
|
+
eo as APYFeature,
|
|
34
49
|
to as APYFeatureTooltip,
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
50
|
+
e as CreditAccountHistory,
|
|
51
|
+
po as DisabledWrap,
|
|
52
|
+
To as Feature,
|
|
53
|
+
co as FeatureRoot,
|
|
39
54
|
a as GEARBOX_PROTOCOL_INFO,
|
|
40
|
-
|
|
41
|
-
|
|
55
|
+
m as NotificationCenter,
|
|
56
|
+
p as OracleComponent,
|
|
42
57
|
u as OraclesAndLTLineView,
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
58
|
+
c as OraclesAndLTTableHead,
|
|
59
|
+
T as OraclesAndLTTableView,
|
|
60
|
+
P as OraclesList,
|
|
46
61
|
fo as Plus,
|
|
47
|
-
|
|
48
|
-
|
|
62
|
+
Ro as PointsFeature,
|
|
63
|
+
So as PointsFeatureTooltip,
|
|
49
64
|
Ao as PointsLabel,
|
|
50
|
-
|
|
65
|
+
R as PoolAssetsTable,
|
|
51
66
|
A as PoolAssetsTableHead,
|
|
52
67
|
F as PoolAssetsTableRow,
|
|
53
68
|
H as PoolCreditManagerInfo,
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
69
|
+
h as PoolCreditManagersTable,
|
|
70
|
+
N as PoolCreditManagersTableHead,
|
|
71
|
+
E as PoolCreditManagersTableRow,
|
|
57
72
|
J as PoolTable,
|
|
58
|
-
|
|
73
|
+
cr as ProgressStepper,
|
|
74
|
+
Tr as ProgressStepperTest,
|
|
75
|
+
no as RWAFeature,
|
|
59
76
|
Fo as RewardsTooltip,
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
77
|
+
ho as RewardsTooltipContent,
|
|
78
|
+
Oo as RewardsTooltipHover,
|
|
79
|
+
Lo as RewardsTooltipRoot,
|
|
63
80
|
Ho as RewardsTooltipView,
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
81
|
+
io as StrategiesRewardsCell,
|
|
82
|
+
No as StrategiesTable,
|
|
83
|
+
go as StrategiesTableNotFoundLine,
|
|
84
|
+
so as StrategyPoints,
|
|
68
85
|
uo as TitleGrid,
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
86
|
+
Wo as TransactionConfirmAmountField,
|
|
87
|
+
Eo as TransactionConfirmAmountFieldTest,
|
|
88
|
+
Io as TransactionConfirmAmountPairTest,
|
|
89
|
+
Zo as TransactionConfirmDialogTest,
|
|
90
|
+
$o as TransactionConfirmExecuteButton,
|
|
91
|
+
rr as TransactionConfirmExecuteButtonTest,
|
|
92
|
+
ir as TransactionConfirmFailureResult,
|
|
93
|
+
er as TransactionConfirmFailureResultTest,
|
|
94
|
+
Jo as TransactionConfirmModalView,
|
|
95
|
+
Qo as TransactionConfirmPageView,
|
|
96
|
+
mr as TransactionConfirmSuccessIcon,
|
|
97
|
+
pr as TransactionConfirmSuccessResult,
|
|
98
|
+
tr as TransactionConfirmSuccessResultTest,
|
|
99
|
+
ur as TransactionConfirmTxHashRow,
|
|
100
|
+
ar as TransactionConfirmTxHashRowTest,
|
|
101
|
+
n as ZERO_ADDRESS,
|
|
102
|
+
mo as ZeroSlippageFeature,
|
|
103
|
+
B as balanceColumn,
|
|
104
|
+
W as borrowApyColumn,
|
|
105
|
+
_ as borrowedColumn,
|
|
106
|
+
G as collateralColumn,
|
|
107
|
+
Go as computeTransactionConfirmDialogLayout,
|
|
108
|
+
Y as customColumn,
|
|
76
109
|
Q as customStrategyColumn,
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
110
|
+
Z as defaultPoolName,
|
|
111
|
+
g as getPriceFeedInfo,
|
|
112
|
+
i as isMulticallOperation,
|
|
113
|
+
y as overflowContainerClassName,
|
|
114
|
+
L as overflowWrapClassName,
|
|
115
|
+
z as poolColumn,
|
|
116
|
+
Pr as shouldShowTransactionProgressStepper,
|
|
83
117
|
U as strategyColumn,
|
|
84
118
|
$ as strategyLeverageColumn,
|
|
85
119
|
oo as strategyRewardsColumn,
|
|
86
|
-
|
|
120
|
+
X as supplyApyColumn,
|
|
87
121
|
j as supplyColumn,
|
|
122
|
+
zo as transactionConfirmDialogShellVariants,
|
|
123
|
+
Xo as transactionConfirmModalContainerVariants,
|
|
124
|
+
jo as transactionConfirmPreviewScrollVariants,
|
|
125
|
+
ko as transactionConfirmShellContentVariants,
|
|
88
126
|
k as utilizationColumn
|
|
89
127
|
};
|
|
@@ -176,6 +176,8 @@ import "../../with-filter-button/with-filter-button.js";
|
|
|
176
176
|
import { RWAFeature as B } from "../strategies-table/components/cells/cells.js";
|
|
177
177
|
import "../strategies-table/components/feature/feature.styles.js";
|
|
178
178
|
import "../strategies-table/components/rewards-tooltip/rewards-tooltip-root.js";
|
|
179
|
+
import "../tx-preview/confirm/amounts/TransactionConfirmAmountField.js";
|
|
180
|
+
import "../tx-preview/confirm/dialog/constants.js";
|
|
179
181
|
function p(o, t, i) {
|
|
180
182
|
const e = o?.header ?? /* @__PURE__ */ r(
|
|
181
183
|
f,
|
|
@@ -293,7 +295,7 @@ function R(o, t, i) {
|
|
|
293
295
|
}
|
|
294
296
|
);
|
|
295
297
|
}
|
|
296
|
-
function
|
|
298
|
+
function le(o) {
|
|
297
299
|
const { header: t, mobileTitle: i } = p(
|
|
298
300
|
o,
|
|
299
301
|
"components.poolTable.pool"
|
|
@@ -315,7 +317,7 @@ function ee(o) {
|
|
|
315
317
|
mobileTitle: i
|
|
316
318
|
};
|
|
317
319
|
}
|
|
318
|
-
function
|
|
320
|
+
function me(o) {
|
|
319
321
|
const { header: t, mobileTitle: i } = p(
|
|
320
322
|
o,
|
|
321
323
|
"components.poolTable.supply"
|
|
@@ -331,7 +333,7 @@ function re(o) {
|
|
|
331
333
|
mobileTitle: i
|
|
332
334
|
};
|
|
333
335
|
}
|
|
334
|
-
function
|
|
336
|
+
function ne(o) {
|
|
335
337
|
const { header: t, headerTip: i, mobileTitle: e } = p(
|
|
336
338
|
o,
|
|
337
339
|
"components.poolTable.supplyApy",
|
|
@@ -369,7 +371,7 @@ function le(o) {
|
|
|
369
371
|
mobileTitle: e
|
|
370
372
|
};
|
|
371
373
|
}
|
|
372
|
-
function
|
|
374
|
+
function pe(o) {
|
|
373
375
|
const { header: t, mobileTitle: i } = p(
|
|
374
376
|
o,
|
|
375
377
|
"components.poolTable.borrowed"
|
|
@@ -383,7 +385,7 @@ function me(o) {
|
|
|
383
385
|
mobileTitle: i
|
|
384
386
|
};
|
|
385
387
|
}
|
|
386
|
-
function
|
|
388
|
+
function ae(o) {
|
|
387
389
|
const { header: t, headerTip: i, mobileTitle: e } = p(
|
|
388
390
|
o,
|
|
389
391
|
"components.poolTable.borrowApy"
|
|
@@ -401,7 +403,7 @@ function ne(o) {
|
|
|
401
403
|
mobileTitle: e
|
|
402
404
|
};
|
|
403
405
|
}
|
|
404
|
-
function
|
|
406
|
+
function de(o) {
|
|
405
407
|
const { header: t, mobileTitle: i } = p(
|
|
406
408
|
o,
|
|
407
409
|
"components.poolTable.utilization"
|
|
@@ -420,7 +422,7 @@ function pe(o) {
|
|
|
420
422
|
mobileTitle: i
|
|
421
423
|
};
|
|
422
424
|
}
|
|
423
|
-
function
|
|
425
|
+
function se(o) {
|
|
424
426
|
const t = o?.maxAssets ?? 5, i = (m) => R(m, t, o?.options), { header: e, mobileTitle: l } = p(
|
|
425
427
|
o,
|
|
426
428
|
"components.poolTable.collateral"
|
|
@@ -436,7 +438,7 @@ function ae(o) {
|
|
|
436
438
|
mobileTitle: l
|
|
437
439
|
};
|
|
438
440
|
}
|
|
439
|
-
function
|
|
441
|
+
function ce(o) {
|
|
440
442
|
const { header: t, mobileTitle: i } = p(
|
|
441
443
|
o,
|
|
442
444
|
"components.poolTable.balance"
|
|
@@ -453,18 +455,18 @@ function de(o) {
|
|
|
453
455
|
mobileTitle: i
|
|
454
456
|
};
|
|
455
457
|
}
|
|
456
|
-
function
|
|
458
|
+
function ue(o) {
|
|
457
459
|
return o;
|
|
458
460
|
}
|
|
459
461
|
export {
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
462
|
+
ce as balanceColumn,
|
|
463
|
+
ae as borrowApyColumn,
|
|
464
|
+
pe as borrowedColumn,
|
|
465
|
+
se as collateralColumn,
|
|
466
|
+
ue as customColumn,
|
|
465
467
|
F as defaultPoolName,
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
468
|
+
le as poolColumn,
|
|
469
|
+
ne as supplyApyColumn,
|
|
470
|
+
me as supplyColumn,
|
|
471
|
+
de as utilizationColumn
|
|
470
472
|
};
|
package/dist/esm/components/composites/tx-preview/confirm/amounts/TransactionConfirmAmountField.js
CHANGED
|
@@ -27,7 +27,7 @@ import "../../../../buttons/external-button/external-button.js";
|
|
|
27
27
|
import "../../../../buttons/filter-button/filter-button.js";
|
|
28
28
|
import "../../../../buttons/navigation-button/navigation-button.js";
|
|
29
29
|
import "../../../../buttons/tab-button/tab-button.js";
|
|
30
|
-
import { TokenIcon as
|
|
30
|
+
import { TokenIcon as v } from "../../../../token-icon/token-icon.js";
|
|
31
31
|
import "wagmi";
|
|
32
32
|
import "../../../../auth/wallet-ui-context.js";
|
|
33
33
|
import "../../../../avatar/avatar.js";
|
|
@@ -54,10 +54,10 @@ import "../../../../simple-dropdown/simple-dropdown.js";
|
|
|
54
54
|
import "../../../../simple-dropdown/simple-dropdown-menu-item.js";
|
|
55
55
|
import "../../../../typography/typography.js";
|
|
56
56
|
import "../../../../table/grid-table.js";
|
|
57
|
-
import { getSymbolOrIcon as
|
|
57
|
+
import { getSymbolOrIcon as b } from "../../../../token-symbol/token-symbol.js";
|
|
58
58
|
import "../../../../help-tip/help-tip.js";
|
|
59
59
|
import "../../../../description/description.js";
|
|
60
|
-
import { TokenTemplate as
|
|
60
|
+
import { TokenTemplate as N } from "../../../../token-template/token-template.js";
|
|
61
61
|
import "../../../../confirm-menu/confirm-menu.js";
|
|
62
62
|
import "../../../../dialog/dialog-modal-container.js";
|
|
63
63
|
import "../../../../text-button/text-button.js";
|
|
@@ -74,14 +74,17 @@ import "../../../../icon-button/icon-button.js";
|
|
|
74
74
|
import "../../../../separate-line/separate-line.js";
|
|
75
75
|
import "../../../../tip-card/tip-card.js";
|
|
76
76
|
import "../../../strategies-table/components/rewards-tooltip/rewards-tooltip-root.js";
|
|
77
|
+
import { TransactionConfirmAmountFieldTest as T } from "./constants.js";
|
|
78
|
+
import "../dialog/constants.js";
|
|
79
|
+
import "../../../../modal/modal.js";
|
|
80
|
+
import "../../../../dialog/dialog-container.js";
|
|
81
|
+
import "../../../../spinner-loader/spinner-loader.js";
|
|
77
82
|
import "../../../../currency-button/currency-button.js";
|
|
78
83
|
import "../../../../detailed-apy/detailed-apy.js";
|
|
79
84
|
import "../../../../detailed-page-title/detailed-page-title.js";
|
|
80
85
|
import "../../../../detailed-page-title/detailed-page-title-copy-button.js";
|
|
81
86
|
import "../../../../detailed-page-title/detailed-page-title-explorer-dropdown.js";
|
|
82
|
-
import "../../../../modal/modal.js";
|
|
83
87
|
import "@radix-ui/react-dialog";
|
|
84
|
-
import "../../../../dialog/dialog-container.js";
|
|
85
88
|
import "../../../../dialog/dialog-content.js";
|
|
86
89
|
import "../../../../dialog/dialog-description.js";
|
|
87
90
|
import "../../../../dialog/dialog-footer.js";
|
|
@@ -154,7 +157,6 @@ import "../../../../slider/slider.js";
|
|
|
154
157
|
import "../../../../slider/slider-context.js";
|
|
155
158
|
import "@radix-ui/react-slider";
|
|
156
159
|
import "../../../../spinner/spinner.js";
|
|
157
|
-
import "../../../../spinner-loader/spinner-loader.js";
|
|
158
160
|
import "../../../../split-list/split-list.js";
|
|
159
161
|
import "../../../../stat-badge/stat-badge.js";
|
|
160
162
|
import "../../../../status-dot/status-dot.js";
|
|
@@ -167,61 +169,60 @@ import "../../../../theme-provider.js";
|
|
|
167
169
|
import "../../../../time-to-liquidation/time-to-liquidation.js";
|
|
168
170
|
import "../../../../toggle/toggle.js";
|
|
169
171
|
import "../../../../with-filter-button/with-filter-button.js";
|
|
170
|
-
|
|
171
|
-
const F = "≈", j = g(
|
|
172
|
+
const S = "≈", F = g(
|
|
172
173
|
"flex w-full items-center justify-between bg-gray-20 px-4 py-3",
|
|
173
174
|
{
|
|
174
175
|
variants: {
|
|
175
176
|
position: {
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
177
|
+
first: "rounded-t-lg",
|
|
178
|
+
inBetween: "",
|
|
179
|
+
last: "rounded-b-lg",
|
|
180
|
+
solo: "rounded-b-lg rounded-t-lg"
|
|
180
181
|
},
|
|
181
182
|
size: {
|
|
182
183
|
sm: "min-h-[52px]",
|
|
183
184
|
md: "min-h-[56px]"
|
|
184
185
|
}
|
|
185
186
|
},
|
|
186
|
-
defaultVariants: { position: "
|
|
187
|
+
defaultVariants: { position: "first", size: "md" }
|
|
187
188
|
}
|
|
188
189
|
);
|
|
189
190
|
function Pi({
|
|
190
191
|
label: s,
|
|
191
192
|
primaryAmount: t,
|
|
192
193
|
secondaryAmount: i,
|
|
193
|
-
loading:
|
|
194
|
-
position:
|
|
195
|
-
size:
|
|
194
|
+
loading: l = !1,
|
|
195
|
+
position: a,
|
|
196
|
+
size: d = "md",
|
|
196
197
|
maxLength: c,
|
|
197
198
|
approximate: f
|
|
198
199
|
}) {
|
|
199
|
-
const { isApproximate: m = !1, approximateSymbol: p =
|
|
200
|
-
t.token && /* @__PURE__ */ o(
|
|
200
|
+
const { isApproximate: m = !1, approximateSymbol: p = S } = f || {}, x = t && "node" in t ? t.node : /* @__PURE__ */ r(n, { children: [
|
|
201
|
+
t.token && /* @__PURE__ */ o(v, { symbol: b(t.token), size: 16 }),
|
|
201
202
|
/* @__PURE__ */ r("span", { children: [
|
|
202
203
|
m && /* @__PURE__ */ o("span", { children: p }),
|
|
203
204
|
/* @__PURE__ */ o(
|
|
204
|
-
|
|
205
|
+
N,
|
|
205
206
|
{
|
|
206
|
-
value: t?.
|
|
207
|
+
value: t?.value,
|
|
207
208
|
token: t.token,
|
|
208
209
|
maxLength: c
|
|
209
210
|
}
|
|
210
211
|
)
|
|
211
212
|
] })
|
|
212
|
-
] }), e = i && "node" in i ? i.node : i?.
|
|
213
|
+
] }), e = i && "node" in i ? i.node : i?.valueUSD ? /* @__PURE__ */ r(n, { children: [
|
|
213
214
|
m && /* @__PURE__ */ o("span", { children: p }),
|
|
214
|
-
u(i.
|
|
215
|
+
u(i.valueUSD)
|
|
215
216
|
] }) : null;
|
|
216
217
|
return /* @__PURE__ */ r(
|
|
217
218
|
"div",
|
|
218
219
|
{
|
|
219
|
-
className: h(
|
|
220
|
-
"data-testid":
|
|
220
|
+
className: h(F({ position: a, size: d })),
|
|
221
|
+
"data-testid": T.root,
|
|
221
222
|
children: [
|
|
222
223
|
/* @__PURE__ */ o("span", { className: "text-sm font-medium text-foreground", children: s }),
|
|
223
224
|
/* @__PURE__ */ r("div", { className: "flex flex-col items-end gap-0.5", children: [
|
|
224
|
-
/* @__PURE__ */ o(k, { loading:
|
|
225
|
+
/* @__PURE__ */ o(k, { loading: l, children: /* @__PURE__ */ o("span", { className: "inline-flex items-center gap-1.5 text-sm font-medium text-foreground", children: x }) }),
|
|
225
226
|
e && /* @__PURE__ */ o("span", { className: "text-xs leading-[130%] text-secondary-foreground", children: e })
|
|
226
227
|
] })
|
|
227
228
|
]
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { TransactionConfirmAmountFieldTest as r, TransactionConfirmAmountPairTest as t } from "./constants.js";
|
|
2
2
|
import { TransactionConfirmAmountField as m } from "./TransactionConfirmAmountField.js";
|
|
3
|
-
import { TransactionConfirmAmountPair as e } from "./TransactionConfirmAmountPair.js";
|
|
4
3
|
export {
|
|
5
4
|
m as TransactionConfirmAmountField,
|
|
6
5
|
r as TransactionConfirmAmountFieldTest,
|
|
7
|
-
e as TransactionConfirmAmountPair,
|
|
8
6
|
t as TransactionConfirmAmountPairTest
|
|
9
7
|
};
|