@scbt-ecom/ui 0.78.1 → 0.78.2

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,15 +939,13 @@ 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(n.Fragment, { children: [
943
- /* @__PURE__ */ n.jsx(
944
- "section",
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
945
  {
946
- id: y.banner,
947
- "data-test-id": y.banner,
948
946
  style: { backgroundColor: m ?? "#d9edff" },
949
- className: l("bg-banner-skyblue-300 desktop:h-[456px]", i == null ? void 0 : i.root),
950
- children: /* @__PURE__ */ n.jsxs(P, { className: l("relative", i == null ? void 0 : i.container), children: [
947
+ className: l("relative bg-banner-skyblue-300 desktop:h-[456px]", i == null ? void 0 : i.container),
948
+ children: [
951
949
  /* @__PURE__ */ n.jsxs("div", { className: l("flex flex-col desktop:flex-row desktop:justify-between", i == null ? void 0 : i.wrapper), children: [
952
950
  /* @__PURE__ */ n.jsxs("div", { className: "flex flex-col desktop:gap-10 desktop:pt-20", children: [
953
951
  /* @__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 +997,7 @@ const pr = F(() => Promise.resolve().then(() => Pr)), cr = F(() => Promise.resol
999
997
  /* @__PURE__ */ n.jsx(
1000
998
  "div",
1001
999
  {
1002
- className: l(
1003
- "relative flex h-[356px] justify-center desktop:h-[456px] desktop:w-[550px]",
1004
- i == null ? void 0 : i.imageContainer
1005
- ),
1000
+ className: l("relative flex h-[356px] justify-center desktop:h-[456px] desktop:w-[550px]", i == null ? void 0 : i.imageContainer),
1006
1001
  children: b(p ? { src: a.src, alt: u, className: l("h-full object-contain") } : {
1007
1002
  src: d.src,
1008
1003
  alt: u,
@@ -1021,14 +1016,14 @@ const pr = F(() => Promise.resolve().then(() => Pr)), cr = F(() => Promise.resol
1021
1016
  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
1017
  }
1023
1018
  )
1024
- ] })
1019
+ ]
1025
1020
  }
1026
1021
  ),
1027
1022
  (o == null ? void 0 : o.enabled) && /* @__PURE__ */ n.jsx(
1028
1023
  "div",
1029
1024
  {
1030
1025
  className: l(
1031
- "flex items-center justify-center rounded-md p-4 pb-8 desktop:absolute desktop:bottom-[-50px] desktop:right-1/2 desktop:hidden desktop:translate-x-1/2 desktop:p-0",
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",
1032
1027
  i == null ? void 0 : i.advantageContainer
1033
1028
  ),
1034
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 })