gatsby-matrix-theme 52.0.88 → 52.0.90

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,18 @@
1
+ ## [52.0.90](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/compare/v52.0.89...v52.0.90) (2025-03-06)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * update core version ([39ad1f8](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/39ad1f897673237353ce88bb74801215d6fad97c))
7
+
8
+ ## [52.0.89](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/compare/v52.0.88...v52.0.89) (2025-03-04)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * search and update version ([11f6a4d](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/11f6a4d2eb671333dbf763e80450208ba12506d5))
14
+ * search page in server data ([3e436e0](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/3e436e093a04359781d6c716a6fcd8c4633ffa4e))
15
+
1
16
  ## [52.0.88](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/compare/v52.0.87...v52.0.88) (2025-03-03)
2
17
 
3
18
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-matrix-theme",
3
- "version": "52.0.88",
3
+ "version": "52.0.90",
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": "42.0.26",
28
+ "gatsby-core-theme": "42.0.30",
29
29
  "gatsby-plugin-sharp": "^5.11.0",
30
30
  "gatsby-transformer-sharp": "^5.11.0",
31
31
  "gatsby-plugin-sitemap": "^6.13.1",
@@ -39,7 +39,7 @@ const Main = ({
39
39
  const isContactUsPage = !!section?.modules?.filter((module) => module.name === 'contact_form')
40
40
  .length;
41
41
 
42
- const pathPrefixes = isSearchPath(allMarkets, page.path);
42
+ const pathPrefixes = isSearchPath(allMarkets, page.path) || page.template === 'search';
43
43
  const SearchPage = pathPrefixes ? lazy(() => import(`~pages/search`)) : null;
44
44
  const HtmlSitemap = pageContext.sitemapData
45
45
  ? lazy(() => import(`gatsby-core-theme/src/components/atoms/sitemap`))
@@ -89,7 +89,7 @@ export async function getAPIData(page, url, header, preview) {
89
89
  }
90
90
 
91
91
 
92
- if (page.path.endsWith('/s') || page.path === 's') {
92
+ if (page.path.endsWith('/s') || page.path === 's' || page.template === 'search') {
93
93
  const results = await loadSource(page.market);
94
94
  if (page.path.endsWith('/s') || page.path === 's') {
95
95
  let urlParams = null;