@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 +75 -88
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +75 -88
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
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(
|
|
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(
|
|
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.
|
|
6831
|
-
|
|
6832
|
-
|
|
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:
|
|
6995
|
-
border: 1px solid rgba(
|
|
6996
|
-
border-radius:
|
|
6997
|
-
padding: 2.5rem;
|
|
6998
|
-
max-width: ${(props) => props.$expanded ? "680px" : "
|
|
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
|
|
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
|
-
|
|
7069
|
-
|
|
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:
|
|
7080
|
-
height:
|
|
7081
|
-
border-radius:
|
|
7082
|
-
background: rgba(212,175,55,0.
|
|
7083
|
-
border: 1px solid rgba(212,175,55,0.
|
|
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:
|
|
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.
|
|
7092
|
-
margin: 0 0 1.
|
|
7093
|
-
line-height: 1.
|
|
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:
|
|
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:
|
|
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.
|
|
7114
|
-
border-radius:
|
|
7090
|
+
padding: 0.8rem 1rem;
|
|
7091
|
+
border-radius: 8px;
|
|
7115
7092
|
border: none;
|
|
7116
7093
|
cursor: pointer;
|
|
7117
|
-
background:
|
|
7094
|
+
background: #D4AF37;
|
|
7118
7095
|
color: #0a0a0a;
|
|
7119
|
-
font-weight:
|
|
7120
|
-
font-size: 0.
|
|
7121
|
-
|
|
7122
|
-
|
|
7123
|
-
|
|
7124
|
-
|
|
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
|
|
7137
|
-
|
|
7138
|
-
|
|
7139
|
-
|
|
7140
|
-
|
|
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
|
-
|
|
7143
|
-
|
|
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:
|
|
7177
|
-
border:
|
|
7178
|
-
|
|
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.
|
|
7164
|
+
padding: 0.25rem;
|
|
7183
7165
|
display: flex;
|
|
7184
7166
|
align-items: center;
|
|
7185
7167
|
justify-content: center;
|
|
7186
|
-
transition: color 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:
|
|
7176
|
+
color: rgba(255, 255, 255, 0.8);
|
|
7190
7177
|
}
|
|
7191
7178
|
`;
|
|
7192
7179
|
var Title = styled9__default.default.h2`
|