@vpdev2/metakyc-sdk 1.0.42 → 1.0.43
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/components/CreateApplicantForm.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +26 -33
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5241,39 +5241,32 @@ const Oe = {
|
|
|
5241
5241
|
return /* @__PURE__ */ a("div", { className: "metakyc-sdk", children: /* @__PURE__ */ i($, { children: [
|
|
5242
5242
|
/* @__PURE__ */ a(oe, { children: /* @__PURE__ */ a(He, { title: (o == null ? void 0 : o.title) || "Create Applicant" }) }),
|
|
5243
5243
|
/* @__PURE__ */ i(B, { children: [
|
|
5244
|
-
(u.title || u.subtitle || u.description) && /* @__PURE__ */ i(
|
|
5245
|
-
|
|
5246
|
-
|
|
5247
|
-
|
|
5248
|
-
|
|
5249
|
-
|
|
5250
|
-
u.title
|
|
5251
|
-
|
|
5252
|
-
|
|
5253
|
-
|
|
5254
|
-
|
|
5255
|
-
|
|
5256
|
-
|
|
5257
|
-
),
|
|
5258
|
-
u.subtitle
|
|
5259
|
-
|
|
5260
|
-
|
|
5261
|
-
|
|
5262
|
-
|
|
5263
|
-
|
|
5264
|
-
|
|
5265
|
-
),
|
|
5266
|
-
|
|
5267
|
-
|
|
5268
|
-
|
|
5269
|
-
|
|
5270
|
-
style: { color: "var(--metakyc-text-secondary, #6b7280)" },
|
|
5271
|
-
children: u.description
|
|
5272
|
-
}
|
|
5273
|
-
)
|
|
5274
|
-
]
|
|
5275
|
-
}
|
|
5276
|
-
),
|
|
5244
|
+
(u.title || u.subtitle || u.description) && /* @__PURE__ */ i("div", { className: "mb-4", children: [
|
|
5245
|
+
u.title && /* @__PURE__ */ a(
|
|
5246
|
+
"h3",
|
|
5247
|
+
{
|
|
5248
|
+
className: "font-semibold text-base",
|
|
5249
|
+
style: { color: "var(--metakyc-text-primary, #111827)" },
|
|
5250
|
+
children: u.title
|
|
5251
|
+
}
|
|
5252
|
+
),
|
|
5253
|
+
u.subtitle && /* @__PURE__ */ a(
|
|
5254
|
+
"p",
|
|
5255
|
+
{
|
|
5256
|
+
className: "text-sm mt-0.5",
|
|
5257
|
+
style: { color: "var(--metakyc-text-secondary, #6b7280)" },
|
|
5258
|
+
children: u.subtitle
|
|
5259
|
+
}
|
|
5260
|
+
),
|
|
5261
|
+
u.description && u.description !== u.subtitle && /* @__PURE__ */ a(
|
|
5262
|
+
"p",
|
|
5263
|
+
{
|
|
5264
|
+
className: "text-xs mt-1",
|
|
5265
|
+
style: { color: "var(--metakyc-text-secondary, #6b7280)" },
|
|
5266
|
+
children: u.description
|
|
5267
|
+
}
|
|
5268
|
+
)
|
|
5269
|
+
] }),
|
|
5277
5270
|
(H || R.length > 0) && /* @__PURE__ */ i("div", { className: "mb-4 p-3 bg-red-50 border border-red-200 rounded-lg", children: [
|
|
5278
5271
|
H && /* @__PURE__ */ i("p", { className: "text-red-600 text-sm", children: [
|
|
5279
5272
|
/* @__PURE__ */ a("strong", { children: "Error:" }),
|