@20minutes/hela 2.18.0 → 2.18.1

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/index.es.js CHANGED
@@ -6594,6 +6594,7 @@ const d1 = A(
6594
6594
  className: g("c-search-banner__breadcrumb", {
6595
6595
  "c-search-banner__breadcrumb--mobile": a === y.MOBILE
6596
6596
  }),
6597
+ "data-search-banner-collapse": !0,
6597
6598
  ...a === y.DESKTOP && { "aria-hidden": o ? !o : "true" },
6598
6599
  children: n?.map(({ label: w, link: k }, M) => /* @__PURE__ */ e(
6599
6600
  X,
@@ -6604,10 +6605,7 @@ const d1 = A(
6604
6605
  px: "l",
6605
6606
  ml: M === 0 ? { xs: "m", md: "0" } : void 0,
6606
6607
  href: k,
6607
- children: /* @__PURE__ */ t(h, { alignItems: "center", gap: "xs", children: [
6608
- /* @__PURE__ */ e(_, { size: 20, name: "local" }),
6609
- w
6610
- ] })
6608
+ children: w
6611
6609
  },
6612
6610
  k
6613
6611
  ))
@@ -6627,6 +6625,7 @@ const d1 = A(
6627
6625
  px: x ? void 0 : "m",
6628
6626
  gap: { xs: "m", lg: "l" },
6629
6627
  "aria-expanded": o || "false",
6628
+ "data-search-banner-expanded-source": !0,
6630
6629
  className: g({
6631
6630
  "o-page-wrap": x,
6632
6631
  "c-search-banner__large-container": !x
@@ -6669,18 +6668,37 @@ const d1 = A(
6669
6668
  }
6670
6669
  ) : (
6671
6670
  // mobile layout
6672
- /* @__PURE__ */ t(h, { justifyContent: "center", direction: "column", "aria-expanded": o || "false", children: [
6673
- c && /* @__PURE__ */ e($, { px: "m", size: "xxs-3", color: "white", mb: "xs", children: l ? /* @__PURE__ */ e("a", { href: l, children: c }) : c }),
6674
- /* @__PURE__ */ t(h, { gap: "s", px: { xs: "m", md: "0" }, children: [
6675
- /* @__PURE__ */ e(H, { as: g1, grow: 1, ...s }),
6676
- !!(n?.length || r?.options.length) && m
6677
- ] }),
6678
- !!(n?.length || r?.options.length) && /* @__PURE__ */ t(h, { direction: "column", gap: "xxs", mt: "xxs", "aria-hidden": o ? !o : "true", children: [
6679
- !!n?.length && p,
6680
- !!r?.options.length && u
6681
- ] }),
6682
- i === "municipales-2026" && /* @__PURE__ */ e("span", { className: "c-search-banner__flag c-search-banner__flag--at-the-bottom" })
6683
- ] })
6671
+ /* @__PURE__ */ t(
6672
+ h,
6673
+ {
6674
+ justifyContent: "center",
6675
+ direction: "column",
6676
+ "aria-expanded": o || "false",
6677
+ "data-search-banner-expanded-source": !0,
6678
+ children: [
6679
+ c && /* @__PURE__ */ e($, { px: "m", size: "xxs-3", color: "white", mb: "xs", children: l ? /* @__PURE__ */ e("a", { href: l, children: c }) : c }),
6680
+ /* @__PURE__ */ t(h, { gap: "s", px: { xs: "m", md: "0" }, children: [
6681
+ /* @__PURE__ */ e(H, { as: g1, grow: 1, ...s }),
6682
+ !!(n?.length || r?.options.length) && m
6683
+ ] }),
6684
+ !!(n?.length || r?.options.length) && /* @__PURE__ */ t(
6685
+ h,
6686
+ {
6687
+ direction: "column",
6688
+ gap: "xxs",
6689
+ mt: "xxs",
6690
+ "aria-hidden": o ? !o : "true",
6691
+ "data-search-banner-collapse": !0,
6692
+ children: [
6693
+ !!n?.length && p,
6694
+ !!r?.options.length && u
6695
+ ]
6696
+ }
6697
+ ),
6698
+ i === "municipales-2026" && /* @__PURE__ */ e("span", { className: "c-search-banner__flag c-search-banner__flag--at-the-bottom" })
6699
+ ]
6700
+ }
6701
+ )
6684
6702
  )
6685
6703
  }
6686
6704
  );