@20minutes/tyr 2.38.0 → 2.38.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/index.es.js +11 -10
- package/dist/index.umd.js +26 -26
- package/dist/js/main.min.js +5 -5
- package/dist/src/types/graphql.d.ts +12 -0
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -11500,7 +11500,7 @@ const kH = ({
|
|
|
11500
11500
|
gapY: "xxl-2",
|
|
11501
11501
|
gapX: "l",
|
|
11502
11502
|
px: { xs: "m", md: "0" },
|
|
11503
|
-
children: e.
|
|
11503
|
+
children: e.map((s) => /* @__PURE__ */ n.jsx(Oe, { href: s.url, color: "black", size: r || "xs", children: /* @__PURE__ */ n.jsx("li", { children: s.title }) }, s.title))
|
|
11504
11504
|
}
|
|
11505
11505
|
),
|
|
11506
11506
|
a && /* @__PURE__ */ n.jsx(me, { justifyContent: "center", px: { xs: "m", md: "0" }, mt: "l", children: /* @__PURE__ */ n.jsx(sn, { variant: "secondary", ...a }) })
|
|
@@ -70150,7 +70150,7 @@ const g8 = () => {
|
|
|
70150
70150
|
{
|
|
70151
70151
|
componentName: Um.ELECTIONS_AI_ARTICLES_LIST,
|
|
70152
70152
|
component: OJ,
|
|
70153
|
-
expiration:
|
|
70153
|
+
expiration: 300
|
|
70154
70154
|
}
|
|
70155
70155
|
];
|
|
70156
70156
|
function Hg() {
|
|
@@ -70437,13 +70437,14 @@ const FJ = () => {
|
|
|
70437
70437
|
url: "https://static.20mn.fr/elections/map-droms.json"
|
|
70438
70438
|
});
|
|
70439
70439
|
let h = [];
|
|
70440
|
-
|
|
70441
|
-
|
|
70442
|
-
|
|
70443
|
-
|
|
70444
|
-
|
|
70445
|
-
|
|
70446
|
-
|
|
70440
|
+
if (window.layout === Ae.DESKTOP)
|
|
70441
|
+
try {
|
|
70442
|
+
h = await Fa({
|
|
70443
|
+
url: `https://static.20mn.fr/elections/mn${e.defaultMapTownsByDepartmentsProps.electionYear}/electeds.json`
|
|
70444
|
+
});
|
|
70445
|
+
} catch (p) {
|
|
70446
|
+
console.log("20mn> Error while loading town results data:", p);
|
|
70447
|
+
}
|
|
70447
70448
|
a((p) => ({
|
|
70448
70449
|
...p,
|
|
70449
70450
|
townsSprite: c,
|
|
@@ -78872,7 +78873,7 @@ const kee = ({
|
|
|
78872
78873
|
}, t1 = !0, Hee = {
|
|
78873
78874
|
name: "electionsAiArticles",
|
|
78874
78875
|
component: MX,
|
|
78875
|
-
expiration:
|
|
78876
|
+
expiration: 300,
|
|
78876
78877
|
components: [
|
|
78877
78878
|
...rn,
|
|
78878
78879
|
{
|