@loafmarkets/ui 0.1.317 → 0.1.318

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
@@ -6794,27 +6794,16 @@ var LoginPopup = ({
6794
6794
  ] })
6795
6795
  ] }),
6796
6796
  !showKycWidget && /* @__PURE__ */ jsxs(KycLandingContainer, { children: [
6797
- /* @__PURE__ */ jsx(KycGoldGlow, {}),
6798
- /* @__PURE__ */ jsx(KycLockIcon, { children: /* @__PURE__ */ jsxs("svg", { width: "28", height: "28", viewBox: "0 0 24 24", fill: "none", stroke: "#D4AF37", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", children: [
6797
+ /* @__PURE__ */ jsx(KycLockIcon, { children: /* @__PURE__ */ jsxs("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", stroke: "#D4AF37", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", children: [
6799
6798
  /* @__PURE__ */ jsx("rect", { x: "3", y: "11", width: "18", height: "11", rx: "2", ry: "2" }),
6800
6799
  /* @__PURE__ */ jsx("path", { d: "M7 11V7a5 5 0 0 1 10 0v4" })
6801
6800
  ] }) }),
6802
- /* @__PURE__ */ jsx(OnboardingHeading, { style: { textAlign: "center", marginBottom: "0.25rem" }, children: "Verify To Access" }),
6801
+ /* @__PURE__ */ jsx(KycHeading, { children: "Verify Your Identity" }),
6803
6802
  /* @__PURE__ */ jsx(KycSubline, { children: "Initial offerings are only available to verified investors" }),
6804
- /* @__PURE__ */ jsxs(KycStartButton, { type: "button", onClick: handleKycStart, disabled: kycLoading, children: [
6805
- kycLoading ? "Verifying\u2026" : kycStatusProp === "PENDING" || kycStatusProp === "ON_HOLD" ? "Resume Verification" : "Start Verification",
6806
- /* @__PURE__ */ jsx("span", { children: "Takes about 2 minutes" })
6807
- ] }),
6808
- /* @__PURE__ */ jsxs(KycSocialProof, { children: [
6809
- /* @__PURE__ */ jsxs("svg", { width: "12", height: "12", viewBox: "0 0 24 24", fill: "none", stroke: "#0ecb81", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
6810
- /* @__PURE__ */ jsx("path", { d: "M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2" }),
6811
- /* @__PURE__ */ jsx("circle", { cx: "9", cy: "7", r: "4" }),
6812
- /* @__PURE__ */ jsx("path", { d: "M23 21v-2a4 4 0 0 0-3-3.87" }),
6813
- /* @__PURE__ */ jsx("path", { d: "M16 3.13a4 4 0 0 1 0 7.75" })
6814
- ] }),
6815
- "247 investors verified this week"
6816
- ] }),
6817
- /* @__PURE__ */ jsx(OnboardingSkipButton, { onClick: handleKycSkip, style: { marginTop: "0.5rem" }, children: "Exit" }),
6803
+ /* @__PURE__ */ jsx(KycStartButton, { type: "button", onClick: handleKycStart, disabled: kycLoading, children: kycLoading ? "Verifying\u2026" : kycStatusProp === "PENDING" || kycStatusProp === "ON_HOLD" ? "Resume Verification" : "Start Verification" }),
6804
+ /* @__PURE__ */ jsx(KycDuration, { children: "Takes about 2 minutes" }),
6805
+ /* @__PURE__ */ jsx(KycDivider, {}),
6806
+ /* @__PURE__ */ jsx(KycExitLink, { onClick: handleKycSkip, children: "Exit" }),
6818
6807
  error && /* @__PURE__ */ jsx(StatusMessage, { $error: true, children: error })
6819
6808
  ] })
6820
6809
  ]
@@ -6965,15 +6954,15 @@ var PopupContainer = styled9.div`
6965
6954
  }
6966
6955
  `;
6967
6956
  var KycPopupContainer = styled9.div`
6968
- background-color: var(--color-background, #0a0a0a);
6969
- border: 1px solid rgba(230, 198, 86, 0.3);
6970
- border-radius: var(--border-radius, 12px);
6971
- padding: 2.5rem;
6972
- max-width: ${(props) => props.$expanded ? "680px" : "440px"};
6957
+ background-color: #0c0c0e;
6958
+ border: 1px solid rgba(255, 255, 255, 0.08);
6959
+ border-radius: 16px;
6960
+ padding: ${(props) => props.$expanded ? "2.5rem" : "2.5rem 2.5rem 2rem"};
6961
+ max-width: ${(props) => props.$expanded ? "680px" : "400px"};
6973
6962
  width: 90%;
6974
6963
  position: relative;
6975
6964
  animation: slideUp 0.3s ease-out;
6976
- box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
6965
+ box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.03);
6977
6966
  transition: max-width 0.3s ease;
6978
6967
 
6979
6968
  @keyframes slideUp {
@@ -7036,75 +7025,79 @@ var KycLandingContainer = styled9.div`
7036
7025
  flex-direction: column;
