@20minutes/hela 0.1.14 → 0.1.15

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.d.ts CHANGED
@@ -574,7 +574,6 @@ declare const HoroscopeTopicCard: React.FC<HoroscopeTopicCardProps>;
574
574
  interface HoroscopeContentProps {
575
575
  topics: HoroscopeTopicCardProps[];
576
576
  infoBannerProps: InfoBannerProps;
577
- layout?: LayoutType;
578
577
  }
579
578
  declare const HoroscopeContent: React.FC<HoroscopeContentProps>;
580
579
 
@@ -584,6 +583,7 @@ interface HoroscopeHomepageContentProps {
584
583
  topics: HoroscopeTopicCardProps[];
585
584
  link: LinkProps;
586
585
  }[];
586
+ layout?: LayoutType;
587
587
  }
588
588
  declare const HoroscopeHomepageContent: React.FC<HoroscopeHomepageContentProps>;
589
589
 
package/dist/index.es.js CHANGED
@@ -41472,57 +41472,57 @@ const WV = ({
41472
41472
  })]
41473
41473
  }), ZV = ({
41474
41474
  topics: o,
41475
- infoBannerProps: i,
41476
- layout: l = hn.MOBILE
41475
+ infoBannerProps: i
41477
41476
  }) => /* @__PURE__ */ _e(Bo, {
41478
41477
  children: [/* @__PURE__ */ O("ul", {
41479
41478
  className: "o-mobile-gutters",
41480
- children: o.map((c, u) => /* @__PURE__ */ _e("li", {
41481
- children: [/* @__PURE__ */ O(q_, {
41482
- icon: c.icon,
41483
- title: c.title,
41484
- content: c.content,
41485
- withBorder: u !== o.length - 1,
41486
- classnames: u !== o.length - 1 ? "u-mb2" : ""
41487
- }), l === hn.MOBILE && !((u + 1) % 3) && /* @__PURE__ */ O($R, {
41488
- adUnitCompletePath: (u + 1) % 6 ? "/49926454/20minutes_mobile2/horoscope/nfb_1" : "/49926454/20minutes_mobile2/horoscope/nfb_2",
41489
- lazyload: {
41490
- delayed: !0,
41491
- distanceVisible: 700
41492
- },
41493
- variant: "ARTICLE"
41494
- })]
41495
- }, c.title))
41479
+ children: o.map((l, c) => /* @__PURE__ */ O("li", {
41480
+ children: /* @__PURE__ */ O(q_, {
41481
+ icon: l.icon,
41482
+ title: l.title,
41483
+ content: l.content,
41484
+ withBorder: c !== o.length - 1,
41485
+ classnames: c !== o.length - 1 ? "u-mb2" : ""
41486
+ })
41487
+ }, l.title))
41496
41488
  }), /* @__PURE__ */ O(mV, {
41497
41489
  title: i.title,
41498
41490
  description: i.description,
41499
41491
  className: "o-mobile-gutters"
41500
41492
  })]
41501
41493
  }), eK = ({
41502
- signsContent: o
41494
+ signsContent: o,
41495
+ layout: i = hn.MOBILE
41503
41496
  }) => /* @__PURE__ */ O(Bo, {
41504
- children: o.map((i, l) => /* @__PURE__ */ _e(PS.Fragment, {
41497
+ children: o.map((l, c) => /* @__PURE__ */ _e(PS.Fragment, {
41505
41498
  children: [/* @__PURE__ */ O(cV, {
41506
- title: i.heading.title,
41507
- subtitle: i.heading.subtitle,
41508
- icon: i.heading.icon,
41499
+ title: l.heading.title,
41500
+ subtitle: l.heading.subtitle,
41501
+ icon: l.heading.icon,
41509
41502
  variant: "transparent",
41510
41503
  classname: "o-mobile-gutters u-pa0 u-mb2"
41511
- }, i.heading.title), i.topics.map((c, u) => /* @__PURE__ */ O(q_, {
41512
- icon: c.icon,
41513
- title: c.title,
41514
- content: c.content,
41515
- withBorder: u !== i.topics.length - 1,
41504
+ }, l.heading.title), l.topics.map((u, g) => /* @__PURE__ */ O(q_, {
41505
+ icon: u.icon,
41506
+ title: u.title,
41507
+ content: u.content,
41508
+ withBorder: g !== l.topics.length - 1,
41516
41509
  classnames: "o-mobile-gutters u-mb2"
41517
- }, c.title)), /* @__PURE__ */ O(uo, {
41510
+ }, u.title)), /* @__PURE__ */ O(uo, {
41518
41511
  variant: "secondary-button",
41519
- href: i.link.href,
41512
+ href: l.link.href,
41520
41513
  className: "u-mb2",
41521
- children: i.link.children
41522
- }), l !== o.length - 1 && /* @__PURE__ */ O(Yp, {
41514
+ children: l.link.children
41515
+ }), i === hn.MOBILE && !((c + 1) % 3) && /* @__PURE__ */ O($R, {
41516
+ adUnitCompletePath: (c + 1) % 6 ? "/49926454/20minutes_mobile2/divers/nfb_1" : "/49926454/20minutes_mobile2/divers/nfb_2",
41517
+ lazyload: {
41518
+ delayed: !0,
41519
+ distanceVisible: 700
41520
+ },
41521
+ variant: "ARTICLE"
41522
+ }), c !== o.length - 1 && /* @__PURE__ */ O(Yp, {
41523
41523
  className: "o-mobile-gutters u-bg-primary u-mb2"
41524
41524
  })]
41525
- }, l))
41525
+ }, c))
41526
41526
  }), tK = ({
41527
41527
  horoscopeSignsList: o
41528
41528
  }) => /* @__PURE__ */ O("ul", {