@loafmarkets/ui 0.1.25 → 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.mjs CHANGED
@@ -5449,7 +5449,7 @@ var LoginPopup = ({
5449
5449
  const [error, setError] = useState("");
5450
5450
  const [loading, setLoading] = useState(false);
5451
5451
  const [isSignUp, setIsSignUp] = useState(false);
5452
- const [fundingAmount, setFundingAmount] = useState("");
5452
+ const [fundingAmount] = useState("");
5453
5453
  const [kycLoading, setKycLoading] = useState(false);
5454
5454
  const [showKycWidget, setShowKycWidget] = useState(false);
5455
5455
  const [cryptoFundingLoading, setCryptoFundingLoading] = useState(false);
@@ -5558,6 +5558,10 @@ var LoginPopup = ({
5558
5558
  setError("Please enter a valid email address");
5559
5559
  return;
5560
5560
  }
5561
+ if (/\+/.test(email.split("@")[0])) {
5562
+ setError("Email addresses with '+' are not allowed. Please use your base email address.");
5563
+ return;
5564
+ }
5561
5565
  if (isSignUp && !handle.trim()) {
5562
5566
  setError("Please claim a handle to continue");
5563
5567
  return;
@@ -6459,40 +6463,6 @@ var FundingCard = styled23.div`
6459
6463
  text-align: left;
6460
6464
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.4);
6461
6465
  `;
6462
- styled23.p`
6463
- font-size: 0.9rem;
6464
- color: var(--color-text, #eaecef);
6465
- margin-bottom: 0.5rem;
6466
- `;
6467
- styled23.div`
6468
- border-radius: 12px;
6469
- border: 1px solid rgba(255, 255, 255, 0.08);
6470
- background-color: var(--color-background, #0d0e14);
6471
- padding: 0.75rem 0.85rem;
6472
- `;
6473
- styled23.label`
6474
- display: block;
6475
- font-size: 0.65rem;
6476
- text-transform: uppercase;
6477
- letter-spacing: 0.4em;
6478
- color: rgba(255, 255, 255, 0.45);
6479
- `;
6480
- styled23.input`
6481
- width: 100%;
6482
- background: transparent;
6483
- border: none;
6484
- outline: none;
6485
- font-size: 1.7rem;
6486
- font-weight: 400;
6487
- color: var(--color-text, #eaecef);
6488
- margin-top: 0.4rem;
6489
- font-family: "Geist Mono", "Space Grotesk", monospace;
6490
- font-variant-numeric: slashed-zero;
6491
-
6492
- &::placeholder {
6493
- color: rgba(255, 255, 255, 0.4);
6494
- }
6495
- `;
6496
6466
  var FundingOptionsGrid = styled23.div`
6497
6467
  display: grid;
6498
6468
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));