7037
7026
  align-items: center;
7038
7027
  text-align: center;
7039
- position: relative;
7040
- overflow: hidden;
7041
7028
  `;
7042
- var KycGoldGlow = styled9.div`
7029
+ styled9.div`
7043
7030
  display: none;
7044
7031
  `;
7045
7032
  var KycLockIcon = styled9.div`
7046
- width: 52px;
7047
- height: 52px;
7033
+ width: 44px;
7034
+ height: 44px;
7035
+ border-radius: 12px;
7036
+ background: rgba(212,175,55,0.06);
7037
+ border: 1px solid rgba(212,175,55,0.12);
7048
7038
  display: flex;
7049
7039
  align-items: center;
7050
7040
  justify-content: center;
7051
- margin-bottom: 1rem;
7041
+ margin-bottom: 1.25rem;
7042
+ `;
7043
+ var KycHeading = styled9.h2`
7044
+ font-size: 1.15rem;
7045
+ font-weight: 600;
7046
+ color: #fff;
7047
+ margin: 0 0 0.5rem;
7048
+ letter-spacing: -0.01em;
7052
7049
  `;
7053
7050
  var KycSubline = styled9.p`
7054
7051
  font-size: 0.8rem;
7055
- color: rgba(255,255,255,0.45);
7056
- margin: 0 0 1.25rem;
7057
- line-height: 1.4;
7052
+ color: rgba(255,255,255,0.4);
7053
+ margin: 0 0 1.75rem;
7054
+ line-height: 1.5;
7058
7055
  `;
7059
7056
  styled9.div`
7060
- display: flex;
7061
- flex-direction: column;
7062
- gap: 0.6rem;
7063
- width: 100%;
7064
- margin-bottom: 1.25rem;
7057
+ display: none;
7065
7058
  `;
7066
7059
  styled9.div`
7067
- display: flex;
7068
- align-items: center;
7069
- gap: 0.6rem;
7070
- font-size: 0.8rem;
7071
- color: rgba(255,255,255,0.7);
7072
- text-align: left;
7073
- svg { flex-shrink: 0; }
7060
+ display: none;
7074
7061
  `;
7075
7062
  var KycStartButton = styled9.button`
7076
7063
  width: 100%;
7077
- padding: 0.85rem 1rem;
7078
- border-radius: 10px;
7064
+ padding: 0.8rem 1rem;
7065
+ border-radius: 8px;
7079
7066
  border: none;
7080
7067
  cursor: pointer;
7081
- background: linear-gradient(135deg, #D4AF37 0%, #b8962e 100%);
7068
+ background: #D4AF37;
7082
7069
  color: #0a0a0a;
7083
- font-weight: 700;
7084
- font-size: 0.95rem;
7085
- display: flex;
7086
- flex-direction: column;
7087
- align-items: center;
7088
- gap: 0.2rem;
7089
- box-shadow: 0 4px 16px rgba(212,175,55,0.3);
7090
- transition: all 0.2s ease;
7091
- &:hover { box-shadow: 0 6px 24px rgba(212,175,55,0.4); transform: translateY(-1px); }
7092
- &:active { transform: translateY(0); }
7093
- &[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }
7094
- span {
7095
- font-size: 0.7rem;
7096
- font-weight: 500;
7097
- opacity: 0.7;
7098
- }
7070
+ font-weight: 600;
7071
+ font-size: 0.9rem;
7072
+ transition: all 0.15s ease;
7073
+ &:hover { background: #c9a432; }
7074
+ &:active { transform: scale(0.99); }
7075
+ &[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }
7099
7076
  `;
7100
- var KycSocialProof = styled9.div`
7101
- display: flex;
7102
- align-items: center;
7103
- gap: 0.4rem;
7104
- font-size: 0.7rem;
7077
+ var KycDuration = styled9.div`
7078
+ font-size: 0.72rem;
7079
+ color: rgba(255,255,255,0.3);
7080
+ margin-top: 0.6rem;
7081
+ `;
7082
+ var KycDivider = styled9.div`
7083
+ width: 100%;
7084
+ height: 1px;
7085
+ background: rgba(255,255,255,0.06);
7086
+ margin: 1.25rem 0;
7087
+ `;
7088
+ var KycExitLink = styled9.button`
7089
+ background: none;
7090
+ border: none;
7105
7091
  color: rgba(255,255,255,0.35);
7106
- margin-top: 1rem;
7107
- svg { flex-shrink: 0; }
7092
+ font-size: 0.8rem;
7093
+ font-weight: 500;
7094
+ cursor: pointer;
7095
+ padding: 0.25rem 0.5rem;
7096
+ transition: color 0.15s ease;
7097
+ &:hover { color: rgba(255,255,255,0.6); }
7098
+ `;
7099
+ styled9.div`
7100
+ display: none;
7108
7101
  `;
7109
7102
  styled9.button`
7110
7103
  position: absolute;