@loafmarkets/ui 0.1.317 → 0.1.319

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 CHANGED
@@ -6820,27 +6820,16 @@ var LoginPopup = ({
6820
6820
  ] })
6821
6821
  ] }),
6822
6822
  !showKycWidget && /* @__PURE__ */ jsxRuntime.jsxs(KycLandingContainer, { children: [
6823
- /* @__PURE__ */ jsxRuntime.jsx(KycGoldGlow, {}),
6824
- /* @__PURE__ */ jsxRuntime.jsx(KycLockIcon, { children: /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "28", height: "28", viewBox: "0 0 24 24", fill: "none", stroke: "#D4AF37", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", children: [
6823
+ /* @__PURE__ */ jsxRuntime.jsx(KycLockIcon, { children: /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", stroke: "#D4AF37", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", children: [
6825
6824
  /* @__PURE__ */ jsxRuntime.jsx("rect", { x: "3", y: "11", width: "18", height: "11", rx: "2", ry: "2" }),
6826
6825
  /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M7 11V7a5 5 0 0 1 10 0v4" })
6827
6826
  ] }) }),
6828
- /* @__PURE__ */ jsxRuntime.jsx(OnboardingHeading, { style: { textAlign: "center", marginBottom: "0.25rem" }, children: "Verify To Access" }),
6827
+ /* @__PURE__ */ jsxRuntime.jsx(KycHeading, { children: "Verify Your Identity" }),
6829
6828
  /* @__PURE__ */ jsxRuntime.jsx(KycSubline, { children: "Initial offerings are only available to verified investors" }),
6830
- /* @__PURE__ */ jsxRuntime.jsxs(KycStartButton, { type: "button", onClick: handleKycStart, disabled: kycLoading, children: [
6831
- kycLoading ? "Verifying\u2026" : kycStatusProp === "PENDING" || kycStatusProp === "ON_HOLD" ? "Resume Verification" : "Start Verification",
6832
- /* @__PURE__ */ jsxRuntime.jsx("span", { children: "Takes about 2 minutes" })
6833
- ] }),
6834
- /* @__PURE__ */ jsxRuntime.jsxs(KycSocialProof, { children: [
6835
- /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "12", height: "12", viewBox: "0 0 24 24", fill: "none", stroke: "#0ecb81", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
6836
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2" }),
6837
- /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "9", cy: "7", r: "4" }),
6838
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M23 21v-2a4 4 0 0 0-3-3.87" }),
6839
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M16 3.13a4 4 0 0 1 0 7.75" })
6840
- ] }),
6841
- "247 investors verified this week"
6842
- ] }),
6843
- /* @__PURE__ */ jsxRuntime.jsx(OnboardingSkipButton, { onClick: handleKycSkip, style: { marginTop: "0.5rem" }, children: "Exit" }),
6829
+ /* @__PURE__ */ jsxRuntime.jsx(KycStartButton, { type: "button", onClick: handleKycStart, disabled: kycLoading, children: kycLoading ? "Verifying\u2026" : kycStatusProp === "PENDING" || kycStatusProp === "ON_HOLD" ? "Resume Verification" : "Start Verification" }),
6830
+ /* @__PURE__ */ jsxRuntime.jsx(KycDuration, { children: "Takes about 2 minutes" }),
6831
+ /* @__PURE__ */ jsxRuntime.jsx(KycDivider, {}),
6832
+ /* @__PURE__ */ jsxRuntime.jsx(KycExitLink, { onClick: handleKycSkip, children: "Exit" }),
6844
6833
  error && /* @__PURE__ */ jsxRuntime.jsx(StatusMessage, { $error: true, children: error })
6845
6834
  ] })
6846
6835
  ]
@@ -6991,15 +6980,15 @@ var PopupContainer = styled9__default.default.div`
6991
6980
  }
6992
6981
  `;
6993
6982
  var KycPopupContainer = styled9__default.default.div`
6994
- background-color: var(--color-background, #0a0a0a);
6995
- border: 1px solid rgba(230, 198, 86, 0.3);
6996
- border-radius: var(--border-radius, 12px);
6997
- padding: 2.5rem;
6998
- max-width: ${(props) => props.$expanded ? "680px" : "440px"};
6983
+ background-color: #0c0c0e;
6984
+ border: 1px solid rgba(255, 255, 255, 0.08);
6985
+ border-radius: 16px;
6986
+ padding: ${(props) => props.$expanded ? "2.5rem" : "2.5rem 2.5rem 2rem"};
6987
+ max-width: ${(props) => props.$expanded ? "680px" : "400px"};
6999
6988
  width: 90%;
7000
6989
  position: relative;
7001
6990
  animation: slideUp 0.3s ease-out;
7002
- box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
6991
+ box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.03);
7003
6992
  transition: max-width 0.3s ease;
7004
6993
 
7005
6994
  @keyframes slideUp {
@@ -7062,75 +7051,79 @@ var KycLandingContainer = styled9__default.default.div`
7062
7051
  flex-direction: column;
