@unifold/ui-react 0.1.5 → 0.1.6
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/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -355,7 +355,7 @@ function DepositHeader({
|
|
|
355
355
|
badge ? /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { className: "uf-flex uf-items-center uf-gap-2", children: [
|
|
356
356
|
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(DialogTitle, { className: "uf-text-center uf-text-base uf-text-foreground", children: title }),
|
|
357
357
|
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { className: "uf-bg-secondary uf-px-2 uf-py-0.5 uf-rounded-full uf-text-[10px] uf-text-muted-foreground", children: badge.count })
|
|
358
|
-
] }) : /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(DialogTitle, { className: "uf-text-center uf-text-base
|
|
358
|
+
] }) : /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(DialogTitle, { className: "uf-text-center uf-text-base uf-text-foreground", children: title }),
|
|
359
359
|
showClose ? /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
360
360
|
"button",
|
|
361
361
|
{
|
|
@@ -629,7 +629,7 @@ function DepositExecutionItem({
|
|
|
629
629
|
}
|
|
630
630
|
)
|
|
631
631
|
] }),
|
|
632
|
-
!isPending && execution.destination_transaction_hashes
|
|
632
|
+
!isPending && execution.destination_transaction_hashes?.length > 0 && execution.destination_explorer_url && /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "uf-flex uf-justify-between uf-items-center uf-gap-1.5 uf-mt-1 uf-text-xs uf-ml-[42px]", children: [
|
|
633
633
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: "uf-text-muted-foreground", children: "Completion tx:" }),
|
|
634
634
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
635
635
|
"a",
|
package/dist/index.mjs
CHANGED
|
@@ -272,7 +272,7 @@ function DepositHeader({
|
|
|
272
272
|
badge ? /* @__PURE__ */ jsxs2("div", { className: "uf-flex uf-items-center uf-gap-2", children: [
|
|
273
273
|
/* @__PURE__ */ jsx4(DialogTitle, { className: "uf-text-center uf-text-base uf-text-foreground", children: title }),
|
|
274
274
|
/* @__PURE__ */ jsx4("div", { className: "uf-bg-secondary uf-px-2 uf-py-0.5 uf-rounded-full uf-text-[10px] uf-text-muted-foreground", children: badge.count })
|
|
275
|
-
] }) : /* @__PURE__ */ jsx4(DialogTitle, { className: "uf-text-center uf-text-base
|
|
275
|
+
] }) : /* @__PURE__ */ jsx4(DialogTitle, { className: "uf-text-center uf-text-base uf-text-foreground", children: title }),
|
|
276
276
|
showClose ? /* @__PURE__ */ jsx4(
|
|
277
277
|
"button",
|
|
278
278
|
{
|
|
@@ -546,7 +546,7 @@ function DepositExecutionItem({
|
|
|
546
546
|
}
|
|
547
547
|
)
|
|
548
548
|
] }),
|
|
549
|
-
!isPending && execution.destination_transaction_hashes
|
|
549
|
+
!isPending && execution.destination_transaction_hashes?.length > 0 && execution.destination_explorer_url && /* @__PURE__ */ jsxs3("div", { className: "uf-flex uf-justify-between uf-items-center uf-gap-1.5 uf-mt-1 uf-text-xs uf-ml-[42px]", children: [
|
|
550
550
|
/* @__PURE__ */ jsx5("span", { className: "uf-text-muted-foreground", children: "Completion tx:" }),
|
|
551
551
|
/* @__PURE__ */ jsxs3(
|
|
552
552
|
"a",
|