@vpdev2/metakyc-sdk 1.0.20 → 1.0.21

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
@@ -3278,35 +3278,25 @@ const Vr = ue.any(), xr = ({
3278
3278
  /* @__PURE__ */ n("h2", { className: "text-lg font-bold", children: s.title || "Overview" }),
3279
3279
  s.description && /* @__PURE__ */ n("p", { className: "text-gray-600 dark:text-gray-400 mt-1", children: s.description })
3280
3280
  ] }),
3281
- /* @__PURE__ */ n(M, { className: "space-y-6", children: s.steps && s.steps.length > 0 ? /* @__PURE__ */ n("div", { className: "metakyc-overview-steps space-y-3", children: s.steps.sort((u, y) => u.order - y.order).map((u) => /* @__PURE__ */ o(
3282
- "div",
3283
- {
3284
- className: "metakyc-overview-step-item flex items-start p-4 rounded-lg bg-gray-50 dark:bg-gray-800",
3285
- style: { border: "0" },
3286
- children: [
3287
- /* @__PURE__ */ n("div", { className: "metakyc-step-icon flex-shrink-0", children: /* @__PURE__ */ n("div", { className: "w-8 h-8 rounded-full bg-primary-500 text-white flex items-center justify-center font-medium text-sm", children: u.order + 1 }) }),
3288
- /* @__PURE__ */ o(
3289
- "div",
3290
- {
3291
- className: "metakyc-step-content",
3292
- style: {
3293
- flex: 1,
3294
- marginLeft: "1rem",
3295
- border: "none",
3296
- height: "auto",
3297
- background: "transparent",
3298
- margin: "0 0 0 1rem"
3299
- },
3300
- children: [
3301
- /* @__PURE__ */ n("h3", { className: "metakyc-step-title text-sm font-semibold text-gray-900 dark:text-white", children: u.title }),
3302
- u.description && /* @__PURE__ */ n("p", { className: "metakyc-step-description text-sm text-gray-600 dark:text-gray-400 mt-1", children: u.description })
3303
- ]
3304
- }
3305
- )
3306
- ]
3307
- },
3308
- u.order
3309
- )) }) : /* @__PURE__ */ n("div", { className: "text-center py-8", children: /* @__PURE__ */ n("p", { className: "text-gray-600 dark:text-gray-400", children: "Loading overview data..." }) }) }),
3281
+ /* @__PURE__ */ n(M, { className: "space-y-8", children: s.steps && s.steps.length > 0 ? s.steps.sort((u, y) => u.order - y.order).map((u) => /* @__PURE__ */ o("div", { className: "metakyc-overview-step-item flex items-center space-x-3", children: [
3282
+ /* @__PURE__ */ n("div", { className: "metakyc-step-icon flex-shrink-0", children: /* @__PURE__ */ n("div", { className: "w-8 h-8 rounded-full bg-primary-500 text-white flex items-center justify-center font-medium text-sm", children: u.order + 1 }) }),
3283
+ /* @__PURE__ */ o(
3284
+ "div",
3285
+ {
3286
+ className: "metakyc-step-content",
3287
+ style: {
3288
+ flex: 1,
3289
+ border: "none",
3290
+ height: "auto",
3291
+ background: "transparent"
3292
+ },
3293
+ children: [
3294
+ /* @__PURE__ */ n("span", { className: "metakyc-step-title text-sm font-semibold text-gray-900 dark:text-white", children: u.title }),
3295
+ u.description && /* @__PURE__ */ n("p", { className: "metakyc-step-description text-sm text-gray-600 dark:text-gray-400", children: u.description })
3296
+ ]
3297
+ }
3298
+ )
3299
+ ] }, u.order)) : /* @__PURE__ */ n("div", { className: "text-center py-8", children: /* @__PURE__ */ n("p", { className: "text-gray-600 dark:text-gray-400", children: "Loading overview data..." }) }) }),
3310
3300
  /* @__PURE__ */ o(ne, { className: "flex justify-between", children: [
3311
3301
  r && /* @__PURE__ */ n(_, { type: "button", variant: "outline", onClick: r, children: "Back" }),
3312
3302
  /* @__PURE__ */ n(_, { onClick: d, isLoading: i, children: "Continue" })