gatsby-core-theme 44.8.0 → 44.8.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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,24 @@
|
|
|
1
|
+
## [44.8.2](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.8.1...v44.8.2) (2025-11-20)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* add custom class to footer ([cefd3fe](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/cefd3fea1ad832253a57fa0fb59e46a4279899df))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
* Merge branch 'EN-256-christmas-footer' into 'master' ([178689e](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/178689ee68edfa948dc0b9761935b8cffbc67262))
|
|
10
|
+
|
|
11
|
+
## [44.8.1](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.8.0...v44.8.1) (2025-11-19)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* relationKeys ([c51b03b](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/c51b03b3def0caecb83dd934d5974316801f7352))
|
|
17
|
+
* typo ([3b2d4fa](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/3b2d4fa0f39eb1320e5c0ceead74aa933d5b8d24))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
* Merge branch 'en-142/themeoptions-relation-keys' into 'master' ([3291dd9](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/3291dd9ac6e1c7f1b1672dc5002d2ee83e340100))
|
|
21
|
+
|
|
1
22
|
# [44.8.0](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.7.1...v44.8.0) (2025-11-19)
|
|
2
23
|
|
|
3
24
|
|
package/package.json
CHANGED
|
@@ -30,13 +30,14 @@ const TemplateThree = ({
|
|
|
30
30
|
dmcaHeight,
|
|
31
31
|
securityIcon,
|
|
32
32
|
copyrightCustomText,
|
|
33
|
+
customClass=''
|
|
33
34
|
}) => {
|
|
34
35
|
if (footerMenu !== null && footerMenu.children.length) {
|
|
35
36
|
footerMenu.children.splice(footerMenuLimit);
|
|
36
37
|
}
|
|
37
38
|
|
|
38
39
|
return (
|
|
39
|
-
<footer>
|
|
40
|
+
<footer className={`${customClass && styles[customClass]}`}>
|
|
40
41
|
{asSeenOn && asSeenOn?.children?.length > 0 && (
|
|
41
42
|
<AsSeenOn asSeenOn={asSeenOn} template="templateThree" />
|
|
42
43
|
)}
|
|
@@ -138,4 +139,5 @@ TemplateThree.propTypes = {
|
|
|
138
139
|
securityIcon: PropTypes.element,
|
|
139
140
|
copyrightCustomText: PropTypes.string,
|
|
140
141
|
footerMenuLimit: PropTypes.number,
|
|
142
|
+
customClass: PropTypes.string
|
|
141
143
|
};
|
package/src/resolver/games.mjs
CHANGED
|
@@ -22,7 +22,7 @@ export function sanitizegameData(game, pages = null, relationKeys) {
|
|
|
22
22
|
return pick(gameClone, [...pickRelationKeys.game, ...(relationKeys || [])]);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
export function transformGames(jsonData, relationsData
|
|
25
|
+
export function transformGames(jsonData, relationsData) {
|
|
26
26
|
const games = {};
|
|
27
27
|
|
|
28
28
|
// Iterate over each operator
|
|
@@ -72,7 +72,7 @@ export function transformGames(jsonData, relationsData, relationKeys) {
|
|
|
72
72
|
games[sitesMarketData.id] = sanitizegameData(
|
|
73
73
|
newGamesData,
|
|
74
74
|
null,
|
|
75
|
-
relationKeys
|
|
75
|
+
relationsData?.relationKeys
|
|
76
76
|
);
|
|
77
77
|
});
|
|
78
78
|
});
|
package/src/resolver/index.mjs
CHANGED
|
@@ -272,7 +272,7 @@ export function getReadingTime(sections, content) {
|
|
|
272
272
|
minutes += mins;
|
|
273
273
|
seconds = decimalSeconds;
|
|
274
274
|
}
|
|
275
|
-
minutes > 10 ?
|
|
275
|
+
minutes = minutes > 10 ? 10 : minutes;
|
|
276
276
|
return (
|
|
277
277
|
getRoundMinutes(`${zeroPadding(minutes, 2)}:${zeroPadding(seconds, 2)}`) ||
|
|
278
278
|
null
|