@loafmarkets/ui 0.1.316 → 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.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,85 +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`
7069
- position: absolute;
7070
- top: -60px;
7071
- left: 50%;
7072
- transform: translateX(-50%);
7073
- width: 200px;
7074
- height: 120px;
7075
- background: radial-gradient(ellipse, rgba(212,175,55,0.15) 0%, transparent 70%);
7076
- pointer-events: none;
7055
+ styled9__default.default.div`
7056
+ display: none;
7077
7057
  `;
7078
7058
  var KycLockIcon = styled9__default.default.div`
7079
- width: 52px;
7080
- height: 52px;
7081
- border-radius: 50%;
7082
- background: rgba(212,175,55,0.08);
7083
- border: 1px solid rgba(212,175,55,0.2);
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);
7084
7064
  display: flex;
7085
7065
  align-items: center;
7086
7066
  justify-content: center;
7087
- 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;
7088
7075
  `;
7089
7076
  var KycSubline = styled9__default.default.p`
7090
7077
  font-size: 0.8rem;
7091
- color: rgba(255,255,255,0.45);
7092
- margin: 0 0 1.25rem;
7093
- line-height: 1.4;
7078
+ color: rgba(255,255,255,0.4);
7079
+ margin: 0 0 1.75rem;
7080
+ line-height: 1.5;
7094
7081
  `;
7095
7082
  styled9__default.default.div`
7096
- display: flex;
7097
- flex-direction: column;
7098
- gap: 0.6rem;
7099
- width: 100%;
7100
- margin-bottom: 1.25rem;
7083
+ display: none;
7101
7084
  `;
7102
7085
  styled9__default.default.div`
7103
- display: flex;
7104
- align-items: center;
7105
- gap: 0.6rem;
7106
- font-size: 0.8rem;
7107
- color: rgba(255,255,255,0.7);
7108
- text-align: left;
7109
- svg { flex-shrink: 0; }
7086
+ display: none;
7110
7087
  `;
7111
7088
  var KycStartButton = styled9__default.default.button`
7112
7089
  width: 100%;
7113
- padding: 0.85rem 1rem;
7114
- border-radius: 10px;
7090
+ padding: 0.8rem 1rem;
7091
+ border-radius: 8px;
7115
7092
  border: none;
7116
7093
  cursor: pointer;
7117
- background: linear-gradient(135deg, #D4AF37 0%, #b8962e 100%);
7094
+ background: #D4AF37;
7118
7095
  color: #0a0a0a;
7119
- font-weight: 700;
7120
- font-size: 0.95rem;
7121
- display: flex;
7122
- flex-direction: column;
7123
- align-items: center;
7124
- gap: 0.2rem;
7125
- box-shadow: 0 4px 16px rgba(212,175,55,0.3);
7126
- transition: all 0.2s ease;
7127
- &:hover { box-shadow: 0 6px 24px rgba(212,175,55,0.4); transform: translateY(-1px); }
7128
- &:active { transform: translateY(0); }
7129
- &[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }
7130
- span {
7131
- font-size: 0.7rem;
7132
- font-weight: 500;
7133
- opacity: 0.7;
7134
- }
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; }
7135
7102
  `;
7136
- var KycSocialProof = styled9__default.default.div`
7137
- display: flex;
7138
- align-items: center;
7139
- gap: 0.4rem;
7140
- 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;
7141
7117
  color: rgba(255,255,255,0.35);
7142
- margin-top: 1rem;
7143
- 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;
7144
7127
  `;
7145
7128
  styled9__default.default.button`
7146
7129
  position: absolute;
@@ -7173,20 +7156,24 @@ var CloseButton = styled9__default.default.button`
7173
7156
  top: 1rem;
7174
7157
  right: 1rem;
7175
7158
  z-index: 10;
7176
- background: rgba(0, 0, 0, 0.6);
7177
- border: 1px solid rgba(255, 255, 255, 0.1);
7178
- border-radius: 999px;
7179
- color: var(--color-text-secondary, #848e9c);
7159
+ background: none;
7160
+ border: none;
7161
+ color: rgba(255, 255, 255, 0.4);
7180
7162
  font-size: 1.5rem;
7181
7163
  cursor: pointer;
7182
- padding: 0.5rem;
7164
+ padding: 0.25rem;
7183
7165
  display: flex;
7184
7166
  align-items: center;
7185
7167
  justify-content: center;
7186
- transition: color 0.2s ease, background 0.2s ease;
7168
+ transition: color 0.2s ease;
7169
+
7170
+ svg {
7171
+ width: 18px;
7172
+ height: 18px;
7173
+ }
7187
7174
 
7188
7175
  &:hover {
7189
- color: var(--color-accent, #e6c656);
7176
+ color: rgba(255, 255, 255, 0.8);
7190
7177
  }
7191
7178
  `;
7192
7179
  var Title = styled9__default.default.h2`