@gearbox-protocol/permissionless-ui 1.1.0 → 1.1.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.
|
@@ -35,10 +35,12 @@ function ConfirmationItem({
|
|
|
35
35
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "absolute left-[8px] h-2 w-2 rounded-full bg-green-500" }),
|
|
36
36
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "ml-10 flex items-center gap-2", children: [
|
|
37
37
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_identicon.Identicon, { address: confirmation, size: 32 }),
|
|
38
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "text-white", children: (0, import_utils.shortenHash)(confirmation) }),
|
|
39
|
-
note && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "text-gray-500 text-xs", children: note }),
|
|
40
|
-
/* @__PURE__ */ (0, import_jsx_runtime.
|
|
41
|
-
|
|
38
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "text-white whitespace-nowrap", children: (0, import_utils.shortenHash)(confirmation) }),
|
|
39
|
+
note && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "text-gray-500 text-xs whitespace-nowrap", children: note }),
|
|
40
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "flex gap-2 opacity-0 transition-opacity group-hover:opacity-100", children: [
|
|
41
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_copy_button.CopyButton, { text: confirmation }),
|
|
42
|
+
explorerUrl && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_buttons.ExternalButton, { url: explorerUrl })
|
|
43
|
+
] })
|
|
42
44
|
] })
|
|
43
45
|
] });
|
|
44
46
|
}
|
|
@@ -12,10 +12,12 @@ function ConfirmationItem({
|
|
|
12
12
|
/* @__PURE__ */ jsx("div", { className: "absolute left-[8px] h-2 w-2 rounded-full bg-green-500" }),
|
|
13
13
|
/* @__PURE__ */ jsxs("div", { className: "ml-10 flex items-center gap-2", children: [
|
|
14
14
|
/* @__PURE__ */ jsx(Identicon, { address: confirmation, size: 32 }),
|
|
15
|
-
/* @__PURE__ */ jsx("span", { className: "text-white", children: shortenHash(confirmation) }),
|
|
16
|
-
note && /* @__PURE__ */ jsx("span", { className: "text-gray-500 text-xs", children: note }),
|
|
17
|
-
/* @__PURE__ */
|
|
18
|
-
|
|
15
|
+
/* @__PURE__ */ jsx("span", { className: "text-white whitespace-nowrap", children: shortenHash(confirmation) }),
|
|
16
|
+
note && /* @__PURE__ */ jsx("span", { className: "text-gray-500 text-xs whitespace-nowrap", children: note }),
|
|
17
|
+
/* @__PURE__ */ jsxs("div", { className: "flex gap-2 opacity-0 transition-opacity group-hover:opacity-100", children: [
|
|
18
|
+
/* @__PURE__ */ jsx(CopyButton, { text: confirmation }),
|
|
19
|
+
explorerUrl && /* @__PURE__ */ jsx(ExternalButton, { url: explorerUrl })
|
|
20
|
+
] })
|
|
19
21
|
] })
|
|
20
22
|
] });
|
|
21
23
|
}
|