gatsby-matrix-theme 53.2.30 → 53.2.32

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,17 @@
1
+ ## [53.2.32](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/compare/v53.2.31...v53.2.32) (2025-08-20)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * update theme ([7dc956d](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/7dc956d6bc3d07614c2061d1b67d187ebc22bda9))
7
+
8
+ ## [53.2.31](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/compare/v53.2.30...v53.2.31) (2025-08-20)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * fix heading ([d48b878](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/d48b8786a14a064d6645dec9a5ddf86bc7fdf0d7))
14
+
1
15
  ## [53.2.30](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/compare/v53.2.29...v53.2.30) (2025-08-20)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-matrix-theme",
3
- "version": "53.2.30",
3
+ "version": "53.2.32",
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.4.30",
28
+ "gatsby-core-theme": "44.4.32",
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,7 +16,8 @@ const RatingsWithComments = ({
16
16
  currency = '€',
17
17
  showComment = true,
18
18
  icon = null,
19
- iconColor = '#D63B54'
19
+ iconColor = '#D63B54',
20
+ titleTag = 'h2',
20
21
  }) => {
21
22
  const { relation: item, type } = page;
22
23
  const typeCheck =
@@ -24,6 +25,7 @@ const RatingsWithComments = ({
24
25
  type === 'operator' ? (item?.type === 'casino' ? 'operator' : item?.type) : type;
25
26
 
26
27
  const ratings = operatorRatings[typeCheck] || [];
28
+ const Tag = titleTag || 'h2';
27
29
 
28
30
  const rangeText = {
29
31
  0: useTranslate('range_low', 'Low'),
@@ -92,7 +94,7 @@ const RatingsWithComments = ({
92
94
  >
93
95
  {showTitle ? (
94
96
  <div className={styles.withTitle || ''}>
95
- <h3>{useTranslate('ratings_with_comments_title', 'Ratings')}</h3>
97
+ <Tag>{useTranslate('ratings_with_comments_title', 'Ratings')}</Tag>
96
98
  {ratings
97
99
  ?.filter((rating) => rating.fieldLabel === 'Overall')
98
100
  .map((rating) => renderRatingItem(rating))}
@@ -128,6 +130,7 @@ RatingsWithComments.propTypes = {
128
130
  showComment: PropTypes.bool,
129
131
  icon: PropTypes.element,
130
132
  iconColor: PropTypes.string,
133
+ titleTag: PropTypes.string,
131
134
  };
132
135
 
133
136
  export default RatingsWithComments;