@retinalabsllc/zairusjs 11.0.2 → 11.0.5
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 +10 -10
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -556,12 +556,12 @@ function AuthFormInner({
|
|
|
556
556
|
},
|
|
557
557
|
className: "w-10 h-12 text-center text-lg bg-transparent border-b-2 border-neutral-100 text-black outline-none focus:border-black transition-all duration-300"
|
|
558
558
|
}
|
|
559
|
-
))), /* @__PURE__ */ import_react6.default.createElement(ThreeDActionButton, { type: "submit", disabled: otp.join("").length < 6, isLoading: isSubmitting, className: "w-full" }, "Verify Code")), userHasPasskey && /* @__PURE__ */ import_react6.default.createElement("div", { className: "
|
|
559
|
+
))), /* @__PURE__ */ import_react6.default.createElement(ThreeDActionButton, { type: "submit", disabled: otp.join("").length < 6, isLoading: isSubmitting, className: "w-full" }, "Verify Code")), userHasPasskey && /* @__PURE__ */ import_react6.default.createElement("div", { className: "pt-6 " }, /* @__PURE__ */ import_react6.default.createElement(
|
|
560
560
|
"button",
|
|
561
561
|
{
|
|
562
562
|
onClick: triggerPasskeyLogin,
|
|
563
563
|
disabled: isSubmitting,
|
|
564
|
-
className: "w-full py-
|
|
564
|
+
className: "w-full py-2.5 rounded-full text-black border border-neutral-200 hover:bg-neutral-50 text-xs font-medium tracking-wide transition-colors outline-none disabled:opacity-50"
|
|
565
565
|
},
|
|
566
566
|
"Use Passkey / Biometrics"
|
|
567
567
|
))))));
|
|
@@ -1160,7 +1160,7 @@ var UniversalProfileSettings = ({
|
|
|
1160
1160
|
type: "submit",
|
|
1161
1161
|
disabled: isPinSubmitting || newPin.length !== 4 || confirmPin.length !== 4 || hasPin && oldPin.length !== 4,
|
|
1162
1162
|
isLoading: isPinSubmitting,
|
|
1163
|
-
className: "w-full
|
|
1163
|
+
className: "w-full"
|
|
1164
1164
|
},
|
|
1165
1165
|
hasPin ? "Update PIN" : "Set PIN"
|
|
1166
1166
|
))))))));
|
|
@@ -1421,14 +1421,14 @@ var UniversalTransactionPage = ({
|
|
|
1421
1421
|
{
|
|
1422
1422
|
onClick: handleGenerateReceipt,
|
|
1423
1423
|
isLoading: isGeneratingReceipt,
|
|
1424
|
-
className: "w-full
|
|
1424
|
+
className: "w-full"
|
|
1425
1425
|
},
|
|
1426
1426
|
"Generate Receipt"
|
|
1427
1427
|
), /* @__PURE__ */ import_react23.default.createElement(
|
|
1428
1428
|
"button",
|
|
1429
1429
|
{
|
|
1430
1430
|
onClick: () => onReportTransaction && onReportTransaction(selectedTransaction),
|
|
1431
|
-
className: "w-full flex items-center justify-center py-2.5 rounded-full border border-neutral-200 text-black hover:bg-neutral-50 transition-colors outline-none text-
|
|
1431
|
+
className: "w-full flex items-center justify-center py-2.5 rounded-full border border-neutral-200 text-black hover:bg-neutral-50 transition-colors outline-none text-xs tracking-wide mt-2"
|
|
1432
1432
|
},
|
|
1433
1433
|
"Report Transaction"
|
|
1434
1434
|
), selectedTransaction.type === "WALLET_TRANSACTION" && /* @__PURE__ */ import_react23.default.createElement(
|
|
@@ -1437,7 +1437,7 @@ var UniversalTransactionPage = ({
|
|
|
1437
1437
|
href: `https://basescan.org/tx/${selectedTransaction.reference}`,
|
|
1438
1438
|
target: "_blank",
|
|
1439
1439
|
rel: "noopener noreferrer",
|
|
1440
|
-
className: "w-full flex items-center justify-center py-2.5 rounded-full border border-neutral-200 text-black hover:bg-neutral-50 transition-colors outline-none text-
|
|
1440
|
+
className: "w-full flex items-center justify-center py-2.5 rounded-full border border-neutral-200 text-black hover:bg-neutral-50 transition-colors outline-none text-xs tracking-wide mt-2"
|
|
1441
1441
|
},
|
|
1442
1442
|
"View in block explorer"
|
|
1443
1443
|
))))), isDirectionModalOpen && /* @__PURE__ */ import_react23.default.createElement("div", { className: "fixed inset-0 z-110 flex items-center justify-center p-4" }, /* @__PURE__ */ import_react23.default.createElement("div", { className: "absolute inset-0 bg-black/40 ", onClick: () => setIsDirectionModalOpen(false) }), /* @__PURE__ */ import_react23.default.createElement("div", { ref: directionDropdownRef, className: "relative w-72 bg-white shadow-2xl rounded-2xl flex flex-col items-center overflow-hidden animate-in zoom-in-95 duration-200" }, /* @__PURE__ */ import_react23.default.createElement("div", { className: "p-6 text-center w-full mb-2" }, /* @__PURE__ */ import_react23.default.createElement("h3", { className: "text-[14px] text-black tracking-tight" }, "Payment Type")), /* @__PURE__ */ import_react23.default.createElement("div", { className: "w-full flex flex-col pl-2 pr-2 gap-1" }, ["ALL", "CREDIT", "DEBIT"].map((option) => /* @__PURE__ */ import_react23.default.createElement(
|
|
@@ -1537,7 +1537,7 @@ var UniversalHomeView = ({
|
|
|
1537
1537
|
ThreeDActionButton,
|
|
1538
1538
|
{
|
|
1539
1539
|
onClick: primaryAction.onClick,
|
|
1540
|
-
className: "px-6
|
|
1540
|
+
className: "px-6 sm:px-8"
|
|
1541
1541
|
},
|
|
1542
1542
|
/* @__PURE__ */ import_react25.default.createElement("span", { className: "flex items-center gap-1.5 text-[13px] tracking-wide " }, primaryAction.label, primaryAction.icon && /* @__PURE__ */ import_react25.default.createElement(import_react26.HugeiconsIcon, { icon: primaryAction.icon, size: 16 }))
|
|
1543
1543
|
), secondaryAction && /* @__PURE__ */ import_react25.default.createElement(
|
|
@@ -1649,14 +1649,14 @@ var UniversalWalletPage = ({
|
|
|
1649
1649
|
{
|
|
1650
1650
|
onClick: () => onDownloadPayId && onDownloadPayId(selectedWallet),
|
|
1651
1651
|
isLoading: isGeneratingStatement,
|
|
1652
|
-
className: "w-full
|
|
1652
|
+
className: "w-full"
|
|
1653
1653
|
},
|
|
1654
1654
|
"Generate Statement"
|
|
1655
1655
|
), /* @__PURE__ */ import_react27.default.createElement(
|
|
1656
1656
|
"button",
|
|
1657
1657
|
{
|
|
1658
1658
|
onClick: () => handleCopy(selectedWallet),
|
|
1659
|
-
className: "w-full flex items-center justify-center py-2.5 rounded-full border border-neutral-200 text-black hover:bg-neutral-50 outline-none text-
|
|
1659
|
+
className: "w-full flex items-center justify-center py-2.5 rounded-full border border-neutral-200 text-black hover:bg-neutral-50 outline-none text-xs tracking-wide transition-colors"
|
|
1660
1660
|
},
|
|
1661
1661
|
"Copy Wallet Address"
|
|
1662
1662
|
)))))));
|
|
@@ -2864,7 +2864,7 @@ var UniversalSecurityPage = ({
|
|
|
2864
2864
|
{
|
|
2865
2865
|
type: "button",
|
|
2866
2866
|
onClick: () => handleCopySecret(twoFaSecret),
|
|
2867
|
-
className: "w-full flex items-center justify-center py-
|
|
2867
|
+
className: "w-full flex items-center justify-center py-2.5 rounded-full border border-neutral-200 text-black hover:bg-neutral-50 outline-none text-xs font-medium tracking-wide transition-colors mt-2"
|
|
2868
2868
|
},
|
|
2869
2869
|
/* @__PURE__ */ import_react45.default.createElement(import_react46.HugeiconsIcon, { icon: import_core_free_icons16.Copy01Icon, size: 16, className: "mr-2" }),
|
|
2870
2870
|
"Copy Secret Key"
|
package/dist/index.mjs
CHANGED
|
@@ -484,12 +484,12 @@ function AuthFormInner({
|
|
|
484
484
|
},
|
|
485
485
|
className: "w-10 h-12 text-center text-lg bg-transparent border-b-2 border-neutral-100 text-black outline-none focus:border-black transition-all duration-300"
|
|
486
486
|
}
|
|
487
|
-
))), /* @__PURE__ */ React5.createElement(ThreeDActionButton, { type: "submit", disabled: otp.join("").length < 6, isLoading: isSubmitting, className: "w-full" }, "Verify Code")), userHasPasskey && /* @__PURE__ */ React5.createElement("div", { className: "
|
|
487
|
+
))), /* @__PURE__ */ React5.createElement(ThreeDActionButton, { type: "submit", disabled: otp.join("").length < 6, isLoading: isSubmitting, className: "w-full" }, "Verify Code")), userHasPasskey && /* @__PURE__ */ React5.createElement("div", { className: "pt-6 " }, /* @__PURE__ */ React5.createElement(
|
|
488
488
|
"button",
|
|
489
489
|
{
|
|
490
490
|
onClick: triggerPasskeyLogin,
|
|
491
491
|
disabled: isSubmitting,
|
|
492
|
-
className: "w-full py-
|
|
492
|
+
className: "w-full py-2.5 rounded-full text-black border border-neutral-200 hover:bg-neutral-50 text-xs font-medium tracking-wide transition-colors outline-none disabled:opacity-50"
|
|
493
493
|
},
|
|
494
494
|
"Use Passkey / Biometrics"
|
|
495
495
|
))))));
|
|
@@ -1102,7 +1102,7 @@ var UniversalProfileSettings = ({
|
|
|
1102
1102
|
type: "submit",
|
|
1103
1103
|
disabled: isPinSubmitting || newPin.length !== 4 || confirmPin.length !== 4 || hasPin && oldPin.length !== 4,
|
|
1104
1104
|
isLoading: isPinSubmitting,
|
|
1105
|
-
className: "w-full
|
|
1105
|
+
className: "w-full"
|
|
1106
1106
|
},
|
|
1107
1107
|
hasPin ? "Update PIN" : "Set PIN"
|
|
1108
1108
|
))))))));
|
|
@@ -1374,14 +1374,14 @@ var UniversalTransactionPage = ({
|
|
|
1374
1374
|
{
|
|
1375
1375
|
onClick: handleGenerateReceipt,
|
|
1376
1376
|
isLoading: isGeneratingReceipt,
|
|
1377
|
-
className: "w-full
|
|
1377
|
+
className: "w-full"
|
|
1378
1378
|
},
|
|
1379
1379
|
"Generate Receipt"
|
|
1380
1380
|
), /* @__PURE__ */ React15.createElement(
|
|
1381
1381
|
"button",
|
|
1382
1382
|
{
|
|
1383
1383
|
onClick: () => onReportTransaction && onReportTransaction(selectedTransaction),
|
|
1384
|
-
className: "w-full flex items-center justify-center py-2.5 rounded-full border border-neutral-200 text-black hover:bg-neutral-50 transition-colors outline-none text-
|
|
1384
|
+
className: "w-full flex items-center justify-center py-2.5 rounded-full border border-neutral-200 text-black hover:bg-neutral-50 transition-colors outline-none text-xs tracking-wide mt-2"
|
|
1385
1385
|
},
|
|
1386
1386
|
"Report Transaction"
|
|
1387
1387
|
), selectedTransaction.type === "WALLET_TRANSACTION" && /* @__PURE__ */ React15.createElement(
|
|
@@ -1390,7 +1390,7 @@ var UniversalTransactionPage = ({
|
|
|
1390
1390
|
href: `https://basescan.org/tx/${selectedTransaction.reference}`,
|
|
1391
1391
|
target: "_blank",
|
|
1392
1392
|
rel: "noopener noreferrer",
|
|
1393
|
-
className: "w-full flex items-center justify-center py-2.5 rounded-full border border-neutral-200 text-black hover:bg-neutral-50 transition-colors outline-none text-
|
|
1393
|
+
className: "w-full flex items-center justify-center py-2.5 rounded-full border border-neutral-200 text-black hover:bg-neutral-50 transition-colors outline-none text-xs tracking-wide mt-2"
|
|
1394
1394
|
},
|
|
1395
1395
|
"View in block explorer"
|
|
1396
1396
|
))))), isDirectionModalOpen && /* @__PURE__ */ React15.createElement("div", { className: "fixed inset-0 z-110 flex items-center justify-center p-4" }, /* @__PURE__ */ React15.createElement("div", { className: "absolute inset-0 bg-black/40 ", onClick: () => setIsDirectionModalOpen(false) }), /* @__PURE__ */ React15.createElement("div", { ref: directionDropdownRef, className: "relative w-72 bg-white shadow-2xl rounded-2xl flex flex-col items-center overflow-hidden animate-in zoom-in-95 duration-200" }, /* @__PURE__ */ React15.createElement("div", { className: "p-6 text-center w-full mb-2" }, /* @__PURE__ */ React15.createElement("h3", { className: "text-[14px] text-black tracking-tight" }, "Payment Type")), /* @__PURE__ */ React15.createElement("div", { className: "w-full flex flex-col pl-2 pr-2 gap-1" }, ["ALL", "CREDIT", "DEBIT"].map((option) => /* @__PURE__ */ React15.createElement(
|
|
@@ -1490,7 +1490,7 @@ var UniversalHomeView = ({
|
|
|
1490
1490
|
ThreeDActionButton,
|
|
1491
1491
|
{
|
|
1492
1492
|
onClick: primaryAction.onClick,
|
|
1493
|
-
className: "px-6
|
|
1493
|
+
className: "px-6 sm:px-8"
|
|
1494
1494
|
},
|
|
1495
1495
|
/* @__PURE__ */ React16.createElement("span", { className: "flex items-center gap-1.5 text-[13px] tracking-wide " }, primaryAction.label, primaryAction.icon && /* @__PURE__ */ React16.createElement(HugeiconsIcon10, { icon: primaryAction.icon, size: 16 }))
|
|
1496
1496
|
), secondaryAction && /* @__PURE__ */ React16.createElement(
|
|
@@ -1608,14 +1608,14 @@ var UniversalWalletPage = ({
|
|
|
1608
1608
|
{
|
|
1609
1609
|
onClick: () => onDownloadPayId && onDownloadPayId(selectedWallet),
|
|
1610
1610
|
isLoading: isGeneratingStatement,
|
|
1611
|
-
className: "w-full
|
|
1611
|
+
className: "w-full"
|
|
1612
1612
|
},
|
|
1613
1613
|
"Generate Statement"
|
|
1614
1614
|
), /* @__PURE__ */ React17.createElement(
|
|
1615
1615
|
"button",
|
|
1616
1616
|
{
|
|
1617
1617
|
onClick: () => handleCopy(selectedWallet),
|
|
1618
|
-
className: "w-full flex items-center justify-center py-2.5 rounded-full border border-neutral-200 text-black hover:bg-neutral-50 outline-none text-
|
|
1618
|
+
className: "w-full flex items-center justify-center py-2.5 rounded-full border border-neutral-200 text-black hover:bg-neutral-50 outline-none text-xs tracking-wide transition-colors"
|
|
1619
1619
|
},
|
|
1620
1620
|
"Copy Wallet Address"
|
|
1621
1621
|
)))))));
|
|
@@ -2852,7 +2852,7 @@ var UniversalSecurityPage = ({
|
|
|
2852
2852
|
{
|
|
2853
2853
|
type: "button",
|
|
2854
2854
|
onClick: () => handleCopySecret(twoFaSecret),
|
|
2855
|
-
className: "w-full flex items-center justify-center py-
|
|
2855
|
+
className: "w-full flex items-center justify-center py-2.5 rounded-full border border-neutral-200 text-black hover:bg-neutral-50 outline-none text-xs font-medium tracking-wide transition-colors mt-2"
|
|
2856
2856
|
},
|
|
2857
2857
|
/* @__PURE__ */ React27.createElement(HugeiconsIcon19, { icon: Copy01Icon3, size: 16, className: "mr-2" }),
|
|
2858
2858
|
"Copy Secret Key"
|