gatsby-matrix-theme 53.9.4 → 53.9.5

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,11 @@
1
+ ## [53.9.5](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/compare/v53.9.4...v53.9.5) (2026-01-06)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * fix build ([db0f46c](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/db0f46c3f35b01a385e61028e64bfd9c953f82ff))
7
+ * update theme ([44a6589](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/44a65890fda94d1737f1ad74f87cd922d33950ac))
8
+
1
9
  ## [53.9.4](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/compare/v53.9.3...v53.9.4) (2025-12-26)
2
10
 
3
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-matrix-theme",
3
- "version": "53.9.4",
3
+ "version": "53.9.5",
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": "44.10.12",
28
+ "gatsby-core-theme": "44.11.0",
29
29
  "gatsby-plugin-sharp": "^5.11.0",
30
30
  "gatsby-transformer-sharp": "^5.11.0",
31
31
  "gatsby-plugin-sitemap": "^6.13.1",
@@ -1,15 +1,13 @@
1
1
  /* eslint-disable import/no-extraneous-dependencies */
2
2
  import React from 'react';
3
3
  import PropTypes from 'prop-types';
4
- import { anchorLink } from 'gatsby-core-theme/src/helpers/strings';
5
- import { removeSymbols } from '../../../../helpers/strings';
6
4
  import ModuleIntro from '~molecules/content';
7
5
  import styles from './styles.module.scss';
8
6
  import ModuleTitle from '../../../../gatsby-core-theme/components/atoms/module-title';
9
7
  import SeeMore from '../../../atoms/see-more';
10
8
 
11
9
  const ModuleIntroduction = ({ module, showSeeMore = false }) => {
12
- const anchorLabel = module?.anchor_label && removeSymbols(anchorLink(module?.anchor_label));
10
+ const anchorLabel = module?.anchor_slug && module?.anchor_slug;
13
11
 
14
12
  const showModuleIntro = module?.module_introduction && module?.module_introduction !== '<p></p>';
15
13
 
@@ -34,6 +32,7 @@ const ModuleIntroduction = ({ module, showSeeMore = false }) => {
34
32
  ModuleIntroduction.propTypes = {
35
33
  module: PropTypes.shape({
36
34
  anchor_label: PropTypes.string,
35
+ anchor_slug: PropTypes.string,
37
36
  name: PropTypes.string.isRequired,
38
37
  module_introduction: PropTypes.string,
39
38
  see_more_link: PropTypes.shape({
@@ -3,9 +3,7 @@
3
3
  /* eslint-disable no-else-return */
4
4
  import React, { lazy, Suspense, useContext } from 'react';
5
5
  import PropTypes from 'prop-types';
6
- import { anchorLink } from 'gatsby-core-theme/src/helpers/strings';
7
6
  import { getSectionExtraField } from 'gatsby-core-theme/src/helpers/getters';
8
- import { generatePlaceholderString } from 'gatsby-core-theme/src/helpers/generators';
9
7
  import Content from 'gatsby-core-theme/src/components/molecules/content';
10
8
  import Toplist from 'gatsby-core-theme/src/components/organisms/toplist';
11
9
  import Anchor from 'gatsby-core-theme/src/components/organisms/anchor/template-one';
@@ -18,7 +16,6 @@ import InfoGrid from '../../../../components/atoms/info-grid/template-one';
18
16
  import CountrySelector from '../../../../components/atoms/country-selector';
19
17
  import AdminButton from '~atoms/admin/button';
20
18
  import { getApiQueryParams } from '../../../helpers/sportstake';
21
- import { removeSymbols } from '../../../../helpers/strings';
22
19
  import { generateCustomHeadings } from '../../../helpers/lotto';
23
20
 
24
21
  import styles from './module.module.scss';
@@ -220,11 +217,7 @@ const Modules = ({ module, pageContext, index, exclOperator, serverData, moduleP
220
217
  return hideArchiveLabel ? null : 'archiveLabel';
221
218
  }
222
219
 
223
- return module.anchor_label
224
- ? removeSymbols(
225
- anchorLink(generatePlaceholderString(module.anchor_label, null, page?.relation))
226
- )
227
- : undefined;
220
+ return module?.anchor_slug || undefined;
228
221
  })();
229
222
 
230
223
  const extraProps = () => {