@scbt-ecom/ui 0.78.1 → 0.78.3
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/widget.js +24 -27
- package/dist/widget.js.map +1 -1
- package/package.json +1 -1
package/dist/widget.js
CHANGED
|
@@ -939,15 +939,15 @@ const pr = F(() => Promise.resolve().then(() => Pr)), cr = F(() => Promise.resol
|
|
|
939
939
|
}) => {
|
|
940
940
|
var j, g;
|
|
941
941
|
const { isMobile: p } = ee(), { primary: c, secondary: f } = r || {}, b = (N) => h ? h(N) : /* @__PURE__ */ n.jsx("img", { ...N });
|
|
942
|
-
return /* @__PURE__ */ n.jsxs(
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
942
|
+
return /* @__PURE__ */ n.jsxs(
|
|
943
|
+
"section",
|
|
944
|
+
{
|
|
945
|
+
id: y.banner,
|
|
946
|
+
style: { backgroundColor: m ?? "#d9edff" },
|
|
947
|
+
"data-test-id": y.banner,
|
|
948
|
+
className: l("", i == null ? void 0 : i.root),
|
|
949
|
+
children: [
|
|
950
|
+
/* @__PURE__ */ n.jsxs(P, { className: l("relative desktop:h-[456px]", i == null ? void 0 : i.container), children: [
|
|
951
951
|
/* @__PURE__ */ n.jsxs("div", { className: l("flex flex-col desktop:flex-row desktop:justify-between", i == null ? void 0 : i.wrapper), children: [
|
|
952
952
|
/* @__PURE__ */ n.jsxs("div", { className: "flex flex-col desktop:gap-10 desktop:pt-20", children: [
|
|
953
953
|
/* @__PURE__ */ n.jsxs("div", { className: l("flex flex-col gap-4 pt-6 desktop:pt-0", i == null ? void 0 : i.textBlock), children: [
|
|
@@ -999,10 +999,7 @@ const pr = F(() => Promise.resolve().then(() => Pr)), cr = F(() => Promise.resol
|
|
|
999
999
|
/* @__PURE__ */ n.jsx(
|
|
1000
1000
|
"div",
|
|
1001
1001
|
{
|
|
1002
|
-
className: l(
|
|
1003
|
-
"relative flex h-[356px] justify-center desktop:h-[456px] desktop:w-[550px]",
|
|
1004
|
-
i == null ? void 0 : i.imageContainer
|
|
1005
|
-
),
|
|
1002
|
+
className: l("relative flex h-[356px] justify-center desktop:h-[456px] desktop:w-[550px]", i == null ? void 0 : i.imageContainer),
|
|
1006
1003
|
children: b(p ? { src: a.src, alt: u, className: l("h-full object-contain") } : {
|
|
1007
1004
|
src: d.src,
|
|
1008
1005
|
alt: u,
|
|
@@ -1021,20 +1018,20 @@ const pr = F(() => Promise.resolve().then(() => Pr)), cr = F(() => Promise.resol
|
|
|
1021
1018
|
children: (o == null ? void 0 : o.details) && ((j = o == null ? void 0 : o.details) == null ? void 0 : j.items.length) > 0 && /* @__PURE__ */ n.jsx(Te, { ...o })
|
|
1022
1019
|
}
|
|
1023
1020
|
)
|
|
1024
|
-
] })
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1021
|
+
] }),
|
|
1022
|
+
(o == null ? void 0 : o.enabled) && /* @__PURE__ */ n.jsx(
|
|
1023
|
+
"div",
|
|
1024
|
+
{
|
|
1025
|
+
className: l(
|
|
1026
|
+
"flex items-center justify-center bg-color-white px-4 pb-8 pt-4 desktop:absolute desktop:bottom-[-50px] desktop:right-1/2 desktop:hidden desktop:translate-x-1/2 desktop:p-0",
|
|
1027
|
+
i == null ? void 0 : i.advantageContainer
|
|
1028
|
+
),
|
|
1029
|
+
children: (o == null ? void 0 : o.details) && ((g = o == null ? void 0 : o.details) == null ? void 0 : g.items.length) > 0 && /* @__PURE__ */ n.jsx(Te, { ...o })
|
|
1030
|
+
}
|
|
1031
|
+
)
|
|
1032
|
+
]
|
|
1033
|
+
}
|
|
1034
|
+
);
|
|
1038
1035
|
}, Ge = ({ variant: t, ...e }) => {
|
|
1039
1036
|
switch (t) {
|
|
1040
1037
|
case "separateImg":
|