gatsby-matrix-theme 52.0.74 → 52.0.76

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,27 @@
1
+ ## [52.0.76](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/compare/v52.0.75...v52.0.76) (2025-02-21)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * make rating guidelines translatable ([dab49bb](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/dab49bba3abd4c7ffccbc99e14391f66f34ace65))
7
+ * updatre version ([b878350](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/b878350bf51dbe07cdc2ba67195d0fa33cb5f0c1))
8
+
9
+
10
+ * Merge branch 'update-translate' into 'master' ([9865709](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/9865709777fbcfef4eda8fec94bc760d60584ead))
11
+
12
+ ## [52.0.75](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/compare/v52.0.74...v52.0.75) (2025-02-20)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * add extra class to review credits ([a2e332f](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/a2e332fafac9f2ac78118eb1aa1d64445bb69685))
18
+ * empty string ([026a097](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/026a097f7c0353b31c02996b2fd0411159176594))
19
+ * get latest changes ([17276b8](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/17276b8b10c6db4253a560344d9bc9fead218130))
20
+ * update image ([716cc4f](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/716cc4f7eaa248869497e8d503019344fde96bfc))
21
+
22
+
23
+ * Merge branch 'bug-sheet' into 'master' ([c57b4ff](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/c57b4ffb84964e276051ab5f82ffedb110402bd4))
24
+
1
25
  ## [52.0.74](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/compare/v52.0.73...v52.0.74) (2025-02-20)
2
26
 
3
27
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-matrix-theme",
3
- "version": "52.0.74",
3
+ "version": "52.0.76",
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.14",
28
+ "gatsby-core-theme": "42.0.16",
29
29
  "gatsby-plugin-sharp": "^5.11.0",
30
30
  "gatsby-transformer-sharp": "^5.11.0",
31
31
  "gatsby-plugin-sitemap": "^6.13.1",
@@ -41,6 +41,7 @@ const ReviewCredits = ({
41
41
  splitDateFormat = '.',
42
42
  type = 'default',
43
43
  verifyIcon = <FactCheckIcon width={15} height={15} />,
44
+ incommingClass='',
44
45
  }) => {
45
46
  const getPrefixBasedOnPage = type.includes('review')
46
47
  ? useTranslate('reviewed_by_page', 'This page is reviewed by')
@@ -156,7 +157,7 @@ const ReviewCredits = ({
156
157
  );
157
158
 
158
159
  return (
159
- <div className={styles.authorWraper || ''}>
160
+ <div className={`${styles.authorWraper || ''} ${incommingClass || ''}`}>
160
161
  <Collapse
161
162
  onlyMobile={onlyMobile}
162
163
  onlyDesktop={onlyDesktop}
@@ -205,6 +206,7 @@ ReviewCredits.propTypes = {
205
206
  splitDateFormat: PropTypes.string,
206
207
  type: PropTypes.string,
207
208
  verifyIcon: PropTypes.element,
209
+ incommingClass: PropTypes.string,
208
210
  };
209
211
 
210
212
  export default ReviewCredits;
@@ -2,11 +2,11 @@ import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
 
4
4
  import { imagePrettyUrl, getAltText } from 'gatsby-core-theme/src/helpers/getters';
5
- import Link from 'gatsby-core-theme/src/hooks/link';
6
5
  import Tnc from 'gatsby-core-theme/src/components/molecules/tnc';
7
6
  import LazyImage from 'gatsby-core-theme/src/hooks/lazy-image';
8
7
  import OperatorBanner from 'gatsby-core-theme/src/components/atoms/header-operator-bannner';
9
8
  import Rating from 'gatsby-core-theme/src/components/atoms/ratings';
9
+ import useTranslate from '~hooks/useTranslate/useTranslate';
10
10
  import Verify from '~images/icons/verify';
11
11
  import { TrackingKeys } from '~constants/tracking-api'
12
12
 
@@ -32,10 +32,17 @@ const TemplateTwo = ({ page, image = <Verify />, width = '259', height = '259',
32
32
  {image}
33
33
  </div>
34
34
  <Rating item={page.relation} type="game" />
35
- <span className={styles?.ratingGuideline || ''}>
36
- This unbiased rating score is given by our casino & gambling experts according to our
37
- <Link to="rating-guide">Rating Guidelines</Link> to provide honest reviews
38
- </span>
35
+ <span
36
+ className={styles?.ratingGuideline || ''}
37
+ // eslint-disable-next-line react/no-danger
38
+ dangerouslySetInnerHTML={{
39
+ __html: useTranslate(
40
+ 'rating_guideline',
41
+ `This unbiased rating score is given by our casino & gambling experts according to our
42
+ <a href="/rating-guide" class="link-class">Rating Guidelines</a> to provide honest reviews`
43
+ ),
44
+ }}
45
+ />
39
46
  </div>
40
47
  </div>
41
48
  {headerBonus && (