coinley-checkout 0.6.5 → 0.6.7
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.
@@ -21179,14 +21179,14 @@ const PaymentMethods = ({ onSelect, selected, theme: theme2 = "light", supported
|
|
21179
21179
|
"button",
|
21180
21180
|
{
|
21181
21181
|
onClick: () => handleSelectPaymentMethod(method),
|
21182
|
-
className: `group flex items-center justify-between w-full px-
|
21182
|
+
className: `group flex items-center justify-between w-full px-2 py-2 rounded-2xl border text-left transition-all duration-200 font-medium text-base
|
21183
21183
|
${isSelected ? "bg-[#E9DDFC] border-transparent shadow-none" : "bg-white border-gray-200 hover:bg-[#F6F2FF] hover:border-[#E9DDFC]"}
|
21184
21184
|
`,
|
21185
|
-
style: { minHeight: "56px", padding: "
|
21185
|
+
style: { minHeight: "56px", padding: "0.5rem" },
|
21186
21186
|
children: [
|
21187
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: "flex items-center gap-
|
21188
|
-
typeof method.logo === "function" ? /* @__PURE__ */ jsxRuntimeExports.jsx(method.logo, { size: 24 }) : /* @__PURE__ */ jsxRuntimeExports.jsx("img", { src: method.logo, alt: method.name, className: "h-
|
21189
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: "font-medium text-
|
21187
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: "flex items-center gap-x-2", children: [
|
21188
|
+
typeof method.logo === "function" ? /* @__PURE__ */ jsxRuntimeExports.jsx(method.logo, { size: 24 }) : /* @__PURE__ */ jsxRuntimeExports.jsx("img", { src: method.logo, alt: method.name, className: "h-4 w-4" }),
|
21189
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: "font-medium text-sm text-gray-900", children: [
|
21190
21190
|
method.description,
|
21191
21191
|
" (",
|
21192
21192
|
method.name,
|
@@ -21313,7 +21313,7 @@ const CoinleyModal = ({
|
|
21313
21313
|
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(
|
21314
21314
|
"div",
|
21315
21315
|
{
|
21316
|
-
className: "coinley-modal relative
|
21316
|
+
className: "coinley-modal relative py-6 px-2 w-full max-w-md mx-auto shadow-xl bg-gray-100",
|
21317
21317
|
children: [
|
21318
21318
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "bg-white flex justify-between items-center mb-6 ml-4 mr-4 py-4 px-2 rounded-full", children: [
|
21319
21319
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex-1 flex items-center gap-2 px-4", children: [
|
@@ -21325,7 +21325,7 @@ const CoinleyModal = ({
|
|
21325
21325
|
{
|
21326
21326
|
onClick: onClose,
|
21327
21327
|
className: "text-gray-500 hover:text-gray-700 focus:outline-none",
|
21328
|
-
children: /* @__PURE__ */ jsxRuntimeExports.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", className: "h-6 w-6", fill: "none", viewBox: "0 0 24 24", stroke: "currentColor", children: /* @__PURE__ */ jsxRuntimeExports.jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M6 18L18 6M6 6l12 12" }) })
|
21328
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", className: "h-6 w-6 mr-2", fill: "none", viewBox: "0 0 24 24", stroke: "currentColor", children: /* @__PURE__ */ jsxRuntimeExports.jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M6 18L18 6M6 6l12 12" }) })
|
21329
21329
|
}
|
21330
21330
|
)
|
21331
21331
|
] }),
|