@vpdev2/metakyc-sdk 1.0.17 → 1.0.18

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,82 +3278,76 @@ 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__ */ o(M, { className: "space-y-6", children: [
3282
- 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(
3283
- "div",
3284
- {
3285
- className: "metakyc-overview-step-item flex items-start p-4 rounded-lg bg-gray-50 dark:bg-gray-800",
3286
- style: {
3287
- border: "0",
3288
- borderWidth: "0",
3289
- borderStyle: "none",
3290
- borderTop: "0",
3291
- borderBottom: "0",
3292
- borderLeft: "0",
3293
- borderRight: "0"
3294
- },
3295
- children: [
3296
- /* @__PURE__ */ n(
3297
- "div",
3298
- {
3299
- className: "metakyc-step-icon flex-shrink-0",
3300
- style: {
3301
- border: "0",
3302
- borderTop: "0"
3303
- },
3304
- children: /* @__PURE__ */ n("div", { className: "w-8 h-8 rounded-full bg-green-500 text-white flex items-center justify-center font-medium text-sm", children: "✓" })
3305
- }
3306
- ),
3307
- /* @__PURE__ */ o(
3308
- "div",
3309
- {
3310
- className: "metakyc-step-content",
3311
- style: {
3312
- flex: 1,
3313
- marginLeft: "1rem",
3314
- border: "none",
3315
- height: "auto",
3316
- background: "transparent",
3317
- margin: "0 0 0 1rem"
3318
- },
3319
- children: [
3320
- /* @__PURE__ */ n(
3321
- "h3",
3322
- {
3323
- className: "metakyc-step-title text-lg font-semibold text-gray-900 dark:text-white",
3324
- style: {
3325
- border: "0",
3326
- borderWidth: "0",
3327
- borderStyle: "none",
3328
- borderTop: "0",
3329
- borderBottom: "0",
3330
- borderLeft: "0",
3331
- borderRight: "0",
3332
- paddingTop: "0",
3333
- marginTop: "0",
3334
- boxShadow: "none",
3335
- outline: "none",
3336
- textDecoration: "none"
3337
- },
3338
- children: u.title
3339
- }
3340
- ),
3341
- u.description && /* @__PURE__ */ n("p", { className: "metakyc-step-description text-sm text-gray-600 dark:text-gray-400 mt-1", children: u.description })
3342
- ]
3343
- }
3344
- )
3345
- ]
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: {
3286
+ border: "0",
3287
+ borderWidth: "0",
3288
+ borderStyle: "none",
3289
+ borderTop: "0",
3290
+ borderBottom: "0",
3291
+ borderLeft: "0",
3292
+ borderRight: "0"
3346
3293
  },
3347
- u.order
3348
- )) }) : /* @__PURE__ */ n("div", { className: "text-center py-8", children: /* @__PURE__ */ n("p", { className: "text-gray-600 dark:text-gray-400", children: "Loading overview data..." }) }),
3349
- s.steps && s.steps.length > 0 && /* @__PURE__ */ n("div", { className: "mt-6 p-4 bg-green-50 dark:bg-green-900/20 border border-green-200 dark:border-green-800 rounded-lg", children: /* @__PURE__ */ o("p", { className: "text-green-800 dark:text-green-300 text-sm", children: [
3350
- /* @__PURE__ */ n("strong", { children: "✓ All steps completed!" }),
3351
- " Review the information above and confirm to proceed."
3352
- ] }) })
3353
- ] }),
3294
+ children: [
3295
+ /* @__PURE__ */ n(
3296
+ "div",
3297
+ {
3298
+ className: "metakyc-step-icon flex-shrink-0",
3299
+ style: {
3300
+ border: "0",
3301
+ borderTop: "0"
3302
+ },
3303
+ 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 })
3304
+ }
3305
+ ),
3306
+ /* @__PURE__ */ o(
3307
+ "div",
3308
+ {
3309
+ className: "metakyc-step-content",
3310
+ style: {
3311
+ flex: 1,
3312
+ marginLeft: "1rem",
3313
+ border: "none",
3314
+ height: "auto",
3315
+ background: "transparent",
3316
+ margin: "0 0 0 1rem"
3317
+ },
3318
+ children: [
3319
+ /* @__PURE__ */ n(
3320
+ "h3",
3321
+ {
3322
+ className: "metakyc-step-title text-lg font-semibold text-gray-900 dark:text-white",
3323
+ style: {
3324
+ border: "0",
3325
+ borderWidth: "0",
3326
+ borderStyle: "none",
3327
+ borderTop: "0",
3328
+ borderBottom: "0",
3329
+ borderLeft: "0",
3330
+ borderRight: "0",
3331
+ paddingTop: "0",
3332
+ marginTop: "0",
3333
+ boxShadow: "none",
3334
+ outline: "none",
3335
+ textDecoration: "none"
3336
+ },
3337
+ children: u.title
3338
+ }
3339
+ ),
3340
+ u.description && /* @__PURE__ */ n("p", { className: "metakyc-step-description text-sm text-gray-600 dark:text-gray-400 mt-1", children: u.description })
3341
+ ]
3342
+ }
3343
+ )
3344
+ ]
3345
+ },
3346
+ u.order
3347
+ )) }) : /* @__PURE__ */ n("div", { className: "text-center py-8", children: /* @__PURE__ */ n("p", { className: "text-gray-600 dark:text-gray-400", children: "Loading overview data..." }) }) }),
3354
3348
  /* @__PURE__ */ o(ne, { className: "flex justify-between", children: [
3355
3349
  r && /* @__PURE__ */ n(_, { type: "button", variant: "outline", onClick: r, children: "Back" }),
3356
- /* @__PURE__ */ n(_, { onClick: d, isLoading: i, children: "Confirm and Continue" })
3350
+ /* @__PURE__ */ n(_, { onClick: d, isLoading: i, children: "Continue" })
3357
3351
  ] })
3358
3352
  ] }) : null;
3359
3353
  }, Nr = ({