@vpdev2/metakyc 1.0.86 → 1.0.87
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/KycWorkflow.d.ts.map +1 -1
- package/dist/components/core/Card.d.ts.map +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +19 -9
- package/dist/index.js.map +1 -1
- package/dist/theme/theme-manager.d.ts.map +1 -1
- package/dist/types/theme.d.ts +4 -0
- package/dist/types/theme.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2028,7 +2028,12 @@ class Pr {
|
|
|
2028
2028
|
"danger-bg": t.dangerBg,
|
|
2029
2029
|
"success-bg": t.successBg,
|
|
2030
2030
|
"warning-bg": t.warningBg,
|
|
2031
|
-
"info-bg": t.infoBg
|
|
2031
|
+
"info-bg": t.infoBg,
|
|
2032
|
+
// Header/Footer overrides (optional)
|
|
2033
|
+
"header-bg": t.headerBg,
|
|
2034
|
+
"header-text": t.headerText,
|
|
2035
|
+
"footer-bg": t.footerBg,
|
|
2036
|
+
"footer-text": t.footerText
|
|
2032
2037
|
};
|
|
2033
2038
|
a != null && a.fontFamily && (n["font-family"] = a.fontFamily), a != null && a.headingFont && (n["heading-font"] = a.headingFont), a != null && a.fontSize && Object.entries(a.fontSize).forEach(([u, m]) => {
|
|
2034
2039
|
n[`font-size-${u}`] = m;
|
|
@@ -7155,7 +7160,7 @@ function ie(e, t) {
|
|
|
7155
7160
|
const r = Jr.exec(a);
|
|
7156
7161
|
return r ? t(r[1]) : e;
|
|
7157
7162
|
}
|
|
7158
|
-
const Yt = "1.0.
|
|
7163
|
+
const Yt = "1.0.87", Ri = Gt(null), di = `metakyc-translations-${Yt}-`, ea = ({
|
|
7159
7164
|
locale: e,
|
|
7160
7165
|
fetchTranslations: t,
|
|
7161
7166
|
children: a
|
|
@@ -8130,6 +8135,8 @@ const ne = ({ children: e, className: t, style: a, ...r }) => /* @__PURE__ */ i(
|
|
|
8130
8135
|
borderBottomWidth: "1px",
|
|
8131
8136
|
borderBottomStyle: "solid",
|
|
8132
8137
|
borderBottomColor: "var(--metakyc-border, #e5e7eb)",
|
|
8138
|
+
backgroundColor: "var(--metakyc-header-bg, transparent)",
|
|
8139
|
+
color: "var(--metakyc-header-text, inherit)",
|
|
8133
8140
|
...a
|
|
8134
8141
|
},
|
|
8135
8142
|
...r,
|
|
@@ -8152,6 +8159,8 @@ const ne = ({ children: e, className: t, style: a, ...r }) => /* @__PURE__ */ i(
|
|
|
8152
8159
|
borderTopWidth: "1px",
|
|
8153
8160
|
borderTopStyle: "solid",
|
|
8154
8161
|
borderTopColor: "var(--metakyc-border, #e5e7eb)",
|
|
8162
|
+
backgroundColor: "var(--metakyc-footer-bg, transparent)",
|
|
8163
|
+
color: "var(--metakyc-footer-text, inherit)",
|
|
8155
8164
|
...a
|
|
8156
8165
|
},
|
|
8157
8166
|
...r,
|
|
@@ -11774,7 +11783,7 @@ const hi = ({
|
|
|
11774
11783
|
borderRadius: "8px",
|
|
11775
11784
|
border: "1px solid var(--metakyc-border, #e5e7eb)",
|
|
11776
11785
|
backgroundColor: "var(--metakyc-surface, var(--metakyc-background, #ffffff))",
|
|
11777
|
-
color: "var(--metakyc-text-secondary, #6b7280)",
|
|
11786
|
+
color: "var(--metakyc-header-text, var(--metakyc-text-secondary, #6b7280))",
|
|
11778
11787
|
fontSize: "13px",
|
|
11779
11788
|
fontWeight: 500,
|
|
11780
11789
|
cursor: "pointer",
|
|
@@ -11878,24 +11887,24 @@ const hi = ({
|
|
|
11878
11887
|
"div",
|
|
11879
11888
|
{
|
|
11880
11889
|
className: "metakyc-header-title flex items-center text-xl font-bold",
|
|
11881
|
-
style: { color: "var(--metakyc-text-primary, #111827)", justifyContent: "space-between" },
|
|
11890
|
+
style: { color: "var(--metakyc-header-text, var(--metakyc-text-primary, #111827))", justifyContent: "space-between" },
|
|
11882
11891
|
children: [
|
|
11883
11892
|
/* @__PURE__ */ s("div", { className: "flex items-center", style: { minWidth: 0 }, children: [
|
|
11884
11893
|
m && /* @__PURE__ */ i(Ga, { config: r.logo }),
|
|
11885
11894
|
m && g && /* @__PURE__ */ i(
|
|
11886
11895
|
"span",
|
|
11887
11896
|
{
|
|
11888
|
-
style: { fontSize: "1.5rem", fontWeight: 300, color: "var(--metakyc-text-muted, #9ca3af)", margin: "0 12px" },
|
|
11897
|
+
style: { fontSize: "1.5rem", fontWeight: 300, color: "var(--metakyc-header-text, var(--metakyc-text-muted, #9ca3af))", margin: "0 12px" },
|
|
11889
11898
|
children: "|"
|
|
11890
11899
|
}
|
|
11891
11900
|
),
|
|
11892
|
-
g && /* @__PURE__ */ i("span", { style: { color: "var(--metakyc-text-primary, #111827)" }, children: d })
|
|
11901
|
+
g && /* @__PURE__ */ i("span", { style: { color: "var(--metakyc-header-text, var(--metakyc-text-primary, #111827))" }, children: d })
|
|
11893
11902
|
] }),
|
|
11894
11903
|
y && /* @__PURE__ */ i(Xa, {})
|
|
11895
11904
|
]
|
|
11896
11905
|
}
|
|
11897
11906
|
),
|
|
11898
|
-
u && /* @__PURE__ */ i("p", { className: "text-sm mt-1", style: { color: "var(--metakyc-text-secondary, #6b7280)" }, children: u })
|
|
11907
|
+
u && /* @__PURE__ */ i("p", { className: "text-sm mt-1", style: { color: "var(--metakyc-header-text, var(--metakyc-text-secondary, #6b7280))" }, children: u })
|
|
11899
11908
|
] });
|
|
11900
11909
|
}, Mi = Gt(null), ji = () => Qt(Mi);
|
|
11901
11910
|
function It() {
|
|
@@ -14023,11 +14032,12 @@ const cn = ({
|
|
|
14023
14032
|
const $ = y.filter((ge) => ge.visibility !== !1), R = $.findIndex((ge) => ge.order === g.order), P = R >= 0 ? R + 1 : 1, j = $.length, Z = j > 1 ? (R + 1) / j * 100 : 100;
|
|
14024
14033
|
return /* @__PURE__ */ s("div", { className: "metakyc-progress-wrapper", style: {
|
|
14025
14034
|
marginBottom: "24px",
|
|
14026
|
-
backgroundColor: "var(--metakyc-surface, var(--metakyc-background, #ffffff))",
|
|
14035
|
+
backgroundColor: "var(--metakyc-header-bg, var(--metakyc-surface, var(--metakyc-background, #ffffff)))",
|
|
14027
14036
|
borderRadius: "0.75rem",
|
|
14028
14037
|
border: "1px solid var(--metakyc-border, #e5e7eb)",
|
|
14029
14038
|
padding: "1rem 1.5rem",
|
|
14030
|
-
overflow: "hidden"
|
|
14039
|
+
overflow: "hidden",
|
|
14040
|
+
color: "var(--metakyc-header-text, inherit)"
|
|
14031
14041
|
}, children: [
|
|
14032
14042
|
/* @__PURE__ */ s("div", { style: { display: "flex", alignItems: "flex-start", justifyContent: "space-between", marginBottom: "16px", gap: "8px", flexWrap: "wrap" }, children: [
|
|
14033
14043
|
/* @__PURE__ */ i(Rt, {}),
|