@retinalabsllc/zairusjs 15.1.35 → 15.1.45
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 +6 -5
- package/dist/index.mjs +6 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -482,7 +482,8 @@ var PhoneInput = ({
|
|
|
482
482
|
var SUPPORTED_COUNTRIES = [
|
|
483
483
|
{ code: "NG", dialCode: "+234", name: "Nigeria" },
|
|
484
484
|
{ code: "GH", dialCode: "+233", name: "Ghana" },
|
|
485
|
-
{ code: "KE", dialCode: "+254", name: "Kenya" }
|
|
485
|
+
{ code: "KE", dialCode: "+254", name: "Kenya" },
|
|
486
|
+
{ code: "UG", dialCode: "+256", name: "Uganda" }
|
|
486
487
|
];
|
|
487
488
|
var InputSpinner2 = () => /* @__PURE__ */ import_react7.default.createElement("svg", { className: "animate-spin h-4 w-4 text-neutral-400", xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24" }, /* @__PURE__ */ import_react7.default.createElement("circle", { className: "opacity-25", cx: "12", cy: "12", r: "10", stroke: "currentColor", strokeWidth: "4" }), /* @__PURE__ */ import_react7.default.createElement("path", { className: "opacity-75", fill: "currentColor", d: "M4 12a8 8 0 018-8V0C5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z" }));
|
|
488
489
|
var CountrySelectorDialog = ({ isOpen, onClose, onSelect }) => {
|
|
@@ -1220,7 +1221,7 @@ var UniversalProfileSettings = ({
|
|
|
1220
1221
|
))), /* @__PURE__ */ import_react17.default.createElement("div", { className: "space-y-2 min-w-0" }, /* @__PURE__ */ import_react17.default.createElement(
|
|
1221
1222
|
TextInput,
|
|
1222
1223
|
{
|
|
1223
|
-
label: "
|
|
1224
|
+
label: "Phone Number",
|
|
1224
1225
|
value: phoneNumber,
|
|
1225
1226
|
onChange: () => {
|
|
1226
1227
|
},
|
|
@@ -1635,7 +1636,7 @@ var UniversalHomeView = ({
|
|
|
1635
1636
|
const fallbackAvatarUrl = `/api/avatar/?name=${encodeURIComponent(fullName || " ")}&background=ffffff&color=000000&size=200&font-size=0.33`;
|
|
1636
1637
|
const finalAvatarSrc = avatarSrc || fallbackAvatarUrl;
|
|
1637
1638
|
const hasUnreadNotifs = notifications.some((n) => !n.isRead);
|
|
1638
|
-
return /* @__PURE__ */ import_react25.default.createElement("div", { className: "w-full max-w-3xl mx-auto flex flex-col animate-in fade-in duration-300 relative" }, /* @__PURE__ */ import_react25.default.createElement("div", { className: "flex items-center justify-between w-full pb-4 " }, /* @__PURE__ */ import_react25.default.createElement("div", { className: "w-10 h-10 rounded-full bg-white p-0.75 flex items-center justify-center " }, /* @__PURE__ */ import_react25.default.createElement("div", { className: "relative w-full h-full rounded-full overflow-hidden bg-neutral-100 flex items-center justify-center" }, !isAvatarLoaded && /* @__PURE__ */ import_react25.default.createElement("div", { className: "absolute inset-0 flex items-center justify-center z-10 bg-neutral-100" }, /* @__PURE__ */ import_react25.default.createElement(import_react26.HugeiconsIcon, { icon: import_core_free_icons8.Loading03Icon, size: 16, className: "animate-spin text-black" })), /* @__PURE__ */ import_react25.default.createElement(
|
|
1639
|
+
return /* @__PURE__ */ import_react25.default.createElement("div", { className: "w-full max-w-3xl mx-auto flex flex-col animate-in fade-in duration-300 relative" }, /* @__PURE__ */ import_react25.default.createElement("div", { className: "flex items-center justify-between w-full pb-4 " }, /* @__PURE__ */ import_react25.default.createElement("div", { className: "w-10 h-10 rounded-full bg-white p-0.75 flex items-center justify-center cursor-pointer", onClick: () => window.location.href = "/app/account/me" }, /* @__PURE__ */ import_react25.default.createElement("div", { className: "relative w-full h-full rounded-full overflow-hidden bg-neutral-100 flex items-center justify-center" }, !isAvatarLoaded && /* @__PURE__ */ import_react25.default.createElement("div", { className: "absolute inset-0 flex items-center justify-center z-10 bg-neutral-100" }, /* @__PURE__ */ import_react25.default.createElement(import_react26.HugeiconsIcon, { icon: import_core_free_icons8.Loading03Icon, size: 16, className: "animate-spin text-black" })), /* @__PURE__ */ import_react25.default.createElement(
|
|
1639
1640
|
"img",
|
|
1640
1641
|
{
|
|
1641
1642
|
src: finalAvatarSrc,
|
|
@@ -1660,7 +1661,7 @@ var UniversalHomeView = ({
|
|
|
1660
1661
|
onClick: buyCryptoAction?.onClick,
|
|
1661
1662
|
className: "bg-[#143731] rounded-2xl p-5 relative overflow-hidden flex flex-col h-32 sm:h-36 cursor-pointer hover:opacity-90 transition-opacity"
|
|
1662
1663
|
},
|
|
1663
|
-
/* @__PURE__ */ import_react25.default.createElement("div", { className: "relative z-10 flex flex-col h-full justify-between" }, /* @__PURE__ */ import_react25.default.createElement("p", { className: "text-[15px] sm:text-[15px] text-white leading-tight
|
|
1664
|
+
/* @__PURE__ */ import_react25.default.createElement("div", { className: "relative z-10 flex flex-col h-full justify-between" }, /* @__PURE__ */ import_react25.default.createElement("p", { className: "text-[15px] sm:text-[15px] text-white leading-tight " }, "Buy", /* @__PURE__ */ import_react25.default.createElement("br", null), /* @__PURE__ */ import_react25.default.createElement("span", { className: "text-white/70" }, "Crypto")), /* @__PURE__ */ import_react25.default.createElement("div", { className: "w-8 h-8 rounded-full bg-white/10 flex items-center justify-center" }, /* @__PURE__ */ import_react25.default.createElement(import_react26.HugeiconsIcon, { icon: import_core_free_icons8.ArrowUpRight01Icon, size: 16, className: "text-white" }))),
|
|
1664
1665
|
/* @__PURE__ */ import_react25.default.createElement(
|
|
1665
1666
|
"img",
|
|
1666
1667
|
{
|
|
@@ -1675,7 +1676,7 @@ var UniversalHomeView = ({
|
|
|
1675
1676
|
onClick: referralAction?.onClick,
|
|
1676
1677
|
className: "bg-[#ceff8a] rounded-2xl p-5 relative overflow-hidden flex flex-col h-32 sm:h-36 cursor-pointer hover:opacity-90 transition-opacity"
|
|
1677
1678
|
},
|
|
1678
|
-
/* @__PURE__ */ import_react25.default.createElement("div", { className: "relative z-10 flex flex-col h-full justify-between" }, /* @__PURE__ */ import_react25.default.createElement("p", { className: "text-[15px] sm:text-[15px] text-black leading-tight
|
|
1679
|
+
/* @__PURE__ */ import_react25.default.createElement("div", { className: "relative z-10 flex flex-col h-full justify-between" }, /* @__PURE__ */ import_react25.default.createElement("p", { className: "text-[15px] sm:text-[15px] text-black leading-tight " }, "My", /* @__PURE__ */ import_react25.default.createElement("br", null), /* @__PURE__ */ import_react25.default.createElement("span", { className: "text-black/60" }, "Rewards")), /* @__PURE__ */ import_react25.default.createElement("div", { className: "w-8 h-8 rounded-full bg-black/5 flex items-center justify-center" }, /* @__PURE__ */ import_react25.default.createElement(import_react26.HugeiconsIcon, { icon: import_core_free_icons8.ArrowRight01Icon, size: 16, className: "text-black" }))),
|
|
1679
1680
|
/* @__PURE__ */ import_react25.default.createElement(
|
|
1680
1681
|
"img",
|
|
1681
1682
|
{
|
package/dist/index.mjs
CHANGED
|
@@ -403,7 +403,8 @@ var PhoneInput = ({
|
|
|
403
403
|
var SUPPORTED_COUNTRIES = [
|
|
404
404
|
{ code: "NG", dialCode: "+234", name: "Nigeria" },
|
|
405
405
|
{ code: "GH", dialCode: "+233", name: "Ghana" },
|
|
406
|
-
{ code: "KE", dialCode: "+254", name: "Kenya" }
|
|
406
|
+
{ code: "KE", dialCode: "+254", name: "Kenya" },
|
|
407
|
+
{ code: "UG", dialCode: "+256", name: "Uganda" }
|
|
407
408
|
];
|
|
408
409
|
var InputSpinner2 = () => /* @__PURE__ */ React6.createElement("svg", { className: "animate-spin h-4 w-4 text-neutral-400", xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24" }, /* @__PURE__ */ React6.createElement("circle", { className: "opacity-25", cx: "12", cy: "12", r: "10", stroke: "currentColor", strokeWidth: "4" }), /* @__PURE__ */ React6.createElement("path", { className: "opacity-75", fill: "currentColor", d: "M4 12a8 8 0 018-8V0C5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z" }));
|
|
409
410
|
var CountrySelectorDialog = ({ isOpen, onClose, onSelect }) => {
|
|
@@ -1155,7 +1156,7 @@ var UniversalProfileSettings = ({
|
|
|
1155
1156
|
))), /* @__PURE__ */ React12.createElement("div", { className: "space-y-2 min-w-0" }, /* @__PURE__ */ React12.createElement(
|
|
1156
1157
|
TextInput,
|
|
1157
1158
|
{
|
|
1158
|
-
label: "
|
|
1159
|
+
label: "Phone Number",
|
|
1159
1160
|
value: phoneNumber,
|
|
1160
1161
|
onChange: () => {
|
|
1161
1162
|
},
|
|
@@ -1588,7 +1589,7 @@ var UniversalHomeView = ({
|
|
|
1588
1589
|
const fallbackAvatarUrl = `/api/avatar/?name=${encodeURIComponent(fullName || " ")}&background=ffffff&color=000000&size=200&font-size=0.33`;
|
|
1589
1590
|
const finalAvatarSrc = avatarSrc || fallbackAvatarUrl;
|
|
1590
1591
|
const hasUnreadNotifs = notifications.some((n) => !n.isRead);
|
|
1591
|
-
return /* @__PURE__ */ React16.createElement("div", { className: "w-full max-w-3xl mx-auto flex flex-col animate-in fade-in duration-300 relative" }, /* @__PURE__ */ React16.createElement("div", { className: "flex items-center justify-between w-full pb-4 " }, /* @__PURE__ */ React16.createElement("div", { className: "w-10 h-10 rounded-full bg-white p-0.75 flex items-center justify-center " }, /* @__PURE__ */ React16.createElement("div", { className: "relative w-full h-full rounded-full overflow-hidden bg-neutral-100 flex items-center justify-center" }, !isAvatarLoaded && /* @__PURE__ */ React16.createElement("div", { className: "absolute inset-0 flex items-center justify-center z-10 bg-neutral-100" }, /* @__PURE__ */ React16.createElement(HugeiconsIcon10, { icon: Loading03Icon5, size: 16, className: "animate-spin text-black" })), /* @__PURE__ */ React16.createElement(
|
|
1592
|
+
return /* @__PURE__ */ React16.createElement("div", { className: "w-full max-w-3xl mx-auto flex flex-col animate-in fade-in duration-300 relative" }, /* @__PURE__ */ React16.createElement("div", { className: "flex items-center justify-between w-full pb-4 " }, /* @__PURE__ */ React16.createElement("div", { className: "w-10 h-10 rounded-full bg-white p-0.75 flex items-center justify-center cursor-pointer", onClick: () => window.location.href = "/app/account/me" }, /* @__PURE__ */ React16.createElement("div", { className: "relative w-full h-full rounded-full overflow-hidden bg-neutral-100 flex items-center justify-center" }, !isAvatarLoaded && /* @__PURE__ */ React16.createElement("div", { className: "absolute inset-0 flex items-center justify-center z-10 bg-neutral-100" }, /* @__PURE__ */ React16.createElement(HugeiconsIcon10, { icon: Loading03Icon5, size: 16, className: "animate-spin text-black" })), /* @__PURE__ */ React16.createElement(
|
|
1592
1593
|
"img",
|
|
1593
1594
|
{
|
|
1594
1595
|
src: finalAvatarSrc,
|
|
@@ -1613,7 +1614,7 @@ var UniversalHomeView = ({
|
|
|
1613
1614
|
onClick: buyCryptoAction?.onClick,
|
|
1614
1615
|
className: "bg-[#143731] rounded-2xl p-5 relative overflow-hidden flex flex-col h-32 sm:h-36 cursor-pointer hover:opacity-90 transition-opacity"
|
|
1615
1616
|
},
|
|
1616
|
-
/* @__PURE__ */ React16.createElement("div", { className: "relative z-10 flex flex-col h-full justify-between" }, /* @__PURE__ */ React16.createElement("p", { className: "text-[15px] sm:text-[15px] text-white leading-tight
|
|
1617
|
+
/* @__PURE__ */ React16.createElement("div", { className: "relative z-10 flex flex-col h-full justify-between" }, /* @__PURE__ */ React16.createElement("p", { className: "text-[15px] sm:text-[15px] text-white leading-tight " }, "Buy", /* @__PURE__ */ React16.createElement("br", null), /* @__PURE__ */ React16.createElement("span", { className: "text-white/70" }, "Crypto")), /* @__PURE__ */ React16.createElement("div", { className: "w-8 h-8 rounded-full bg-white/10 flex items-center justify-center" }, /* @__PURE__ */ React16.createElement(HugeiconsIcon10, { icon: ArrowUpRight01Icon2, size: 16, className: "text-white" }))),
|
|
1617
1618
|
/* @__PURE__ */ React16.createElement(
|
|
1618
1619
|
"img",
|
|
1619
1620
|
{
|
|
@@ -1628,7 +1629,7 @@ var UniversalHomeView = ({
|
|
|
1628
1629
|
onClick: referralAction?.onClick,
|
|
1629
1630
|
className: "bg-[#ceff8a] rounded-2xl p-5 relative overflow-hidden flex flex-col h-32 sm:h-36 cursor-pointer hover:opacity-90 transition-opacity"
|
|
1630
1631
|
},
|
|
1631
|
-
/* @__PURE__ */ React16.createElement("div", { className: "relative z-10 flex flex-col h-full justify-between" }, /* @__PURE__ */ React16.createElement("p", { className: "text-[15px] sm:text-[15px] text-black leading-tight
|
|
1632
|
+
/* @__PURE__ */ React16.createElement("div", { className: "relative z-10 flex flex-col h-full justify-between" }, /* @__PURE__ */ React16.createElement("p", { className: "text-[15px] sm:text-[15px] text-black leading-tight " }, "My", /* @__PURE__ */ React16.createElement("br", null), /* @__PURE__ */ React16.createElement("span", { className: "text-black/60" }, "Rewards")), /* @__PURE__ */ React16.createElement("div", { className: "w-8 h-8 rounded-full bg-black/5 flex items-center justify-center" }, /* @__PURE__ */ React16.createElement(HugeiconsIcon10, { icon: ArrowRight01Icon2, size: 16, className: "text-black" }))),
|
|
1632
1633
|
/* @__PURE__ */ React16.createElement(
|
|
1633
1634
|
"img",
|
|
1634
1635
|
{
|