coinley-pay 0.0.5 → 0.0.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.
- package/dist/index.esm.js +5 -5
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -47344,7 +47344,7 @@ const RedesignedCoinleyPaymentInternal = ({
|
|
|
47344
47344
|
"button",
|
|
47345
47345
|
{
|
|
47346
47346
|
onClick: () => setActiveTab(PAYMENT_TABS.QR),
|
|
47347
|
-
className: `flex items-center gap-3 px-4 py-3 rounded-xl text-left transition-all mb-2 ${activeTab === PAYMENT_TABS.QR ? "bg-white text-[#7042D2] border-l-4 border-[#7042D2] shadow-sm" : "text-gray-400 hover:bg-gray-100"}`,
|
|
47347
|
+
className: `flex items-center gap-3 px-4 py-3 rounded-xl text-left transition-all mb-2 ${activeTab === PAYMENT_TABS.QR ? "bg-white text-[#7042D2] border-l-4 rounded-none border-[#7042D2] shadow-sm" : "text-gray-400 hover:bg-gray-100"}`,
|
|
47348
47348
|
children: [
|
|
47349
47349
|
/* @__PURE__ */ jsx("svg", { className: "w-5 h-5", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M12 4v1m6 11h2m-6 0h-2v4m0-11v3m0 0h.01M12 12h4.01M16 20h4M4 12h4m12 0h.01M5 8h2a1 1 0 001-1V5a1 1 0 00-1-1H5a1 1 0 00-1 1v2a1 1 0 001 1zm12 0h2a1 1 0 001-1V5a1 1 0 00-1-1h-2a1 1 0 00-1 1v2a1 1 0 001 1zM5 20h2a1 1 0 001-1v-2a1 1 0 00-1-1H5a1 1 0 00-1 1v2a1 1 0 001 1z" }) }),
|
|
47350
47350
|
/* @__PURE__ */ jsx("span", { className: "text-sm font-medium whitespace-nowrap", children: "Scan QR to pay" })
|
|
@@ -47390,7 +47390,7 @@ const RedesignedCoinleyPaymentInternal = ({
|
|
|
47390
47390
|
/* @__PURE__ */ jsxs("div", { className: "flex items-baseline justify-between", children: [
|
|
47391
47391
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
47392
47392
|
/* @__PURE__ */ jsx("p", { className: "text-xs text-gray-400", children: "Amount:" }),
|
|
47393
|
-
/* @__PURE__ */ jsxs("p", { className: "text-3xl font-bold text-gray-900", children: [
|
|
47393
|
+
/* @__PURE__ */ jsxs("p", { className: "text-3xl text-[#7042D2] font-bold text-gray-900", children: [
|
|
47394
47394
|
"$",
|
|
47395
47395
|
formatAmount((config == null ? void 0 : config.amount) || 0)
|
|
47396
47396
|
] })
|
|
@@ -47421,7 +47421,7 @@ const RedesignedCoinleyPaymentInternal = ({
|
|
|
47421
47421
|
"button",
|
|
47422
47422
|
{
|
|
47423
47423
|
onClick: () => handleNetworkSelect(network),
|
|
47424
|
-
className: `flex items-center gap-3 p-
|
|
47424
|
+
className: `flex items-center gap-3 p-3 rounded-xl border-2 transition-all ${(selectedNetwork == null ? void 0 : selectedNetwork.id) === network.id ? "border-[#7042D2] bg-purple-50" : "border-gray-100 hover:border-[#7042D2] hover:bg-purple-50"}`,
|
|
47425
47425
|
children: [
|
|
47426
47426
|
/* @__PURE__ */ jsx(
|
|
47427
47427
|
"img",
|
|
@@ -47450,7 +47450,7 @@ const RedesignedCoinleyPaymentInternal = ({
|
|
|
47450
47450
|
"button",
|
|
47451
47451
|
{
|
|
47452
47452
|
onClick: () => handleTokenSelect(token),
|
|
47453
|
-
className: `flex items-center gap-3 p-
|
|
47453
|
+
className: `flex items-center gap-3 p-3 rounded-xl border-2 transition-all ${(selectedToken == null ? void 0 : selectedToken.id) === token.id ? "border-[#7042D2] bg-purple-50" : "border-gray-100 hover:border-[#7042D2] hover:bg-purple-50"}`,
|
|
47454
47454
|
children: [
|
|
47455
47455
|
/* @__PURE__ */ jsx(
|
|
47456
47456
|
"img",
|
|
@@ -47468,7 +47468,7 @@ const RedesignedCoinleyPaymentInternal = ({
|
|
|
47468
47468
|
/* @__PURE__ */ jsx("p", { className: "font-semibold text-gray-900", children: token.name || token.symbol }),
|
|
47469
47469
|
token.isStablecoin && /* @__PURE__ */ jsxs("span", { className: "text-xs text-green-600 flex items-center gap-1", children: [
|
|
47470
47470
|
/* @__PURE__ */ jsx("span", { className: "w-1.5 h-1.5 bg-green-500 rounded-full" }),
|
|
47471
|
-
"
|
|
47471
|
+
"Stablecoin"
|
|
47472
47472
|
] })
|
|
47473
47473
|
] }),
|
|
47474
47474
|
/* @__PURE__ */ jsx("p", { className: "text-xs text-gray-400", children: truncateAddress(token.contractAddress || token.address) })
|