gatsby-matrix-theme 52.0.25 → 52.0.27

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,21 @@
1
+ ## [52.0.27](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/compare/v52.0.26...v52.0.27) (2024-10-24)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * preview function ([55d3121](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/55d3121a8e5ed089c12bb7c5ff118e2f9975b5d1))
7
+
8
+ ## [52.0.26](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/compare/v52.0.25...v52.0.26) (2024-10-23)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * image resize ([0b0e1c7](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/0b0e1c75c8aa2a21f6e92e6e0aaae08fe0c8c7f4))
14
+ * update version ([dd738f1](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/dd738f1c9d5f0a9bac457fe45d776f6a8845a241))
15
+
16
+
17
+ * Merge branch 'tm-4356-images-resize' into 'master' ([57a60b8](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/57a60b83bd1b149a74067bc29dbc8e56805bf5a9))
18
+
1
19
  ## [52.0.25](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/compare/v52.0.24...v52.0.25) (2024-10-23)
2
20
 
3
21
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-matrix-theme",
3
- "version": "52.0.25",
3
+ "version": "52.0.27",
4
4
  "main": "index.js",
5
5
  "description": "Matrix Theme NPM Package",
6
6
  "author": "",
@@ -25,7 +25,7 @@
25
25
  "dependencies": {
26
26
  "@react-icons/all-files": "^4.1.0",
27
27
  "gatsby": "^5.11.0",
28
- "gatsby-core-theme": "40.0.10",
28
+ "gatsby-core-theme": "40.0.11",
29
29
  "gatsby-plugin-sharp": "^5.11.0",
30
30
  "gatsby-transformer-sharp": "^5.11.0",
31
31
  "gatsby-plugin-sitemap": "^6.13.1",
@@ -16,8 +16,8 @@ const SoftwareProviderCard = ({
16
16
  textOne: 'This game provider has',
17
17
  textTwo: 'slots',
18
18
  },
19
- width,
20
- height,
19
+ width = 150,
20
+ height = 150,
21
21
  }) => {
22
22
  const { title, path, relation, sections } = item;
23
23
  const logUrlObject =
@@ -20,7 +20,7 @@ export async function getAPIData(page, url, header, preview) {
20
20
  const params = deparam(url.split('?')[1]);
21
21
  // eslint-disable-next-line camelcase
22
22
  const response = await getData(siteName, params?.path, params?.market_id, true);
23
- const {siteSettingsData, siteGeneralData, responsableGamingData, toplistData, contentData} = await fetchSiteSettings(siteName, true);
23
+ const {siteSettingsData, siteGeneralData, responsableGamingData, toplistData, contentData, ribbonsData} = await fetchSiteSettings(siteName, true);
24
24
 
25
25
  const pagePreview = response.pages.preview;
26
26
 
@@ -30,9 +30,10 @@ export async function getAPIData(page, url, header, preview) {
30
30
  general: siteGeneralData,
31
31
  prefilled_market_modules:siteSettingsData.prefilled_modules,
32
32
  responsible_gamings: responsableGamingData,
33
- toplist: toplistData,
34
- content: contentData
35
- },{}, null, true);
33
+ toplists: toplistData,
34
+ content: contentData,
35
+ ribbons: ribbonsData
36
+ },{}, null, null, true);
36
37
 
37
38
  const { path } = processed.pages[pagePreview.market].preview[0];
38
39