7063
7052
  align-items: center;
7064
7053
  text-align: center;
7065
- position: relative;
7066
- overflow: hidden;
7067
7054
  `;
7068
- var KycGoldGlow = styled9__default.default.div`
7055
+ styled9__default.default.div`
7069
7056
  display: none;
7070
7057
  `;
7071
7058
  var KycLockIcon = styled9__default.default.div`
7072
- width: 52px;
7073
- height: 52px;
7059
+ width: 44px;
7060
+ height: 44px;
7061
+ border-radius: 12px;
7062
+ background: rgba(212,175,55,0.06);
7063
+ border: 1px solid rgba(212,175,55,0.12);
7074
7064
  display: flex;
7075
7065
  align-items: center;
7076
7066
  justify-content: center;
7077
- margin-bottom: 1rem;
7067
+ margin-bottom: 1.25rem;
7068
+ `;
7069
+ var KycHeading = styled9__default.default.h2`
7070
+ font-size: 1.15rem;
7071
+ font-weight: 600;
7072
+ color: #fff;
7073
+ margin: 0 0 0.5rem;
7074
+ letter-spacing: -0.01em;
7078
7075
  `;
7079
7076
  var KycSubline = styled9__default.default.p`
7080
7077
  font-size: 0.8rem;
7081
- color: rgba(255,255,255,0.45);
7082
- margin: 0 0 1.25rem;
7083
- line-height: 1.4;
7078
+ color: rgba(255,255,255,0.4);
7079
+ margin: 0 0 1.75rem;
7080
+ line-height: 1.5;
7084
7081
  `;
7085
7082
  styled9__default.default.div`
7086
- display: flex;
7087
- flex-direction: column;
7088
- gap: 0.6rem;
7089
- width: 100%;
7090
- margin-bottom: 1.25rem;
7083
+ display: none;
7091
7084
  `;
7092
7085
  styled9__default.default.div`
7093
- display: flex;
7094
- align-items: center;
7095
- gap: 0.6rem;
7096
- font-size: 0.8rem;
7097
- color: rgba(255,255,255,0.7);
7098
- text-align: left;
7099
- svg { flex-shrink: 0; }
7086
+ display: none;
7100
7087
  `;
7101
7088
  var KycStartButton = styled9__default.default.button`
7102
7089
  width: 100%;
7103
- padding: 0.85rem 1rem;
7104
- border-radius: 10px;
7090
+ padding: 0.8rem 1rem;
7091
+ border-radius: 8px;
7105
7092
  border: none;
7106
7093
  cursor: pointer;
7107
- background: linear-gradient(135deg, #D4AF37 0%, #b8962e 100%);
7094
+ background: #D4AF37;
7108
7095
  color: #0a0a0a;
7109
- font-weight: 700;
7110
- font-size: 0.95rem;
7111
- display: flex;
7112
- flex-direction: column;
7113
- align-items: center;
7114
- gap: 0.2rem;
7115
- box-shadow: 0 4px 16px rgba(212,175,55,0.3);
7116
- transition: all 0.2s ease;
7117
- &:hover { box-shadow: 0 6px 24px rgba(212,175,55,0.4); transform: translateY(-1px); }
7118
- &:active { transform: translateY(0); }
7119
- &[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }
7120
- span {
7121
- font-size: 0.7rem;
7122
- font-weight: 500;
7123
- opacity: 0.7;
7124
- }
7096
+ font-weight: 600;
7097
+ font-size: 0.9rem;
7098
+ transition: all 0.15s ease;
7099
+ &:hover { background: #c9a432; }
7100
+ &:active { transform: scale(0.99); }
7101
+ &[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }
7125
7102
  `;
7126
- var KycSocialProof = styled9__default.default.div`
7127
- display: flex;
7128
- align-items: center;
7129
- gap: 0.4rem;
7130
- font-size: 0.7rem;
7103
+ var KycDuration = styled9__default.default.div`
7104
+ font-size: 0.72rem;
7105
+ color: rgba(255,255,255,0.3);
7106
+ margin-top: 0.6rem;
7107
+ `;
7108
+ var KycDivider = styled9__default.default.div`
7109
+ width: 100%;
7110
+ height: 1px;
7111
+ background: rgba(255,255,255,0.06);
7112
+ margin: 1.25rem 0;
7113
+ `;
7114
+ var KycExitLink = styled9__default.default.button`
7115
+ background: none;
7116
+ border: none;
7131
7117
  color: rgba(255,255,255,0.35);
7132
- margin-top: 1rem;
7133
- svg { flex-shrink: 0; }
7118
+ font-size: 0.8rem;
7119
+ font-weight: 500;
7120
+ cursor: pointer;
7121
+ padding: 0.25rem 0.5rem;
7122
+ transition: color 0.15s ease;
7123
+ &:hover { color: rgba(255,255,255,0.6); }
7124
+ `;
7125
+ styled9__default.default.div`
7126
+ display: none;
7134
7127
  `;
7135
7128
  styled9__default.default.button`
7136
7129
  position: absolute;