@rash2x/bridge-widget 0.6.70 → 0.6.71

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.
@@ -4332,14 +4332,14 @@ const ProgressStep = ({
4332
4332
  return /* @__PURE__ */ jsxRuntime.jsxs(dialog.DialogContent, { showCloseButton: false, className, children: [
4333
4333
  icon,
4334
4334
  /* @__PURE__ */ jsxRuntime.jsxs(dialog.DialogHeader, { className: "relative z-10 p-0", children: [
4335
- /* @__PURE__ */ jsxRuntime.jsx(dialog.DialogTitle, { children: t2("transaction.inProgress") }),
4335
+ /* @__PURE__ */ jsxRuntime.jsx(dialog.DialogTitle, { className: "text-center", children: t2("transaction.inProgress") }),
4336
4336
  srcTxHash && /* @__PURE__ */ jsxRuntime.jsxs(
4337
4337
  "a",
4338
4338
  {
4339
4339
  href: `https://layerzeroscan.com/tx/${srcTxHash}`,
4340
4340
  target: "_blank",
4341
4341
  rel: "noopener noreferrer",
4342
- className: "text-xs text-muted-foreground hover:text-foreground cursor-pointer underline hover:no-underline px-4 mt-1",
4342
+ className: "text-xs text-center text-muted-foreground hover:text-foreground cursor-pointer underline hover:no-underline px-4 mt-1",
4343
4343
  children: [
4344
4344
  t2("transaction.hash"),
4345
4345
  ": ",
@@ -4374,8 +4374,8 @@ const FailedStep = ({
4374
4374
  return /* @__PURE__ */ jsxRuntime.jsxs(dialog.DialogContent, { closeButtonClassName: "!absolute", showCloseButton: true, className, children: [
4375
4375
  icon,
4376
4376
  /* @__PURE__ */ jsxRuntime.jsxs(dialog.DialogHeader, { className: "relative z-10 p-0", children: [
4377
- /* @__PURE__ */ jsxRuntime.jsx(dialog.DialogTitle, { children: t2("transaction.failed") }),
4378
- current?.errorCode && /* @__PURE__ */ jsxRuntime.jsx(reactDialog.DialogDescription, { children: t2(
4377
+ /* @__PURE__ */ jsxRuntime.jsx(dialog.DialogTitle, { className: "text-center", children: t2("transaction.failed") }),
4378
+ current?.errorCode && /* @__PURE__ */ jsxRuntime.jsx(reactDialog.DialogDescription, { className: "text-center", children: t2(
4379
4379
  `errors.${current.errorCode}`,
4380
4380
  current.errorParams || {}
4381
4381
  ) }),
@@ -4385,7 +4385,7 @@ const FailedStep = ({
4385
4385
  href: getLayerZeroScanUrl(srcTxHash),
4386
4386
  target: "_blank",
4387
4387
  rel: "noopener noreferrer",
4388
- className: "text-xs text-muted-foreground hover:text-foreground cursor-pointer underline hover:no-underline px-4 mt-2",
4388
+ className: "text-xs text-muted-foreground hover:text-foreground cursor-pointer underline hover:no-underline px-4 mt-2 text-center",
4389
4389
  children: [
4390
4390
  t2("transaction.hash"),
4391
4391
  ": ",
@@ -4465,7 +4465,7 @@ const SuccessStep = ({
4465
4465
  ]);
4466
4466
  return /* @__PURE__ */ jsxRuntime.jsxs(dialog.DialogContent, { closeButtonClassName: "!absolute", showCloseButton: true, className, children: [
4467
4467
  icon,
4468
- /* @__PURE__ */ jsxRuntime.jsx(dialog.DialogHeader, { className: "z-10 relative p-0", children: /* @__PURE__ */ jsxRuntime.jsx(dialog.DialogTitle, { className: "text-[28px]", children: t2("transaction.success") }) }),
4468
+ /* @__PURE__ */ jsxRuntime.jsx(dialog.DialogHeader, { className: "z-10 relative p-0", children: /* @__PURE__ */ jsxRuntime.jsx(dialog.DialogTitle, { className: "text-[28px] text-center", children: t2("transaction.success") }) }),
4469
4469
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "w-full space-y-2 mt-5 relative z-10 pb-14", children: [
4470
4470
  metadata?.srcAmountHuman && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex justify-between items-center", children: [
4471
4471
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground", children: t2("transaction.bridged") }),
@@ -4528,7 +4528,7 @@ const SuccessStep = ({
4528
4528
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-medium", children: totalFee.display })
4529
4529
  ] })
4530
4530
  ] }),
4531
- /* @__PURE__ */ jsxRuntime.jsx(dialog.DialogFooter, { className: "w-full", children: /* @__PURE__ */ jsxRuntime.jsx(button.Button, { onClick: reset, className: "w-full", children: t2("transaction.done") }) }),
4531
+ /* @__PURE__ */ jsxRuntime.jsx(dialog.DialogFooter, { className: "w-full pt-10", children: /* @__PURE__ */ jsxRuntime.jsx(button.Button, { onClick: reset, className: "w-full", children: t2("transaction.done") }) }),
4532
4532
  /* @__PURE__ */ jsxRuntime.jsx(DevStatusControls, {})
4533
4533
  ] });
4534
4534
  };
@@ -4558,8 +4558,8 @@ const ConfirmStep = ({
4558
4558
  return /* @__PURE__ */ jsxRuntime.jsxs(dialog.DialogContent, { className, children: [
4559
4559
  icon,
4560
4560
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-2 pt-4 pb-2 text-center relative z-10", children: [
4561
- /* @__PURE__ */ jsxRuntime.jsx(dialog.DialogTitle, { children: t2("transaction.confirm") }),
4562
- /* @__PURE__ */ jsxRuntime.jsx(dialog.DialogDescription, { children: t2("transaction.signTransaction") })
4561
+ /* @__PURE__ */ jsxRuntime.jsx(dialog.DialogTitle, { className: "text-center", children: t2("transaction.confirm") }),
4562
+ /* @__PURE__ */ jsxRuntime.jsx(dialog.DialogDescription, { className: "text-center", children: t2("transaction.signTransaction") })
4563
4563
  ] }),
4564
4564
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-3xl font-black relative z-10", children: formatTime }),
4565
4565
  /* @__PURE__ */ jsxRuntime.jsx(DevStatusControls, {})
@@ -25851,7 +25851,7 @@ class WalletConnectModal {
25851
25851
  }
25852
25852
  async initUi() {
25853
25853
  if (typeof window !== "undefined") {
25854
- await Promise.resolve().then(() => require("./index-D_aPs_yi.cjs"));
25854
+ await Promise.resolve().then(() => require("./index-ChKe-Jqg.cjs"));
25855
25855
  const modal = document.createElement("wcm-modal");
25856
25856
  document.body.insertAdjacentElement("beforeend", modal);
25857
25857
  OptionsCtrl.setIsUiLoaded(true);
@@ -26618,4 +26618,4 @@ exports.useSettingsStore = useSettingsStore;
26618
26618
  exports.useSwapModel = useSwapModel;
26619
26619
  exports.useTokensStore = useTokensStore;
26620
26620
  exports.useTransactionStore = useTransactionStore;
26621
- //# sourceMappingURL=index-CyohvJ7p.cjs.map
26621
+ //# sourceMappingURL=index-VG-885LU.cjs.map