@scbt-ecom/ui 0.78.2 → 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 CHANGED
@@ -939,13 +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("section", { id: y.banner, "data-test-id": y.banner, className: l("", i == null ? void 0 : i.root), children: [
943
- /* @__PURE__ */ n.jsxs(
944
- P,
945
- {
946
- style: { backgroundColor: m ?? "#d9edff" },
947
- className: l("relative bg-banner-skyblue-300 desktop:h-[456px]", i == null ? void 0 : i.container),
948
- children: [
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: [
949
951
  /* @__PURE__ */ n.jsxs("div", { className: l("flex flex-col desktop:flex-row desktop:justify-between", i == null ? void 0 : i.wrapper), children: [
950
952
  /* @__PURE__ */ n.jsxs("div", { className: "flex flex-col desktop:gap-10 desktop:pt-20", children: [
951
953
  /* @__PURE__ */ n.jsxs("div", { className: l("flex flex-col gap-4 pt-6 desktop:pt-0", i == null ? void 0 : i.textBlock), children: [
@@ -1016,20 +1018,20 @@ const pr = F(() => Promise.resolve().then(() => Pr)), cr = F(() => Promise.resol
1016
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 })
1017
1019
  }
1018
1020
  )
1019
- ]
1020
- }
1021
- ),
1022
- (o == null ? void 0 : o.enabled) && /* @__PURE__ */ n.jsx(
1023
- "div",
1024
- {
1025
- className: l(
1026
- "flex items-center justify-center rounded-md 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
- ] });
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
+ );
1033
1035
  }, Ge = ({ variant: t, ...e }) => {
1034
1036
  switch (t) {
1035
1037
  case "separateImg":