@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/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
- "div",
5246
- {
5247
- className: "mb-4 pb-3 border-b",
5248
- style: { borderColor: "var(--metakyc-border, #e5e7eb)" },
5249
- children: [
5250
- u.title && /* @__PURE__ */ a(
5251
- "h3",
5252
- {
5253
- className: "font-semibold text-base",
5254
- style: { color: "var(--metakyc-text-primary, #111827)" },
5255
- children: u.title
5256
- }
5257
- ),
5258
- u.subtitle && /* @__PURE__ */ a(
5259
- "p",
5260
- {
5261
- className: "text-sm mt-0.5",
5262
- style: { color: "var(--metakyc-text-secondary, #6b7280)" },
5263
- children: u.subtitle
5264
- }
5265
- ),
5266
- u.description && u.description !== u.subtitle && /* @__PURE__ */ a(
5267
- "p",
5268
- {
5269
- className: "text-xs mt-1",
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:" }),