coinley-checkout 0.6.6 → 0.6.8

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-4 py-4 rounded-2xl border text-left transition-all duration-200 font-medium text-base
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: "1rem" },
21185
+ style: { minHeight: "56px", padding: "0.5rem" },
21186
21186
  children: [
21187
- /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: "flex items-center gap-3", 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-6 w-6" }),
21189
- /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: "font-medium text-base text-gray-900", children: [
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,9 +21313,9 @@ 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 p-6 w-full max-w-md mx-auto shadow-xl bg-gray-100",
21316
+ className: "coinley-modal relative py-6 px-2 w-full max-w-md mx-auto shadow-xl bg-gray-100 rounded-3xl",
21317
21317
  children: [
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: [
21318
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "bg-white flex justify-between items-center mb-6 mr-3 ml-3 py-4 px-2 rounded-full", children: [
21319
21319
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex-1 flex items-center gap-2 px-4", children: [
21320
21320
  /* @__PURE__ */ jsxRuntimeExports.jsx("img", { src: logo, className: "w-auto h-auto", alt: "Coinley Logo" }),
21321
21321
  /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-lg font-semibold text-gray-800", children: "Payment Details" })
@@ -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
  ] }),
@@ -21338,7 +21338,7 @@ const CoinleyModal = ({
21338
21338
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-sm text-gray-600 mt-4", children: "Payment to:" }),
21339
21339
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "coinley-merchant-name text-base font-semibold mt-1", children: merchantName })
21340
21340
  ] }) }),
21341
- step === "select-currency" && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "pb-6 pt-6 px-6 bg-white rounded-t-2xl", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
21341
+ step === "select-currency" && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "pb-6 pt-6 px-6 bg-white rounded-t-2xl blockchain-network", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
21342
21342
  PaymentMethods,
21343
21343
  {
21344
21344
  onSelect: onPaymentMethodSelect,
@@ -21472,7 +21472,7 @@ const CoinleyModal = ({
21472
21472
  ] })
21473
21473
  ),
21474
21474
  error && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "p-3 rounded-lg bg-red-50 mb-4 text-red-600 text-sm", children: error }),
21475
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "grid grid-cols-2 gap-3", children: [
21475
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "grid grid-cols-2 gap-3 pb-3", children: [
21476
21476
  /* @__PURE__ */ jsxRuntimeExports.jsx(
21477
21477
  "button",
21478
21478
  {
@@ -21538,7 +21538,7 @@ const CoinleyModal = ({
21538
21538
  }
21539
21539
  )
21540
21540
  ] }),
21541
- step !== "success" && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "text-center text-xs text-gray-500 flex items-center justify-center gap-1 py-6 bg-white rounded-b-[12px]", children: [
21541
+ step !== "success" && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "text-center text-xs text-gray-500 flex items-center justify-center gap-1 py-6 bg-white rounded-b-[12px] ", children: [
21542
21542
  /* @__PURE__ */ jsxRuntimeExports.jsxs("p", { children: [
21543
21543
  "Powered by ",
21544
21544
  /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-purple-600", children: "Coinley" }),