@retinalabsllc/zairusjs 16.0.25 → 16.0.30
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.js +10 -10
- package/dist/index.mjs +11 -11
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4319,7 +4319,7 @@ var import_core_free_icons26 = require("@hugeicons/core-free-icons");
|
|
|
4319
4319
|
var CircularLogo = ({ src, alt, fallbackText }) => {
|
|
4320
4320
|
const [isLoaded, setIsLoaded] = (0, import_react75.useState)(false);
|
|
4321
4321
|
const [hasError, setHasError] = (0, import_react75.useState)(false);
|
|
4322
|
-
return /* @__PURE__ */ import_react75.default.createElement("div", { className: "relative w-
|
|
4322
|
+
return /* @__PURE__ */ import_react75.default.createElement("div", { className: "relative w-5 h-5 rounded-full overflow-hidden bg-neutral-100 flex items-center justify-center shrink-0" }, !hasError && src ? /* @__PURE__ */ import_react75.default.createElement(import_react75.default.Fragment, null, !isLoaded && /* @__PURE__ */ import_react75.default.createElement("div", { className: "absolute inset-0 bg-neutral-200 animate-pulse" }), /* @__PURE__ */ import_react75.default.createElement(
|
|
4323
4323
|
"img",
|
|
4324
4324
|
{
|
|
4325
4325
|
src,
|
|
@@ -4516,7 +4516,7 @@ var UniversalBuyCryptoPage = ({
|
|
|
4516
4516
|
onChange: handleFiatInputChange,
|
|
4517
4517
|
placeholder: "0.00",
|
|
4518
4518
|
disabled: isSubmitting,
|
|
4519
|
-
className: "text-
|
|
4519
|
+
className: "text-lg sm:text-xl text-black bg-transparent outline-none w-full placeholder-neutral-300 "
|
|
4520
4520
|
}
|
|
4521
4521
|
)), /* @__PURE__ */ import_react75.default.createElement("div", { className: "flex items-center gap-2 bg-neutral-50 rounded-full px-3 py-1.5 shrink-0 select-none" }, /* @__PURE__ */ import_react75.default.createElement(CircularLogo, { src: fiatCurrency.logoUrl, alt: fiatCurrency.code, fallbackText: fiatCurrency.code }), /* @__PURE__ */ import_react75.default.createElement("span", { className: "text-xs text-black" }, fiatCurrency.code))), /* @__PURE__ */ import_react75.default.createElement("div", { className: "absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 z-10" }, /* @__PURE__ */ import_react75.default.createElement("div", { className: "w-10 h-10 rounded-full bg-white border border-neutral-200 flex items-center justify-center " }, /* @__PURE__ */ import_react75.default.createElement("svg", { className: "w-4 h-4 text-black", fill: "none", viewBox: "0 0 24 24", stroke: "currentColor" }, /* @__PURE__ */ import_react75.default.createElement("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M7 16V4m0 0L3 8m4-4l4 4m6 0v12m0 0l4-4m-4 4l-4-4" })))), /* @__PURE__ */ import_react75.default.createElement("div", { className: "border border-neutral-200 rounded-2xl p-4 flex items-center justify-between transition-all focus-within:border-black" }, /* @__PURE__ */ import_react75.default.createElement("div", { className: "flex flex-col gap-1 flex-1 pr-3 min-w-0" }, /* @__PURE__ */ import_react75.default.createElement("span", { className: "text-[11px] tracking-widest text-neutral-400" }, "You Receive"), isCalculating && activeSource === "FIAT" ? /* @__PURE__ */ import_react75.default.createElement("div", { className: "h-7 w-32 bg-neutral-100 animate-pulse rounded-md mt-1" }) : /* @__PURE__ */ import_react75.default.createElement(
|
|
4522
4522
|
"input",
|
|
@@ -4527,7 +4527,7 @@ var UniversalBuyCryptoPage = ({
|
|
|
4527
4527
|
onChange: handleCryptoInputChange,
|
|
4528
4528
|
placeholder: "0.00",
|
|
4529
4529
|
disabled: isSubmitting,
|
|
4530
|
-
className: "text-
|
|
4530
|
+
className: "text-lg sm:text-xl text-black bg-transparent outline-none w-full placeholder-neutral-300 "
|
|
4531
4531
|
}
|
|
4532
4532
|
)), /* @__PURE__ */ import_react75.default.createElement(
|
|
4533
4533
|
"button",
|
|
@@ -4535,7 +4535,7 @@ var UniversalBuyCryptoPage = ({
|
|
|
4535
4535
|
type: "button",
|
|
4536
4536
|
onClick: () => setIsCryptoDialogOpen(true),
|
|
4537
4537
|
disabled: isSubmitting,
|
|
4538
|
-
className: "flex items-center gap-2 bg-neutral-100 hover:bg-neutral-200 transition-colors rounded-full px-
|
|
4538
|
+
className: "flex items-center gap-2 bg-neutral-100 hover:bg-neutral-200 transition-colors rounded-full px-1 py-1.5 shrink-0 outline-none"
|
|
4539
4539
|
},
|
|
4540
4540
|
/* @__PURE__ */ import_react75.default.createElement(CircularLogo, { src: selectedCrypto.logoUrl, alt: selectedCrypto.code, fallbackText: selectedCrypto.code }),
|
|
4541
4541
|
/* @__PURE__ */ import_react75.default.createElement("span", { className: "text-xs text-black" }, selectedCrypto.code),
|
|
@@ -4546,11 +4546,11 @@ var UniversalBuyCryptoPage = ({
|
|
|
4546
4546
|
type: "button",
|
|
4547
4547
|
onClick: () => !readOnlyRecipientSection && setIsNetworkDialogOpen(true),
|
|
4548
4548
|
disabled: isSubmitting || selectedCrypto?.networks?.length <= 1 || readOnlyRecipientSection,
|
|
4549
|
-
className: `border rounded-
|
|
4549
|
+
className: `border rounded-full p-3.5 flex items-center justify-between transition-colors text-left outline-none bg-white ${readOnlyRecipientSection ? "border-neutral-100 opacity-80 cursor-not-allowed" : "border-neutral-200 hover:border-black"}`
|
|
4550
4550
|
},
|
|
4551
4551
|
/* @__PURE__ */ import_react75.default.createElement("div", { className: "flex items-center gap-3" }, /* @__PURE__ */ import_react75.default.createElement(CircularLogo, { src: selectedNetwork.logoUrl || selectedCrypto.logoUrl, alt: selectedNetwork.name, fallbackText: selectedNetwork.symbol }), /* @__PURE__ */ import_react75.default.createElement("span", { className: "text-xs text-black " }, selectedNetwork.name)),
|
|
4552
4552
|
!readOnlyRecipientSection && selectedCrypto?.networks?.length > 1 && /* @__PURE__ */ import_react75.default.createElement("svg", { className: "w-4 h-4 text-neutral-400", fill: "none", viewBox: "0 0 24 24", stroke: "currentColor" }, /* @__PURE__ */ import_react75.default.createElement("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M19 9l-7 7-7-7" }))
|
|
4553
|
-
)), /* @__PURE__ */ import_react75.default.createElement("div", { className: "flex flex-col gap-1.5" }, /* @__PURE__ */ import_react75.default.createElement("div", { className: "flex items-center justify-between" }, /* @__PURE__ */ import_react75.default.createElement("label", { className: "text-[11px] tracking-widest text-neutral-400" }, "Recipient Wallet Address"), isAddressValid !== null && /* @__PURE__ */ import_react75.default.createElement("span", { className: `text-[10px] flex items-center gap-1 ${isAddressValid ? "text-green-600" : "text-red-500"}` }, isAddressValid ? /* @__PURE__ */ import_react75.default.createElement(import_react75.default.Fragment, null, /* @__PURE__ */ import_react75.default.createElement(import_react76.HugeiconsIcon, { icon: import_core_free_icons26.CheckmarkCircle01Icon, size: 12 }), " Valid Address") : "Invalid Address Format")), /* @__PURE__ */ import_react75.default.createElement("div", { className: `border rounded-
|
|
4553
|
+
)), /* @__PURE__ */ import_react75.default.createElement("div", { className: "flex flex-col gap-1.5" }, /* @__PURE__ */ import_react75.default.createElement("div", { className: "flex items-center justify-between" }, /* @__PURE__ */ import_react75.default.createElement("label", { className: "text-[11px] tracking-widest text-neutral-400" }, "Recipient Wallet Address"), isAddressValid !== null && /* @__PURE__ */ import_react75.default.createElement("span", { className: `text-[10px] flex items-center gap-1 ${isAddressValid ? "text-green-600" : "text-red-500"}` }, isAddressValid ? /* @__PURE__ */ import_react75.default.createElement(import_react75.default.Fragment, null, /* @__PURE__ */ import_react75.default.createElement(import_react76.HugeiconsIcon, { icon: import_core_free_icons26.CheckmarkCircle01Icon, size: 12 }), " Valid Address") : "Invalid Address Format")), /* @__PURE__ */ import_react75.default.createElement("div", { className: `border rounded-full p-3.5 flex items-center justify-between transition-all bg-white ${readOnlyRecipientSection ? "border-neutral-100 opacity-80" : isAddressValid === true ? "border-green-500" : isAddressValid === false ? "border-red-400" : "border-neutral-200 focus-within:border-black"}` }, /* @__PURE__ */ import_react75.default.createElement(
|
|
4554
4554
|
"input",
|
|
4555
4555
|
{
|
|
4556
4556
|
type: "text",
|
|
@@ -4588,11 +4588,11 @@ var UniversalBuyCryptoPage = ({
|
|
|
4588
4588
|
{
|
|
4589
4589
|
key: c.code,
|
|
4590
4590
|
onClick: () => handleCryptoSelect(c),
|
|
4591
|
-
className: `flex items-center gap-4 p-3 rounded-
|
|
4591
|
+
className: `flex items-center gap-4 p-3 rounded-full hover:bg-neutral-50 transition-colors text-left outline-none border ${isSelected ? "border-black bg-neutral-50/50" : "border-transparent"}`
|
|
4592
4592
|
},
|
|
4593
4593
|
/* @__PURE__ */ import_react75.default.createElement(CircularLogo, { src: c.logoUrl, alt: c.name, fallbackText: c.code }),
|
|
4594
4594
|
/* @__PURE__ */ import_react75.default.createElement("div", { className: "flex flex-col flex-1 min-w-0" }, /* @__PURE__ */ import_react75.default.createElement("span", { className: "text-xs text-black truncate" }, c.name), /* @__PURE__ */ import_react75.default.createElement("span", { className: "text-[11px] text-neutral-400" }, c.code)),
|
|
4595
|
-
isSelected && /* @__PURE__ */ import_react75.default.createElement(import_react76.HugeiconsIcon, { icon: import_core_free_icons26.
|
|
4595
|
+
isSelected && /* @__PURE__ */ import_react75.default.createElement(import_react76.HugeiconsIcon, { icon: import_core_free_icons26.CheckmarkCircle02Icon, size: 16, className: "text-black" })
|
|
4596
4596
|
);
|
|
4597
4597
|
}))))), isNetworkDialogOpen && /* @__PURE__ */ import_react75.default.createElement("div", { className: "fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/40" }, /* @__PURE__ */ import_react75.default.createElement("div", { className: "absolute inset-0", onClick: () => setIsNetworkDialogOpen(false) }), /* @__PURE__ */ import_react75.default.createElement("div", { className: "w-full max-w-sm bg-white rounded-2xl shadow-2xl overflow-hidden relative z-10 animate-in fade-in zoom-in-95 duration-200" }, /* @__PURE__ */ import_react75.default.createElement(
|
|
4598
4598
|
"button",
|
|
@@ -4611,11 +4611,11 @@ var UniversalBuyCryptoPage = ({
|
|
|
4611
4611
|
setSelectedNetwork(net);
|
|
4612
4612
|
setIsNetworkDialogOpen(false);
|
|
4613
4613
|
},
|
|
4614
|
-
className: `flex items-center gap-4 p-3 rounded-
|
|
4614
|
+
className: `flex items-center gap-4 p-3 rounded-full hover:bg-neutral-50 transition-colors text-left outline-none border ${isSelected ? "border-black bg-neutral-50/50" : "border-transparent"}`
|
|
4615
4615
|
},
|
|
4616
4616
|
/* @__PURE__ */ import_react75.default.createElement(CircularLogo, { src: net.logoUrl || selectedCrypto.logoUrl, alt: net.name, fallbackText: net.symbol }),
|
|
4617
4617
|
/* @__PURE__ */ import_react75.default.createElement("div", { className: "flex flex-col flex-1 min-w-0" }, /* @__PURE__ */ import_react75.default.createElement("span", { className: "text-xs text-black truncate" }, net.name), /* @__PURE__ */ import_react75.default.createElement("span", { className: "text-[11px] text-neutral-400" }, net.symbol)),
|
|
4618
|
-
isSelected && /* @__PURE__ */ import_react75.default.createElement(import_react76.HugeiconsIcon, { icon: import_core_free_icons26.
|
|
4618
|
+
isSelected && /* @__PURE__ */ import_react75.default.createElement(import_react76.HugeiconsIcon, { icon: import_core_free_icons26.CheckmarkCircle02Icon, size: 16, className: "text-black" })
|
|
4619
4619
|
);
|
|
4620
4620
|
}))))));
|
|
4621
4621
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -4331,12 +4331,12 @@ import { HugeiconsIcon as HugeiconsIcon31 } from "@hugeicons/react";
|
|
|
4331
4331
|
import {
|
|
4332
4332
|
ArrowLeft01Icon as ArrowLeft01Icon12,
|
|
4333
4333
|
CheckmarkCircle01Icon as CheckmarkCircle01Icon2,
|
|
4334
|
-
|
|
4334
|
+
CheckmarkCircle02Icon
|
|
4335
4335
|
} from "@hugeicons/core-free-icons";
|
|
4336
4336
|
var CircularLogo = ({ src, alt, fallbackText }) => {
|
|
4337
4337
|
const [isLoaded, setIsLoaded] = useState31(false);
|
|
4338
4338
|
const [hasError, setHasError] = useState31(false);
|
|
4339
|
-
return /* @__PURE__ */ React45.createElement("div", { className: "relative w-
|
|
4339
|
+
return /* @__PURE__ */ React45.createElement("div", { className: "relative w-5 h-5 rounded-full overflow-hidden bg-neutral-100 flex items-center justify-center shrink-0" }, !hasError && src ? /* @__PURE__ */ React45.createElement(React45.Fragment, null, !isLoaded && /* @__PURE__ */ React45.createElement("div", { className: "absolute inset-0 bg-neutral-200 animate-pulse" }), /* @__PURE__ */ React45.createElement(
|
|
4340
4340
|
"img",
|
|
4341
4341
|
{
|
|
4342
4342
|
src,
|
|
@@ -4533,7 +4533,7 @@ var UniversalBuyCryptoPage = ({
|
|
|
4533
4533
|
onChange: handleFiatInputChange,
|
|
4534
4534
|
placeholder: "0.00",
|
|
4535
4535
|
disabled: isSubmitting,
|
|
4536
|
-
className: "text-
|
|
4536
|
+
className: "text-lg sm:text-xl text-black bg-transparent outline-none w-full placeholder-neutral-300 "
|
|
4537
4537
|
}
|
|
4538
4538
|
)), /* @__PURE__ */ React45.createElement("div", { className: "flex items-center gap-2 bg-neutral-50 rounded-full px-3 py-1.5 shrink-0 select-none" }, /* @__PURE__ */ React45.createElement(CircularLogo, { src: fiatCurrency.logoUrl, alt: fiatCurrency.code, fallbackText: fiatCurrency.code }), /* @__PURE__ */ React45.createElement("span", { className: "text-xs text-black" }, fiatCurrency.code))), /* @__PURE__ */ React45.createElement("div", { className: "absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 z-10" }, /* @__PURE__ */ React45.createElement("div", { className: "w-10 h-10 rounded-full bg-white border border-neutral-200 flex items-center justify-center " }, /* @__PURE__ */ React45.createElement("svg", { className: "w-4 h-4 text-black", fill: "none", viewBox: "0 0 24 24", stroke: "currentColor" }, /* @__PURE__ */ React45.createElement("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M7 16V4m0 0L3 8m4-4l4 4m6 0v12m0 0l4-4m-4 4l-4-4" })))), /* @__PURE__ */ React45.createElement("div", { className: "border border-neutral-200 rounded-2xl p-4 flex items-center justify-between transition-all focus-within:border-black" }, /* @__PURE__ */ React45.createElement("div", { className: "flex flex-col gap-1 flex-1 pr-3 min-w-0" }, /* @__PURE__ */ React45.createElement("span", { className: "text-[11px] tracking-widest text-neutral-400" }, "You Receive"), isCalculating && activeSource === "FIAT" ? /* @__PURE__ */ React45.createElement("div", { className: "h-7 w-32 bg-neutral-100 animate-pulse rounded-md mt-1" }) : /* @__PURE__ */ React45.createElement(
|
|
4539
4539
|
"input",
|
|
@@ -4544,7 +4544,7 @@ var UniversalBuyCryptoPage = ({
|
|
|
4544
4544
|
onChange: handleCryptoInputChange,
|
|
4545
4545
|
placeholder: "0.00",
|
|
4546
4546
|
disabled: isSubmitting,
|
|
4547
|
-
className: "text-
|
|
4547
|
+
className: "text-lg sm:text-xl text-black bg-transparent outline-none w-full placeholder-neutral-300 "
|
|
4548
4548
|
}
|
|
4549
4549
|
)), /* @__PURE__ */ React45.createElement(
|
|
4550
4550
|
"button",
|
|
@@ -4552,7 +4552,7 @@ var UniversalBuyCryptoPage = ({
|
|
|
4552
4552
|
type: "button",
|
|
4553
4553
|
onClick: () => setIsCryptoDialogOpen(true),
|
|
4554
4554
|
disabled: isSubmitting,
|
|
4555
|
-
className: "flex items-center gap-2 bg-neutral-100 hover:bg-neutral-200 transition-colors rounded-full px-
|
|
4555
|
+
className: "flex items-center gap-2 bg-neutral-100 hover:bg-neutral-200 transition-colors rounded-full px-1 py-1.5 shrink-0 outline-none"
|
|
4556
4556
|
},
|
|
4557
4557
|
/* @__PURE__ */ React45.createElement(CircularLogo, { src: selectedCrypto.logoUrl, alt: selectedCrypto.code, fallbackText: selectedCrypto.code }),
|
|
4558
4558
|
/* @__PURE__ */ React45.createElement("span", { className: "text-xs text-black" }, selectedCrypto.code),
|
|
@@ -4563,11 +4563,11 @@ var UniversalBuyCryptoPage = ({
|
|
|
4563
4563
|
type: "button",
|
|
4564
4564
|
onClick: () => !readOnlyRecipientSection && setIsNetworkDialogOpen(true),
|
|
4565
4565
|
disabled: isSubmitting || selectedCrypto?.networks?.length <= 1 || readOnlyRecipientSection,
|
|
4566
|
-
className: `border rounded-
|
|
4566
|
+
className: `border rounded-full p-3.5 flex items-center justify-between transition-colors text-left outline-none bg-white ${readOnlyRecipientSection ? "border-neutral-100 opacity-80 cursor-not-allowed" : "border-neutral-200 hover:border-black"}`
|
|
4567
4567
|
},
|
|
4568
4568
|
/* @__PURE__ */ React45.createElement("div", { className: "flex items-center gap-3" }, /* @__PURE__ */ React45.createElement(CircularLogo, { src: selectedNetwork.logoUrl || selectedCrypto.logoUrl, alt: selectedNetwork.name, fallbackText: selectedNetwork.symbol }), /* @__PURE__ */ React45.createElement("span", { className: "text-xs text-black " }, selectedNetwork.name)),
|
|
4569
4569
|
!readOnlyRecipientSection && selectedCrypto?.networks?.length > 1 && /* @__PURE__ */ React45.createElement("svg", { className: "w-4 h-4 text-neutral-400", fill: "none", viewBox: "0 0 24 24", stroke: "currentColor" }, /* @__PURE__ */ React45.createElement("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M19 9l-7 7-7-7" }))
|
|
4570
|
-
)), /* @__PURE__ */ React45.createElement("div", { className: "flex flex-col gap-1.5" }, /* @__PURE__ */ React45.createElement("div", { className: "flex items-center justify-between" }, /* @__PURE__ */ React45.createElement("label", { className: "text-[11px] tracking-widest text-neutral-400" }, "Recipient Wallet Address"), isAddressValid !== null && /* @__PURE__ */ React45.createElement("span", { className: `text-[10px] flex items-center gap-1 ${isAddressValid ? "text-green-600" : "text-red-500"}` }, isAddressValid ? /* @__PURE__ */ React45.createElement(React45.Fragment, null, /* @__PURE__ */ React45.createElement(HugeiconsIcon31, { icon: CheckmarkCircle01Icon2, size: 12 }), " Valid Address") : "Invalid Address Format")), /* @__PURE__ */ React45.createElement("div", { className: `border rounded-
|
|
4570
|
+
)), /* @__PURE__ */ React45.createElement("div", { className: "flex flex-col gap-1.5" }, /* @__PURE__ */ React45.createElement("div", { className: "flex items-center justify-between" }, /* @__PURE__ */ React45.createElement("label", { className: "text-[11px] tracking-widest text-neutral-400" }, "Recipient Wallet Address"), isAddressValid !== null && /* @__PURE__ */ React45.createElement("span", { className: `text-[10px] flex items-center gap-1 ${isAddressValid ? "text-green-600" : "text-red-500"}` }, isAddressValid ? /* @__PURE__ */ React45.createElement(React45.Fragment, null, /* @__PURE__ */ React45.createElement(HugeiconsIcon31, { icon: CheckmarkCircle01Icon2, size: 12 }), " Valid Address") : "Invalid Address Format")), /* @__PURE__ */ React45.createElement("div", { className: `border rounded-full p-3.5 flex items-center justify-between transition-all bg-white ${readOnlyRecipientSection ? "border-neutral-100 opacity-80" : isAddressValid === true ? "border-green-500" : isAddressValid === false ? "border-red-400" : "border-neutral-200 focus-within:border-black"}` }, /* @__PURE__ */ React45.createElement(
|
|
4571
4571
|
"input",
|
|
4572
4572
|
{
|
|
4573
4573
|
type: "text",
|
|
@@ -4605,11 +4605,11 @@ var UniversalBuyCryptoPage = ({
|
|
|
4605
4605
|
{
|
|
4606
4606
|
key: c.code,
|
|
4607
4607
|
onClick: () => handleCryptoSelect(c),
|
|
4608
|
-
className: `flex items-center gap-4 p-3 rounded-
|
|
4608
|
+
className: `flex items-center gap-4 p-3 rounded-full hover:bg-neutral-50 transition-colors text-left outline-none border ${isSelected ? "border-black bg-neutral-50/50" : "border-transparent"}`
|
|
4609
4609
|
},
|
|
4610
4610
|
/* @__PURE__ */ React45.createElement(CircularLogo, { src: c.logoUrl, alt: c.name, fallbackText: c.code }),
|
|
4611
4611
|
/* @__PURE__ */ React45.createElement("div", { className: "flex flex-col flex-1 min-w-0" }, /* @__PURE__ */ React45.createElement("span", { className: "text-xs text-black truncate" }, c.name), /* @__PURE__ */ React45.createElement("span", { className: "text-[11px] text-neutral-400" }, c.code)),
|
|
4612
|
-
isSelected && /* @__PURE__ */ React45.createElement(HugeiconsIcon31, { icon:
|
|
4612
|
+
isSelected && /* @__PURE__ */ React45.createElement(HugeiconsIcon31, { icon: CheckmarkCircle02Icon, size: 16, className: "text-black" })
|
|
4613
4613
|
);
|
|
4614
4614
|
}))))), isNetworkDialogOpen && /* @__PURE__ */ React45.createElement("div", { className: "fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/40" }, /* @__PURE__ */ React45.createElement("div", { className: "absolute inset-0", onClick: () => setIsNetworkDialogOpen(false) }), /* @__PURE__ */ React45.createElement("div", { className: "w-full max-w-sm bg-white rounded-2xl shadow-2xl overflow-hidden relative z-10 animate-in fade-in zoom-in-95 duration-200" }, /* @__PURE__ */ React45.createElement(
|
|
4615
4615
|
"button",
|
|
@@ -4628,11 +4628,11 @@ var UniversalBuyCryptoPage = ({
|
|
|
4628
4628
|
setSelectedNetwork(net);
|
|
4629
4629
|
setIsNetworkDialogOpen(false);
|
|
4630
4630
|
},
|
|
4631
|
-
className: `flex items-center gap-4 p-3 rounded-
|
|
4631
|
+
className: `flex items-center gap-4 p-3 rounded-full hover:bg-neutral-50 transition-colors text-left outline-none border ${isSelected ? "border-black bg-neutral-50/50" : "border-transparent"}`
|
|
4632
4632
|
},
|
|
4633
4633
|
/* @__PURE__ */ React45.createElement(CircularLogo, { src: net.logoUrl || selectedCrypto.logoUrl, alt: net.name, fallbackText: net.symbol }),
|
|
4634
4634
|
/* @__PURE__ */ React45.createElement("div", { className: "flex flex-col flex-1 min-w-0" }, /* @__PURE__ */ React45.createElement("span", { className: "text-xs text-black truncate" }, net.name), /* @__PURE__ */ React45.createElement("span", { className: "text-[11px] text-neutral-400" }, net.symbol)),
|
|
4635
|
-
isSelected && /* @__PURE__ */ React45.createElement(HugeiconsIcon31, { icon:
|
|
4635
|
+
isSelected && /* @__PURE__ */ React45.createElement(HugeiconsIcon31, { icon: CheckmarkCircle02Icon, size: 16, className: "text-black" })
|
|
4636
4636
|
);
|
|
4637
4637
|
}))))));
|
|
4638
4638
|
};
|