@gearbox-protocol/ui-kit 4.0.0-next.5 → 4.0.0-next.7
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/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/index.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/constants.cjs +1 -1
- package/dist/cjs/components/composites/tx-preview/confirm/dialog/index.cjs +1 -1
- package/dist/cjs/components/composites/tx-preview/confirm/dialog/transactionConfirmShellTypes.cjs +1 -0
- package/dist/cjs/components/composites/tx-preview/confirm/index.cjs +1 -1
- package/dist/cjs/components/composites/tx-preview/index.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/locale/en.json.cjs +1 -1
- package/dist/esm/components/block-sync-pill/block-sync-pill.js +1 -1
- package/dist/esm/components/checkbox/checkbox-labeled.js +1 -1
- package/dist/esm/components/client-adapters/styled-rounded-image/styled-rounded-image.js +1 -1
- package/dist/esm/components/composites/index.js +30 -32
- package/dist/esm/components/composites/tx-preview/confirm/dialog/TransactionConfirmShell.js +120 -54
- package/dist/esm/components/composites/tx-preview/confirm/dialog/constants.js +10 -7
- package/dist/esm/components/composites/tx-preview/confirm/dialog/index.js +8 -10
- package/dist/esm/components/composites/tx-preview/confirm/dialog/transactionConfirmShellTypes.js +1 -0
- package/dist/esm/components/composites/tx-preview/confirm/index.js +24 -26
- package/dist/esm/components/composites/tx-preview/index.js +24 -26
- package/dist/esm/components/index.js +487 -489
- package/dist/esm/components/with-copy/with-copy.js +1 -1
- package/dist/esm/index.js +660 -662
- package/dist/esm/locale/en.json.js +3 -1
- package/dist/globals.css +1 -1
- package/dist/types/components/composites/tx-preview/confirm/dialog/TransactionConfirmShell.d.ts +23 -19
- package/dist/types/components/composites/tx-preview/confirm/dialog/index.d.ts +2 -2
- package/dist/types/components/composites/tx-preview/confirm/dialog/transactionConfirmPhase.d.ts +0 -3
- package/dist/types/components/composites/tx-preview/confirm/dialog/transactionConfirmShellTypes.d.ts +95 -0
- package/dist/types/locale/en.json.d.ts +4 -1
- package/package.json +1 -1
- package/dist/cjs/components/composites/tx-preview/confirm/dialog/TransactionConfirmModalView.cjs +0 -1
- package/dist/cjs/components/composites/tx-preview/confirm/dialog/TransactionConfirmPageView.cjs +0 -1
- package/dist/esm/components/composites/tx-preview/confirm/dialog/TransactionConfirmModalView.js +0 -180
- package/dist/esm/components/composites/tx-preview/confirm/dialog/TransactionConfirmPageView.js +0 -54
- package/dist/types/components/composites/tx-preview/confirm/dialog/TransactionConfirmModalView.d.ts +0 -17
- package/dist/types/components/composites/tx-preview/confirm/dialog/TransactionConfirmPageView.d.ts +0 -16
|
@@ -1,87 +1,130 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { jsx as r, jsxs as m, Fragment as g } from "react/jsx-runtime";
|
|
2
|
+
import { StyledDialogContainer as S } from "../../../../client-adapters/styled-dialog-container/styled-dialog-container.js";
|
|
3
|
+
import { ConfirmMenu as k } from "../../../../confirm-menu/confirm-menu.js";
|
|
4
|
+
import { ErrorLineMessage as T } from "../../../../error-message/error-line-message.js";
|
|
3
5
|
import "react-intl";
|
|
4
6
|
import "../../../../buttons/button/button.js";
|
|
5
7
|
import "../../../../dialog/dialog-container.js";
|
|
8
|
+
import { useIntlTyped as N, FormattedMessageTyped as P } from "../../../../typed-intl/index.js";
|
|
6
9
|
import "react";
|
|
7
10
|
import "@gearbox-protocol/sdk";
|
|
8
|
-
import "
|
|
9
|
-
import "tailwind-merge";
|
|
11
|
+
import { cn as I } from "../../../../../utils/cn.js";
|
|
10
12
|
import "sonner";
|
|
11
13
|
import "@gearbox-protocol/sdk/common-utils";
|
|
12
14
|
import "luxon";
|
|
13
15
|
import "../../../../../utils/z-index.js";
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
16
|
+
import { Modal as L } from "../../../../modal/modal.js";
|
|
17
|
+
import { SkeletonStack as M } from "../../../../skeleton/skeleton-stack.js";
|
|
18
|
+
import { Spinner as A } from "../../../../spinner/spinner.js";
|
|
19
|
+
import { Typography as D } from "../../../../typography/typography.js";
|
|
20
|
+
import { VSpace as h } from "../../../../vspace/vspace.js";
|
|
21
|
+
import { ProgressStepper as V } from "../stepper/ProgressStepper.js";
|
|
22
|
+
import { shouldShowTransactionProgressStepper as z } from "../stepper/transactionExecutionStepTypes.js";
|
|
23
|
+
import { computeTransactionConfirmDialogLayout as E } from "./computeTransactionConfirmDialogLayout.js";
|
|
24
|
+
import { TransactionConfirmDialogTest as d, transactionConfirmModalContainerVariants as R, transactionConfirmDialogShellVariants as j, transactionConfirmShellContentVariants as y, transactionConfirmPreviewScrollVariants as O } from "./constants.js";
|
|
25
|
+
function ce(e) {
|
|
26
|
+
const {
|
|
27
|
+
mode: t,
|
|
28
|
+
open: c = !0,
|
|
29
|
+
phase: p = "confirm",
|
|
30
|
+
onClose: l,
|
|
31
|
+
title: n,
|
|
32
|
+
titleAddon: u,
|
|
33
|
+
hideTitleAddonOnResult: i = !0,
|
|
34
|
+
body: o,
|
|
35
|
+
className: s,
|
|
36
|
+
previewClassName: a,
|
|
37
|
+
"data-testid": w,
|
|
38
|
+
shellTestId: x
|
|
39
|
+
} = e;
|
|
40
|
+
if (t === "dialog" && !c) return null;
|
|
41
|
+
const f = o.kind === "ready" ? p : "confirm", C = f !== "confirm" && f !== "awaiting_receipt" && i ? void 0 : u, v = /* @__PURE__ */ r(
|
|
42
|
+
S,
|
|
43
|
+
{
|
|
44
|
+
className: I(
|
|
45
|
+
j(),
|
|
46
|
+
t === "dialog" ? R() : null,
|
|
47
|
+
s
|
|
48
|
+
),
|
|
49
|
+
"data-testid": w,
|
|
50
|
+
children: /* @__PURE__ */ r(
|
|
51
|
+
F,
|
|
52
|
+
{
|
|
53
|
+
body: o,
|
|
54
|
+
phase: f,
|
|
55
|
+
previewClassName: a,
|
|
56
|
+
testId: x ?? d.root,
|
|
57
|
+
header: /* @__PURE__ */ r(
|
|
58
|
+
k,
|
|
59
|
+
{
|
|
60
|
+
title: n,
|
|
61
|
+
titleAddon: C,
|
|
62
|
+
onClose: l
|
|
63
|
+
}
|
|
64
|
+
)
|
|
65
|
+
}
|
|
66
|
+
)
|
|
67
|
+
}
|
|
68
|
+
);
|
|
69
|
+
return t === "page" ? v : /* @__PURE__ */ r(L, { show: !0, onClickOutside: l, zIndexLayer: "MODAL", children: v });
|
|
70
|
+
}
|
|
71
|
+
function F({
|
|
72
|
+
body: e,
|
|
73
|
+
phase: t,
|
|
74
|
+
previewClassName: c,
|
|
75
|
+
testId: p,
|
|
76
|
+
header: l
|
|
34
77
|
}) {
|
|
35
|
-
const
|
|
36
|
-
return /* @__PURE__ */
|
|
78
|
+
const n = e.kind === "ready" ? e.stepper : void 0, u = !!(n && z(n.steps)), i = E(t, u), o = e.kind === "ready" ? _(e, t) : void 0, s = e.kind === "ready" ? e.execution : void 0;
|
|
79
|
+
return /* @__PURE__ */ m(
|
|
37
80
|
"div",
|
|
38
81
|
{
|
|
39
|
-
className:
|
|
40
|
-
"data-testid":
|
|
82
|
+
className: y(),
|
|
83
|
+
"data-testid": p,
|
|
41
84
|
children: [
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
85
|
+
/* @__PURE__ */ r("div", { className: "shrink-0", children: l }),
|
|
86
|
+
/* @__PURE__ */ r(h, { size: "sm" }),
|
|
87
|
+
i.showResult && o ? /* @__PURE__ */ r(
|
|
45
88
|
"div",
|
|
46
89
|
{
|
|
47
90
|
className: "flex min-h-0 flex-1 flex-col",
|
|
48
|
-
"data-testid":
|
|
49
|
-
children:
|
|
91
|
+
"data-testid": d.result,
|
|
92
|
+
children: o
|
|
50
93
|
}
|
|
51
94
|
) : null,
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
95
|
+
i.showResult ? null : /* @__PURE__ */ m("div", { className: "flex min-h-0 flex-1 flex-col", children: [
|
|
96
|
+
i.showPreview ? /* @__PURE__ */ r(
|
|
97
|
+
"div",
|
|
55
98
|
{
|
|
56
|
-
|
|
57
|
-
|
|
99
|
+
className: c ?? O(),
|
|
100
|
+
children: /* @__PURE__ */ r(B, { body: e })
|
|
58
101
|
}
|
|
59
|
-
) :
|
|
60
|
-
|
|
61
|
-
|
|
102
|
+
) : null,
|
|
103
|
+
i.showPreview && i.showExecution && s ? /* @__PURE__ */ r(h, { size: "md" }) : null,
|
|
104
|
+
i.showExecution && s ? /* @__PURE__ */ r(
|
|
62
105
|
"div",
|
|
63
106
|
{
|
|
64
107
|
className: "min-w-0 w-full shrink-0",
|
|
65
|
-
"data-testid":
|
|
66
|
-
children:
|
|
108
|
+
"data-testid": d.execution,
|
|
109
|
+
children: s
|
|
67
110
|
}
|
|
68
111
|
) : null
|
|
69
112
|
] }),
|
|
70
|
-
|
|
71
|
-
/* @__PURE__ */
|
|
72
|
-
/* @__PURE__ */
|
|
113
|
+
i.showProgressStepper && n ? /* @__PURE__ */ m(g, { children: [
|
|
114
|
+
/* @__PURE__ */ r(h, { size: "md" }),
|
|
115
|
+
/* @__PURE__ */ r(
|
|
73
116
|
"div",
|
|
74
117
|
{
|
|
75
118
|
className: "shrink-0",
|
|
76
|
-
"data-testid":
|
|
77
|
-
children: /* @__PURE__ */
|
|
78
|
-
|
|
119
|
+
"data-testid": d.progress,
|
|
120
|
+
children: /* @__PURE__ */ r(
|
|
121
|
+
V,
|
|
79
122
|
{
|
|
80
123
|
tone: "muted",
|
|
81
|
-
steps:
|
|
82
|
-
id:
|
|
83
|
-
status:
|
|
84
|
-
label: n(
|
|
124
|
+
steps: n.steps.map((a) => ({
|
|
125
|
+
id: a.id,
|
|
126
|
+
status: a.status,
|
|
127
|
+
label: n.renderLabel(a)
|
|
85
128
|
}))
|
|
86
129
|
}
|
|
87
130
|
)
|
|
@@ -92,6 +135,29 @@ function Q({
|
|
|
92
135
|
}
|
|
93
136
|
);
|
|
94
137
|
}
|
|
138
|
+
function B({
|
|
139
|
+
body: e
|
|
140
|
+
}) {
|
|
141
|
+
const t = N();
|
|
142
|
+
return e.kind === "loading" ? /* @__PURE__ */ m("div", { className: "flex flex-col items-center justify-center gap-3 py-8", children: [
|
|
143
|
+
/* @__PURE__ */ r(A, {}),
|
|
144
|
+
/* @__PURE__ */ r(D, { variant: "bodySmall", color: "muted", as: "p", children: /* @__PURE__ */ r(P, { messageId: "components.transactionConfirm.previewLoading" }) })
|
|
145
|
+
] }) : e.kind === "error" ? /* @__PURE__ */ r(
|
|
146
|
+
T,
|
|
147
|
+
{
|
|
148
|
+
err: e.error,
|
|
149
|
+
title: e.title ?? t.formatMessage({
|
|
150
|
+
messageId: "components.transactionConfirm.previewErrorTitle"
|
|
151
|
+
})
|
|
152
|
+
}
|
|
153
|
+
) : e.previewLoading ? /* @__PURE__ */ r(M, { lines: 3 }) : /* @__PURE__ */ r(g, { children: e.preview });
|
|
154
|
+
}
|
|
155
|
+
function _(e, t) {
|
|
156
|
+
if (e.result) {
|
|
157
|
+
if (t === "success") return e.result.success;
|
|
158
|
+
if (t === "failure") return e.result.failure;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
95
161
|
export {
|
|
96
|
-
|
|
162
|
+
ce as TransactionConfirmShell
|
|
97
163
|
};
|
|
@@ -1,23 +1,26 @@
|
|
|
1
1
|
import { cva as o } from "class-variance-authority";
|
|
2
|
-
class
|
|
2
|
+
class r {
|
|
3
3
|
static root = "transaction-confirm-dialog-root";
|
|
4
4
|
static execution = "transaction-confirm-dialog-execution";
|
|
5
5
|
static progress = "transaction-confirm-dialog-progress";
|
|
6
6
|
static result = "transaction-confirm-dialog-result";
|
|
7
7
|
}
|
|
8
|
-
const
|
|
8
|
+
const n = o(
|
|
9
9
|
"box-border w-full max-w-full md:w-[560px] md:max-w-[560px]"
|
|
10
|
-
),
|
|
10
|
+
), i = o(
|
|
11
11
|
"flex max-h-[min(100dvh-2.5rem,900px)] min-h-0 flex-col"
|
|
12
12
|
), l = o(
|
|
13
|
-
|
|
13
|
+
// `pr-2 -mr-2` pushes the scrollbar out into the card's padding instead of
|
|
14
|
+
// letting it sit flush against the content; the reserved gutter stops the
|
|
15
|
+
// layout shifting on the frame the scrollbar appears.
|
|
16
|
+
"flex min-h-0 flex-1 flex-col gap-4 overflow-x-hidden overflow-y-auto pr-2 -mr-2 [scrollbar-gutter:stable]"
|
|
14
17
|
), e = o(
|
|
15
18
|
"box-border flex min-h-0 w-full min-w-0 max-w-full flex-1 flex-col"
|
|
16
19
|
);
|
|
17
20
|
export {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
+
r as TransactionConfirmDialogTest,
|
|
22
|
+
n as transactionConfirmDialogShellVariants,
|
|
23
|
+
i as transactionConfirmModalContainerVariants,
|
|
21
24
|
l as transactionConfirmPreviewScrollVariants,
|
|
22
25
|
e as transactionConfirmShellContentVariants
|
|
23
26
|
};
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import { computeTransactionConfirmDialogLayout as
|
|
2
|
-
import { TransactionConfirmDialogTest as
|
|
3
|
-
import {
|
|
4
|
-
import { TransactionConfirmPageView as C } from "./TransactionConfirmPageView.js";
|
|
1
|
+
import { computeTransactionConfirmDialogLayout as a } from "./computeTransactionConfirmDialogLayout.js";
|
|
2
|
+
import { TransactionConfirmDialogTest as t, transactionConfirmDialogShellVariants as i, transactionConfirmModalContainerVariants as e, transactionConfirmPreviewScrollVariants as l, transactionConfirmShellContentVariants as s } from "./constants.js";
|
|
3
|
+
import { TransactionConfirmShell as f } from "./TransactionConfirmShell.js";
|
|
5
4
|
export {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
t as transactionConfirmDialogShellVariants,
|
|
5
|
+
t as TransactionConfirmDialogTest,
|
|
6
|
+
f as TransactionConfirmShell,
|
|
7
|
+
a as computeTransactionConfirmDialogLayout,
|
|
8
|
+
i as transactionConfirmDialogShellVariants,
|
|
11
9
|
e as transactionConfirmModalContainerVariants,
|
|
12
|
-
|
|
10
|
+
l as transactionConfirmPreviewScrollVariants,
|
|
13
11
|
s as transactionConfirmShellContentVariants
|
|
14
12
|
};
|
package/dist/esm/components/composites/tx-preview/confirm/dialog/transactionConfirmShellTypes.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,40 +1,38 @@
|
|
|
1
1
|
import { TransactionConfirmAmountFieldTest as n, TransactionConfirmAmountPairTest as t } from "./amounts/constants.js";
|
|
2
2
|
import { TransactionConfirmAmountField as e } from "./amounts/TransactionConfirmAmountField.js";
|
|
3
3
|
import { computeTransactionConfirmDialogLayout as s } from "./dialog/computeTransactionConfirmDialogLayout.js";
|
|
4
|
-
import { TransactionConfirmDialogTest as f, transactionConfirmDialogShellVariants as c, transactionConfirmModalContainerVariants as T, transactionConfirmPreviewScrollVariants as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import { shouldShowTransactionProgressStepper as k } from "./stepper/transactionExecutionStepTypes.js";
|
|
4
|
+
import { TransactionConfirmDialogTest as f, transactionConfirmDialogShellVariants as c, transactionConfirmModalContainerVariants as T, transactionConfirmPreviewScrollVariants as l, transactionConfirmShellContentVariants as p } from "./dialog/constants.js";
|
|
5
|
+
import { TransactionConfirmShell as u } from "./dialog/TransactionConfirmShell.js";
|
|
6
|
+
import { TransactionConfirmExecuteButton as S } from "./execution/TransactionConfirmExecuteButton.js";
|
|
7
|
+
import { TransactionConfirmExecuteButtonTest as g, TransactionConfirmFailureResultTest as R, TransactionConfirmSuccessResultTest as P, TransactionConfirmTxHashRowTest as d } from "./result/constants.js";
|
|
8
|
+
import { TransactionConfirmFailureResult as F } from "./result/TransactionConfirmFailureResult.js";
|
|
9
|
+
import { TransactionConfirmSuccessIcon as A } from "./result/TransactionConfirmSuccessIcon.js";
|
|
10
|
+
import { TransactionConfirmSuccessResult as B } from "./result/TransactionConfirmSuccessResult.js";
|
|
11
|
+
import { TransactionConfirmTxHashRow as H } from "./result/TransactionConfirmTxHashRow.js";
|
|
12
|
+
import { ProgressStepperTest as y } from "./stepper/constants.js";
|
|
13
|
+
import { ProgressStepper as L } from "./stepper/ProgressStepper.js";
|
|
14
|
+
import { shouldShowTransactionProgressStepper as b } from "./stepper/transactionExecutionStepTypes.js";
|
|
16
15
|
export {
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
L as ProgressStepper,
|
|
17
|
+
y as ProgressStepperTest,
|
|
19
18
|
e as TransactionConfirmAmountField,
|
|
20
19
|
n as TransactionConfirmAmountFieldTest,
|
|
21
20
|
t as TransactionConfirmAmountPairTest,
|
|
22
21
|
f as TransactionConfirmDialogTest,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
S as TransactionConfirmExecuteButton,
|
|
23
|
+
g as TransactionConfirmExecuteButtonTest,
|
|
24
|
+
F as TransactionConfirmFailureResult,
|
|
26
25
|
R as TransactionConfirmFailureResultTest,
|
|
27
|
-
u as
|
|
28
|
-
|
|
29
|
-
B as
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
v as TransactionConfirmTxHashRow,
|
|
26
|
+
u as TransactionConfirmShell,
|
|
27
|
+
A as TransactionConfirmSuccessIcon,
|
|
28
|
+
B as TransactionConfirmSuccessResult,
|
|
29
|
+
P as TransactionConfirmSuccessResultTest,
|
|
30
|
+
H as TransactionConfirmTxHashRow,
|
|
33
31
|
d as TransactionConfirmTxHashRowTest,
|
|
34
32
|
s as computeTransactionConfirmDialogLayout,
|
|
35
|
-
|
|
33
|
+
b as shouldShowTransactionProgressStepper,
|
|
36
34
|
c as transactionConfirmDialogShellVariants,
|
|
37
35
|
T as transactionConfirmModalContainerVariants,
|
|
38
|
-
|
|
39
|
-
|
|
36
|
+
l as transactionConfirmPreviewScrollVariants,
|
|
37
|
+
p as transactionConfirmShellContentVariants
|
|
40
38
|
};
|
|
@@ -1,40 +1,38 @@
|
|
|
1
1
|
import { TransactionConfirmAmountFieldTest as n, TransactionConfirmAmountPairTest as t } from "./confirm/amounts/constants.js";
|
|
2
2
|
import { TransactionConfirmAmountField as e } from "./confirm/amounts/TransactionConfirmAmountField.js";
|
|
3
3
|
import { computeTransactionConfirmDialogLayout as s } from "./confirm/dialog/computeTransactionConfirmDialogLayout.js";
|
|
4
|
-
import { TransactionConfirmDialogTest as f, transactionConfirmDialogShellVariants as c, transactionConfirmModalContainerVariants as T, transactionConfirmPreviewScrollVariants as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import { shouldShowTransactionProgressStepper as k } from "./confirm/stepper/transactionExecutionStepTypes.js";
|
|
4
|
+
import { TransactionConfirmDialogTest as f, transactionConfirmDialogShellVariants as c, transactionConfirmModalContainerVariants as T, transactionConfirmPreviewScrollVariants as l, transactionConfirmShellContentVariants as p } from "./confirm/dialog/constants.js";
|
|
5
|
+
import { TransactionConfirmShell as u } from "./confirm/dialog/TransactionConfirmShell.js";
|
|
6
|
+
import { TransactionConfirmExecuteButton as S } from "./confirm/execution/TransactionConfirmExecuteButton.js";
|
|
7
|
+
import { TransactionConfirmExecuteButtonTest as g, TransactionConfirmFailureResultTest as R, TransactionConfirmSuccessResultTest as P, TransactionConfirmTxHashRowTest as d } from "./confirm/result/constants.js";
|
|
8
|
+
import { TransactionConfirmFailureResult as F } from "./confirm/result/TransactionConfirmFailureResult.js";
|
|
9
|
+
import { TransactionConfirmSuccessIcon as A } from "./confirm/result/TransactionConfirmSuccessIcon.js";
|
|
10
|
+
import { TransactionConfirmSuccessResult as B } from "./confirm/result/TransactionConfirmSuccessResult.js";
|
|
11
|
+
import { TransactionConfirmTxHashRow as H } from "./confirm/result/TransactionConfirmTxHashRow.js";
|
|
12
|
+
import { ProgressStepperTest as y } from "./confirm/stepper/constants.js";
|
|
13
|
+
import { ProgressStepper as L } from "./confirm/stepper/ProgressStepper.js";
|
|
14
|
+
import { shouldShowTransactionProgressStepper as b } from "./confirm/stepper/transactionExecutionStepTypes.js";
|
|
16
15
|
export {
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
L as ProgressStepper,
|
|
17
|
+
y as ProgressStepperTest,
|
|
19
18
|
e as TransactionConfirmAmountField,
|
|
20
19
|
n as TransactionConfirmAmountFieldTest,
|
|
21
20
|
t as TransactionConfirmAmountPairTest,
|
|
22
21
|
f as TransactionConfirmDialogTest,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
S as TransactionConfirmExecuteButton,
|
|
23
|
+
g as TransactionConfirmExecuteButtonTest,
|
|
24
|
+
F as TransactionConfirmFailureResult,
|
|
26
25
|
R as TransactionConfirmFailureResultTest,
|
|
27
|
-
u as
|
|
28
|
-
|
|
29
|
-
B as
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
v as TransactionConfirmTxHashRow,
|
|
26
|
+
u as TransactionConfirmShell,
|
|
27
|
+
A as TransactionConfirmSuccessIcon,
|
|
28
|
+
B as TransactionConfirmSuccessResult,
|
|
29
|
+
P as TransactionConfirmSuccessResultTest,
|
|
30
|
+
H as TransactionConfirmTxHashRow,
|
|
33
31
|
d as TransactionConfirmTxHashRowTest,
|
|
34
32
|
s as computeTransactionConfirmDialogLayout,
|
|
35
|
-
|
|
33
|
+
b as shouldShowTransactionProgressStepper,
|
|
36
34
|
c as transactionConfirmDialogShellVariants,
|
|
37
35
|
T as transactionConfirmModalContainerVariants,
|
|
38
|
-
|
|
39
|
-
|
|
36
|
+
l as transactionConfirmPreviewScrollVariants,
|
|
37
|
+
p as transactionConfirmShellContentVariants
|
|
40
38
|
};
|