@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/components/steps/OverviewStep.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +67 -73
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
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__ */
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
|
|
3292
|
-
|
|
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
|
-
|
|
3348
|
-
|
|
3349
|
-
|
|
3350
|
-
|
|
3351
|
-
|
|
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: "
|
|
3350
|
+
/* @__PURE__ */ n(_, { onClick: d, isLoading: i, children: "Continue" })
|
|
3357
3351
|
] })
|
|
3358
3352
|
] }) : null;
|
|
3359
3353
|
}, Nr = ({
|