@loafmarkets/ui 0.1.407 → 0.1.408

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
@@ -7551,7 +7551,6 @@ var LoginPopup = ({
7551
7551
  ] })
7552
7552
  ] });
7553
7553
  if (gate) {
7554
- const codeAccepted = codeStatus === "valid";
7555
7554
  const showSignIn = signInMode || signInRevealed;
7556
7555
  return /* @__PURE__ */ jsxs(GateShell, { children: [
7557
7556
  /* @__PURE__ */ jsx(GateTint, { $reveal: showSignIn ? 1 : 0 }),
@@ -7577,35 +7576,30 @@ var LoginPopup = ({
7577
7576
  ] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
7578
7577
  /* @__PURE__ */ jsxs(CodeInputWrapper, { $status: codeStatus, children: [
7579
7578
  /* @__PURE__ */ jsx(CodePrefix, { children: CODE_PREFIX }),
7580
- codeInput,
7581
- /* @__PURE__ */ jsx(
7582
- GateSubmit,
7583
- {
7584
- type: "button",
7585
- "aria-label": "Submit access code",
7586
- $status: codeStatus,
7587
- disabled: codeStatus === "checking" || !codeComplete,
7588
- onClick: () => void runCodeValidation(referralCode),
7589
- children: codeAccepted ? /* @__PURE__ */ jsx("svg", { width: "22", height: "22", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.4", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("path", { d: "M20 6L9 17l-5-5" }) }) : codeStatus === "checking" ? /* @__PURE__ */ jsx(GateSpinner, {}) : /* @__PURE__ */ jsx("svg", { width: "22", height: "22", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.2", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("path", { d: "M5 12h14M13 6l6 6-6 6" }) })
7590
- }
7591
- )
7579
+ codeInput
7592
7580
  ] }),
7593
7581
  (codeStatus === "invalid" || error && !signInRevealed) && /* @__PURE__ */ jsx(StatusMessage, { $error: true, children: error || "That code isn't valid. Double-check and try again." }),
7594
- signInRevealed ? signInStep : /* @__PURE__ */ jsxs(GateResendText, { children: [
7595
- "Already have an account?",
7596
- " ",
7597
- /* @__PURE__ */ jsx(
7598
- "button",
7599
- {
7600
- type: "button",
7601
- onClick: () => {
7602
- setError("");
7603
- setIsSignUp(false);
7604
- setSignInMode(true);
7605
- },
7606
- children: "Sign in"
7607
- }
7608
- )
7582
+ signInRevealed ? signInStep : /* @__PURE__ */ jsxs(Fragment, { children: [
7583
+ /* @__PURE__ */ jsxs(GateResendText, { children: [
7584
+ "Already have an account?",
7585
+ " ",
7586
+ /* @__PURE__ */ jsx(
7587
+ "button",
7588
+ {
7589
+ type: "button",
7590
+ onClick: () => {
7591
+ setError("");
7592
+ setIsSignUp(false);
7593
+ setSignInMode(true);
7594
+ },
7595
+ children: "Sign in"
7596
+ }
7597
+ )
7598
+ ] }),
7599
+ /* @__PURE__ */ jsxs(GateEarlyAccess, { href: "https://loafmarkets.com/?waitlist=1", children: [
7600
+ "Signup for early access",
7601
+ /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.2", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("path", { d: "M5 12h14M13 6l6 6-6 6" }) })
7602
+ ] })
7609
7603
  ] })
7610
7604
  ] })
7611
7605
  ] })
@@ -8228,6 +8222,33 @@ var GateResendText = styled10.p`
8228
8222
  font-size: inherit;
8229
8223
  }
8230
8224
  `;
8225
+ var GateEarlyAccess = styled10.a`
8226
+ display: inline-flex;
8227
+ align-items: center;
8228
+ gap: 0.4rem;
8229
+ margin-top: 0.15rem;
8230
+ color: var(--color-text-secondary, #848e9c);
8231
+ font-size: 0.8rem;
8232
+ font-weight: 500;
8233
+ letter-spacing: 0.02em;
8234
+ text-decoration: none;
8235
+ cursor: pointer;
8236
+ transition: color 0.15s ease;
8237
+
8238
+ svg {
8239
+ width: 13px;
8240
+ height: 13px;
8241
+ transition: transform 0.15s ease;
8242
+ }
8243
+
8244
+ &:hover {
8245
+ color: var(--color-accent, #E6C87E);
8246
+ }
8247
+
8248
+ &:hover svg {
8249
+ transform: translateX(3px);
8250
+ }
8251
+ `;
8231
8252
  var GateSubmit = styled10.button`
8232
8253
  display: flex;
8233
8254
  align-items: center;