@rash2x/bridge-widget 0.6.45 → 0.6.46

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.
@@ -4421,7 +4421,7 @@ const ProgressStep = ({
4421
4421
  ];
4422
4422
  return /* @__PURE__ */ jsxRuntime.jsx(dialog.DialogContent, { showCloseButton: false, className: "overflow-hidden md:max-w-[420px] p-0", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex relative flex-col gap-6 flex-1 items-center justify-start text-center bg-background noise p-10", children: [
4423
4423
  icon,
4424
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-2 pb-2 text-center", children: /* @__PURE__ */ jsxRuntime.jsx(dialog.DialogTitle, { children: t2("transaction.inProgress") }) }),
4424
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-2 pt-4 pb-2 text-center", children: /* @__PURE__ */ jsxRuntime.jsx(dialog.DialogTitle, { children: t2("transaction.inProgress") }) }),
4425
4425
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
4426
4426
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute left-5 top-5 bottom-5 border-l border-dashed border-foreground/50" }),
4427
4427
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-6 relative z-10", children: steps.map((step) => /* @__PURE__ */ jsxRuntime.jsxs(
@@ -4449,7 +4449,7 @@ const FailedStep = ({
4449
4449
  return /* @__PURE__ */ jsxRuntime.jsxs(dialog.DialogContent, { showCloseButton: true, className: "overflow-hidden md:max-w-[420px] p-0", children: [
4450
4450
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col relative gap-4 flex-1 items-center justify-start text-center noise p-10 pb-0", children: [
4451
4451
  icon,
4452
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-2 pb-2 text-center", children: [
4452
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-2 pt-4 pb-2 text-center", children: [
4453
4453
  /* @__PURE__ */ jsxRuntime.jsx(dialog.DialogTitle, { children: t2("transaction.failed") }),
4454
4454
  current?.errorCode && /* @__PURE__ */ jsxRuntime.jsx(reactDialog.DialogDescription, { children: t2(
4455
4455
  `errors.${current.errorCode}`,
@@ -4457,7 +4457,7 @@ const FailedStep = ({
4457
4457
  ) })
4458
4458
  ] })
4459
4459
  ] }),
4460
- /* @__PURE__ */ jsxRuntime.jsx(dialog.DialogFooter, { className: "px-10 pb-10", children: /* @__PURE__ */ jsxRuntime.jsx(button.Button, { variant: "outline", className: "w-full min-w-40", onClick: reset, children: t2("common.close") }) })
4460
+ /* @__PURE__ */ jsxRuntime.jsx(dialog.DialogFooter, { className: "px-10 pb-10 ", children: /* @__PURE__ */ jsxRuntime.jsx(button.Button, { variant: "outline", className: "w-full min-w-40", onClick: reset, children: t2("common.close") }) })
4461
4461
  ] });
4462
4462
  };
4463
4463
  const EXPLORER_CONFIGS = {
@@ -4597,7 +4597,7 @@ const SuccessStep = ({
4597
4597
  children: [
4598
4598
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-4 flex-1 justify-start items-center text-center bg-background noise p-10 pb-0", children: [
4599
4599
  icon,
4600
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-2 text-center", children: /* @__PURE__ */ jsxRuntime.jsx(dialog.DialogTitle, { className: "text-[28px]", children: t2("transaction.success") }) }),
4600
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-2 pt-4 text-center", children: /* @__PURE__ */ jsxRuntime.jsx(dialog.DialogTitle, { className: "text-[28px]", children: t2("transaction.success") }) }),
4601
4601
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "w-full space-y-2 mt-3 relative z-10 pb-14", children: [
4602
4602
  metadata?.srcAmountHuman && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex justify-between items-center", children: [
4603
4603
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground", children: t2("transaction.bridged") }),
@@ -4657,7 +4657,7 @@ const SuccessStep = ({
4657
4657
  ] })
4658
4658
  ] })
4659
4659
  ] }),
4660
- /* @__PURE__ */ jsxRuntime.jsx(dialog.DialogFooter, { className: "px-10 pb-10", children: /* @__PURE__ */ jsxRuntime.jsx(button.Button, { onClick: reset, className: "w-full", children: t2("transaction.done") }) })
4660
+ /* @__PURE__ */ jsxRuntime.jsx(dialog.DialogFooter, { className: "px-10 pb-10 pt-12", children: /* @__PURE__ */ jsxRuntime.jsx(button.Button, { onClick: reset, className: "w-full", children: t2("transaction.done") }) })
4661
4661
  ]
4662
4662
  }
4663
4663
  );
@@ -4686,7 +4686,7 @@ const ConfirmStep = ({
4686
4686
  const { formatTime } = useCountdown(90);
4687
4687
  return /* @__PURE__ */ jsxRuntime.jsx(dialog.DialogContent, { showCloseButton: false, className: "overflow-hidden md:max-w-[420px] p-0", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col relative gap-4 flex-1 items-center justify-start text-center noise p-10", children: [
4688
4688
  icon,
4689
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-2 pb-2 text-center", children: [
4689
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-2 pt-4 pb-2 text-center", children: [
4690
4690
  /* @__PURE__ */ jsxRuntime.jsx(dialog.DialogTitle, { children: t2("transaction.confirm") }),
4691
4691
  /* @__PURE__ */ jsxRuntime.jsx(dialog.DialogDescription, { children: t2("transaction.signTransaction") })
4692
4692
  ] }),
@@ -25966,7 +25966,7 @@ class WalletConnectModal {
25966
25966
  }
25967
25967
  async initUi() {
25968
25968
  if (typeof window !== "undefined") {
25969
- await Promise.resolve().then(() => require("./index-CIai7CQu.cjs"));
25969
+ await Promise.resolve().then(() => require("./index-D87zq9PV.cjs"));
25970
25970
  const modal = document.createElement("wcm-modal");
25971
25971
  document.body.insertAdjacentElement("beforeend", modal);
25972
25972
  OptionsCtrl.setIsUiLoaded(true);
@@ -26723,4 +26723,4 @@ exports.useSettingsStore = useSettingsStore;
26723
26723
  exports.useSwapModel = useSwapModel;
26724
26724
  exports.useTokensStore = useTokensStore;
26725
26725
  exports.useTransactionStore = useTransactionStore;
26726
- //# sourceMappingURL=index-D4qTzY3O.cjs.map
26726
+ //# sourceMappingURL=index-dS_Zjwua.cjs.map