coinley-checkout 0.6.2 → 0.6.3
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.
@@ -20748,12 +20748,14 @@ const PaymentStatus = ({
|
|
20748
20748
|
if (status === "success") {
|
20749
20749
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex flex-col items-center justify-center py-6", children: [
|
20750
20750
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "mb-6", children: renderIcon() }),
|
20751
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("h3", { className: `text-2xl font-bold mb-3 ${theme2 === "dark" ? "text-white" : "text-gray-900"}`, children: "Payment Successful" }),
|
20752
|
-
payment && selectedPaymentMethod && /* @__PURE__ */ jsxRuntimeExports.jsxs("p", { className: `text-center mb-6 ${theme2 === "dark" ? "text-gray-300" : "text-gray-600"}`, children: [
|
20751
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("h3", { className: `text-2xl font-bold mb-3 ${theme2 === "dark" ? "text-white" : "text-gray-900"}`, children: "Payment Successful!" }),
|
20752
|
+
payment && selectedPaymentMethod && /* @__PURE__ */ jsxRuntimeExports.jsxs("p", { className: `text-center max-w-[235px] mb-6 ${theme2 === "dark" ? "text-gray-300" : "text-gray-600"}`, children: [
|
20753
20753
|
"Your payment of ",
|
20754
|
-
|
20755
|
-
|
20756
|
-
|
20754
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: "text-[#7042D2] font-semibold", children: [
|
20755
|
+
payment.totalAmount || payment.amount,
|
20756
|
+
" ",
|
20757
|
+
selectedPaymentMethod.currency
|
20758
|
+
] }),
|
20757
20759
|
" has been completed."
|
20758
20760
|
] }),
|
20759
20761
|
transactionHash && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "w-full mb-6", children: [
|
@@ -21310,7 +21312,7 @@ const CoinleyModal = ({
|
|
21310
21312
|
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "fixed inset-0 z-50 overflow-y-auto", children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex min-h-screen items-center justify-center p-4", children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
21311
21313
|
"div",
|
21312
21314
|
{
|
21313
|
-
className: "coinley-modal relative p-6 max-w-[490px] mx-auto rounded-3xl shadow-xl bg-gray-100",
|
21315
|
+
className: "coinley-modal relative p-6 w-full max-w-[490px] mx-auto rounded-3xl shadow-xl bg-gray-100",
|
21314
21316
|
style: {
|
21315
21317
|
maxWidth: "490px !important",
|
21316
21318
|
width: "100% !important",
|