@loafmarkets/ui 0.1.24 → 0.1.26
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 -36
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -36
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5474,7 +5474,7 @@ var LoginPopup = ({
|
|
|
5474
5474
|
const [error, setError] = React5.useState("");
|
|
5475
5475
|
const [loading, setLoading] = React5.useState(false);
|
|
5476
5476
|
const [isSignUp, setIsSignUp] = React5.useState(false);
|
|
5477
|
-
const [fundingAmount
|
|
5477
|
+
const [fundingAmount] = React5.useState("");
|
|
5478
5478
|
const [kycLoading, setKycLoading] = React5.useState(false);
|
|
5479
5479
|
const [showKycWidget, setShowKycWidget] = React5.useState(false);
|
|
5480
5480
|
const [cryptoFundingLoading, setCryptoFundingLoading] = React5.useState(false);
|
|
@@ -5583,6 +5583,10 @@ var LoginPopup = ({
|
|
|
5583
5583
|
setError("Please enter a valid email address");
|
|
5584
5584
|
return;
|
|
5585
5585
|
}
|
|
5586
|
+
if (/\+/.test(email.split("@")[0])) {
|
|
5587
|
+
setError("Email addresses with '+' are not allowed. Please use your base email address.");
|
|
5588
|
+
return;
|
|
5589
|
+
}
|
|
5586
5590
|
if (isSignUp && !handle.trim()) {
|
|
5587
5591
|
setError("Please claim a handle to continue");
|
|
5588
5592
|
return;
|
|
@@ -6484,40 +6488,6 @@ var FundingCard = styled23__default.default.div`
|
|
|
6484
6488
|
text-align: left;
|
|
6485
6489
|
box-shadow: 0 18px 60px rgba(0, 0, 0, 0.4);
|
|
6486
6490
|
`;
|
|
6487
|
-
styled23__default.default.p`
|
|
6488
|
-
font-size: 0.9rem;
|
|
6489
|
-
color: var(--color-text, #eaecef);
|
|
6490
|
-
margin-bottom: 0.5rem;
|
|
6491
|
-
`;
|
|
6492
|
-
styled23__default.default.div`
|
|
6493
|
-
border-radius: 12px;
|
|
6494
|
-
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
6495
|
-
background-color: var(--color-background, #0d0e14);
|
|
6496
|
-
padding: 0.75rem 0.85rem;
|
|
6497
|
-
`;
|
|
6498
|
-
styled23__default.default.label`
|
|
6499
|
-
display: block;
|
|
6500
|
-
font-size: 0.65rem;
|
|
6501
|
-
text-transform: uppercase;
|
|
6502
|
-
letter-spacing: 0.4em;
|
|
6503
|
-
color: rgba(255, 255, 255, 0.45);
|
|
6504
|
-
`;
|
|
6505
|
-
styled23__default.default.input`
|
|
6506
|
-
width: 100%;
|
|
6507
|
-
background: transparent;
|
|
6508
|
-
border: none;
|
|
6509
|
-
outline: none;
|
|
6510
|
-
font-size: 1.7rem;
|
|
6511
|
-
font-weight: 400;
|
|
6512
|
-
color: var(--color-text, #eaecef);
|
|
6513
|
-
margin-top: 0.4rem;
|
|
6514
|
-
font-family: "Geist Mono", "Space Grotesk", monospace;
|
|
6515
|
-
font-variant-numeric: slashed-zero;
|
|
6516
|
-
|
|
6517
|
-
&::placeholder {
|
|
6518
|
-
color: rgba(255, 255, 255, 0.4);
|
|
6519
|
-
}
|
|
6520
|
-
`;
|
|
6521
6491
|
var FundingOptionsGrid = styled23__default.default.div`
|
|
6522
6492
|
display: grid;
|
|
6523
6493
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
@@ -9304,7 +9274,7 @@ function OrderPanel({
|
|
|
9304
9274
|
}
|
|
9305
9275
|
}
|
|
9306
9276
|
),
|
|
9307
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { children: "
|
|
9277
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { children: "USD" })
|
|
9308
9278
|
] }),
|
|
9309
9279
|
/* @__PURE__ */ jsxRuntime.jsx(QuickSelectRow, { children: [25, 50, 75, 100].map((pct) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
9310
9280
|
"button",
|