@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.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,85 +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`
7043
- position: absolute;
7044
- top: -60px;
7045
- left: 50%;
7046
- transform: translateX(-50%);
7047
- width: 200px;
7048
- height: 120px;
7049
- background: radial-gradient(ellipse, rgba(212,175,55,0.15) 0%, transparent 70%);
7050
- pointer-events: none;
7029
+ styled9.div`
7030
+ display: none;
7051
7031
  `;
7052
7032
  var KycLockIcon = styled9.div`
7053
- width: 52px;
7054
- height: 52px;
7055
- border-radius: 50%;
7056
- background: rgba(212,175,55,0.08);
7057
- border: 1px solid rgba(212,175,55,0.2);
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);
7058
7038
  display: flex;
7059
7039
  align-items: center;
7060
7040
  justify-content: center;
7061
- 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;
7062
7049
  `;
7063
7050
  var KycSubline = styled9.p`
7064
7051
  font-size: 0.8rem;
7065
- color: rgba(255,255,255,0.45);
7066
- margin: 0 0 1.25rem;
7067
- line-height: 1.4;
7052
+ color: rgba(255,255,255,0.4);
7053
+ margin: 0 0 1.75rem;
7054
+ line-height: 1.5;
7068
7055
  `;
7069
7056
  styled9.div`
7070
- display: flex;
7071
- flex-direction: column;
7072
- gap: 0.6rem;
7073
- width: 100%;
7074
- margin-bottom: 1.25rem;
7057
+ display: none;
7075
7058
  `;
7076
7059
  styled9.div`
7077
- display: flex;
7078
- align-items: center;
7079
- gap: 0.6rem;
7080
- font-size: 0.8rem;
7081
- color: rgba(255,255,255,0.7);
7082
- text-align: left;
7083
- svg { flex-shrink: 0; }
7060
+ display: none;
7084
7061
  `;
7085
7062
  var KycStartButton = styled9.button`
7086
7063
  width: 100%;
7087
- padding: 0.85rem 1rem;
7088
- border-radius: 10px;
7064
+ padding: 0.8rem 1rem;
7065
+ border-radius: 8px;
7089
7066
  border: none;
7090
7067
  cursor: pointer;
7091
- background: linear-gradient(135deg, #D4AF37 0%, #b8962e 100%);
7068
+ background: #D4AF37;
7092
7069
  color: #0a0a0a;
7093
- font-weight: 700;
7094
- font-size: 0.95rem;
7095
- display: flex;
7096
- flex-direction: column;
7097
- align-items: center;
7098
- gap: 0.2rem;
7099
- box-shadow: 0 4px 16px rgba(212,175,55,0.3);
7100
- transition: all 0.2s ease;
7101
- &:hover { box-shadow: 0 6px 24px rgba(212,175,55,0.4); transform: translateY(-1px); }
7102
- &:active { transform: translateY(0); }
7103
- &[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }
7104
- span {
7105
- font-size: 0.7rem;
7106
- font-weight: 500;
7107
- opacity: 0.7;
7108
- }
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; }
7109
7076
  `;
7110
- var KycSocialProof = styled9.div`
7111
- display: flex;
7112
- align-items: center;
7113
- gap: 0.4rem;
7114
- 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;
7115
7091
  color: rgba(255,255,255,0.35);
7116
- margin-top: 1rem;
7117
- 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;
7118
7101
  `;
7119
7102
  styled9.button`
7120
7103
  position: absolute;
@@ -7147,20 +7130,24 @@ var CloseButton = styled9.button`
7147
7130
  top: 1rem;
7148
7131
  right: 1rem;
7149
7132
  z-index: 10;
7150
- background: rgba(0, 0, 0, 0.6);
7151
- border: 1px solid rgba(255, 255, 255, 0.1);
7152
- border-radius: 999px;
7153
- color: var(--color-text-secondary, #848e9c);
7133
+ background: none;
7134
+ border: none;
7135
+ color: rgba(255, 255, 255, 0.4);
7154
7136
  font-size: 1.5rem;
7155
7137
  cursor: pointer;
7156
- padding: 0.5rem;
7138
+ padding: 0.25rem;
7157
7139
  display: flex;
7158
7140
  align-items: center;
7159
7141
  justify-content: center;
7160
- transition: color 0.2s ease, background 0.2s ease;
7142
+ transition: color 0.2s ease;
7143
+
7144
+ svg {
7145
+ width: 18px;
7146
+ height: 18px;
7147
+ }
7161
7148
 
7162
7149
  &:hover {
7163
- color: var(--color-accent, #e6c656);
7150
+ color: rgba(255, 255, 255, 0.8);
7164
7151
  }
7165
7152
  `;
7166
7153
  var Title = styled9.h2`