@20minutes/tyr 2.1.2 → 2.1.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/index.es.js +39 -38
- package/dist/index.umd.js +1 -1
- package/dist/src/components/organisms/HomePage/EntertainmentCarousel/EntertainmentCarousel.d.ts +9 -0
- package/dist/src/components/organisms/HomePage/EntertainmentCarousel/EntertainmentCarousel.stories.d.ts +22 -0
- package/dist/src/components/organisms/HomePage/EntertainmentCarousel/index.d.ts +1 -0
- package/dist/src/components/organisms/HomePage/index.d.ts +1 -1
- package/dist/src/pages/HomePage/HomePage.stories.d.ts +2 -2
- package/package.json +1 -1
- package/dist/src/components/organisms/HomePage/MoviesCarousel/MoviesCarousel.d.ts +0 -8
- package/dist/src/components/organisms/HomePage/MoviesCarousel/MoviesCarousel.stories.d.ts +0 -20
- package/dist/src/components/organisms/HomePage/MoviesCarousel/index.d.ts +0 -1
package/dist/index.es.js
CHANGED
|
@@ -61190,6 +61190,34 @@ const Q$ = 180, X$ = () => {
|
|
|
61190
61190
|
));
|
|
61191
61191
|
return Object.keys(l).length === 0 ? v : /* @__PURE__ */ t.createElement(ee, { ...l }, v);
|
|
61192
61192
|
}, qW = ({
|
|
61193
|
+
items: r,
|
|
61194
|
+
layout: a,
|
|
61195
|
+
label: i,
|
|
61196
|
+
seeMoreLink: u,
|
|
61197
|
+
...l
|
|
61198
|
+
}) => !r || (r == null ? void 0 : r.length) === 0 ? null : /* @__PURE__ */ t.createElement(ee, { ...l, as: "section", color: "white", bg: "entertainment" }, /* @__PURE__ */ t.createElement(ee, { className: "o-page-wrap", py: "xxl", mb: "xxs" }, /* @__PURE__ */ t.createElement(
|
|
61199
|
+
Wc,
|
|
61200
|
+
{
|
|
61201
|
+
label: i,
|
|
61202
|
+
headingProps: {
|
|
61203
|
+
as: "h2",
|
|
61204
|
+
size: "m",
|
|
61205
|
+
color: "white",
|
|
61206
|
+
fontFamily: "obviously",
|
|
61207
|
+
px: { xs: "m", md: "0" },
|
|
61208
|
+
mb: "xl"
|
|
61209
|
+
},
|
|
61210
|
+
titleUnderlined: !1,
|
|
61211
|
+
titleAlignment: { xs: "center", md: "left" },
|
|
61212
|
+
layout: a,
|
|
61213
|
+
articles: r,
|
|
61214
|
+
sliderProps: {
|
|
61215
|
+
sliderVariant: "movies",
|
|
61216
|
+
buttonsVariant: "round-has-white-bg",
|
|
61217
|
+
ml: { xs: "m", md: "0" }
|
|
61218
|
+
}
|
|
61219
|
+
}
|
|
61220
|
+
), /* @__PURE__ */ t.createElement(Ee, { justifyContent: "center", mt: "xl" }, /* @__PURE__ */ t.createElement(Le, { variant: "secondary", ...u })))), UW = ({
|
|
61193
61221
|
articles: r,
|
|
61194
61222
|
...a
|
|
61195
61223
|
}) => r.length > 0 ? /* @__PURE__ */ t.createElement(qi, { ...a, colsNumber: 2, gapY: "xl", gapX: "m" }, r.map((i, u) => /* @__PURE__ */ t.createElement(Ee, { key: i.link, direction: "column", justifyContent: "between" }, /* @__PURE__ */ t.createElement(
|
|
@@ -61225,7 +61253,7 @@ const Q$ = 180, X$ = () => {
|
|
|
61225
61253
|
ml: { xs: "m", md: "0" }
|
|
61226
61254
|
}
|
|
61227
61255
|
}
|
|
61228
|
-
), /* @__PURE__ */ t.createElement(Ee, { justifyContent: "center", mt: "xl" }, /* @__PURE__ */ t.createElement(Le, { variant: "secondary", ...i })))),
|
|
61256
|
+
), /* @__PURE__ */ t.createElement(Ee, { justifyContent: "center", mt: "xl" }, /* @__PURE__ */ t.createElement(Le, { variant: "secondary", ...i })))), zW = ({ articles: r, layout: a, ...i }) => {
|
|
61229
61257
|
if (r.length === 0)
|
|
61230
61258
|
return null;
|
|
61231
61259
|
let u = /* @__PURE__ */ t.createElement(t.Fragment, null, r.slice(0, 10).map((l, f) => /* @__PURE__ */ t.createElement(ee, { key: l.title, className: `card-item-${f + 1}` }, f === 0 ? /* @__PURE__ */ t.createElement(
|
|
@@ -61291,7 +61319,7 @@ const Q$ = 180, X$ = () => {
|
|
|
61291
61319
|
}
|
|
61292
61320
|
);
|
|
61293
61321
|
})))), /* @__PURE__ */ t.createElement(ee, { ...i }, u);
|
|
61294
|
-
},
|
|
61322
|
+
}, HW = ({
|
|
61295
61323
|
articles: r,
|
|
61296
61324
|
selectProps: a,
|
|
61297
61325
|
seeMoreLink: i,
|
|
@@ -61328,34 +61356,7 @@ const Q$ = 180, X$ = () => {
|
|
|
61328
61356
|
}
|
|
61329
61357
|
);
|
|
61330
61358
|
return /* @__PURE__ */ t.createElement(ee, { ...d, id: "local-news-container" }, /* @__PURE__ */ t.createElement(Yc, { mb: "l" }), u === Me.DESKTOP ? /* @__PURE__ */ t.createElement(Ee, { justifyContent: "between", mb: "xl", alignItems: "center" }, v) : /* @__PURE__ */ t.createElement(ee, { mx: "m", mb: "l" }, v), u === Me.DESKTOP ? /* @__PURE__ */ t.createElement(qi, { colsNumber: 4, gap: "xl", mx: u === Me.DESKTOP ? "0" : "m" }, r.map((m) => h(m))) : /* @__PURE__ */ t.createElement(Ee, { direction: "column", mx: "m" }, r.map((m, _) => /* @__PURE__ */ t.createElement(t.Fragment, { key: m.title }, h(m), _ < r.length - 1 && /* @__PURE__ */ t.createElement(ir, { color: "grey-200", my: "s" })))), /* @__PURE__ */ t.createElement(Ee, { justifyContent: "center", mt: "xxl" }, /* @__PURE__ */ t.createElement(Le, { variant: "secondary", ...i }, "Voir plus d'articles")));
|
|
61331
|
-
},
|
|
61332
|
-
movies: r,
|
|
61333
|
-
layout: a,
|
|
61334
|
-
seeMoreLink: i,
|
|
61335
|
-
...u
|
|
61336
|
-
}) => !r || (r == null ? void 0 : r.length) === 0 ? null : /* @__PURE__ */ t.createElement(ee, { ...u, as: "section", color: "white", bg: "entertainment" }, /* @__PURE__ */ t.createElement(ee, { className: "o-page-wrap", py: "xxl", mb: "xxs" }, /* @__PURE__ */ t.createElement(
|
|
61337
|
-
Wc,
|
|
61338
|
-
{
|
|
61339
|
-
label: "Cette semaine au cinéma",
|
|
61340
|
-
headingProps: {
|
|
61341
|
-
as: "h2",
|
|
61342
|
-
size: "m",
|
|
61343
|
-
color: "white",
|
|
61344
|
-
fontFamily: "obviously",
|
|
61345
|
-
px: { xs: "m", md: "0" },
|
|
61346
|
-
mb: "xl"
|
|
61347
|
-
},
|
|
61348
|
-
titleUnderlined: !1,
|
|
61349
|
-
titleAlignment: { xs: "center", md: "left" },
|
|
61350
|
-
layout: a,
|
|
61351
|
-
articles: r,
|
|
61352
|
-
sliderProps: {
|
|
61353
|
-
sliderVariant: "movies",
|
|
61354
|
-
buttonsVariant: "round-has-white-bg",
|
|
61355
|
-
ml: { xs: "m", md: "0" }
|
|
61356
|
-
}
|
|
61357
|
-
}
|
|
61358
|
-
), /* @__PURE__ */ t.createElement(Ee, { justifyContent: "center", mt: "xl" }, /* @__PURE__ */ t.createElement(Le, { variant: "secondary", ...i })))), VW = ({ title: r, items: a, layout: i, ...u }) => {
|
|
61359
|
+
}, VW = ({ title: r, items: a, layout: i, ...u }) => {
|
|
61359
61360
|
if (a.length <= 0)
|
|
61360
61361
|
return null;
|
|
61361
61362
|
const l = iM(a, i);
|
|
@@ -64005,7 +64006,7 @@ const CZ = () => {
|
|
|
64005
64006
|
variablesForQuery: i
|
|
64006
64007
|
});
|
|
64007
64008
|
return /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement(
|
|
64008
|
-
|
|
64009
|
+
HW,
|
|
64009
64010
|
{
|
|
64010
64011
|
...f,
|
|
64011
64012
|
articles: v,
|
|
@@ -64043,7 +64044,7 @@ const CZ = () => {
|
|
|
64043
64044
|
},
|
|
64044
64045
|
{
|
|
64045
64046
|
componentName: Gr.HOME_ARTICLES_LIST_TOP,
|
|
64046
|
-
component:
|
|
64047
|
+
component: zW,
|
|
64047
64048
|
expiration: Fi
|
|
64048
64049
|
},
|
|
64049
64050
|
{
|
|
@@ -64058,7 +64059,7 @@ const CZ = () => {
|
|
|
64058
64059
|
},
|
|
64059
64060
|
{
|
|
64060
64061
|
componentName: Gr.HOME_ARTICLES_LIST_BOTTOM,
|
|
64061
|
-
component:
|
|
64062
|
+
component: UW,
|
|
64062
64063
|
expiration: Fi
|
|
64063
64064
|
},
|
|
64064
64065
|
{
|
|
@@ -64153,7 +64154,7 @@ const CZ = () => {
|
|
|
64153
64154
|
},
|
|
64154
64155
|
{
|
|
64155
64156
|
componentName: Gr.HOME_MOVIES,
|
|
64156
|
-
component:
|
|
64157
|
+
component: qW,
|
|
64157
64158
|
expiration: Fi
|
|
64158
64159
|
}
|
|
64159
64160
|
], KZ = [
|
|
@@ -71770,8 +71771,9 @@ export {
|
|
|
71770
71771
|
MW as ElectionsResultsFiltered,
|
|
71771
71772
|
IW as ElectionsSummary,
|
|
71772
71773
|
xO as EntertainmentBlock,
|
|
71774
|
+
qW as EntertainmentCarousel,
|
|
71773
71775
|
dJ as ErrorPage,
|
|
71774
|
-
|
|
71776
|
+
UW as ExtraSmallArticlesBlock,
|
|
71775
71777
|
UL as Faq,
|
|
71776
71778
|
fJ as GameHomePage,
|
|
71777
71779
|
UG as GameIframe,
|
|
@@ -71782,7 +71784,7 @@ export {
|
|
|
71782
71784
|
BW as GamesList,
|
|
71783
71785
|
Bl as HeaderPage,
|
|
71784
71786
|
hJ as HomePage,
|
|
71785
|
-
|
|
71787
|
+
zW as HomeTopBlock,
|
|
71786
71788
|
gJ as HoroscopeHomePage,
|
|
71787
71789
|
HG as HoroscopeHomepageContent,
|
|
71788
71790
|
vJ as HoroscopePage,
|
|
@@ -71815,7 +71817,7 @@ export {
|
|
|
71815
71817
|
WG as LivePostContent,
|
|
71816
71818
|
$O as LivePostsContainer,
|
|
71817
71819
|
YW as LivePostsThread,
|
|
71818
|
-
|
|
71820
|
+
HW as LocalNews,
|
|
71819
71821
|
jW as MainInformationBlock,
|
|
71820
71822
|
Jn as Meta,
|
|
71821
71823
|
TJ as MobileAppsPage,
|
|
@@ -71827,7 +71829,6 @@ export {
|
|
|
71827
71829
|
kJ as MostRecentVideosPage,
|
|
71828
71830
|
LJ as MostSharedPage,
|
|
71829
71831
|
MJ as MostViewedPage,
|
|
71830
|
-
HW as MoviesCarousel,
|
|
71831
71832
|
JW as MoviesList,
|
|
71832
71833
|
ZG as MoviesNavigation,
|
|
71833
71834
|
IJ as MoviesPage,
|